From rjearp99 at gmail.com Wed Dec 1 14:06:28 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Wed, 1 Dec 2021 11:06:28 -0800 Subject: use-livecode Digest, Vol 219, Issue 1 In-Reply-To: References: Message-ID: <2BC90C53-7FF7-49E8-B5AA-2F8B5F685CC7@gmail.com> Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) Thanks again and kind regards, Bob... Robert (Bob) Earp White Rock British Columbia Canada > On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Yes it does. I use Apple Mail in this way and it works fine. > > Bob S > > > On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: > > I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > From dvglasgow at gmail.com Wed Dec 1 14:26:21 2021 From: dvglasgow at gmail.com (David Glasgow) Date: Wed, 1 Dec 2021 19:26:21 +0000 Subject: screen resolution and stack height Message-ID: Hi folks, I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) Best Wishes, David Glasgow From curry at pair.com Wed Dec 1 16:02:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 1 Dec 2021 16:02:41 -0500 Subject: December Archive, Where (4) art Thou? Message-ID: <7485bf52-834c-d61c-696f-6602f80c71b9@pair.com> In our last cliffhanging adventure, we saw the November use-lc Archive lurch back to life after a mid-month near-death experience. Yet today another symptom rises from the ashes, gentle reader, to threaten the free world: http://lists.runrev.com/pipermail/use-livecode/ Where's December? Will a hero rise to the occasion, or will an entire month be lost to history? That is the question. We'll find out, in this thrilling episode of the LC List Reality Show.... Meantime, here's an alternative: I'm keeping that bookmarked now as a backup. (Problem is that anyone else in digest mode won't see this email until tomorrow; but ah well.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ --- Mark: > Its a side-effect of deleting a recent post > which contained sensitive information From craig at starfirelighting.com Thu Dec 2 09:24:41 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:24:41 -0500 Subject: screen resolution and stack height In-Reply-To: References: Message-ID: Hi. The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. So what prevents you from making your card size whatever you want? In other words, why worry about this at all? Craig > On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: > > Hi folks, > > I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. > > Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? > > I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) > > > Best Wishes, > > David Glasgow > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 2 09:28:49 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:28:49 -0500 Subject: Fwd: screen resolution and stack height References: Message-ID: <1CB6A6DE-938D-4353-ACBC-CA17D38C6D0D@starfirelighting.com> Sloppy. My ratio is approx. 2:4 > Begin forwarded message: > > From: Craig Newman via use-livecode > Subject: Re: screen resolution and stack height > Date: December 2, 2021 at 9:24:41 AM EST > To: How to use LiveCode > Cc: Craig Newman > Reply-To: How to use LiveCode > > Hi. > > The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. > > So what prevents you from making your card size whatever you want? In other words, why worry about this at all? > > Craig > >> On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: >> >> Hi folks, >> >> I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. >> >> Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? >> >> I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) >> >> >> Best Wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 2 09:31:24 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:31:24 -0500 Subject: Fwd: screen resolution and stack height References: Message-ID: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Here is a neat article: https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > Begin forwarded message: > > From: Craig Newman via use-livecode > Subject: Re: screen resolution and stack height > Date: December 2, 2021 at 9:24:41 AM EST > To: How to use LiveCode > Cc: Craig Newman > Reply-To: How to use LiveCode > > Hi. > > The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. > > So what prevents you from making your card size whatever you want? In other words, why worry about this at all? > > Craig > >> On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: >> >> Hi folks, >> >> I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. >> >> Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? >> >> I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) >> >> >> Best Wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 2 09:51:25 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 2 Dec 2021 14:51:25 +0000 Subject: screen resolution and stack height In-Reply-To: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode wrote: > > Here is a neat article: > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > Interesting! I suppose my original point is that in the old days you could create at any intermediate ratio and it would match or scale nicely to fit the screen. Is there a larger ratio that works similarly?(I suspect not) Alternatively, I will take the recommended anarchists’ solution and make it the best dimensions for the task. Thanks for the advice folks. Cheers David G From sean at pidigital.co.uk Thu Dec 2 10:23:20 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 2 Dec 2021 15:23:20 +0000 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: I remember when 16:9 became the new 'standard'. That didn't last long. Nowhere near as long as 4:3. Soon after we started seeing 16:10 and 5:4. Now we are starting to see these Ultrawides at about 21:9. It won't stop. Do you remember when there were only 2 screen ratios for iPhone and iPad? Heady days! It's worth splitting your apps up into panels that are each width/height adjustable. Then have your app geometry adjust to the users desires and limitations. It's a lot of coding as the geometry controls aren't always perfect (even the 3rd party ones) but it gives the user greater freedom. Sean On Thu, 2 Dec 2021 at 14:51, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Here is a neat article: > > > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > > > > Interesting! I suppose my original point is that in the old days you > could create at any intermediate ratio and it would match or scale nicely > to fit the screen. > > Is there a larger ratio that works similarly?(I suspect not) > > Alternatively, I will take the recommended anarchists’ solution and make > it the best dimensions for the task. > > Thanks for the advice folks. > > Cheers > > David G > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 2 10:41:22 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Thu, 2 Dec 2021 10:41:22 -0500 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: Alternatively you could add a magnification control that sets the stack’s scaleFactor properly, or sets the stack to fullscreen mode and stretches it to fit with fullScreenMode “exact fit”. On Thu, Dec 2, 2021 at 10:24 AM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > I remember when 16:9 became the new 'standard'. That didn't last long. > Nowhere near as long as 4:3. Soon after we started seeing 16:10 and 5:4. > Now we are starting to see these Ultrawides at about 21:9. It won't stop. > > Do you remember when there were only 2 screen ratios for iPhone and iPad? > Heady days! > > It's worth splitting your apps up into panels that are each width/height > adjustable. Then have your app geometry adjust to the users desires and > limitations. It's a lot of coding as the geometry controls aren't always > perfect (even the 3rd party ones) but it gives the user greater freedom. > > Sean > > On Thu, 2 Dec 2021 at 14:51, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Here is a neat article: > > > > > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > > > > > > > Interesting! I suppose my original point is that in the old days you > > could create at any intermediate ratio and it would match or scale nicely > > to fit the screen. > > > > Is there a larger ratio that works similarly?(I suspect not) > > > > Alternatively, I will take the recommended anarchists’ solution and make > > it the best dimensions for the task. > > > > Thanks for the advice folks. > > > > Cheers > > > > David G > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjearp99 at gmail.com Thu Dec 2 12:13:58 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Thu, 2 Dec 2021 09:13:58 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! ~~~~~~~~~~~~~~~~~~~~~~~~~ Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) Thanks again and kind regards, Bob... Robert (Bob) Earp White Rock British Columbia Canada > On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Yes it does. I use Apple Mail in this way and it works fine. > > Bob S > > > On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: > > I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > From dvglasgow at gmail.com Thu Dec 2 13:30:14 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 2 Dec 2021 18:30:14 +0000 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> Thanks for more thoughts guys. I do have a scale factor button, but don’t want to stretch, so I use ‘letterbox' The cinematography web page inspired me to experiment more freely and I found that 3:2 seems to be a good compromise despite not matching any screen ’standard'. It scales on screens pretty well, and fits reasonably well printed onto a landscape A4 page, which is about 2.82:2 It is matches the aspect ratio of DSLR sensors and classic 35mm film, which to my eye at least, looks lovely. Perhaps because it is very close to the ‘golden rectangle’ (3:1.85). That could just be me being a bit bonkers, but it would be interesting to know if there is more widely felt appreciation of certain aspect ratios. So for now I am going with 1200x800 Cheers, & thanks again David G > On 2 Dec 2021, at 3:41 pm, Paul McClernan via use-livecode wrote: > > Alternatively you could add a magnification control that sets the stack’s > scaleFactor properly, or sets the stack to fullscreen mode and stretches it > to fit with fullScreenMode “exact fit”. From irog at mac.com Thu Dec 2 13:33:53 2021 From: irog at mac.com (Roger Guay) Date: Thu, 2 Dec 2021 10:33:53 -0800 Subject: Reading LC List Digests In-Reply-To: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: <60A80993-B3F7-44D0-B2F1-16B422B59665@mac.com> Yup, I read that those infected by Omicron tend to misspell it!! Roger > On Dec 2, 2021, at 9:13 AM, Robert Earp via use-livecode wrote: > > Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. > > Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) > > Thanks again and kind regards, Bob... > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > >> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >> >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: Reading LC List Digests >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" >> >> Yes it does. I use Apple Mail in this way and it works fine. >> >> Bob S >> >> >> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >> >> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 2 13:56:18 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Dec 2021 12:56:18 -0600 Subject: Reading LC List Digests In-Reply-To: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: I did a quick search and probably found the same things you did. It does seem to point to a font problem. I know you said you'd tried different fonts but maybe another one would work. In general, Arial and Helvetica are very complete but you may have others. You can use Font Book to examine them and see which ones have the most extensive set of glyphs. I'd think Courier would work though, and you tried that. Check to see if your Courier has a complete set of glyphs, I don't think the older original Courier did but Courier New does. If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but you'd think Mail would know how to deal with that. Also, I read that you need to restart Mail when you change the default font. On 12/2/21 11:13 AM, Robert Earp via use-livecode wrote: > Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. > > Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) > > Thanks again and kind regards, Bob... > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > >> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >> >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: Reading LC List Digests >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" >> >> Yes it does. I use Apple Mail in this way and it works fine. >> >> Bob S >> >> >> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >> >> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >> >> -- >> Jacqueline Landman Gay | jacque at 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Dec 2 14:02:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Dec 2021 19:02:36 +0000 Subject: Reading LC List Digests In-Reply-To: References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: <20BF765A-E9C7-4E09-BF46-E55020700A7B@iotecdigital.com> This has come up before if memory serves. It was suggested then that this could be done in livecode fairly easily. Sent from my iPhone > On Dec 2, 2021, at 10:57, J. Landman Gay via use-livecode wrote: > > I did a quick search and probably found the same things you did. It does seem to point to a font problem. I know you said you'd tried different fonts but maybe another one would work. In general, Arial and Helvetica are very complete but you may have others. You can use Font Book to examine them and see which ones have the most extensive set of glyphs. I'd think Courier would work though, and you tried that. Check to see if your Courier has a complete set of glyphs, I don't think the older original Courier did but Courier New does. > > If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but you'd think Mail would know how to deal with that. > > Also, I read that you need to restart Mail when you change the default font. > >> On 12/2/21 11:13 AM, Robert Earp via use-livecode wrote: >> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! >> ~~~~~~~~~~~~~~~~~~~~~~~~~ >> Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. >> Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) >> Thanks again and kind regards, Bob... >> Robert (Bob) Earp >> White Rock >> British Columbia >> Canada >>>> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >>> >>> From: Bob Sneidar > >>> To: How to use LiveCode > >>> Subject: Re: Reading LC List Digests >>> Message-ID: > >>> Content-Type: text/plain; charset="us-ascii" >>> >>> Yes it does. I use Apple Mail in this way and it works fine. >>> >>> Bob S >>> >>> >>>> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >>> >>> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >>> >>> -- >>> Jacqueline Landman Gay | jacque at 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 > > > -- > 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 bogdanoff at me.com Thu Dec 2 14:56:16 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 2 Dec 2021 11:56:16 -0800 Subject: screen resolution and stack height In-Reply-To: <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> Message-ID: <7608F449-386C-468B-AA65-6BD005269663@me.com> As far as height, on desktop you might want to keep in mind the fixed elements of the window like the titlebar height which is different on Mac and Windows. Also menus at the top of the screen on Mac, and as part of the window on Windows. And then there’s the dock on Mac which may be at the bottom, and the taskbar in Windows which is definitely at the bottom. The dock and the taskbar can be hidden by Livecode. To maximize height, I use a 1024 x 728 window that automatically scales down on open when the screen is too small and also have an option for the user to scale to the full height available. The current screen pixel size is available in Livecode. Peter Bogdanoff > On Dec 2, 2021, at 10:30 AM, David V Glasgow via use-livecode wrote: > > Thanks for more thoughts guys. I do have a scale factor button, but don’t want to stretch, so I use ‘letterbox' > > The cinematography web page inspired me to experiment more freely and I found that 3:2 seems to be a good compromise despite not matching any screen ’standard'. It scales on screens pretty well, and fits reasonably well printed onto a landscape A4 page, which is about 2.82:2 > > It is matches the aspect ratio of DSLR sensors and classic 35mm film, which to my eye at least, looks lovely. Perhaps because it is very close to the ‘golden rectangle’ (3:1.85). That could just be me being a bit bonkers, but it would be interesting to know if there is more widely felt appreciation of certain aspect ratios. > > So for now I am going with 1200x800 > > Cheers, & thanks again > > David G > >> On 2 Dec 2021, at 3:41 pm, Paul McClernan via use-livecode wrote: >> >> Alternatively you could add a magnification control that sets the stack’s >> scaleFactor properly, or sets the stack to fullscreen mode and stretches it >> to fit with fullScreenMode “exact fit”. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Dec 3 05:37:32 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 Dec 2021 05:37:32 -0500 Subject: December Archive, Where (4) art Thou? Message-ID: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> The use-livecode Archive outage continues; still no December 2021 Archive page.... http://lists.runrev.com/pipermail/use-livecode/ Me: > Will a hero rise to the occasion, > or will an entire month be lost to history? > Meantime, here's an alternative: Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ --- Mark: > Its a side-effect of deleting a recent post > which contained sensitive information From curry at pair.com Fri Dec 3 05:42:29 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 Dec 2021 05:42:29 -0500 Subject: December Archive, Where (4) art Thou? In-Reply-To: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> References: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> Message-ID: <88c07888-6db6-d320-3f18-812bd85b2d21@pair.com> Woohoo, now it's back! Nice. (Thanks.) Me: > The use-livecode Archive outage continues; > still no December 2021 Archive page.... http://lists.runrev.com/pipermail/use-livecode/ Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From panos.merakos at livecode.com Fri Dec 3 06:48:26 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 3 Dec 2021 13:48:26 +0200 Subject: [ANN] Release 9.6.5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.5. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater Release Contents ================ LiveCode 9.6.5 comes with several changes, including: New Features - Android standalones can now be deployed as app bundles - The Android engine is now built using version 30 of the Android API - In-app purchases for Google Play Store now use v4 of the Google Billing Library Bug Fixes: - Fix browser widget on iOS not sending load events in response to user navigation - Fix library conflicts between maps and barcode widgets on Android - Improve speed of appending to large strings and encoding large arrays on Windows - Fix long engine exit time when many loaded fonts and objects/paragraphs are still in memory For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_5/LiveCodeNotes-9_6_5.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+ : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 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 http://forums.livecode.com/ Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Fri Dec 3 11:15:32 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Dec 2021 11:15:32 -0500 Subject: mobile debugger: unknown color? Message-ID: I'm getting an execution error at line n/a (Object: unknown color) the debugger then throws up the card script, but the pointer is not pointing at anything. -- 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 klaus at major-k.de Fri Dec 3 11:31:12 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 3 Dec 2021 17:31:12 +0100 Subject: Android: Sign for development only Message-ID: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Hi friends, does it have any limitations if I "Sign for development only"? I mean, once the user defined the URL to the APK as "trustworthy" in his security settings on his/her cellphone, he/she can download and install the app without any problems and dialogs. I tried with a "selfsigning certificate", worked fine, but the user gets two warning dialogs: 1. Unknown developer... 2. Upldoad app for checking to GOOGLE... Not as nice as an unsigned app, see above. :-) Too bad you can ONLY pay the developer fee via a CREDITCARD! Big fun, Google! OK, any hints welcome! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Fri Dec 3 12:16:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Dec 2021 12:16:25 -0500 Subject: mobile debugger: unknown color? In-Reply-To: References: Message-ID: Wow. This is even weirder. There was an error in the card script, but the debugger did not pop up for that, unless I put in a breakpoint statement, first. Once the breakpoint statement triggers, even if you just continue execution after, when the error occurs, the debugger will pop up. On Fri, Dec 3, 2021 at 11:15 AM Mike Kerner wrote: > I'm getting an execution error at line n/a (Object: unknown color) > the debugger then throws up the card script, but the pointer is not > pointing at anything. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Fri Dec 3 12:18:34 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Dec 2021 12:18:34 -0500 Subject: mobile debugger: unknown color? In-Reply-To: References: Message-ID: <003c01d7e869$d09ed800$71dc8800$@net> Mike, Did you try "Debug==>Show Next" in the SE? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Friday, December 03, 2021 11:16 AM To: How to use LiveCode Cc: Mike Kerner Subject: mobile debugger: unknown color? I'm getting an execution error at line n/a (Object: unknown color) the debugger then throws up the card script, but the pointer is not pointing at anything. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp99 at gmail.com Fri Dec 3 13:04:35 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 3 Dec 2021 10:04:35 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: <7A370640-8B3E-4075-93E5-693E88F8EC7E@gmail.com> I think we’ve had this discussion before Roger, all great nginears can’t spell, especially in Greek, which is why spell checkers were invented ;-) BTW, you’ve reminded me to add a spell checker to the list of features a digest-o-matic should have…. best, Bob... > On Dec 3, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > Date: Thu, 2 Dec 2021 10:33:53 -0800 > From: Roger Guay > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: <60A80993-B3F7-44D0-B2F1-16B422B59665 at mac.com > > Content-Type: text/plain; charset=utf-8 > > Yup, I read that those infected by Omicron tend to misspell it!! > > Roger > >> On Dec 2, 2021, at 9:13 AM, Robert Earp via use-livecode > wrote: >> >> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! Robert (Bob) Earp White Rock British Columbia Canada From rjearp99 at gmail.com Fri Dec 3 13:17:47 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 3 Dec 2021 10:17:47 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: Thanks for the great advice Jacqueline, it was the old Courier that I had tried. I’ve now changed to Helvetica Neu and we’ll see how that fairs. best, Bob... > On Dec 3, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > Date: Thu, 2 Dec 2021 12:56:18 -0600 > From: "J. Landman Gay" > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset=UTF-8; format=flowed > > I did a quick search and probably found the same things you did. It does seem to point to a > font problem. I know you said you'd tried different fonts but maybe another one would work. In > general, Arial and Helvetica are very complete but you may have others. You can use Font Book > to examine them and see which ones have the most extensive set of glyphs. I'd think Courier > would work though, and you tried that. Check to see if your Courier has a complete set of > glyphs, I don't think the older original Courier did but Courier New does. > > If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but > you'd think Mail would know how to deal with that. > > Also, I read that you need to restart Mail when you change the default font. Robert (Bob) Earp White Rock British Columbia Canada From MikeKerner at roadrunner.com Sat Dec 4 11:19:12 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 4 Dec 2021 11:19:12 -0500 Subject: mobile debugger: unknown color? In-Reply-To: <003c01d7e869$d09ed800$71dc8800$@net> References: <003c01d7e869$d09ed800$71dc8800$@net> Message-ID: that does not seem to do anything. the good news is that i can throw in a breakpoint and then continue execution to get the debugger to behave. On Fri, Dec 3, 2021 at 12:18 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > Did you try "Debug==>Show Next" in the SE? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Friday, December 03, 2021 11:16 AM > To: How to use LiveCode > Cc: Mike Kerner > Subject: mobile debugger: unknown color? > > I'm getting an execution error at line n/a (Object: unknown color) the > debugger then throws up the card script, but the pointer is not pointing at > anything. > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Dec 4 16:01:11 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 15:01:11 -0600 Subject: Project browser docs Message-ID: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> Where is the documentation for the project browser? There's nothing in the User Guides in the dictionary. There are several mentions in the User Guide under the Help menu but they all refer to managing datagrids. There is one mention "for more details, see the section on the project browser" but there is no such section. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 16:18:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 15:18:49 -0600 Subject: mobile debugger: unknown color? In-Reply-To: <003c01d7e869$d09ed800$71dc8800$@net> References: <003c01d7e869$d09ed800$71dc8800$@net> Message-ID: <5d38fb4b-3bf2-7ee8-9007-3e25be4fcaed@hyperactivesw.com> On 12/3/21 11:18 AM, Ralph DiMola via use-livecode wrote: > Did you try "Debug==>Show Next" in the SE? What's that supposed to do? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 17:14:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 16:14:38 -0600 Subject: Android: Sign for development only In-Reply-To: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Message-ID: <2c5fdae2-c0c4-bcae-19da-3be3b61f76ab@hyperactivesw.com> I think it depends on how much you trust the recipient. The debug key is not secure. The default password for a debug key is "android". I found this on stackoverflow : "release apks must be decompressed and manually modified and recompressed+resigned by debug certificate, to be debuggable by other people. Accessing code is always available for every user, the release is "obfuscated", not "blocked". You can't hide code from user, who must be able to run the code, at some stage the code must be available to user, and at that moment skilled user can copy the code and explore/reverse engineer." I think that means someone with the right skills could alter your app, since the default password is known. I couldn't find any info about verifying the signing key without a developer account, but you could post a message to Google and ask if there is a way to purchase a developer account without a credit card. They will accept a bank debit card if you have one. If you are quite sure that your client is the only one who will use your app, and that no other person will have access to it, then I think it's probably okay to sign for development only. But it isn't really very secure. On 12/3/21 10:31 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > does it have any limitations if I "Sign for development only"? > > I mean, once the user defined the URL to the APK as "trustworthy" > in his security settings on his/her cellphone, he/she can download > and install the app without any problems and dialogs. > > I tried with a "selfsigning certificate", worked fine, but the user gets > two warning dialogs: > 1. Unknown developer... > 2. Upldoad app for checking to GOOGLE... > > Not as nice as an unsigned app, see above. :-) > > Too bad you can ONLY pay the developer fee via a CREDITCARD! > Big fun, Google! > > OK, any hints welcome! > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Sun Dec 5 18:05:48 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 5 Dec 2021 23:05:48 +0000 Subject: LC 9.5.6, Android and JSONToArray Message-ID: I just built an app for Android in 9.5.6. I am finding that JSONToArray() isn't working. I built the same app in 9.5.4, and JSONToArray() works just fine. (Yes, I have "JSON Library" selected in the Inclusions in the Standalone Application Settings). Is this a bug or is JSONToArray() no longer supported in 9.5.6? Any advice or knowledge would be appreciated. -Dan From jacque at hyperactivesw.com Sun Dec 5 22:25:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Dec 2021 21:25:49 -0600 Subject: Project browser docs In-Reply-To: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> Message-ID: <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> So I take it there are no docs? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 4, 2021 3:03:35 PM "J. Landman Gay via use-livecode" wrote: > Where is the documentation for the project browser? There's nothing in the > User Guides in the > dictionary. There are several mentions in the User Guide under the Help > menu but they all refer > to managing datagrids. There is one mention "for more details, see the > section on the project > browser" but there is no such section. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Dec 5 23:14:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Dec 2021 22:14:15 -0600 Subject: Project browser docs In-Reply-To: <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I found a lesson on it but it doesn't say what the dotted outline around some cards means. A full explanation of the project browser should be in the user guide. I didn't think to check the lessons until today and newcomers may not even know the lessons exist. If the full documentation is too much to add to the guide, at least a link should be provided. Right now the guide only has a reference to a Project Browser section that doesn't exist. I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 5, 2021 9:28:05 PM "J. Landman Gay via use-livecode" wrote: > So I take it there are no docs? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 4, 2021 3:03:35 PM "J. Landman Gay via use-livecode" > wrote: > >> Where is the documentation for the project browser? There's nothing in the >> User Guides in the >> dictionary. There are several mentions in the User Guide under the Help >> menu but they all refer >> to managing datagrids. There is one mention "for more details, see the >> section on the project >> browser" but there is no such section. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From preid at reidit.co.uk Mon Dec 6 04:34:52 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Mon, 6 Dec 2021 09:34:52 +0000 Subject: Linux Speech Support? In-Reply-To: References: Message-ID: Has anyone managed to used text-to-speech for Linux? I'm using the latest LC 9.6.5 stable release, building for Mac, Win64 and Linux64. The Mac and Win build OK but I get the following warning for the Linux build: Linux x86-64, external No externals.txt config file found for Speech The Linux app builds and runs OK except that the text-to-speech doesn't work. I've tried manually selecting inclusions but there's nothing appropriate. I've tried including Android speech support inclusions, just in case it might work with Linux; it doesn't. So, general question - has anyone got text-to-speech (or speech-to-text) working with Linux? For speech in general there are the following inclusions: Android Speech-to-text (all platforms are listed) Speech Library (X, iOS, Android only) Speech (X, Win only) Any suggestions please? Peter -- Peter Reid Loughborough, UK From merakosp at gmail.com Mon Dec 6 06:07:27 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 6 Dec 2021 13:07:27 +0200 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: Message-ID: Hello Dan, Could you please confirm the working and non-working versions? There is no 9.5.6 or 9.5.4 version of LiveCode. Also, to use JSONToArray() you have to include "mergJSON" in the Inclusions, not "JSON Library". The "JSON Library" is needed for "JSONImport" and "JSONExport" functions. Hope this helps. Cheers, Panos On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I just built an app for Android in 9.5.6. I am finding that JSONToArray() > isn't working. I built the same app in 9.5.4, and JSONToArray() works > just fine. (Yes, I have "JSON Library" selected in the Inclusions in the > Standalone Application Settings). Is this a bug or is JSONToArray() no > longer supported in 9.5.6? > > Any advice or knowledge would be appreciated. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Dec 6 07:49:06 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Dec 2021 12:49:06 +0000 Subject: Project browser docs In-Reply-To: <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > I prefer the horizontal layout in the Application Overview, but i > thought I'd give the PB another try now that I'm working on a simpler > project. It's too unweildy for multi-stack projects with lots of > controls. > Sorry, dumb question time - what is the "Application Overview" ? Thanks Alex. From matthias_livecode_150811 at m-r-d.de Mon Dec 6 08:01:14 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Dec 2021 14:01:14 +0100 Subject: Project browser docs In-Reply-To: <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> Message-ID: <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> Before the Project Browser was introduced Application Overview was the tool to get an overview of all loaded stacks, its substacks, cards and all objects on that cards. You can now find it under Plugins->revApplicationOveriew. Regards, Matthias > Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode : > > On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > >> I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. >> > Sorry, dumb question time - what is the "Application Overview" ? > > Thanks > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Dec 6 08:08:59 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Dec 2021 13:08:59 +0000 Subject: Project browser docs In-Reply-To: <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> Message-ID: <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> Thanks Matthias - found it. It looks like it's not for me - I use too much nesting of groups and can't handle a non-hierarchical view:-) Alex. On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: > Before the Project Browser was introduced Application Overview was the tool to get an overview of all loaded stacks, its substacks, cards and all objects on that cards. > You can now find it under Plugins->revApplicationOveriew. > > Regards, > Matthias >> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode : >> >> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: >> >>> I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. >>> >> Sorry, dumb question time - what is the "Application Overview" ? >> >> Thanks >> >> Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Dec 6 08:34:11 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 6 Dec 2021 15:34:11 +0200 Subject: Linux Speech Support? In-Reply-To: References: Message-ID: Hello Peter, Unfortunately LC does not have a test-to-speech library that will work on Linux. The Android Speech-to-text library should only list "Android" in the supported platforms. Kind regards, Panos -- On Mon, 6 Dec 2021 at 11:36, Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > Has anyone managed to used text-to-speech for Linux? I'm using the latest > LC 9.6.5 stable release, building for Mac, Win64 and Linux64. The Mac and > Win build OK but I get the following warning for the Linux build: > > Linux x86-64, external No externals.txt config file found for > Speech > > The Linux app builds and runs OK except that the text-to-speech doesn't > work. I've tried manually selecting inclusions but there's nothing > appropriate. I've tried including Android speech support inclusions, just > in case it might work with Linux; it doesn't. > > So, general question - has anyone got text-to-speech (or speech-to-text) > working with Linux? For speech in general there are the following > inclusions: > > Android Speech-to-text (all platforms are listed) > Speech Library (X, iOS, Android only) > Speech (X, Win only) > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Mon Dec 6 10:48:22 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Dec 2021 15:48:22 +0000 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: Message-ID: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Panos, Thank you for the reply. Sorry about the typo... the versions are: 9.6.4 -- WORKING 9.6.5 -- NOT WORKING And, yes. I have "mergJSON" selected (as well as "JSON Library"). FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 might be resolved in 9.6.5. (http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html) - Dan On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via use-livecode" wrote: Hello Dan, Could you please confirm the working and non-working versions? There is no 9.5.6 or 9.5.4 version of LiveCode. Also, to use JSONToArray() you have to include "mergJSON" in the Inclusions, not "JSON Library". The "JSON Library" is needed for "JSONImport" and "JSONExport" functions. Hope this helps. Cheers, Panos On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I just built an app for Android in 9.5.6. I am finding that JSONToArray() > isn't working. I built the same app in 9.5.4, and JSONToArray() works > just fine. (Yes, I have "JSON Library" selected in the Inclusions in the > Standalone Application Settings). Is this a bug or is JSONToArray() no > longer supported in 9.5.6? > > Any advice or knowledge would be appreciated. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 6 11:25:19 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Dec 2021 10:25:19 -0600 Subject: Project browser docs In-Reply-To: <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> Message-ID: <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If you click the Layer header to view by layer order you'll see what you're looking for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 6, 2021 7:10:29 AM Alex Tweedly via use-livecode wrote: > Thanks Matthias - found it. > > It looks like it's not for me - I use too much nesting of groups and > can't handle a non-hierarchical view:-) > > Alex. > > On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: >> Before the Project Browser was introduced Application Overview was the >> tool to get an overview of all loaded stacks, its substacks, cards and all >> objects on that cards. >> You can now find it under Plugins->revApplicationOveriew. >> >> Regards, >> Matthias >>> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode >>> : >>> >>> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: >>> >>>> I prefer the horizontal layout in the Application Overview, but i thought >>>> I'd give the PB another try now that I'm working on a simpler project. It's >>>> too unweildy for multi-stack projects with lots of controls. >>>> >>> Sorry, dumb question time - what is the "Application Overview" ? >>> >>> Thanks >>> >>> Alex. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Dec 6 11:39:48 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 6 Dec 2021 11:39:48 -0500 Subject: Project browser docs In-Reply-To: <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: PB is broken in a lot of ways, especially when it comes to handling groups. There are several bug reports about it that go back a ways. On Mon, Dec 6, 2021 at 11:26 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > If you click the Layer header to view by layer order you'll see what > you're > looking for. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 6, 2021 7:10:29 AM Alex Tweedly via use-livecode > wrote: > > > Thanks Matthias - found it. > > > > It looks like it's not for me - I use too much nesting of groups and > > can't handle a non-hierarchical view:-) > > > > Alex. > > > > On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: > >> Before the Project Browser was introduced Application Overview was the > >> tool to get an overview of all loaded stacks, its substacks, cards and > all > >> objects on that cards. > >> You can now find it under Plugins->revApplicationOveriew. > >> > >> Regards, > >> Matthias > >>> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode > >>> : > >>> > >>> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > >>> > >>>> I prefer the horizontal layout in the Application Overview, but i > thought > >>>> I'd give the PB another try now that I'm working on a simpler > project. It's > >>>> too unweildy for multi-stack projects with lots of controls. > >>>> > >>> Sorry, dumb question time - what is the "Application Overview" ? > >>> > >>> Thanks > >>> > >>> Alex. > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Wed Dec 8 04:51:31 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 8 Dec 2021 11:51:31 +0200 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> References: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Message-ID: Hello Dan, I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature. Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license, JSONToArray() worked as expected. What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed. You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not. Hope this helps. Kind regards, Panos -- On Mon, 6 Dec 2021 at 17:48, Dan Friedman wrote: > Panos, > > Thank you for the reply. Sorry about the typo... the versions are: > > 9.6.4 -- WORKING > 9.6.5 -- NOT WORKING > > And, yes. I have "mergJSON" selected (as well as "JSON Library"). > > FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 > might be resolved in 9.6.5. ( > http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html) > > > - Dan > > > > On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Could you please confirm the working and non-working versions? There > is no > 9.5.6 or 9.5.4 version of LiveCode. > > Also, to use JSONToArray() you have to include "mergJSON" in the > Inclusions, not "JSON Library". The "JSON Library" is needed for > "JSONImport" and "JSONExport" functions. > > Hope this helps. > > Cheers, > Panos > > On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just built an app for Android in 9.5.6. I am finding that > JSONToArray() > > isn't working. I built the same app in 9.5.4, and JSONToArray() > works > > just fine. (Yes, I have "JSON Library" selected in the Inclusions > in the > > Standalone Application Settings). Is this a bug or is > JSONToArray() no > > longer supported in 9.5.6? > > > > Any advice or knowledge would be appreciated. > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 05:05:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 11:05:34 +0100 Subject: Android: Sign for development only In-Reply-To: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Message-ID: <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> Hi friends, > Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode : > > Hi friends, > > does it have any limitations if I "Sign for development only"? > > I mean, once the user defined the URL to the APK as "trustworthy" > in his security settings on his/her cellphone, he/she can download > and install the app without any problems and dialogs. > > I tried with a "selfsigning certificate", worked fine, but the user gets > two warning dialogs: > 1. Unknown developer... > 2. Upldoad app for checking to GOOGLE... > > Not as nice as an unsigned app, see above. :-) > > Too bad you can ONLY pay the developer fee via a CREDITCARD! > Big fun, Google! > > OK, any hints welcome! any takers or impossible to answer? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From preid at reidit.co.uk Wed Dec 8 09:05:11 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Wed, 8 Dec 2021 14:05:11 +0000 Subject: Ghost in the Machine? Message-ID: I'm trying to provide an upload facility for an existing on-line club membership app. This app has a bulk loading facility for initial set up and is designed for whole database configuration. In addition the app provides a manual on-line form with 20+ fields making up a member's record. Ideally my user would use a facility to upload 1 or more files with rows of details , each row containing a collection of all the inputs for my user to use. Sadly, there's no bulk loading facility, so the user has to type in most of the details from the membership form. So here comes the 'Ghost' bit, is it possible to make an LC app that mimics keyboard and mouse inputs as if the user was there interacting with the on-line form? If I can do this my user would have a file of inputs which they could send to the membership database, sit back and watch the ghostly app 'type' and 'mouse click' their way through completing the on-line form. Any suggestions please? Peter -- Peter Reid Loughborough, UK From keith.clarke at me.com Wed Dec 8 10:01:22 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 8 Dec 2021 15:01:22 +0000 Subject: PDF Viewer widget - how to enable interaction? Message-ID: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Hi folks, Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. Any clues gratefully received... Best, Keith From skiplondon at gmail.com Wed Dec 8 11:15:09 2021 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 8 Dec 2021 11:15:09 -0500 Subject: JSON to Datagrid Message-ID: I have been googling a solution for this but have not found a solid solution for this. Can anybody lead me in the right direction on this? SKIP From skiplondon at gmail.com Wed Dec 8 11:29:16 2021 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 8 Dec 2021 11:29:16 -0500 Subject: JSON to Datagrid In-Reply-To: References: Message-ID: To functions actually needed... need to be able to convert to a datagrid and I will be also pumping this data into a SQL server. SKIP On Wed, Dec 8, 2021 at 11:15 AM Skip Kimpel wrote: > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody lead me in the right direction on this? > > SKIP > From jacque at hyperactivesw.com Wed Dec 8 11:34:10 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2021 10:34:10 -0600 Subject: Android: Sign for development only In-Reply-To: <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> Message-ID: <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did answer but you may not have received it. I miss occasional posts too sometimes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 8, 2021 4:07:20 AM Klaus major-k via use-livecode wrote: > Hi friends, > >> Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode >> : >> >> Hi friends, >> >> does it have any limitations if I "Sign for development only"? >> >> I mean, once the user defined the URL to the APK as "trustworthy" >> in his security settings on his/her cellphone, he/she can download >> and install the app without any problems and dialogs. >> >> I tried with a "selfsigning certificate", worked fine, but the user gets >> two warning dialogs: >> 1. Unknown developer... >> 2. Upldoad app for checking to GOOGLE... >> >> Not as nice as an unsigned app, see above. :-) >> >> Too bad you can ONLY pay the developer fee via a CREDITCARD! >> Big fun, Google! >> >> OK, any hints welcome! > > any takers or impossible to answer? > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 8 11:37:38 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 17:37:38 +0100 Subject: Android: Sign for development only In-Reply-To: <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4BFB29F1-61AB-428A-923F-D1B4E212AF40@major-k.de> Hi Jaques, > Am 08.12.2021 um 17:34 schrieb J. Landman Gay via use-livecode : > > I did answer but you may not have received it. yes, didn't receive this one!? > I miss occasional posts too sometimes. > aha, OK, thank you! :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From keith.clarke at me.com Wed Dec 8 11:37:47 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 8 Dec 2021 16:37:47 +0000 Subject: JSON to Datagrid In-Reply-To: References: Message-ID: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Hi Skip, I don’t use Datagrids but have used a two-step process to get JSON into the Tree widget and a similar process may provide a direction of travel to test…? 1. JSON-to-array https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file 2. Setting the array data of datagrid… Good luck. Best, Keith > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode wrote: > > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody lead me in the right direction on this? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 12:56:37 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 Dec 2021 12:56:37 -0500 Subject: JSON to Datagrid In-Reply-To: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> References: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Message-ID: completely off the top of my head, so this might not be quite right jsonToArray set the dgData of group "datagrid 1" to On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Skip, > I don’t use Datagrids but have used a two-step process to get JSON into > the Tree widget and a similar process may provide a direction of travel to > test…? > > 1. JSON-to-array > https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file > 2. Setting the array data of datagrid… > > Good luck. > Best, > Keith > > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have been googling a solution for this but have not found a solid > > solution for this. > > > > Can anybody lead me in the right direction on this? > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Wed Dec 8 13:36:29 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Dec 2021 13:36:29 -0500 Subject: JSON to Datagrid In-Reply-To: References: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Message-ID: JSONToArray works well for me if your JSON is correct. Always use try when decoding from JSON to catch any errors. On Wed, Dec 8, 2021 at 12:58 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > completely off the top of my head, so this might not be quite right > jsonToArray > set the dgData of group "datagrid 1" to > > On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Skip, > > I don’t use Datagrids but have used a two-step process to get JSON into > > the Tree widget and a similar process may provide a direction of travel > to > > test…? > > > > 1. JSON-to-array > > > https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file > > 2. Setting the array data of datagrid… > > > > Good luck. > > Best, > > Keith > > > > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > I have been googling a solution for this but have not found a solid > > > solution for this. > > > > > > Can anybody lead me in the right direction on this? > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Wed Dec 8 13:38:30 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Dec 2021 13:38:30 -0500 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: I don't know about moving the mouse around ....but u can have a fake png of a cursor move around...and then send mouseUps to buttons..... and also u can put text into a field 1 character at a time to simulate typing. This is entirely doable in LC. On Wed, Dec 8, 2021 at 9:06 AM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to provide an upload facility for an existing on-line club > membership app. This app has a bulk loading facility for initial set up and > is designed for whole database configuration. In addition the app provides > a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows > of details , each row containing a collection of all the inputs for my user > to use. Sadly, there's no bulk loading facility, so the user has to type in > most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that > mimics keyboard and mouse inputs as if the user was there interacting with > the on-line form? If I can do this my user would have a file of inputs > which they could send to the membership database, sit back and watch the > ghostly app 'type' and 'mouse click' their way through completing the > on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Wed Dec 8 15:27:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 8 Dec 2021 20:27:56 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: Hi Peter, just checking if I have understood this right. I think you have a website / webpage which allows the user to view / update a single entry (i.e. "manual on-line form with 20+ fields"). If that is the case, I'd consider writing an app to take in the file of rows of details, and insert that using a browser widget. See https://forums.livecode.com/viewtopic.php?t=33074 or other similar discussions.  (Not done it myself, but looks reasonably straightforward). Alex. On 08/12/2021 14:05, Peter Reid via use-livecode wrote: > I'm trying to provide an upload facility for an existing on-line club membership app. This app has a bulk loading facility for initial set up and is designed for whole database configuration. In addition the app provides a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows of details , each row containing a collection of all the inputs for my user to use. Sadly, there's no bulk loading facility, so the user has to type in most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that mimics keyboard and mouse inputs as if the user was there interacting with the on-line form? If I can do this my user would have a file of inputs which they could send to the membership database, sit back and watch the ghostly app 'type' and 'mouse click' their way through completing the on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 15:33:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 14:33:49 -0600 Subject: Android SDK Message-ID: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app since I installed Big Sur. I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older installations still in place. In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for the entire SDK folder and all its contents. LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but now all my LC apps say the folder is invalid. So now what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Dec 8 15:44:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 21:44:25 +0100 Subject: APK and an idsig file? Message-ID: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> Hi all, I just created an APK with LC 9.6.5 and found another file beneath the actual APK file in the folder. Like this: Name of app.apk Name of app.apk.idsig -> ca. 160 KB Is this new? And what is it good for? Thanks for any hints! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dochawk at gmail.com Wed Dec 8 15:47:08 2021 From: dochawk at gmail.com (doc hawk) Date: Wed, 8 Dec 2021 12:47:08 -0800 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Message-ID: <0AC5C2E7-E41F-459F-A287-70998693CC74@gmail.com> keith kayaked, > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? I had great hopes and excitement. I rearranged my project to use it. All looked great on screen. And then I found that it turns its output of pdfs to 72dpi. And cried. From rdimola at evergreeninfo.net Wed Dec 8 15:58:33 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Dec 2021 15:58:33 -0500 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Message-ID: <004e01d7ec76$5fc103e0$1f430ba0$@net> Dan, Same problem with tsNet. The pro was the second license and as in previous version I just blew past the licensing dialog without reading. After I re-licensed and clicked the right arrow and selected the pro license(clearly marked) I was good to go. Although I assumed... Maybe the highest level of license should be the default? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis m via use-livecode Sent: Wednesday, December 08, 2021 4:52 AM To: Dan Friedman Cc: panagiotis m; How to use LiveCode Subject: Re: LC 9.5.6, Android and JSONToArray Hello Dan, I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature. Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license, JSONToArray() worked as expected. What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed. You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not. Hope this helps. Kind regards, Panos -- On Mon, 6 Dec 2021 at 17:48, Dan Friedman wrote: > Panos, > > Thank you for the reply. Sorry about the typo... the versions are: > > 9.6.4 -- WORKING > 9.6.5 -- NOT WORKING > > And, yes. I have "mergJSON" selected (as well as "JSON Library"). > > FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 > might be resolved in 9.6.5. ( > http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.htm > l) > > > - Dan > > > > On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Could you please confirm the working and non-working versions? > There is no > 9.5.6 or 9.5.4 version of LiveCode. > > Also, to use JSONToArray() you have to include "mergJSON" in the > Inclusions, not "JSON Library". The "JSON Library" is needed for > "JSONImport" and "JSONExport" functions. > > Hope this helps. > > Cheers, > Panos > > On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just built an app for Android in 9.5.6. I am finding that > JSONToArray() > > isn't working. I built the same app in 9.5.4, and JSONToArray() > works > > just fine. (Yes, I have "JSON Library" selected in the > Inclusions in the > > Standalone Application Settings). Is this a bug or is > JSONToArray() no > > longer supported in 9.5.6? > > > > Any advice or knowledge would be appreciated. > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 8 16:06:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:06:22 -0600 Subject: Android SDK In-Reply-To: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> References: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> Message-ID: <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my phone, which also worked yesterday. So I tried again to build an apk and that now works too, though the prefs still show red and report the SDK is invalid (LC 9.6.5.) There is something weird going on though. I can only build directly to my phone if I choose Test from the Development menu. If I just click the Test button in the toolbar I get a dialog that says "Android " which is the ID of my phone. Occasionally the menu item does the same, but usually it works. I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could you leave the RC versions up for a few weeks so we could backtrack if necessary? On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote: > I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app > since I installed Big Sur. > > I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 > (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older > installations still in place. > > In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for > the entire SDK folder and all its contents. > > LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but > now all my LC apps say the folder is invalid. > > So now what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 8 16:08:30 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:08:30 -0600 Subject: APK and an idsig file? In-Reply-To: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> References: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> Message-ID: <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote: > Hi all, > > I just created an APK with LC 9.6.5 and found > another file beneath the actual APK file in the folder. > > Like this: > Name of app.apk > Name of app.apk.idsig -> ca. 160 KB > > Is this new? And what is it good for? > Thanks for any hints! It's new since LC implemented app bundles. I looked it up, but aside from info about app signing, I didn't find a real use for it. I leave it in place in the folder and ignore it. You don't need to distribute it with the apk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Dec 8 16:13:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 22:13:25 +0100 Subject: APK and an idsig file? In-Reply-To: <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> References: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> Message-ID: Hi Jaqueline, > Am 08.12.2021 um 22:08 schrieb J. Landman Gay via use-livecode : > > On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote: >> Hi all, >> I just created an APK with LC 9.6.5 and found >> another file beneath the actual APK file in the folder. >> Like this: >> Name of app.apk >> Name of app.apk.idsig -> ca. 160 KB >> Is this new? And what is it good for? >> Thanks for any hints! > It's new since LC implemented app bundles. AHA! :-) > I looked it up, but aside from info about app signing, I didn't find a real use for it. > I leave it in place in the folder and ignore it. You don't need to distribute it with the apk. OK, thanks for the hints, much appreciated! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Dec 8 16:26:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:26:17 -0600 Subject: Android SDK In-Reply-To: <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> References: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> Message-ID: And...now I can't build a standalone again. No changes to the SDK config, just a warning that the SDK isn't valid. It hasn't been 20 minutes since I built the first one. On 12/8/21 3:06 PM, J. Landman Gay via use-livecode wrote: > Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my > phone, which also worked yesterday. So I tried again to build an apk and that now works too, > though the prefs still show red and report the SDK is invalid (LC 9.6.5.) > > There is something weird going on though. I can only build directly to my phone if I choose > Test from the Development menu. If I just click the Test button in the toolbar I get a dialog > that says "Android " which is the ID of my phone. Occasionally the menu item does > the same, but usually it works. > > I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could > you leave the RC versions up for a few weeks so we could backtrack if necessary? > > > On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote: >> I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app >> since I installed Big Sur. >> >> I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools >> 30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have >> some older installations still in place. >> >> In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for >> the entire SDK folder and all its contents. >> >> LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 >> but now all my LC apps say the folder is invalid. >> >> So now what? > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From danoldboy at gmail.com Wed Dec 8 16:46:13 2021 From: danoldboy at gmail.com (Dan Brown) Date: Wed, 8 Dec 2021 21:46:13 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: If it's a simple html form then you could POST the form data to the server directly from within livecode. There is a short guide for doing so here https://livecode.byu.edu/internet/aboutForms.php and here https://livecode.byu.edu/internet/postMethodSteps.php put urlEncode(fld "fullname") into tName put the hilitedButtonName of group "genderGrp" into tGndr put urlEncode(the label of btn "colorChoice") into tColor put fullname=" & tName & "&gender=" & tGndr & "&color=" & tColor into tArgList post tArgList to URL "http://my.web.site/sampleform.html" put it into tFormResults You may need to log in to the website from within livecode (using the above form method) to authenticate and retrieve a cookie or session token to include in the headers of your form request On Wed, Dec 8, 2021 at 2:06 PM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to provide an upload facility for an existing on-line club > membership app. This app has a bulk loading facility for initial set up and > is designed for whole database configuration. In addition the app provides > a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows > of details , each row containing a collection of all the inputs for my user > to use. Sadly, there's no bulk loading facility, so the user has to type in > most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that > mimics keyboard and mouse inputs as if the user was there interacting with > the on-line form? If I can do this my user would have a file of inputs > which they could send to the membership database, sit back and watch the > ghostly app 'type' and 'mouse click' their way through completing the > on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Wed Dec 8 21:43:50 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 9 Dec 2021 13:43:50 +1100 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Message-ID: <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> Hi Keith I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: on linkClicked pAction if pAction[“type”] is “goto” then set the currentDestination of me to pAction end if end linkClicked > On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode wrote: > > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? > > I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. > > The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. > > Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. > > Any clues gratefully received... > 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 keith.clarke at me.com Thu Dec 9 04:15:24 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 9 Dec 2021 09:15:24 +0000 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> Message-ID: Thanks Monte. I should have been more explicit in that I’d tried that technique to handle the linkClicked message - none of the links in my test PDFs (that work in Preview and Adobe) fire it. Assuming I’ve not missed any widget properties, it looks like there’s a problem with the underlying PDFium library not finding ‘clickables’ in the PDF documents - or the LC wrapping has a bug... If navigation is under script control the documentation suggests that every ‘clickable’ that works in any PDF viewer would need to be extracted into either the documentBookmarks or documentNamedDestinations arrays to be accessible for scripting - and both are empty for my ‘link-rich’ test PDFs. Maybe the premium subscription for this widget means that it’s not been accessible for beta-testing by the user community, as I see nothing in the QA centre. Best, Keith > On 9 Dec 2021, at 02:43, Monte Goulding via use-livecode wrote: > > Hi Keith > > I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: > > on linkClicked pAction > if pAction[“type”] is “goto” then > set the currentDestination of me to pAction > end if > end linkClicked > >> On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? >> >> I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. >> >> The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. >> >> Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. >> >> Any clues gratefully received... >> 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 craig at starfirelighting.com Thu Dec 9 10:11:47 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 9 Dec 2021 10:11:47 -0500 Subject: Forum Down? Message-ID: Could not connect as of last evening. Craig From klaus at major-k.de Thu Dec 9 10:14:33 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Dec 2021 16:14:33 +0100 Subject: Forum Down? In-Reply-To: References: Message-ID: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Hi Craig, > Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : > > Could not connect as of last evening. nope, alive and running! Just tested. > Craig Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From robeppich at epsi.ca Thu Dec 9 10:18:17 2021 From: robeppich at epsi.ca (RobEppich) Date: Thu, 9 Dec 2021 07:18:17 -0800 Subject: open socket on start up and can't close In-Reply-To: References: Message-ID: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? Thanks Rob Eppich From klaus at major-k.de Thu Dec 9 10:22:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Dec 2021 16:22:44 +0100 Subject: open socket on start up and can't close In-Reply-To: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> References: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> Message-ID: <7C328F86-AC7D-4271-A8F3-3796F0477191@major-k.de> Hi Rob, > Am 09.12.2021 um 16:18 schrieb RobEppich via use-livecode : > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? not on my machine: macOS 10.14.6, LC 9.6.5 > Thanks > Rob Eppich Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Thu Dec 9 11:00:24 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 9 Dec 2021 11:00:24 -0500 Subject: Forum Down? In-Reply-To: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> References: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Message-ID: Hmmm. Still cannot. Will wait a while and see… Craig > On Dec 9, 2021, at 10:14 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : >> >> Could not connect as of last evening. > > nope, alive and running! > Just tested. > >> Craig > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Dec 9 18:33:28 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 9 Dec 2021 18:33:28 -0500 Subject: How to in LC for Desktop and the Web? In-Reply-To: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> References: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> Message-ID: Following up (in case someone has an answer): I see in the description for SpecialFolderPath(), that under HTML5 (platform) the following are available: "temporary": A folder where temporary files can be placed "engine": The folder where the standalone initial file system is extracted "resources": The resources folder where files or folders specified in the Standalone Builder are located. But where do these point to: 1) When the HTML5 app is running from the local file system (say Windows) in a browser VS 2) When the HTML5 app is running from a server URL in a browser If no one knows the answers, I can always run a set of tests to determine the values. On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: > I have an LC application that currently runs on Window and macOS, that > I want to try to get running under LC 10 for the web. One > characteristic of the app is that it opens a number of external > stacks. On desktop platforms, these external stacks (outside the .EXE > (windows) or .app package (macOS) are found in a folder at the same > level as the installed application. > > So if the app is installed at C:\Program Files\MyApp\MyApp.exe > The the folder containing the external stacks is at C"\Program > Files\MyApp\FolderOfStacks\ > > I get the path of the mainstack and use it to construct the path to > the folder > > If I build for Web, is there some equivalent model for external stacks? > > I get that I may need to have a: > > switch platform() >   case "Win32" >   case "macOS" >      -- load external stacks the way I do now >      break >   case "web" >      -- load external stacks some other way >     break > end switch > > but what is the web best practice for that 'some other way"? And is it > different if I am testing locally vs hosting MyApp on a server? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Dec 9 18:47:38 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 9 Dec 2021 18:47:38 -0500 Subject: How to in LC for Desktop and the Web? In-Reply-To: References: Message-ID: As I understand it, #1 doesn’t really work… it needs to be served from a web server. When you test in the IDE, it actually serves it from a server instance that is started for that purpose. As for building the paths, I’m not exactly sure but do know that stuff in the “copy files” section ends up in the package and virtual file system that is used in the running app. Sent from my iPhone > On Dec 9, 2021, at 6:36 PM, Paul Dupuis via use-livecode wrote: > > Following up (in case someone has an answer): > > I see in the description for SpecialFolderPath(), that under HTML5 (platform) the following are available: > "temporary": A folder where temporary files can be placed > "engine": The folder where the standalone initial file system is extracted > "resources": The resources folder where files or folders specified in the Standalone Builder are located. > > But where do these point to: > > 1) When the HTML5 app is running from the local file system (say Windows) in a browser > > VS > > 2) When the HTML5 app is running from a server URL in a browser > > If no one knows the answers, I can always run a set of tests to determine the values. > > >> On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: >> I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package (macOS) are found in a folder at the same level as the installed application. >> >> So if the app is installed at C:\Program Files\MyApp\MyApp.exe >> The the folder containing the external stacks is at C"\Program Files\MyApp\FolderOfStacks\ >> >> I get the path of the mainstack and use it to construct the path to the folder >> >> If I build for Web, is there some equivalent model for external stacks? >> >> I get that I may need to have a: >> >> switch platform() >> case "Win32" >> case "macOS" >> -- load external stacks the way I do now >> break >> case "web" >> -- load external stacks some other way >> break >> end switch >> >> but what is the web best practice for that 'some other way"? And is it different if I am testing locally vs hosting MyApp on a server? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 10 08:02:08 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 14:02:08 +0100 Subject: Record audio on Mac Message-ID: Hi all, There is an entry in the dictionary -> record sound... But that obviously relies on Quicktime. And then there is this in the "Release Notes": ... 64-bit standalones for Mac OS X do not have support for audio recording. ... Does that mean we do not have a way to record a sound with LC? If yes, oh my.... :-/ Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Dec 10 09:03:56 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 10 Dec 2021 16:03:56 +0200 Subject: Record audio on Mac In-Reply-To: References: Message-ID: Hello Klaus, You can use the camera control: cameraControlDo tCamera, "startRecording", .... Cheers, Panos -- On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... > > Does that mean we do not have a way to record a sound with LC? > If yes, oh my.... :-/ > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Dec 10 09:10:31 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 15:10:31 +0100 Subject: Record audio on Mac In-Reply-To: References: Message-ID: <51880379-6D57-495F-BC73-4D25F70F9937@major-k.de> Hi Panos, > Am 10.12.2021 um 15:03 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > You can use the camera control: > cameraControlDo tCamera, "startRecording", .... thank you, so we can use it for recording audio only? Cool. Will have to read up that entry in the dictionary. But why on earth do you then write this in the release notes? -> 64-bit standalones for Mac OS X do not have support for audio recording. 8-) > Cheers, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From msiskin at andrew.cmu.edu Fri Dec 10 09:14:48 2021 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Fri, 10 Dec 2021 14:14:48 +0000 Subject: Record audio on Mac In-Reply-To: References: , Message-ID: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> I have been reasonably assured that in LC 10 there will be a simplified/unified way to record audio and/or video on most platforms. This has been in progress for several years. I am looking forward to this returned functionality. Marc Siskin Learning Engineer, Carnegie Mellon University Modern Language Resource Center ________________________________ From: use-livecode on behalf of panagiotis m via use-livecode Sent: Friday, December 10, 2021 9:03:56 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Record audio on Mac Hello Klaus, You can use the camera control: cameraControlDo tCamera, "startRecording", .... Cheers, Panos -- On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... > > Does that mean we do not have a way to record a sound with LC? > If yes, oh my.... :-/ > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 10 09:28:41 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 10 Dec 2021 09:28:41 -0500 Subject: Forum Down? In-Reply-To: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> References: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Message-ID: OK. All back to normal, Funny how annoyed I get when a modern miracle does not quite perform the way I want it to. Craig > On Dec 9, 2021, at 10:14 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : >> >> Could not connect as of last evening. > > nope, alive and running! > Just tested. > >> Craig > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Fri Dec 10 10:42:13 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 10 Dec 2021 15:42:13 +0000 Subject: OT Re: Record audio on Mac In-Reply-To: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> References: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> Message-ID: <1674af60-df27-b92c-4f15-fb718167255c@cogapp.com> Marc, we can tell you're not in the UK. Right now, the phrase that "I have been assured" has quite low credibility on this side of the Atlantic! Ben On 10/12/2021 14:14, Marc Siskin via use-livecode wrote: > I have been reasonably assured that in LC 10 there will be a simplified/unified way to record audio and/or video on most platforms. This has been in progress for several years. > > > I am looking forward to this returned functionality. > > > Marc Siskin > > Learning Engineer, Carnegie Mellon University > > Modern Language Resource Center > > ________________________________ > From: use-livecode on behalf of panagiotis m via use-livecode > Sent: Friday, December 10, 2021 9:03:56 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Record audio on Mac > > Hello Klaus, > > You can use the camera control: > > cameraControlDo tCamera, "startRecording", .... > > Cheers, > Panos > -- > > On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> There is an entry in the dictionary -> record sound... >> But that obviously relies on Quicktime. >> >> And then there is this in the "Release Notes": >> ... >> 64-bit standalones for Mac OS X do not have support for audio recording. >> ... >> >> Does that mean we do not have a way to record a sound with LC? >> If yes, oh my.... :-/ >> >> Thanks for any hint! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 10 14:29:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 20:29:34 +0100 Subject: Record audio on Mac In-Reply-To: References: Message-ID: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> Hi all, > Am 10.12.2021 um 14:02 schrieb Klaus major-k via use-livecode : > > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... almost forgot that we have all this wonderful MERG AV... and MERGmicrophone... stuff on the Mac! :-) So please remove that line from the Release Notes. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From torsten.holmer at web.de Fri Dec 10 16:46:42 2021 From: torsten.holmer at web.de (Torsten Holmer) Date: Fri, 10 Dec 2021 22:46:42 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? Message-ID: Hi, I have a PDF file with text and pictures, but I just want the text. I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. I have a business licence and want to use the PDF widget but I cannot find a way to do it. Can someone help me out? Cheers, Torsten From matthias_livecode_150811 at m-r-d.de Fri Dec 10 17:47:49 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 10 Dec 2021 23:47:49 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: Message-ID: <6FC606D4-7ADE-4082-8D72-D72644309B0D@m-r-d.de> Hi Torsten, i think the PDF widget does not support extracting text by code. At least the documentation does not show any information about this. You wrote, that you have a business license. That would mean, that you can use the Pro features of Livecode. There is an external included in the Pro Feature Pack called XPDF. That external supports extracting text. Have a look at the function XPDFVIEWER_text. Regards, Matthias > Am 10.12.2021 um 22:46 schrieb Torsten Holmer via use-livecode : > > Hi, > > I have a PDF file with text and pictures, but I just want the text. > > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > > Can someone help me out? > > Cheers, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 17:22:56 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Dec 2021 17:22:56 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: Message-ID: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. Monte? LC 10.0.0 Dictionary does not list a property for the page text. On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: > Hi, > > I have a PDF file with text and pictures, but I just want the text. > > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > > Can someone help me out? > > Cheers, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 19:05:49 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Dec 2021 01:05:49 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> Message-ID: <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Paul, here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). Btw. checking this showed me that this function seems to be deprecated and instead the command XPDFViewer_Unicode viewerName, pageNumber, variableName should be used. > Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : > > There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. > > Monte? LC 10.0.0 Dictionary does not list a property for the page text. > > > On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >> Hi, >> >> I have a PDF file with text and pictures, but I just want the text. >> >> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >> >> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >> >> Can someone help me out? >> >> Cheers, >> Torsten >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 20:01:59 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Dec 2021 20:01:59 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: > Paul, > > here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). > Btw. checking this showed me that this function seems to be deprecated and instead the command > XPDFViewer_Unicode viewerName, pageNumber, variableName > should be used. > > >> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >> >> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >> >> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >> >> >> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>> Hi, >>> >>> I have a PDF file with text and pictures, but I just want the text. >>> >>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>> >>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>> >>> Can someone help me out? >>> >>> Cheers, >>> Torsten >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 11 06:50:07 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Dec 2021 12:50:07 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: Ah, i thought you were referring only to XPDF. Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? Or am i missing something? Regards, Matthias > Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : > > Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. > > I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. > > > On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >> Paul, >> >> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >> Btw. checking this showed me that this function seems to be deprecated and instead the command >> XPDFViewer_Unicode viewerName, pageNumber, variableName >> should be used. >> >> >>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>> >>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>> >>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>> >>> >>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>> Hi, >>>> >>>> I have a PDF file with text and pictures, but I just want the text. >>>> >>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>> >>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>> >>>> Can someone help me out? >>>> >>>> Cheers, >>>> Torsten >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at mac.com Sat Dec 11 07:00:52 2021 From: yvescoppe at mac.com (Yves COPPE) Date: Sat, 11 Dec 2021 13:00:52 +0100 Subject: Command "Launch" Message-ID: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> Hello, On mac : I want to launch a document with application « TextEdit » The path to the document is ok but I cannot find a script with the path to « TextEdit » Can somebody help, me ? Thanks. Greetings. Yves COPPE yvescoppe at mac.com From klaus at major-k.de Sat Dec 11 07:08:04 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 11 Dec 2021 13:08:04 +0100 Subject: Command "Launch" In-Reply-To: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> References: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> Message-ID: <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> Bonjour Yves, > Am 11.12.2021 um 13:00 schrieb Yves COPPE via use-livecode : > > Hello, > > On mac : > I want to launch a document with application « TextEdit » > The path to the document is ok but I cannot find a script with the path to « TextEdit » > Can somebody help, me ? find it in -> specialfolderpath("apps") :-) Ken Ray has a nice list of many specialfolderpath() names on his website: > Thanks. > > Greetings. > > Yves COPPE > yvescoppe at mac.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Sat Dec 11 08:27:38 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 11 Dec 2021 08:27:38 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: I suspect it is for backward compatibility. When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: > Ah, i thought you were referring only to XPDF. > Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? > Or am i missing something? > > Regards, > Matthias > > >> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >> >> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >> >> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >> >> >> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>> Paul, >>> >>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>> should be used. >>> >>> >>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>> >>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>> >>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>> >>>> >>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>> Hi, >>>>> >>>>> I have a PDF file with text and pictures, but I just want the text. >>>>> >>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>> >>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>> >>>>> Can someone help me out? >>>>> >>>>> Cheers, >>>>> Torsten >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Sun Dec 12 02:28:32 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 12 Dec 2021 07:28:32 +0000 Subject: IOS 15.0 Message-ID: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> What’s the most stable release / configuration that works with IOS 15. Thanks Sent from my iPhone From dvglasgow at gmail.com Sun Dec 12 05:50:55 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 12 Dec 2021 10:50:55 +0000 Subject: Command "Launch" In-Reply-To: <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> References: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> Message-ID: <7894D8D4-6B8D-4949-A99A-2BCF2A0F405B@gmail.com> > On 11 Dec 2021, at 12:08 pm, Klaus major-k via use-livecode wrote: > > Ken Ray has a nice list of many specialfolderpath() names on his website: > > I can’t say how many times I have looked through that. Thank you, Ken. From stam66 at mac.com Sun Dec 12 08:59:50 2021 From: stam66 at mac.com (Stam Kapetanakis) Date: 12 Dec 2021 13:59:50 +0000 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: Message-ID: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Hi Torsten, i presume the pdf widget in pro is the opensource xpdfReader but don’t know for sure. I did post on how to extract text from PDF using the free xpdfReader and non-pro LC: https://forums.livecode.com/viewtopic.php?f=8&t=35280&p=201036&hilit=Xpdfreader#p201036 I presume that with Pro this is simpler still. hope that helps Stam > I have a PDF file with text and pictures, but I just want the text. > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS.  > > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > Can someone help me out? > Cheers, > Torsten > > > From preid at reidit.co.uk Sun Dec 12 13:29:03 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Sun, 12 Dec 2021 18:29:03 +0000 Subject: Ghost in the Machine? Message-ID: Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate… 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: +---------------------------------------------------------------------------------+ | Surname:[.............] Firstname(s):[...........] Initials:[......] | | | | Address:[.............] Town:[.............] Phone: [.............] | | [.............] Postcode:[.........] Mobile:[.............] | | | | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | +---------------------------------------------------------------------------------+ 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. So my query is really as follows: a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? b) has anyone done something like this? c) does anyone have any methods and/or code they can let me have for this? My overview of what's required is as follows (assuming no show-stoppers): - I make an overlay map, transparent everywhere except where there are input fields – this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles - we take the name of a field, 'Surname' say, and lookup its location on the screen - we position our virtual mouse to click into the location where the equivalent field can be found - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object Any idea whether this is possible and any code examples?! Thanks. Peter From ambassador at fourthworld.com Sun Dec 12 14:33:39 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2021 11:33:39 -0800 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: Stam Kapetanakis wrote: > i presume the pdf widget in pro is the opensource xpdfReader but > dont know for sure. If it is that would be problematic, as the open source edition of xpdfReader is licensed under GPL, and LC no longer has an edition compatible with GPL. -- 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 Sun Dec 12 14:38:20 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2021 11:38:20 -0800 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: Peter Reid wrote: > We want a way to upload a group of new members by 'driving' the input > fields, i.e. our app would click into each field, checkbox, radiobox > and 'type' in the details. If the goal is to submit new member info you can do that with a single POST command. Examine the source HTML. Look for the action URL. Look at the input names. Package up the input data as name-value pairs form-encoded, send it to the URL via POST, and you're done. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Dec 12 14:55:10 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Dec 2021 21:55:10 +0200 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: The consequences are endless. On 12.12.21 21:33, Richard Gaskin via use-livecode wrote: > Stam Kapetanakis wrote: > > > i presume the pdf widget in pro is the opensource xpdfReader but > > dont know for sure. > > If it is that would be problematic, as the open source edition of > xpdfReader is licensed under GPL, and LC no longer has an edition > compatible with GPL. > From paul at researchware.com Sun Dec 12 15:38:45 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Dec 2021 15:38:45 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: <5e366366-e3b2-e094-3f3c-498c2bd9ea0a@researchware.com> On 12/12/2021 8:59 AM, Stam Kapetanakis via use-livecode wrote: > Hi Torsten, > i presume the pdf widget in pro is the opensource xpdfReader but dont know for sure. It is not xpdfreader. The XPDF Erternal AND the PDF Wdiget with Licecode are based on the Google PDFium Library. The first is C++ code using the External template to call the PDFium library APIs and the second is using LCB to do the same. From monte at appisle.net Sun Dec 12 18:49:20 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Dec 2021 10:49:20 +1100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> Hi Folks Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. Cheers Monte > On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: > > I suspect it is for backward compatibility. > > When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. > > That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. > > I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. > > To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. > > > On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >> Ah, i thought you were referring only to XPDF. >> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >> Or am i missing something? >> >> Regards, >> Matthias >> >> >>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>> >>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>> >>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>> >>> >>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>> Paul, >>>> >>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>> should be used. >>>> >>>> >>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>> >>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>> >>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>> >>>>> >>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>> Hi, >>>>>> >>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>> >>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>> >>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>> >>>>>> Can someone help me out? >>>>>> >>>>>> Cheers, >>>>>> Torsten >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 19:17:39 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Dec 2021 19:17:39 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> Message-ID: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Thank you Monte, We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? Thanks in advance, On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldnt be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so its worthwhile anyone still using XPDF to take the time to audit their use and see if theres any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. > > Cheers > > Monte > >> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >> >> I suspect it is for backward compatibility. >> >> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >> >> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >> >> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >> >> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >> >> >> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>> Ah, i thought you were referring only to XPDF. >>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>> Or am i missing something? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>> >>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>> >>>> >>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>> Paul, >>>>> >>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>> should be used. >>>>> >>>>> >>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>> >>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>> >>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>> >>>>>> >>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>> >>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>> >>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>> >>>>>>> Can someone help me out? >>>>>>> >>>>>>> Cheers, >>>>>>> Torsten >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 12 20:36:51 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 Dec 2021 01:36:51 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: <0fc4be03-ba78-c5e8-deca-fe4aca6144bd@tweedly.net> Peter, I think the piece of info we are all missing (or guessing wrongly about) is: the existing club membership system - is it a web-based system, or an app that runs on your desktop. We're all kind of assuming it's a web page, but I now suspect maybe it isn't. If it is a web page - then the answers so far are all relevant, and should be straightforward to try out. [My suggestion re. the browser widget still feels like the "right official" way to do it - but personally I'd look at the html and see if I could POST the correct info - i.e. what Richard said :-) ] If it's a custom app, then it's a very different question - and I currently have no idea. If so, please say a little bit more about the custom app, or put up a screenshot / video somewhere. Alex. On 12/12/2021 18:29, Peter Reid via use-livecode wrote: > Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate > > 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. > > 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: > > +---------------------------------------------------------------------------------+ > | Surname:[.............] Firstname(s):[...........] Initials:[......] | > | | > | Address:[.............] Town:[.............] Phone: [.............] | > | [.............] Postcode:[.........] Mobile:[.............] | > | | > | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | > +---------------------------------------------------------------------------------+ > > 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. > > 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. > > So my query is really as follows: > a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? > b) has anyone done something like this? > c) does anyone have any methods and/or code they can let me have for this? > > My overview of what's required is as follows (assuming no show-stoppers): > - I make an overlay map, transparent everywhere except where there are input fields this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles > - we take the name of a field, 'Surname' say, and lookup its location on the screen > - we position our virtual mouse to click into the location where the equivalent field can be found > - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object > > Any idea whether this is possible and any code examples?! > > Thanks. > > Peter > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Dec 13 01:30:01 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Dec 2021 17:30:01 +1100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Message-ID: <320E4720-071E-4EBD-8397-F6A340681C26@appisle.net> Both the page and character index are clamped to the number of pages and characters on a page so you could set both to very high numbers. Adding character counts to the documentPages property might be useful here too. Cheers Monte > On 13 Dec 2021, at 11:17 am, Paul Dupuis via use-livecode wrote: > > Thank you Monte, > > We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. > > With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? > > Thanks in advance, > > > On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: >> Hi Folks >> >> Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. >> >> Cheers >> >> Monte >> >>> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >>> >>> I suspect it is for backward compatibility. >>> >>> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >>> >>> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >>> >>> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >>> >>> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >>> >>> >>> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>>> Ah, i thought you were referring only to XPDF. >>>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>>> Or am i missing something? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>>> >>>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>>> >>>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>>> >>>>> >>>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>>> Paul, >>>>>> >>>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>>> should be used. >>>>>> >>>>>> >>>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>>> >>>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>>> >>>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>>> >>>>>>> >>>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>>> >>>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>>> >>>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>>> >>>>>>>> Can someone help me out? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Torsten >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 12:46:08 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Dec 2021 09:46:08 -0800 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: Message-ID: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Richmond wrote: > On 12.12.21 21:33, Richard Gaskin wrote: >> Stam Kapetanakis wrote: >> > i presume the pdf widget in pro is the opensource xpdfReader but >> > dont know for sure. >> >> If it is that would be problematic, as the open source edition of >> xpdfReader is licensed under GPL, and LC no longer has an edition >> compatible with GPL. > > The consequences are endless. Note my "if". In the next message in this thread Paul clarified that the component is not derived from a GPL-governed work, so the rights and responsibilities of the GPL do not apply here: http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Mon Dec 13 13:39:55 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Dec 2021 13:39:55 -0500 Subject: IOS 15.0 In-Reply-To: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> References: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> Message-ID: I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios target devices (other than a bizarre issue with the remote debugger reporting incorrect color instead of showing the actual error). On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > What’s the most stable release / configuration that works with IOS 15. > > Thanks > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Dec 13 13:40:54 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Dec 2021 13:40:54 -0500 Subject: IOS 15.0 In-Reply-To: References: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> Message-ID: sorry, "unknown color". The fix is to insert a breakpoint before the suspect code executes. Then it finds its way. On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner wrote: > I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios > target devices (other than a bizarre issue with the remote debugger > reporting incorrect color instead of showing the actual error). > > On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> What’s the most stable release / configuration that works with IOS 15. >> >> Thanks >> >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From marksmithhfx at gmail.com Mon Dec 13 13:57:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 13 Dec 2021 18:57:00 +0000 Subject: IOS 15.0 In-Reply-To: References: Message-ID: Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Best, Mark Sent from my iPhone > On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: > > sorry, "unknown color". > The fix is to insert a breakpoint before the suspect code executes. Then it > finds its way. > >> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >> wrote: >> >> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios >> target devices (other than a bizarre issue with the remote debugger >> reporting incorrect color instead of showing the actual error). >> >> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> What’s the most stable release / configuration that works with IOS 15. >>> >>> Thanks >>> >>> 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 >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 13 14:17:27 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Dec 2021 14:17:27 -0500 Subject: IOS 15.0 In-Reply-To: References: Message-ID: <007201d7f056$14196020$3c4c2060$@net> Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the installation to complete. Then point your Xcode build tools to the 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up Xcode 15.0 to drag .app's to your devices for testing. I always rename all my Xcode versions with the version number so that it will not be updated. 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 Smith via use-livecode Sent: Monday, December 13, 2021 1:57 PM To: How to use LiveCode Cc: Mark Smith; Mike Kerner Subject: Re: IOS 15.0 Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Best, Mark Sent from my iPhone > On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: > > sorry, "unknown color". > The fix is to insert a breakpoint before the suspect code executes. > Then it finds its way. > >> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >> >> wrote: >> >> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the >> ios target devices (other than a bizarre issue with the remote >> debugger reporting incorrect color instead of showing the actual error). >> >> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> What’s the most stable release / configuration that works with IOS 15. >>> >>> Thanks >>> >>> 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 >>> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 13 15:22:06 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Dec 2021 15:22:06 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Message-ID: <007301d7f05f$1c5bda20$55138e60$@net> Sorry I could not get back to you on this until now. (-1)s don't work here. put 1 into tHilitedArray["from"]["page"] put 1 into tHilitedArray["from"]["index"] put 999999 into tHilitedArray["to"]["page"] put 999999 into tHilitedArray["to"]["index"] set the hilitedRange of control "PDF1" to tHilitedArray put the hilitedRangeText of control "PDF1" into tText This will work if you don't need to know the page number. If you do then cycle thru each page. (1 to the NumberOfPages of control "PDF1") 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 Paul Dupuis via use-livecode Sent: Sunday, December 12, 2021 7:18 PM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: How to extract whole text from a PDF file with the PDF widget? Thank you Monte, We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? Thanks in advance, On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. > > Cheers > > Monte > >> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >> >> I suspect it is for backward compatibility. >> >> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >> >> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >> >> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >> >> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >> >> >> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>> Ah, i thought you were referring only to XPDF. >>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>> Or am i missing something? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>> >>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>> >>>> >>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>> Paul, >>>>> >>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>> should be used. >>>>> >>>>> >>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>> >>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>> >>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>> >>>>>> >>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>> >>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>> >>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>> >>>>>>> Can someone help me out? >>>>>>> >>>>>>> Cheers, >>>>>>> Torsten >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Dec 13 15:34:21 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 13 Dec 2021 20:34:21 +0000 Subject: IOS 15.0 In-Reply-To: <007201d7f056$14196020$3c4c2060$@net> References: <007201d7f056$14196020$3c4c2060$@net> Message-ID: <6EBB42C6-93B8-4669-8803-32ABC3EA1972@gmail.com> Thanks guys, I’ll give that a try but heaven forbid I might need two different versions of Xcode. That’s probably a whopping 40GB of disk space right there. Mark Sent from my iPhone > On Dec 13, 2021, at 7:17 PM, Ralph DiMola via use-livecode wrote: > > Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the installation to complete. Then point your Xcode build tools to the 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up Xcode 15.0 to drag .app's to your devices for testing. > > I always rename all my Xcode versions with the version number so that it will not be updated. > > 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 Smith via use-livecode > Sent: Monday, December 13, 2021 1:57 PM > To: How to use LiveCode > Cc: Mark Smith; Mike Kerner > Subject: Re: IOS 15.0 > > Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). > > Best, > Mark > > Sent from my iPhone > >> On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: >> >> sorry, "unknown color". >> The fix is to insert a breakpoint before the suspect code executes. >> Then it finds its way. >> >>> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >>> >>> wrote: >>> >>> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the >>> ios target devices (other than a bizarre issue with the remote >>> debugger reporting incorrect color instead of showing the actual error). >>> >>> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> What’s the most stable release / configuration that works with IOS 15. >>>> >>>> Thanks >>>> >>>> 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 >>>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth On the second >>> day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 17:09:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2021 16:09:15 -0600 Subject: IOS 15.0 In-Reply-To: References: Message-ID: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: > Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Have you notarized and stapled the app? I thought that's what the error means. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 13 17:13:07 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2021 16:13:07 -0600 Subject: IOS 15.0 In-Reply-To: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> References: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> Message-ID: <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote: > On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: >> Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now >> all my builds have stopped working… (“developer of this app needs to upgrade it to work with >> this version of iOS). > > Have you notarized and stapled the app? I thought that's what the error means. > > Oops, notarization only applies to apps you are distributing outside the Mac App store. So, since you're doing iOS it doesn't apply. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tore.nilsen at me.com Tue Dec 14 06:41:51 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 14 Dec 2021 12:41:51 +0100 Subject: How to paste into a form element in the browser widget Message-ID: I have a problem pasting into a form element on a web page in the browser widget. This works well in the IDE, but not in a standalone application. The application has no menus, but I have included a pasteKey script to handle paste shortcuts. This does not seem to do the trick in the browser widget. I have tried to put the script in the stack script, the card script and even in the widget itself, although I wouldn’t expect the latter to work. Are there anyone who has run across this problem before and may offer a solution? Best regards Tore Nilsen From mark at livecode.com Tue Dec 14 07:04:38 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 Dec 2021 12:04:38 +0000 Subject: How to paste into a form element in the browser widget In-Reply-To: References: Message-ID: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: > I have a problem pasting into a form element on a web page in the > browser widget. This works well in the IDE, but not in a standalone > application. The application has no menus, but I have included a > pasteKey script to handle paste shortcuts. This does not seem to do > the trick in the browser widget. I have tried to put the script in the > stack script, the card script and even in the widget itself, although > I wouldnt expect the latter to work. Are there anyone who has run > across this problem before and may offer a solution? I think you'll need to include an Edit menu with the normal shortcuts (Cut/Copy/Paste) - make sure the tag of the items is correct as the engine uses those to map them to the internal (Cocoa) references. e.g. (Cu&t /X|cut (&Copy /C|copy (&Paste /V|paste Cocoa-based controls (which the browser widget uses the WebView variant of) don't respond to shortcuts directly, but only via menu item accelerators - so the browser widget needs the menu items present for such shortcuts to work. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tore.nilsen at me.com Tue Dec 14 07:07:39 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 14 Dec 2021 13:07:39 +0100 Subject: How to paste into a form element in the browser widget In-Reply-To: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> References: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> Message-ID: <3843B268-34E5-46B2-82AB-E024ACFA3135@me.com> Ah, I see! Wel,l back to redesigning the whole application to include the menus then. Thanks! Best Regards Tore > 14. des. 2021 kl. 13:04 skrev Mark Waddingham via use-livecode : > > On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: >> I have a problem pasting into a form element on a web page in the >> browser widget. This works well in the IDE, but not in a standalone >> application. The application has no menus, but I have included a >> pasteKey script to handle paste shortcuts. This does not seem to do >> the trick in the browser widget. I have tried to put the script in the >> stack script, the card script and even in the widget itself, although >> I wouldn’t expect the latter to work. Are there anyone who has run >> across this problem before and may offer a solution? > > I think you'll need to include an Edit menu with the normal shortcuts (Cut/Copy/Paste) - make sure the tag of the items is correct as the engine uses those to map them to the internal (Cocoa) references. e.g. > > (Cu&t /X|cut > (&Copy /C|copy > (&Paste /V|paste > > Cocoa-based controls (which the browser widget uses the WebView variant of) don't respond to shortcuts directly, but only via menu item accelerators - so the browser widget needs the menu items present for such shortcuts to work. > > 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 marksmithhfx at gmail.com Tue Dec 14 07:52:10 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 14 Dec 2021 12:52:10 +0000 Subject: IOS 15.0 In-Reply-To: <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> References: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> Message-ID: <968D6371-D7C9-45C0-A53B-F8E56704D3A6@gmail.com> Correct, in this case I think it’s complaining I don’t have the correct SDK in the build. The LC docs (including release notes for 9.6.5) only go up to 14.5 so rather than experiment I was hoping someone already had a tried and true formula for working with 15.0. I'm afraid this is entirely my own fault. It’s a newish iPhone and I forgot to turn off auto-update. Mark > On Dec 13, 2021, at 10:13 PM, J. Landman Gay via use-livecode wrote: > > On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote: >> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: >>> Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). >> Have you notarized and stapled the app? I thought that's what the error means. > > Oops, notarization only applies to apps you are distributing outside the Mac App store. So, since you're doing iOS it doesn't apply. > > -- > 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 rolf.kocherhans at uzh.ch Tue Dec 14 08:50:27 2021 From: rolf.kocherhans at uzh.ch (Rolf Kocherhans) Date: Tue, 14 Dec 2021 13:50:27 +0000 Subject: [ANN] Release 10.0.0 DP-1 Message-ID: First of all thanks for the WebAssembly HTML5 implementation. This is really great stuff ! I already played with it a lot and found that some things work better others don't. For instance all my URL stuff (loading a stack on same domain) is unfortunately not working anymore. Also, all the PHP scripts which I used to access, which downloaded stuff from other domains and then displayed the result in the Browser don't work anymore. Is this just me - or is it just not implemented yet ? And if it is not only me, is this something high on the list ? From mark at livecode.com Tue Dec 14 09:59:12 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 Dec 2021 14:59:12 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: > First of all thanks for the WebAssembly HTML5 implementation. This is > really great stuff ! > > For instance all my URL stuff (loading a stack on same domain) is > unfortunately not working anymore. > > Also, all the PHP scripts which I used to access, which downloaded > stuff from other domains and then displayed > the result in the Browser don't work anymore. > > > Is this just me - or is it just not implemented yet ? I don't think it is only you - at least one other person has mentioned on the forums that their URL operations are not working either. What url operations are you using? The reason I ask is because the engine only has built-in support for `load url` currently - the other syntax is implemented by a libURL 'driver' and I have a suspicion that the latter may be currently broken. Warmest Regards, Mark. P.S. And yes, this is high on the list to investigate in more depth and fix! -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paulmcclernan at gmail.com Tue Dec 14 10:33:05 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 14 Dec 2021 10:33:05 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Message-ID: I was fairly certain that XPDF external was/is based on this XPDF: https://en.m.wikipedia.org/wiki/Xpdf Which has both GPL and Proprietary Licensing options available. The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot project that spawned from Google’s Chromium project. I’m not sure about the licensing involved with that. If you’re running macOS I released a (semi-complete) library that uses Apple PDFKit (not to be confused with several other PDFKits that are out there, such as this JS PDFKit: https://pdfkit.org ). That can extract text from PDF, per-document or per-page. At some point I may update that library, adding the ability to extract RTF styled text and also make iso it can use UIView, which would make available on iOS devices too, but I’m really busy right now so that’s not likely to get attention from me anytime soon. On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Richmond wrote: > > > On 12.12.21 21:33, Richard Gaskin wrote: > >> Stam Kapetanakis wrote: > >> > i presume the pdf widget in pro is the opensource xpdfReader but > >> > don’t know for sure. > >> > >> If it is that would be problematic, as the open source edition of > >> xpdfReader is licensed under GPL, and LC no longer has an edition > >> compatible with GPL. > > > > The consequences are endless. > > Note my "if". > > In the next message in this thread Paul clarified that the component is > not derived from a GPL-governed work, so the rights and responsibilities > of the GPL do not apply here: > http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 14 10:58:18 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 14 Dec 2021 10:58:18 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Message-ID: <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: > I was fairly certain that XPDF external was/is based on this XPDF: > https://en.m.wikipedia.org/wiki/Xpdf > Which has both GPL and Proprietary Licensing options available. Nope. My company (Researchware) and I paid for the development of the XPDF External shipped with LiveCode. Monte did the code for us when he was an independent LiveCode developer, paid directly by Researchware. It is based on the C++ "external" API template, calling the Google PDFium library. Researchware then transferred the license to LiveCode when Monte went to work for them. I called it XPDF because it was an eXternal for PDFs. I was unaware (at the time) for anything else using the XPDF name. And yes, I am to blame (or credit) for the majority of the syntax for messages, commands, and functions of the XPDF external (with Monte correcting me when I had a really stupid syntax specified) > > The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot > project that spawned from Googles Chromium project. Im not sure about the > licensing involved with that. > > If youre running macOS I released a (semi-complete) library that uses > Apple PDFKit (not to be confused with several other PDFKits that are out > there, such as this JS PDFKit: https://pdfkit.org ). That can extract text > from PDF, per-document or per-page. > > At some point I may update that library, adding the ability to extract RTF > styled text and also make iso it can use UIView, which would make available > on iOS devices too, but Im really busy right now so thats not likely to > get attention from me anytime soon. > > > On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Richmond wrote: >> >> > On 12.12.21 21:33, Richard Gaskin wrote: >> >> Stam Kapetanakis wrote: >> >> > i presume the pdf widget in pro is the opensource xpdfReader but >> >> > dont know for sure. >> >> >> >> If it is that would be problematic, as the open source edition of >> >> xpdfReader is licensed under GPL, and LC no longer has an edition >> >> compatible with GPL. >> > >> > The consequences are endless. >> >> Note my "if". >> >> In the next message in this thread Paul clarified that the component is >> not derived from a GPL-governed work, so the rights and responsibilities >> of the GPL do not apply here: >> http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 14 15:09:17 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 14 Dec 2021 15:09:17 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> Message-ID: Ah, OK thanks for the clarification. I hadn’t realize PDFium has been around as long as it has been. I wouldn’t sweat the naming conflict, there’s at least three “PDFKit” libraries so you’re not alone. On Tue, Dec 14, 2021 at 11:01 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: > > I was fairly certain that XPDF external was/is based on this XPDF: > > https://en.m.wikipedia.org/wiki/Xpdf > > Which has both GPL and Proprietary Licensing options available. > > Nope. My company (Researchware) and I paid for the development of the > XPDF External shipped with LiveCode. Monte did the code for us when he > was an independent LiveCode developer, paid directly by Researchware. It > is based on the C++ "external" API template, calling the Google PDFium > library. Researchware then transferred the license to LiveCode when > Monte went to work for them. I called it XPDF because it was an eXternal > for PDFs. I was unaware (at the time) for anything else using the XPDF > name. And yes, I am to blame (or credit) for the majority of the syntax > for messages, commands, and functions of the XPDF external (with Monte > correcting me when I had a really stupid syntax specified) > > > > > The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot > > project that spawned from Google’s Chromium project. I’m not sure about > the > > licensing involved with that. > > > > If you’re running macOS I released a (semi-complete) library that uses > > Apple PDFKit (not to be confused with several other PDFKits that are out > > there, such as this JS PDFKit: https://pdfkit.org ). That can extract > text > > from PDF, per-document or per-page. > > > > At some point I may update that library, adding the ability to extract > RTF > > styled text and also make iso it can use UIView, which would make > available > > on iOS devices too, but I’m really busy right now so that’s not likely to > > get attention from me anytime soon. > > > > > > On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Richmond wrote: > >> > >> > On 12.12.21 21:33, Richard Gaskin wrote: > >> >> Stam Kapetanakis wrote: > >> >> > i presume the pdf widget in pro is the opensource xpdfReader but > >> >> > don’t know for sure. > >> >> > >> >> If it is that would be problematic, as the open source edition of > >> >> xpdfReader is licensed under GPL, and LC no longer has an edition > >> >> compatible with GPL. > >> > > >> > The consequences are endless. > >> > >> Note my "if". > >> > >> In the next message in this thread Paul clarified that the component is > >> not derived from a GPL-governed work, so the rights and responsibilities > >> of the GPL do not apply here: > >> > http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> Software Design and Development for the Desktop, Mobile, and the Web > >> ____________________________________________________________________ > >> Ambassador at FourthWorld.com http://www.FourthWorld.com > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Tue Dec 14 15:16:22 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Dec 2021 20:16:22 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> References: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> Message-ID: Double check if this is not CORS related. It is very easy to have a request fail because of wrong CORS headers. On Tue, 14 Dec 2021 at 15:00, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: > > First of all thanks for the WebAssembly HTML5 implementation. This is > > really great stuff ! > > > > For instance all my URL stuff (loading a stack on same domain) is > > unfortunately not working anymore. > > > > Also, all the PHP scripts which I used to access, which downloaded > > stuff from other domains and then displayed > > the result in the Browser don't work anymore. > > > > > > Is this just me - or is it just not implemented yet ? > > I don't think it is only you - at least one other person has mentioned > on the forums that their URL operations are not working either. > > What url operations are you using? > > The reason I ask is because the engine only has built-in support for > `load url` currently - the other syntax is implemented by a libURL > 'driver' and I have a suspicion that the latter may be currently broken. > > Warmest Regards, > > Mark. > > P.S. And yes, this is high on the list to investigate in more depth and > fix! > > -- > 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 > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From matthias_livecode_150811 at m-r-d.de Tue Dec 14 17:31:45 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 14 Dec 2021 23:31:45 +0100 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> References: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> Message-ID: Mark, i've just filed bug #23485 https://quality.livecode.com/show_bug.cgi?id=23485 I noticed that as soon as the keyword URL is in a script, even if the line is a comment, the remote access, for example to set the filename of an image to a remote url as Kevin showed in the Webcamp presentation, does not work anymore. Regards, Matthias > Am 14.12.2021 um 15:59 schrieb Mark Waddingham via use-livecode : > > On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: >> First of all thanks for the WebAssembly HTML5 implementation. This is >> really great stuff ! >> For instance all my URL stuff (loading a stack on same domain) is >> unfortunately not working anymore. >> Also, all the PHP scripts which I used to access, which downloaded >> stuff from other domains and then displayed >> the result in the Browser don't work anymore. >> Is this just me - or is it just not implemented yet ? > > I don't think it is only you - at least one other person has mentioned on the forums that their URL operations are not working either. > > What url operations are you using? > > The reason I ask is because the engine only has built-in support for `load url` currently - the other syntax is implemented by a libURL 'driver' and I have a suspicion that the latter may be currently broken. > > Warmest Regards, > > Mark. > > P.S. And yes, this is high on the list to investigate in more depth and fix! > > -- > 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 devin_asay at byu.edu Tue Dec 14 19:00:48 2021 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Dec 2021 00:00:48 +0000 Subject: regex backreferences Message-ID: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Tue Dec 14 22:41:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2021 21:41:17 -0600 Subject: regex backreferences In-Reply-To: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> Message-ID: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode wrote: > Hi all, > > Does the replaceText() function allow the use of backreferences to retain > groupings of text between matches. For example, if I have some text like this: > >

Good stuff here.

> > I want to end up something like this: > >

Good stuff here.

> > In BBedit I can search for

(.*)

and > replace it with

\1

and it preserves the run of text designated by > parentheses. > (I know, I can get more fancy on matching the runs of html tags, but Im > mainly interested in retaining the text, not in regex madness.) > > In LC this does not work: > > put replaceText(myText,"

style=cruft>(.*)

,

\1

) into myText > > I just end up with

\1

, when I want

Good stuff here.

> > Can replaceText even do this? > > - Devin > > > Devin Asay > 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 kaveh at rivervalleytechnologies.com Wed Dec 15 04:46:36 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 15 Dec 2021 09:46:36 +0000 Subject: regex backreferences In-Reply-To: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I wish it did, but replaceText doesn't support back references. The > parameters at the end are treated as literals, whether as actual quoted > literals or variables containing a value. > > If there isn't a feature request for it, there should be. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: > > > Hi all, > > > > Does the replaceText() function allow the use of backreferences to > retain > > groupings of text between matches. For example, if I have some text like > this: > > > >

Good stuff here.

> > > > I want to end up something like this: > > > >

Good stuff here.”

> > > > In BBedit I can search for

(.*)

and > > replace it with

\1

and it preserves the run of text designated > by > > parentheses. > > (I know, I can get more fancy on matching the runs of html tags, but I’m > > mainly interested in retaining the text, not in regex madness.) > > > > In LC this does not work: > > > > put replaceText(myText,"

> style=“cruft”>(.*)

”,”

\1

”) into myText > > > > I just end up with

\1

, when I want

Good stuff here.

> > > > Can replaceText even do this? > > > > - Devin > > > > > > Devin Asay > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From curry at pair.com Wed Dec 15 04:59:47 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 Dec 2021 04:59:47 -0500 Subject: Upcoming Changes for WordLib, WordReport, etc. Message-ID: <5f4bf193-2ba3-94d7-301c-d9b5f56705df@pair.com> For the Curry K. addons I'm happy to announce: backend, release flow, and pricing changes.... 1. MORE, FASTER, A FLURRY! Finally had a chance to update the backend for my LC addons. It's mucho ms way-more automated, so updates can be MORE FREQUENT! Planned this literally 10 years ago! But clients ALWAYS come first. (And improving health took a while.) -- 2. MINOR VERSIONS WILL BE PUBLIC. The backend will allow better overall flow.... Old way: Big wait ... ... major release. (Minor versions were usually dp/private, since public releases were a big process.) New way: Major, minor, minor, Major, etc. (Faster fixes, try new stuff sooner.) -- 3. REVISED PRICING TO MATCH. Also new pricing: $49 per major version. (Minor updates free for that version.) Aiming for 1 major version per year. (Versions will keep working as always; still version-based, not a subscription.) WordLib is still the lucky winner emerging first from the new chute! A Christmas-y release timeframe, maybe a coupon code to fit the season. (WordReport should be next; then we'll see.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jbv at souslelogo.com Wed Dec 15 05:02:56 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 15 Dec 2021 05:02:56 -0500 Subject: How to detect when the user moves a stack Message-ID: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> Hi list, How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack. At least this is happening in the IDE, I haven't built a standalone yet. Thanks in advance. jbv From klaus at major-k.de Wed Dec 15 05:17:07 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 15 Dec 2021 11:17:07 +0100 Subject: How to detect when the user moves a stack In-Reply-To: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> Message-ID: <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> Hi jbv, > Am 15.12.2021 um 11:02 schrieb jbv via use-livecode : > > Hi list, > How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? > Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack. > At least this is happening in the IDE, I haven't built a standalone yet. usually you could check the "movestack" message, but I'm not sure if the MODAL stack will not block any actions? Can't you use a "system window" instaed if that is the problem? > Thanks in advance. > jbv Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jbv at souslelogo.com Wed Dec 15 05:28:46 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 15 Dec 2021 05:28:46 -0500 Subject: How to detect when the user moves a stack In-Reply-To: <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> Message-ID: <921fab8fc8251856ec84e371890add05@souslelogo.com> Hi Klaus, Yes it works, thank you for the tip. Oddly I forgot about the "movestack" message, probably because it doesn't appear in the list of available messages when I open the stack script in LC 8... jbv Le 2021-12-15 05:17, Klaus major-k via use-livecode a crit : > Hi jbv, > >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode >> : >> >> Hi list, >> How can I detect when the user moves a stack around the screen by >> clicking on the top bar while leaving the mouse down ? >> Here's my problem : I have a main stack calling a modal stack that >> displays information in real time while some client / server dialog is >> running. When the modal stack opens, it is located at the loc of the >> main stack. But if the user moves the main stack, the modal stack >> stays at the same place, and I would like it to move accordingly and >> remain at the loc of the main stack, no matter where the user moves >> the main stack. >> At least this is happening in the IDE, I haven't built a standalone >> yet. > > usually you could check the "movestack" message, but I'm not sure if > the MODAL stack > will not block any actions? Can't you use a "system window" instaed if > that is the problem? > >> Thanks in advance. >> jbv > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Dec 15 05:31:34 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 15 Dec 2021 12:31:34 +0200 Subject: How to detect when the user moves a stack In-Reply-To: <921fab8fc8251856ec84e371890add05@souslelogo.com> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> <921fab8fc8251856ec84e371890add05@souslelogo.com> Message-ID: remember to 'toplevel' you substack. On Wed, 15 Dec 2021, 12:29 jbv via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi Klaus, > > Yes it works, thank you for the tip. > Oddly I forgot about the "movestack" message, probably because it > doesn't appear in the list of available messages when I open the stack > script in LC 8... > > jbv > > Le 2021-12-15 05:17, Klaus major-k via use-livecode a écrit : > > Hi jbv, > > > >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode > >> : > >> > >> Hi list, > >> How can I detect when the user moves a stack around the screen by > >> clicking on the top bar while leaving the mouse down ? > >> Here's my problem : I have a main stack calling a modal stack that > >> displays information in real time while some client / server dialog is > >> running. When the modal stack opens, it is located at the loc of the > >> main stack. But if the user moves the main stack, the modal stack > >> stays at the same place, and I would like it to move accordingly and > >> remain at the loc of the main stack, no matter where the user moves > >> the main stack. > >> At least this is happening in the IDE, I haven't built a standalone > >> yet. > > > > usually you could check the "movestack" message, but I'm not sure if > > the MODAL stack > > will not block any actions? Can't you use a "system window" instaed if > > that is the problem? > > > >> Thanks in advance. > >> jbv > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > https://www.major-k.de > > https://www.major-k.de/bass > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Dec 15 10:53:31 2021 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Dec 2021 15:53:31 +0000 Subject: regex backreferences In-Reply-To: References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can stop beating my head against it now! Now for a trip to workaround land! - Devin On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode > wrote: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay 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 -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From dougr at telus.net Wed Dec 15 11:36:36 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 15 Dec 2021 08:36:36 -0800 Subject: regex backreferences In-Reply-To: <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> Message-ID: <017601d7f1d1$eddcfa20$c996ee60$@telus.net> None of the links to acquire nor contact Thierry on his site () work. They just hang indefinitely... but the web site, itself, appears to be functrional. Can anyone provide an alternative means to contact this developer? Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Devin Asay via use-livecode Sent: Wednesday, December 15, 2021 7:54 AM To: How to use LiveCode Cc: Devin Asay Subject: Re: regex backreferences Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can stop beating my head against it now! Now for a trip to workaround land! - Devin On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode > wrote: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay 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 -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay 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 kaveh at rivervalleytechnologies.com Wed Dec 15 11:40:26 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 15 Dec 2021 16:40:26 +0000 Subject: regex backreferences In-Reply-To: <017601d7f1d1$eddcfa20$c996ee60$@telus.net> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> <017601d7f1d1$eddcfa20$c996ee60$@telus.net> Message-ID: It's two years since I have been in contact, but this is the email I had: th.douez at sunny-tdz.com Regards Kaveh On Wed, 15 Dec 2021 at 16:37, Douglas A. Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > None of the links to acquire nor contact Thierry on his site (< > https://sunny-tdz.com/livecode/sunnyrex>) work. They just hang > indefinitely... but the web site, itself, appears to be functrional. > > Can anyone provide an alternative means to contact this developer? > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Devin Asay via use-livecode > Sent: Wednesday, December 15, 2021 7:54 AM > To: How to use LiveCode > Cc: Devin Asay > Subject: Re: regex backreferences > > Thanks for confirming, Jacque and Kaveh. I figured that was the case. I > can stop beating my head against it now! > > Now for a trip to workaround land! > > - Devin > > On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > This is a major shortcoming and I have wanted this for years. Thierry has > filled the gap with his excellent SunnyRex library > . I have used it successfully, I > recommend it, and it works well. He has also supported me well after I > purchased SunnyRex. But it is a proprietary dependency and that is > something at the back of my mind. > > It would be great if LiveCode could add this feature. Or perhaps come to an > agreement with Thierry so that we reduce dependencies. > > Regards > Kaveh > > On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I wish it did, but replaceText doesn't support back references. The > parameters at the end are treated as literals, whether as actual quoted > literals or variables containing a value. > > If there isn't a feature request for it, there should be. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com jacque at hyperactivesw.com> > HyperActive Software | http://www.hyperactivesw.com > On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > > > wrote: > > Hi all, > > Does the replaceText() function allow the use of backreferences to > retain > groupings of text between matches. For example, if I have some text like > this: > >

Good stuff here.

> > I want to end up something like this: > >

Good stuff here.”

> > In BBedit I can search for

(.*)

and > replace it with

\1

and it preserves the run of text designated > by > parentheses. > (I know, I can get more fancy on matching the runs of html tags, but I’m > mainly interested in retaining the text, not in regex madness.) > > In LC this does not work: > > put replaceText(myText,"

style=“cruft”>(.*)

”,”

\1

”) into myText > > I just end up with

\1

, when I want

Good stuff here.

> > Can replaceText even do this? > > - Devin > > > Devin Asay > 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 > > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ● Twitter > ● LinkedIn > ● ORCID > > *Accelerating the Communication of Research* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From preid at reidit.co.uk Wed Dec 15 11:45:51 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Wed, 15 Dec 2021 16:45:51 +0000 Subject: Ghost in the Machine In-Reply-To: References: Message-ID: Thanks Richard and Alex. The membership system is web-based and the page I'm trying to interact with contains HTML, php and Javascript material. Therefore the POST construction approach seems to be promising. Unfortunately, the membership details features about 900 lines of LiveCode script, much like the following ...[snip]... class="start-tag">tr><td style="width:900px">Where You Live</td></tr></table><table align="center" border="0" class="tableMain"><tr><td style="width:100px" class="middle">Address</td><td style="width:800px">No/Name <input type="text" name="ecHouse" id="ecHouse" size="10" maxlength="25" value="71" onChange="modified()" class="vAddress">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Street/Building <input ...[snip]... So I think I'll spend a bit of time looking at the ghost-in-the-machine method; see if it has any legs! Thanks again Peter -- Peter Reid Loughborough, UK > On 13 Dec 2021, at 5:00pm, use-livecode-request at lists.runrev.com wrote: > > Today's Topics: > > 1. Re: Ghost in the Machine? (preid at reidit.co.uk) > 3. Re: Ghost in the Machine? (Richard Gaskin) > 8. Re: Ghost in the Machine? (Alex Tweedly) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Dec 2021 18:29:03 +0000 > From: preid at reidit.co.uk > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: > Content-Type: text/plain; charset=utf-8 > > Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate? > > 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. > > 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: > > +---------------------------------------------------------------------------------+ > | Surname:[.............] Firstname(s):[...........] Initials:[......] | > | | > | Address:[.............] Town:[.............] Phone: [.............] | > | [.............] Postcode:[.........] Mobile:[.............] | > | | > | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | > +---------------------------------------------------------------------------------+ > > 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. > > 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. > > So my query is really as follows: > a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? > b) has anyone done something like this? > c) does anyone have any methods and/or code they can let me have for this? > > My overview of what's required is as follows (assuming no show-stoppers): > - I make an overlay map, transparent everywhere except where there are input fields ? this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles > - we take the name of a field, 'Surname' say, and lookup its location on the screen > - we position our virtual mouse to click into the location where the equivalent field can be found > - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object > > Any idea whether this is possible and any code examples?! > > Thanks. > > Peter > ------------------------------ > > Message: 3 > Date: Sun, 12 Dec 2021 11:38:20 -0800 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Peter Reid wrote: > >> We want a way to upload a group of new members by 'driving' the input >> fields, i.e. our app would click into each field, checkbox, radiobox >> and 'type' in the details. > > If the goal is to submit new member info you can do that with a single > POST command. > > Examine the source HTML. Look for the action URL. Look at the input > names. Package up the input data as name-value pairs form-encoded, send > it to the URL via POST, and you're done. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > ------------------------------ > > Message: 8 > Date: Mon, 13 Dec 2021 01:36:51 +0000 > From: Alex Tweedly > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: <0fc4be03-ba78-c5e8-deca-fe4aca6144bd at tweedly.net> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Peter, > > I think the piece of info we are all missing (or guessing wrongly about) is: > > the existing club membership system - is it a web-based system, or an app that runs on your desktop. > > We're all kind of assuming it's a web page, but I now suspect maybe it isn't. > > If it is a web page - then the answers so far are all relevant, and should be straightforward to try out. > > [My suggestion re. the browser widget still feels like the "right official" way to do it - but personally I'd look at the html and see if I could POST the correct info - i.e. what Richard said :-) ] > > If it's a custom app, then it's a very different question - and I currently have no idea. If so, please say a little bit more about the custom app, or put up a screenshot / video somewhere. > > Alex. > > On 12/12/2021 18:29, Peter Reid via use-livecode wrote: >> Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate? >> >> 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. >> >> 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: >> >> +---------------------------------------------------------------------------------+ >> | Surname:[.............] Firstname(s):[...........] Initials:[......] | >> | | >> | Address:[.............] Town:[.............] Phone: [.............] | >> | [.............] Postcode:[.........] Mobile:[.............] | >> | | >> | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | >> +---------------------------------------------------------------------------------+ >> >> 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. >> >> 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. >> >> So my query is really as follows: >> a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? >> b) has anyone done something like this? >> c) does anyone have any methods and/or code they can let me have for this? >> >> My overview of what's required is as follows (assuming no show-stoppers): >> - I make an overlay map, transparent everywhere except where there are input fields ? this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles >> - we take the name of a field, 'Surname' say, and lookup its location on the screen >> - we position our virtual mouse to click into the location where the equivalent field can be found >> - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object >> >> Any idea whether this is possible and any code examples?! >> >> Thanks. >> >> Peter From robeppich at epsi.ca Wed Dec 15 14:26:40 2021 From: robeppich at epsi.ca (RobEppich) Date: Wed, 15 Dec 2021 11:26:40 -0800 Subject: open socket on start up and can't close Message-ID: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? Also have checked 10.0 dp 1 and same issue is there. Thanks Rob Eppich From craig at starfirelighting.com Wed Dec 15 14:33:50 2021 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 15 Dec 2021 14:33:50 -0500 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: ROBERT EPPICH? If you are the person I think you are, do you know that I still manage a dozen OS9 Macs on a network using Hypercard and Epsitalk? Do you have other posts on either the LiveCode forums or this use-list? I have never seen your name... Craig Newman > On Dec 15, 2021, at 2:26 PM, RobEppich via use-livecode wrote: > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 15 14:41:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 15 Dec 2021 20:41:44 +0100 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <9DC51476-7849-4258-8876-FA1802B4E46F@major-k.de> Hi Rob déjà vue? :-D > Am 15.12.2021 um 20:26 schrieb RobEppich via use-livecode : > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? maOS 10.14.6 and LC 9.6.5, no opensockets on startup here! > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From alex at tweedly.net Wed Dec 15 19:58:15 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 00:58:15 +0000 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <10701601-9f33-9950-6423-5e5060162ec7@tweedly.net> Could it be remote debugging ? Which version / license are you using ? Alex. On 15/12/2021 19:26, RobEppich via use-livecode wrote: > Downloaded and run Livecode 9.6.5, type put the opensockets and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Dec 15 22:00:26 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 16 Dec 2021 14:00:26 +1100 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <221440BD-BE11-43B9-9A85-496F26076D18@appisle.net> Is there a reason you are trying to close it? This is the socket port the remote debugger is listening on and there is a loop ensuring its existence. Cheers Monte > On 16 Dec 2021, at 6:26 am, RobEppich via use-livecode wrote: > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 15 23:58:09 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 Dec 2021 23:58:09 -0500 Subject: open socket on start up and can't close In-Reply-To: References: Message-ID: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> Craig: > ROBERT EPPICH? More people read this list than anyone might assume. A few regulars - but many others who work/lurk! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From craig at starfirelighting.com Thu Dec 16 09:02:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 09:02:20 -0500 Subject: open socket on start up and can't close In-Reply-To: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> References: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> Message-ID: <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> Curry. "A few regulars - but many others who work/lurk! :)" I see that. Robert Eppich, back in the ’90’s, way before sockets, sold a product called “Epsitalk”. This was HC based, and essentially used the now deprecated “send message to program”. This was listed as a keyword, not a command, in the HC lexicon. I never understood that. Anyway, I still have a peer-to-peer collection of OS9 Macs that run part of my business, used daily. The only reason I have not migrated that stuff to LC is that I have played with sockets only just a little, and do not want to fix what is not broken. My LC world is rich and busy enough with the other things I do with it. So Robert, glad to see you still in the xTalk world... Craig > On Dec 15, 2021, at 11:58 PM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > ROBERT EPPICH? > > More people read this list than anyone might assume. > A few regulars - but many others who work/lurk! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 16 09:39:44 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 09:39:44 -0500 Subject: open socket on start up and can't close In-Reply-To: <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> References: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> Message-ID: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> > "A few regulars - but many others who work/lurk! :)" I have never understood how anyone working with LC, at any level of expertise, can lurk silently either here or on the Forum, and never ask a question, comment on something, complain or praise, whatever. Checking these two venues is the first thing I do in the morning. Craig > On Dec 16, 2021, at 9:02 AM, Craig Newman via use-livecode wrote: > > Curry. > > "A few regulars - but many others who work/lurk! :)" > > I see that. > > Robert Eppich, back in the ’90’s, way before sockets, sold a product called “Epsitalk”. This was HC based, and essentially used the now deprecated “send message to program”. This was listed as a keyword, not a command, in the HC lexicon. I never understood that. > > Anyway, I still have a peer-to-peer collection of OS9 Macs that run part of my business, used daily. The only reason I have not migrated that stuff to LC is that I have played with sockets only just a little, and do not want to fix what is not broken. My LC world is rich and busy enough with the other things I do with it. > > So Robert, glad to see you still in the xTalk world... > > Craig > >> On Dec 15, 2021, at 11:58 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Craig: >> >>> ROBERT EPPICH? >> >> More people read this list than anyone might assume. >> A few regulars - but many others who work/lurk! :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> Christian LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Dec 16 11:16:15 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 16 Dec 2021 11:16:15 -0500 Subject: open socket on start up and can't close In-Reply-To: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> References: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> Message-ID: Craig: > I have never understood how anyone working with LC, > at any level of expertise, can lurk silently either here > or on the Forum, and never ask a question, comment on something, > complain or praise, whatever. Understanding is a valuable commodity! Not everyone is extrovert/expulsive. Not all have the time or inclination. And the list goes on ... different strokes. None of which necessarily mean less interest or enthusiasm for LC. Many a quiet sage.... Interesting backstory too; thanks for sharing. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Thu Dec 16 11:23:49 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 16:23:49 +0000 Subject: Encrypting long text Message-ID: Hi all, I'm trying to use RSA to encrypt data from a text field like an address or notes. When I try to use the encrypt command I get a result 'message too long'. What is the method for encrypting long or large data? My current line of code: encrypt tData using rsa with public key tMyKey and passphrase tMyPass Thanks Sean From mark at livecode.com Thu Dec 16 11:45:38 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 16 Dec 2021 16:45:38 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: On 2021-12-16 16:23, Sean Cole via use-livecode wrote: > Hi all, > I'm trying to use RSA to encrypt data from a text field like an address > or > notes. When I try to use the encrypt command I get a result 'message > too > long'. What is the method for encrypting long or large data? > > My current line of code: > encrypt tData using rsa with public key tMyKey and > passphrase tMyPass RSA encryption can only encrypt data up to a certain length (I can't remember off the top of my head the exact relation, but it is related to the size of the key) so it isn't designed to be used on arbitrary length messages. Encrypting arbitrary length messages is the domain of symmetric encryption functions - like AES and friends. The solution, therefore, is to combine the two: 1) Generate a random (using randomBytes()) fixed length encryption key FixedKey 2) Encrypt the actual data using a symmetric algorithm with FixedKey as password 2) Use RSA to encrypt the (fixed length!) key FixedKey 4) Make you message the RSA-encrypted FixedKey followed by the encrypted data The RSA encrypted FixedKey will be a constant length, and thus you can just split that off of the combined data, decrypt it using RSA and then use the result to decrypt the payload. Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Thu Dec 16 12:09:01 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 17:09:01 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: Thanks Mark, New problem. Trying to use aes-256-ctr instead. I'm following the syntax in the dictionary but it throws a red cross on it: encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt What is wrong with this syntax that the auto language detector shows it as a mistake? Sean On Thu, 16 Dec 2021 at 16:45, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-16 16:23, Sean Cole via use-livecode wrote: > > Hi all, > > I'm trying to use RSA to encrypt data from a text field like an address > > or > > notes. When I try to use the encrypt command I get a result 'message > > too > > long'. What is the method for encrypting long or large data? > > > > My current line of code: > > encrypt tData using rsa with public key tMyKey and > > passphrase tMyPass > > RSA encryption can only encrypt data up to a certain length (I can't > remember off the top of my head the exact relation, but it is related to > the size of the key) so it isn't designed to be used on arbitrary length > messages. > > Encrypting arbitrary length messages is the domain of symmetric > encryption functions - like AES and friends. > > The solution, therefore, is to combine the two: > > 1) Generate a random (using randomBytes()) fixed length encryption key > FixedKey > > 2) Encrypt the actual data using a symmetric algorithm with FixedKey > as password > > 2) Use RSA to encrypt the (fixed length!) key FixedKey > > 4) Make you message the RSA-encrypted FixedKey followed by the > encrypted data > > The RSA encrypted FixedKey will be a constant length, and thus you can > just split that off of the combined data, decrypt it using RSA and then > use the result to decrypt the payload. > > Hope this helps! > > 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 craig at starfirelighting.com Thu Dec 16 12:25:42 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 12:25:42 -0500 Subject: open socket on start up and can't close In-Reply-To: References: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> Message-ID: <9006B4E5-84F7-4038-B8F5-33AAF989355A@starfirelighting.com> Curry. Surely you are right. I just remember when HC was on the ropes, and wish that the LC Forum was so full of posts that I never have to do my actual job. I can just kibitz there all day long. It would mean that the world finally gets what LC offers. Craig > On Dec 16, 2021, at 11:16 AM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > I have never understood how anyone working with LC, > > at any level of expertise, can lurk silently either here > > or on the Forum, and never ask a question, comment on something, > > complain or praise, whatever. > > Understanding is a valuable commodity! > > Not everyone is extrovert/expulsive. > Not all have the time or inclination. > And the list goes on ... different strokes. > > None of which necessarily mean less interest > or enthusiasm for LC. Many a quiet sage.... > > Interesting backstory too; thanks for sharing. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Dec 16 12:36:46 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 16 Dec 2021 17:36:46 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> On 2021-12-16 17:09, Sean Cole via use-livecode wrote: > Thanks Mark, > > New problem. Trying to use aes-256-ctr instead. I'm following the > syntax in > the dictionary but it throws a red cross on it: > > encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt I think you can either specify a key, or a password with an optional salt. If you specify a password it uses the provided salt (or a random one if one is not provided) to generate a key of the correct length (the bit length of the cipher). If you provide a key then it uses that verbatim to encrypt the data (in this case the key must be the correct number of bits as defined by the chosen cipher - 256 in this case). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From alex at tweedly.net Thu Dec 16 12:55:49 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 17:55:49 +0000 Subject: Smile for Christmas. Message-ID: I was just reading the dictionary entry for 'union'. Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! Alex. From harrison at all-auctions.com Thu Dec 16 13:25:39 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 16 Dec 2021 13:25:39 -0500 Subject: Smile for Christmas. In-Reply-To: References: Message-ID: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. > On Dec 16, 2021, at 12:55 PM, Alex Tweedly via use-livecode wrote: > > Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! From sean at pidigital.co.uk Thu Dec 16 14:08:57 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 19:08:57 +0000 Subject: Encrypting long text In-Reply-To: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> References: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> Message-ID: Hi Mark So it must be the auto-completes that have the wrong possible values added to its list. Type 'encrypt' into the script editor and go to the bottom, then right and there are every possible iteration based on the syntax given in the dictionary. This does not match up with your description so perhaps needs looking in to. Thanks for your help Sean On Thu, 16 Dec 2021 at 17:36, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-16 17:09, Sean Cole via use-livecode wrote: > > Thanks Mark, > > > > New problem. Trying to use aes-256-ctr instead. I'm following the > > syntax in > > the dictionary but it throws a red cross on it: > > > > encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt > > I think you can either specify a key, or a password with an optional > salt. > > If you specify a password it uses the provided salt (or a random one if > one is not provided) to generate a key of the correct length (the bit > length of the cipher). > > If you provide a key then it uses that verbatim to encrypt the data (in > this case the key must be the correct number of bits as defined by the > chosen cipher - 256 in this case). > > 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 monte at appisle.net Thu Dec 16 17:16:36 2021 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 Dec 2021 09:16:36 +1100 Subject: Encrypting long text In-Reply-To: References: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> Message-ID: I have opened this issue to correct the documentation. Autocomplete parses the syntax definitions in the docs to create a list of possible command variations. https://quality.livecode.com/show_bug.cgi?id=23489 > On 17 Dec 2021, at 6:08 am, Sean Cole via use-livecode wrote: > > Hi Mark > > So it must be the auto-completes that have the wrong possible values added > to its list. Type 'encrypt' into the script editor and go to the bottom, > then right and there are every possible iteration based on the syntax given > in the dictionary. This does not match up with your description so perhaps > needs looking in to. > > Thanks for your help > > Sean > > On Thu, 16 Dec 2021 at 17:36, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2021-12-16 17:09, Sean Cole via use-livecode wrote: >>> Thanks Mark, >>> >>> New problem. Trying to use aes-256-ctr instead. I'm following the >>> syntax in >>> the dictionary but it throws a red cross on it: >>> >>> encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt >> >> I think you can either specify a key, or a password with an optional >> salt. >> >> If you specify a password it uses the provided salt (or a random one if >> one is not provided) to generate a key of the correct length (the bit >> length of the cipher). >> >> If you provide a key then it uses that verbatim to encrypt the data (in >> this case the key must be the correct number of bits as defined by the >> chosen cipher - 256 in this case). >> >> 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 alex at tweedly.net Thu Dec 16 18:12:18 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 23:12:18 +0000 Subject: Smile for Christmas. In-Reply-To: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Message-ID: <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> On 16/12/2021 18:25, Rick Harrison via use-livecode wrote: > Combining two arrays is nice, but it really shouldnt spell correct color to colour. No, it doesn't Rick. It's just a typo in the example in the dictionary. I mentioned it because it made me smile when I noticed it - a tiny example of our not-so-common language between the two sides of the ocean :-) Alex. The example in question : > *local*tLeft, tRight* > put*"green"intotLeft["color"]* > put*"left"intotLeft["align"]* > put*"blue"intotRight["color"]* > put*"100"intotRight["width"] > > *union*tLeft withtRight > > *# RESULT** > # tLeft["colour"] = "green" > # tLeft["align"] = "left"** > # tLeft["width"] = "100"* > >> On Dec 16, 2021, at 12:55 PM, Alex Tweedly via use-livecode wrote: >> >> Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 16 20:24:33 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 16 Dec 2021 20:24:33 -0500 Subject: Smile for Christmas. In-Reply-To: <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> Message-ID: <3BE53960-4EB6-4F1D-A66C-654EF4BC1A79@all-auctions.com> Ok then. Thanks for clearing up the confusion. Rick > On Dec 16, 2021, at 6:12 PM, Alex Tweedly via use-livecode wrote: > > On 16/12/2021 18:25, Rick Harrison via use-livecode wrote: >> Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. > > No, it doesn't Rick. It's just a typo in the example in the dictionary. > > I mentioned it because it made me smile when I noticed it - a tiny example of our not-so-common language between the two sides of the ocean :-) > > Alex. From dochawk at gmail.com Thu Dec 16 21:04:17 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 16 Dec 2021 18:04:17 -0800 Subject: Smile for Christmas. In-Reply-To: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Message-ID: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> rick ruminated, >Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. Oh, dear I almost forgot. It’s time for my annual vowel drive! Please send all your excess “u” and other vowels (I’m looking at *you*, Britain!). I will package them, and send them to the vowel-starved folks in czch, srb, and so forth . . . :_) From terry.judd at unimelb.edu.au Thu Dec 16 21:25:39 2021 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 17 Dec 2021 02:25:39 +0000 Subject: Smile for Christmas. In-Reply-To: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> Message-ID: Surely we should be sending them straight to the US ;) Terry… From: use-livecode on behalf of doc hawk via use-livecode Date: Friday, 17 December 2021 at 1:05 pm To: How to use LiveCode Cc: doc hawk Subject: Re: Smile for Christmas. rick ruminated, >Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. Oh, dear I almost forgot. It’s time for my annual vowel drive! Please send all your excess “u” and other vowels (I’m looking at *you*, Britain!). I will package them, and send them to the vowel-starved folks in czch, srb, and so forth . . . :_) _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 17 00:11:01 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2021 23:11:01 -0600 Subject: Smile for Christmas. In-Reply-To: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> Message-ID: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I will donate "aluminium" for them. I don't know where they got that. Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 16, 2021 8:06:23 PM doc hawk via use-livecode wrote: > rick ruminated, > > >> Combining two arrays is nice, but it really shouldnt spell correct color >> to colour. > > Oh, dear I almost forgot. > > Its time for my annual vowel drive! > > Please send all your excess u and other vowels (Im looking at *you*, > Britain!). > > I will package them, and send them to the vowel-starved folks in czch, srb, > and so forth . . . > > :_) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 01:14:23 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 17 Dec 2021 06:14:23 +0000 Subject: Smile for Christmas. In-Reply-To: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: > I will donate "aluminium" for them. I don't know where they got that. Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. But I get that you were only jesting ;) From benr_mc at cogapp.com Fri Dec 17 06:34:07 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 17 Dec 2021 11:34:07 +0000 Subject: regex backreferences In-Reply-To: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > If there isn't a feature request for it, there should be. https://quality.livecode.com/show_bug.cgi?id=21534 From kaveh at rivervalleytechnologies.com Fri Dec 17 06:41:55 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Fri, 17 Dec 2021 11:41:55 +0000 Subject: regex backreferences In-Reply-To: <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> Message-ID: Great to know this is already in the wish list, Ben and thanks for adding it. Anything we can do to support this request and expedite it? On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > If there isn't a feature request for it, there should be. > > https://quality.livecode.com/show_bug.cgi?id=21534 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ● ORCID *Accelerating the Communication of Research* From benr_mc at cogapp.com Fri Dec 17 07:49:15 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 17 Dec 2021 12:49:15 +0000 Subject: regex backreferences In-Reply-To: References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> Message-ID: <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> Hi Kaveh, Thanks, but actually it wasn't me who made the original report - that was Bart Voorzanger. And you added a useful comment to it 18 months ago, before I found it! best, Ben On 17/12/2021 11:41, Kaveh wrote: > Great to know this is already in the wish list, Ben and thanks for adding it. > Anything we can do to support this request and expedite it? > > On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode > > wrote: > > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > If there isn't a feature request for it, there should be. > > https://quality.livecode.com/show_bug.cgi?id=21534 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 > ORCID > > *Accelerating the Communication of Research* From kaveh at rivervalleytechnologies.com Fri Dec 17 07:52:26 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Fri, 17 Dec 2021 12:52:26 +0000 Subject: regex backreferences In-Reply-To: <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> Message-ID: Hah. I read my own comment without checking the poster and thought this guy is a bit pushy but let's hope he succeeds! It really is a fundamental limitation that will allow so much more to be done in LiveCode, including a really good interactive tutorial on regex. Regards Kaveh On Fri, 17 Dec 2021 at 12:49, Ben Rubinstein wrote: > Hi Kaveh, > > Thanks, but actually it wasn't me who made the original report - that was > Bart > Voorzanger. And you added a useful comment to it 18 months ago, before I > found it! > > best, > > Ben > > > On 17/12/2021 11:41, Kaveh wrote: > > Great to know this is already in the wish list, Ben and thanks for > adding it. > > Anything we can do to support this request and expedite it? > > > > On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode > > > > wrote: > > > > > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > > If there isn't a feature request for it, there should be. > > > > https://quality.livecode.com/show_bug.cgi?id=21534 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > > ● ORCID > > > > *Accelerating the Communication of Research* > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From heather at livecode.com Fri Dec 17 07:57:17 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 17 Dec 2021 12:57:17 +0000 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. I love how the word for "vowels" is almost entirely made up of vowels. Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok so its colloquial and only used in the south valleys "Wenglish" but it's a great word. Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. Don't let my frivolous response to this thread draw you off the straight and narrow course of purely and only discussing LiveCode on this list. Or even cod byw. Nadolig Hapus! Heather Customer Services Manager LiveCode Ltd www.livecode.com > On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: > > >> I will donate "aluminium" for them. I don't know where they got that. > > Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > >> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. > They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. > > But I get that you were only jesting ;) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 17 09:08:50 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 09:08:50 -0500 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> I play a lot of scrabble. One of the most endearing short words (Scrabble is ALL about short words) in both the English and American lexicons is “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, E, I, O, U, and sometimes Y and W”. Craig > On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode wrote: > > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. > > I love how the word for "vowels" is almost entirely made up of vowels. > > Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok so its colloquial and only used in the south valleys "Wenglish" but it's a great word. > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. Don't let my frivolous response to this thread draw you off the straight and narrow course of purely and only discussing LiveCode on this list. Or even cod byw. > > Nadolig Hapus! > > Heather > > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: >> >> >>> I will donate "aluminium" for them. I don't know where they got that. >> >> Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. >> >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. >> They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. >> >> But I get that you were only jesting ;) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Fri Dec 17 09:30:28 2021 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 17 Dec 2021 14:30:28 +0000 Subject: Smile for Christmas. In-Reply-To: <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> Message-ID: Another super-useful and relevant scrabble word is EUOUAE, one of the charmingly monikered 'vowel dumps'. Unfortunately not available in TWL so only for UK scrabble play! On Fri, 17 Dec 2021 at 14:08, Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > I play a lot of scrabble. One of the most endearing short words (Scrabble > is ALL about short words) in both the English and American lexicons is > “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, > E, I, O, U, and sometimes Y and W”. > > Craig > > > On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. > Gyda dim ond y nifer cywir o lafariaid. > > > > I love how the word for "vowels" is almost entirely made up of vowels. > > > > Which brings me to my favourite Welsh word. For microwave. Popty ping. > Ok so its colloquial and only used in the south valleys "Wenglish" but it's > a great word. > > > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice > season. Don't let my frivolous response to this thread draw you off the > straight and narrow course of purely and only discussing LiveCode on this > list. Or even cod byw. > > > > Nadolig Hapus! > > > > Heather > > > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >>> I will donate "aluminium" for them. I don't know where they got that. > >> > >> Sir Humphry Davy, the same one responsible for the confusion in the > term/name. So, the same place as our American cousins. > >> > >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and > they make do with random consonants when they run short. > >> They use a, e, o, u and I. W and Y are also considered vowels. They > don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all > make consonant sounds. 29 ‘letters’ in total with 7 vowels. > >> > >> But I get that you were only jesting ;) > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Fri Dec 17 09:50:35 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 09:50:35 -0500 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> Message-ID: <078D907A-4A6C-49E1-8989-8106B233B9C7@starfirelighting.com> Ali. As I am fond of saying, "Americans expect everyone else in the world to learn our language, as we refuse to learn theirs”. Same with the Scrabble lexicon; CSW is rather larger. Two different dictionary suites between us and the planet. We are smug about that. Craig > On Dec 17, 2021, at 9:30 AM, Ali Lloyd via use-livecode wrote: > > Another super-useful and relevant scrabble word is EUOUAE, one of the > charmingly monikered 'vowel dumps'. Unfortunately not available in TWL so > only for UK scrabble play! > > On Fri, 17 Dec 2021 at 14:08, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I play a lot of scrabble. One of the most endearing short words (Scrabble >> is ALL about short words) in both the English and American lexicons is >> “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, >> E, I, O, U, and sometimes Y and W”. >> >> Craig >> >>> On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. >> Gyda dim ond y nifer cywir o lafariaid. >>> >>> I love how the word for "vowels" is almost entirely made up of vowels. >>> >>> Which brings me to my favourite Welsh word. For microwave. Popty ping. >> Ok so its colloquial and only used in the south valleys "Wenglish" but it's >> a great word. >>> >>> Have a wonderful Christmas/New Year/Solstice/Holiday of your choice >> season. Don't let my frivolous response to this thread draw you off the >> straight and narrow course of purely and only discussing LiveCode on this >> list. Or even cod byw. >>> >>> Nadolig Hapus! >>> >>> Heather >>> >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.com >>> >>> >>> >>>> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> >>>>> I will donate "aluminium" for them. I don't know where they got that. >>>> >>>> Sir Humphry Davy, the same one responsible for the confusion in the >> term/name. So, the same place as our American cousins. >>>> >>>>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and >> they make do with random consonants when they run short. >>>> They use a, e, o, u and I. W and Y are also considered vowels. They >> don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all >> make consonant sounds. 29 ‘letters’ in total with 7 vowels. >>>> >>>> But I get that you were only jesting ;) >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Dec 17 12:11:37 2021 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Dec 2021 17:11:37 +0000 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Pretty much OT, but Davy was a really interesting man: look him up in Wikipedia. Before I read that article, all I knew about him was the clerihew: Sir Humphry Davy Abominated gravy He lived in the odium Of having discovered Sodium Compliments of the season to all. Graham > On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: > > >> I will donate "aluminium" for them. I don't know where they got that. > > Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > >> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. > They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. > > But I get that you were only jesting ;) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 13:01:04 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2021 12:01:04 -0600 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Wow, Google Translate knows Welsh. It turns out that Heather's comment has nothing to do with Beth having an ugly chin which makes her dim and afraid. I somehow knew Heather would show up here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 17, 2021 6:58:36 AM Heather Laine via use-livecode wrote: > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda > dim ond y nifer cywir o lafariaid. > > I love how the word for "vowels" is almost entirely made up of vowels. > > Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok > so its colloquial and only used in the south valleys "Wenglish" but it's a > great word. > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. > Don't let my frivolous response to this thread draw you off the straight > and narrow course of purely and only discussing LiveCode on this list. Or > even cod byw. > > Nadolig Hapus! > > Heather > > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode >> wrote: >> >> >>> I will donate "aluminium" for them. I don't know where they got that. >> >> Sir Humphry Davy, the same one responsible for the confusion in the >> term/name. So, the same place as our American cousins. >> >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they >>> make do with random consonants when they run short. >> They use a, e, o, u and I. W and Y are also considered vowels. They dont >> use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make >> consonant sounds. 29 letters in total with 7 vowels. >> >> But I get that you were only jesting ;) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 17 13:39:21 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 13:39:21 -0500 Subject: Smile for Christmas. In-Reply-To: <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <12FF4505-1D8D-470E-8D0A-1262B8EE9258@starfirelighting.com> Welsh and Gaelic both translate the same. Heather. What is the difference? Is it a Scotland thing? Craig > On Dec 17, 2021, at 1:01 PM, J. Landman Gay via use-livecode wrote: > >> Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. From robeppich at epsi.ca Fri Dec 17 13:51:43 2021 From: robeppich at epsi.ca (RobEppich) Date: Fri, 17 Dec 2021 10:51:43 -0800 Subject: Open socket on start up and can't close Message-ID: Hi Craig, Klaus, Alex, Monte, Curry yes, that is me. Glad to hear that epsiTalk continues to be so useful for you. I have epsiTalk under Livecode. I say very little as the more I say the more distractions there are. During the Hypercard days I used xcmds. In the end HC was discontinued and I tried using Applescript for a year and then was going to use Supercard but I learned my lesson of the one platform trap and so I moved onto Revolution using sockets, then Livecode. Best long term decision I ever made. Runrev/Livecode are my heros! I am using macOS Monterey version 12.0.1 on iMac (24-inch, M1, 2021) and have recently moved from "Livecode Indy" to just plain “Livecode". I believe that this open socket must be the remote debugging feature, that I am not familiar with, though I suppose I will now. First question is how to turn off remote debugging as might would compete with the port that I use for epsiTalk inBusiness and if the remote debugging is still opening a socket in a standalone. Also, isn’t this open socket for rermote debugging a security risk? I shall study. It is true that I am a happy lurker. I live on an island with 1100 people and discovered that 900 are never anywhere to be seen or heard from, like me. I have discovered, as well, that the 80% are silent lurkers in most communities, and we are all mostly appreciative of all of you who are very active. I keep all the digests and use it to search for answers that you have all provided to our Livecode community, and often I find that all of you have answered my question, again, and now I wish to Thank You all for this great resource. Thanks to all of you Rob Eppich From craig at starfirelighting.com Fri Dec 17 16:35:34 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 16:35:34 -0500 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: Robert. "I have epsiTalk under Livecode.” Whaaat?? How much do you want for it? I would love to be able to talk to other running LC machines with a skillset that I already have. When I first picked up LC, I immediately tested “send to program” (a command in LC, as it ought to be, not a keyword(!)) to another Mac running LC. It did not work, as others have verified, even though it is still listed in the dictionary without comment. I played around with sockets about 8 years ago, and got the hang of them, but I miss the package of gadgetry that EpsiTalk offered. So, um, how much does EpsiTalk for LC cost?? Craig > On Dec 17, 2021, at 1:51 PM, RobEppich via use-livecode wrote: > > I have epsiTalk under Livecode. From jacque at hyperactivesw.com Fri Dec 17 17:55:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2021 16:55:49 -0600 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: <016b8cb8-8820-6276-0fc9-b9bcc125d4f3@hyperactivesw.com> On 12/17/21 12:51 PM, RobEppich via use-livecode wrote: > First question is how to turn off remote debugging as might would compete with the port that I use for epsiTalk inBusiness and if the remote debugging is still opening a socket in a standalone. Also, isn’t this open socket for rermote debugging a security risk? Remote debugging, by default, is only available if you have cabled your device to the computer and used the Test button to install an app. It is not included in standalones unless you specifically select it in the Inclusions pane in Standalone Settings. I don't think it's much of a security risk because unless you include it manually, no one but you and your computer has access to it. I have to say, I don't know how I ever got along without it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Dec 17 19:27:14 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Dec 2021 00:27:14 +0000 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: Sockets are pretty easy to implement. There is a good Livecode lesson on how to do so. I wrote a client server system that can be used for virtually any kind of application. My particular need was to send and receive SQL queries and data without having to go through the fuss of setting up a web server and maintaining SSL certs. I use my own algorithm with AES256 and some proprietary wizardry that makes the hash undecryptable Save by the client and server. Sent from my iPhone > On Dec 17, 2021, at 13:36, Craig Newman via use-livecode wrote: > > Robert. > > "I have epsiTalk under Livecode.” > > Whaaat?? How much do you want for it? I would love to be able to talk to other running LC machines with a skillset that I already have. > > When I first picked up LC, I immediately tested “send to program” (a command in LC, as it ought to be, not a keyword(!)) to another Mac running LC. It did not work, as others have verified, even though it is still listed in the dictionary without comment. I played around with sockets about 8 years ago, and got the hang of them, but I miss the package of gadgetry that EpsiTalk offered. > > So, um, how much does EpsiTalk for LC cost?? > > Craig > >> On Dec 17, 2021, at 1:51 PM, RobEppich via use-livecode wrote: >> >> I have epsiTalk under Livecode. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 18 22:37:17 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 19 Dec 2021 14:37:17 +1100 Subject: nsPropertyMapper revision 3 Message-ID: I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many more icons than the LC Image Chooser; you can save favorite images, view image metadata, facilitate scaling an image to fit given bounds, and check your stacks for duplicate image IDs and unloaded images referenced in icons and patterns which could go missing in a standalone. From bobsneidar at iotecdigital.com Sun Dec 19 03:07:59 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 19 Dec 2021 08:07:59 +0000 Subject: nsPropertyMapper revision 3 In-Reply-To: References: Message-ID: <9ECA255C-743B-430F-90DA-24645599533E@iotecdigital.com> Wow. That sounds great. Bob S > On Dec 18, 2021, at 7:37 PM, Neville Smythe via use-livecode wrote: > > I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many more icons than the LC Image Chooser; you can save favorite images, view image metadata, facilitate scaling an image to fit given bounds, and check your stacks for duplicate image IDs and unloaded images referenced in icons and patterns which could go missing in a standalone. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 19 13:05:46 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 19 Dec 2021 13:05:46 -0500 Subject: Windows VM's and LiveCode app's cursors Message-ID: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause it? From matthias_livecode_150811 at m-r-d.de Sun Dec 19 16:59:40 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 19 Dec 2021 22:59:40 +0100 Subject: Windows VM's and LiveCode app's cursors In-Reply-To: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> References: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> Message-ID: <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> Paul, are you sure that the user directly accesses the VM? Or is the user by any chance accessing that VM using some RemoteControl software like TeamViewer or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. Matthias > Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : > > We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. > > The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). > > I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. > > None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. > > I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause 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 Sun Dec 19 17:12:57 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 19 Dec 2021 17:12:57 -0500 Subject: Windows VM's and LiveCode app's cursors In-Reply-To: <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> References: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> Message-ID: <8c57e2b2-92c5-36eb-4f2e-dc897411f1d4@researchware.com> I am not sure and will check with the customer. Thank you for the tip! On 12/19/2021 4:59 PM, matthias rebbe via use-livecode wrote: > Paul, > > are you sure that the user directly accesses the VM? Or is the user by any chance accessing that VM using some RemoteControl software like TeamViewer or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. > > > Matthias > > >> Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : >> >> We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. >> >> The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). >> >> I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. >> >> None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. >> >> I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause 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 neville.smythe at optusnet.com.au Sun Dec 19 18:18:41 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 20 Dec 2021 10:18:41 +1100 Subject: nsPropertyMapper Revision 4 Message-ID: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. From scott at elementarysoftware.com Sun Dec 19 21:08:52 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 19 Dec 2021 18:08:52 -0800 Subject: nsPropertyMapper Revision 4 In-Reply-To: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> References: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> Message-ID: <9288BFE8-9521-432C-B63B-E63FCC8FE5D2@elementarysoftware.com> The one that is downloading from Sample Stacks still claims to be revision 3. Scott Morrow ----------------------------------------------------------------------------- “The ability to quote is a serviceable substitute for wit.” - William Somerset Maugham > On Dec 19, 2021, at 3:18 PM, Neville Smythe via use-livecode wrote: > > Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 20 12:11:40 2021 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 20 Dec 2021 17:11:40 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? Message-ID: Hi folks, I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. on hiliteChanged put the hilitedElement of me into tHilitedElement if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement replace comma with quote & "][" & quote in tHilitedElement put "[" & quote before tHilitedElement put quote & "]" after tHilitedElement put the arrayData of me into tTreeData put tTreeData & tHilitedElement end hiliteChanged I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? TIA. Best, Keith From jacque at hyperactivesw.com Mon Dec 20 15:46:25 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Dec 2021 14:46:25 -0600 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. What's the purpose of the concatenation, and what do you want to do with the selection? On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: > Hi folks, > I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. > > The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. > > However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. > > on hiliteChanged > > put the hilitedElement of me into tHilitedElement > > if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement > > replace comma with quote & "][" & quote in tHilitedElement > > put "[" & quote before tHilitedElement > > put quote & "]" after tHilitedElement > > put the arrayData of me into tTreeData > > put tTreeData & tHilitedElement > > end hiliteChanged > > I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? > > TIA. > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at me.com Mon Dec 20 16:13:47 2021 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 20 Dec 2021 21:13:47 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! Best, Keith > On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: > > I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. > > The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. > > What's the purpose of the concatenation, and what do you want to do with the selection? > > On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >> Hi folks, >> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >> on hiliteChanged >> put the hilitedElement of me into tHilitedElement >> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >> replace comma with quote & "][" & quote in tHilitedElement >> put "[" & quote before tHilitedElement >> put quote & "]" after tHilitedElement >> put the arrayData of me into tTreeData >> put tTreeData & tHilitedElement >> end hiliteChanged >> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >> TIA. >> 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 > > > -- > 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 paulmcclernan at gmail.com Mon Dec 20 22:31:52 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 20 Dec 2021 22:31:52 -0500 Subject: Record audio on Mac In-Reply-To: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> References: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> Message-ID: Yes and despite info to the contrary mergMicrophone does still work in a standalone on macOS, but as a “heads up”, entitlements may be an issue making a standalone that uses it because on newer macOS need user permission to use the microphone. I entirely removed the signature on a standalone and then it asked for pets mission as required. On Fri, Dec 10, 2021 at 2:30 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > > Am 10.12.2021 um 14:02 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi all, > > > > There is an entry in the dictionary -> record sound... > > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > > ... > > 64-bit standalones for Mac OS X do not have support for audio recording. > > ... > > almost forgot that we have all this wonderful MERG AV... and > MERGmicrophone... stuff on the Mac! :-) > So please remove that line from the Release Notes. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From eurolinkal at aol.com Mon Dec 20 23:33:22 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Mon, 20 Dec 2021 20:33:22 -0800 Subject: New user References: Message-ID: Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. From phil at pdslabs.net Mon Dec 20 23:47:32 2021 From: phil at pdslabs.net (Phil Davis) Date: Mon, 20 Dec 2021 20:47:32 -0800 Subject: New user In-Reply-To: References: Message-ID: <4b2fd460-d610-ea6b-a933-58267e36121a@pdslabs.net> Welcome to the list, Alex! There are people here who are a LOT more familiar with Windows <-> device communication than I am, but I can at least ask questions. Are you familiar with the "open driver" command and "serialControlString" property? They might give you some of what you need. I confess I haven't worked in a Windows environment in many years, so what I used to know may now be obsolete. Ahh, technology! Best regards - Phil Davis On 12/20/21 8:33 PM, Alex Hughson via use-livecode wrote: > Hello all. I am a beginner user of LiveCode. Ive managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From matthias_livecode_150811 at m-r-d.de Tue Dec 21 04:32:12 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Dec 2021 10:32:12 +0100 Subject: New user In-Reply-To: References: Message-ID: Hi Alex, does the developer of the I/O board provides an SDK? Best would be of course, that SDK would have support for Livecode, but i assume the latter is not the case. But if the developer of that board has an sdk for example with prebuilt .dll you could try to create a wrapper with Livecode Builder. How is the board detected on Windows? As a serial device? If so, you could communicate with it through Livecode. Please have a look at 'open driver' in the dictionary. Matthias > Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode : > > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Tue Dec 21 06:36:46 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 11:36:46 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> References: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> Message-ID: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Hi folks, For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... on hiliteChanged put the arrayData of control "Tree" into tTreeData put the hilitedElement of control "Tree" into tHilitedElement // Identify element depth put the number of items in tHilitedElement into tDepth put 0 into tLevelCount repeat for each item tKey in tHilitedElement add 1 to tLevelCount put tKey into tLevel[tLevelCount] put "[tLevel[" & tLevelCount & "]]" after tElement end repeat // Build array key to show element value in field switch tDepth case 1 put tTreeData[tLevel[1]] into field "Test" break case 2 put tTreeData[tLevel[1]][tLevel[2]] into field "Test" break case 3 put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" break end switch end hiliteChanged I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) Best, Keith > On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: > > I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. > > Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) > > I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. > > If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! > Best, > Keith > >> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >> >> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >> >> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >> >> What's the purpose of the concatenation, and what do you want to do with the selection? >> >> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>> Hi folks, >>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>> on hiliteChanged >>> put the hilitedElement of me into tHilitedElement >>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>> replace comma with quote & "][" & quote in tHilitedElement >>> put "[" & quote before tHilitedElement >>> put quote & "]" after tHilitedElement >>> put the arrayData of me into tTreeData >>> put tTreeData & tHilitedElement >>> end hiliteChanged >>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>> TIA. >>> 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 >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Dec 21 09:44:18 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 21 Dec 2021 16:44:18 +0200 Subject: [ANN] Release 9.6.6 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.6 RC-1. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of the bugs you requested in the recent survey: New Features: - iOS device safe area insets function An iphoneSafeAreaInsets function has been added to enable getting the safe area insets of the device the app is running on. These can be used to adjust your app's user interface elements to avoid areas that are covered by device furniture, e.g. the notch. - Android adaptive icons It is now possible to configure your Android apps to use adaptive icons. To use adaptive icons, generate them using the Image Asset Editor in Android Studio and then choose the resulting res folder in the android standalone settings pane. - Android app query whitelist Support has been added for specifying which other apps can be interacted with via the intent and other (custom) URL schemes. Since Android 11, by default, an app cannot interact with any others due to changes to package visibility. You must now specify which apps you need access to by adding their ids to the App ID Query Whitelist field in the Android standalone settings. Bug Fixes: - Opening HyperCard stacks will no longer cause a crash - Support for the system date and the system time has been added on Android - A stack's rect will no longer become out of sync with its actual position after being moved in the IDE on macOS - A wider range of TrueType font files will now work on Android and Web - Use of the term Tutorials have been replaced by the term Lessons throughout the IDE - When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently - Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. - The welcome tutorial can now be started on first run via the Start Interative Welcome button in the start center - Starting a new tutorial will now close the previous tutorial's stack, if present - The performance of the script editor while typing has been improved - Downloading large amounts of data using tsNet on Windows is now substantially faster - Invalid PDFs will no longer be generated when using the open printing to PDF command on Windows using the 64-bit engine - Script debugging will no longer fail to work intermittently when running the IDE with pro features - Scripts which run without locking the screen are no longer slower on macOS Big Sur and later - The drawing library now correctly handle gradients which are referred to using an id containing - or _ - Key events will now work correctly after a modal dialog is shown from a mouseUp handler in a grouped control - The iphoneDeviceModel function now returns the correct model string when run on an iOS/iPadOS simulator. - Default buttons and progress bars will no longer cause unnecessary CPU usage on macOS 10.10 (Yosemite) or later - The byteOffset function will no longer cause incorrect results in some cases nor cause a crash - Scripts containing accented characters will no longer incorrectly report being externally modified - Using the print link command when printing to PDF on Windows no longer causes a crash - The copyright notices in the engine app bundle (macOS) and exe (Windows) have been updated - A significant memory leak in the browser widget on macOS has been resolved - POST data larger than 64kb is now parsed correctly by the Windows server engine - Audio-only players no longer consume excessive CPU when in Edit Mode on macOS Big Sur - WebGL content now displays in the browser widget when running on macOS 12.x (Monterey) - The union (and other set operation) commands now throw an error if there is no into clause and the target is not a declared variable - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported - Local file and content access has been re-enabled in the browser widget and native control on Android - Touch events now occur at the correct location when handled by objects underneath a disabled Android scroller - SVG elements with a stroke-width of 0 are no longer drawn with a hairline stroke - There is no longer a delay when opening the IDE menus on macOS - Selecting a specific browser to test a web project against now works correctly - The overhead of using "do .." to evaluate long JavaScript scripts in the browser widget on Android has been greatly reduced For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 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 at http://forums.livecode.com Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Tue Dec 21 10:15:17 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Dec 2021 10:15:17 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: Things that made me say "WHAT?" - When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently WHAT? Who are you people? - Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. WHAT? HAHAHAHA. OK, that's funny. You got me. On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > Getting the Release > =================== > You can find the release in your LiveCode account area or get it via the > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > account, please scroll down to below the list of stable releases, to find > your available test releases. > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: > > New Features: > - iOS device safe area insets function > An iphoneSafeAreaInsets function has been added to enable getting the safe > area insets of the device the app is running on. These can be used to > adjust your app's user interface elements to avoid areas that are covered > by device furniture, e.g. the notch. > > - Android adaptive icons > It is now possible to configure your Android apps to use adaptive icons. > To use adaptive icons, generate them using the Image Asset Editor in > Android Studio and > then choose the resulting res folder in the android standalone settings > pane. > > - Android app query whitelist > Support has been added for specifying which other apps can be interacted > with via the intent and other (custom) URL schemes. > Since Android 11, by default, an app cannot interact with any others due to > changes to package visibility. You must now specify which apps you need > access to by adding their ids to the App ID Query Whitelist field in the > Android standalone settings. > > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash > - Support for the system date and the system time has been added on Android > - A stack's rect will no longer become out of sync with its actual position > after being moved in the IDE on macOS > - A wider range of TrueType font files will now work on Android and Web > - Use of the term Tutorials have been replaced by the term Lessons > throughout the IDE > - When a runtime error occurs in a context where the script debugger cannot > run, the error dialog will be displayed rather > than failing silently > - Conversions between global and local co-ordinates are now correct on > multi-screen macOS systems. > - The welcome tutorial can now be started on first run via the Start > Interative Welcome button in the start center > - Starting a new tutorial will now close the previous tutorial's stack, if > present > - The performance of the script editor while typing has been improved > - Downloading large amounts of data using tsNet on Windows is now > substantially faster > - Invalid PDFs will no longer be generated when using the open printing to > PDF command on Windows using the 64-bit engine > - Script debugging will no longer fail to work intermittently when running > the IDE with pro features > - Scripts which run without locking the screen are no longer slower on > macOS Big Sur and later > - The drawing library now correctly handle gradients which are referred to > using an id containing - or _ > - Key events will now work correctly after a modal dialog is shown from a > mouseUp handler in a grouped control > - The iphoneDeviceModel function now returns the correct model string when > run on an iOS/iPadOS simulator. > - Default buttons and progress bars will no longer cause unnecessary CPU > usage on macOS 10.10 (Yosemite) or later > - The byteOffset function will no longer cause incorrect results in some > cases nor cause a crash > - Scripts containing accented characters will no longer incorrectly report > being externally modified > - Using the print link command when printing to PDF on Windows no longer > causes a crash > - The copyright notices in the engine app bundle (macOS) and exe (Windows) > have been updated > - A significant memory leak in the browser widget on macOS has been > resolved > - POST data larger than 64kb is now parsed correctly by the Windows server > engine > - Audio-only players no longer consume excessive CPU when in Edit Mode on > macOS Big Sur > - WebGL content now displays in the browser widget when running on macOS > 12.x (Monterey) > - The union (and other set operation) commands now throw an error if there > is no into clause and the target is not a declared variable > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported > - Local file and content access has been re-enabled in the browser widget > and native control on Android > - Touch events now occur at the correct location when handled by objects > underneath a disabled Android scroller > - SVG elements with a stroke-width of 0 are no longer drawn with a hairline > stroke > - There is no longer a delay when opening the IDE menus on macOS > - Selecting a specific browser to test a web project against now works > correctly > - The overhead of using "do .." to evaluate long JavaScript scripts in the > browser widget on Android has been greatly reduced > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 > SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 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 at > http://forums.livecode.com > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 brian at milby7.com Tue Dec 21 10:19:18 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Dec 2021 10:19:18 -0500 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. It is part of a more involved stack, but the card with this widget may be helpful for your purposes. Thanks, Brian Sent from my iPhone > On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: > > Hi folks, > For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. > > The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... > on hiliteChanged > > put the arrayData of control "Tree" into tTreeData > > put the hilitedElement of control "Tree" into tHilitedElement > > // Identify element depth > > put the number of items in tHilitedElement into tDepth > > put 0 into tLevelCount > > repeat for each item tKey in tHilitedElement > > add 1 to tLevelCount > > put tKey into tLevel[tLevelCount] > > put "[tLevel[" & tLevelCount & "]]" after tElement > > end repeat > > // Build array key to show element value in field > > switch tDepth > > case 1 > > put tTreeData[tLevel[1]] into field "Test" > > break > > case 2 > > put tTreeData[tLevel[1]][tLevel[2]] into field "Test" > > break > > case 3 > > put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" > > break > > end switch > > end hiliteChanged > > I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) > > Best, > Keith > >> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >> >> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >> >> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >> >> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >> >> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >> Best, >> Keith >> >>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>> >>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>> >>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>> >>> What's the purpose of the concatenation, and what do you want to do with the selection? >>> >>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>> Hi folks, >>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>> on hiliteChanged >>>> put the hilitedElement of me into tHilitedElement >>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>> replace comma with quote & "][" & quote in tHilitedElement >>>> put "[" & quote before tHilitedElement >>>> put quote & "]" after tHilitedElement >>>> put the arrayData of me into tTreeData >>>> put tTreeData & tHilitedElement >>>> end hiliteChanged >>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>> TIA. >>>> 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 >>> >>> >>> -- >>> 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 From merakosp at gmail.com Tue Dec 21 10:27:48 2021 From: merakosp at gmail.com (panagiotis m) Date: Tue, 21 Dec 2021 17:27:48 +0200 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: Hello Mike, >>>> When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were ignored, because for some reasons deep in the engine, if they were not ignored, LC was freezing and eventually crashing. This behavior has now changed, and these errors are caught in an error dialog window, rather than failing silently. >>>> Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. In other words, LiveCode will now play nicely in a multi-monitor setup. Previously you had to make sure that the virtual tops of the 2 (or more) monitors were aligned, otherwise you were getting incorrect behavior in various cases. Now, you can arrange the monitors any way you want, and things will work as expected. Cheers, Panos -- On Tue, 21 Dec 2021 at 17:17, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Things that made me say "WHAT?" > - When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > WHAT? Who are you people? > - Conversions between global and local co-ordinates are now correct > on multi-screen macOS systems. > WHAT? HAHAHAHA. OK, that's funny. You got me. > > > On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > > > > Getting the Release > > =================== > > You can find the release in your LiveCode account area or get it via the > > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > > account, please scroll down to below the list of stable releases, to find > > your available test releases. > > > > Release Contents > > ================ > > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots > of > > the bugs you requested in the recent survey: > > > > New Features: > > - iOS device safe area insets function > > An iphoneSafeAreaInsets function has been added to enable getting the > safe > > area insets of the device the app is running on. These can be used to > > adjust your app's user interface elements to avoid areas that are covered > > by device furniture, e.g. the notch. > > > > - Android adaptive icons > > It is now possible to configure your Android apps to use adaptive icons. > > To use adaptive icons, generate them using the Image Asset Editor in > > Android Studio and > > then choose the resulting res folder in the android standalone settings > > pane. > > > > - Android app query whitelist > > Support has been added for specifying which other apps can be interacted > > with via the intent and other (custom) URL schemes. > > Since Android 11, by default, an app cannot interact with any others due > to > > changes to package visibility. You must now specify which apps you need > > access to by adding their ids to the App ID Query Whitelist field in the > > Android standalone settings. > > > > > > Bug Fixes: > > - Opening HyperCard stacks will no longer cause a crash > > - Support for the system date and the system time has been added on > Android > > - A stack's rect will no longer become out of sync with its actual > position > > after being moved in the IDE on macOS > > - A wider range of TrueType font files will now work on Android and Web > > - Use of the term Tutorials have been replaced by the term Lessons > > throughout the IDE > > - When a runtime error occurs in a context where the script debugger > cannot > > run, the error dialog will be displayed rather > > than failing silently > > - Conversions between global and local co-ordinates are now correct on > > multi-screen macOS systems. > > - The welcome tutorial can now be started on first run via the Start > > Interative Welcome button in the start center > > - Starting a new tutorial will now close the previous tutorial's stack, > if > > present > > - The performance of the script editor while typing has been improved > > - Downloading large amounts of data using tsNet on Windows is now > > substantially faster > > - Invalid PDFs will no longer be generated when using the open printing > to > > PDF command on Windows using the 64-bit engine > > - Script debugging will no longer fail to work intermittently when > running > > the IDE with pro features > > - Scripts which run without locking the screen are no longer slower on > > macOS Big Sur and later > > - The drawing library now correctly handle gradients which are referred > to > > using an id containing - or _ > > - Key events will now work correctly after a modal dialog is shown from a > > mouseUp handler in a grouped control > > - The iphoneDeviceModel function now returns the correct model string > when > > run on an iOS/iPadOS simulator. > > - Default buttons and progress bars will no longer cause unnecessary CPU > > usage on macOS 10.10 (Yosemite) or later > > - The byteOffset function will no longer cause incorrect results in some > > cases nor cause a crash > > - Scripts containing accented characters will no longer incorrectly > report > > being externally modified > > - Using the print link command when printing to PDF on Windows no longer > > causes a crash > > - The copyright notices in the engine app bundle (macOS) and exe > (Windows) > > have been updated > > - A significant memory leak in the browser widget on macOS has been > > resolved > > - POST data larger than 64kb is now parsed correctly by the Windows > server > > engine > > - Audio-only players no longer consume excessive CPU when in Edit Mode on > > macOS Big Sur > > - WebGL content now displays in the browser widget when running on macOS > > 12.x (Monterey) > > - The union (and other set operation) commands now throw an error if > there > > is no into clause and the target is not a declared variable > > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now > supported > > - Local file and content access has been re-enabled in the browser widget > > and native control on Android > > - Touch events now occur at the correct location when handled by objects > > underneath a disabled Android scroller > > - SVG elements with a stroke-width of 0 are no longer drawn with a > hairline > > stroke > > - There is no longer a delay when opening the IDE menus on macOS > > - Selecting a specific browser to test a web project against now works > > correctly > > - The overhead of using "do .." to evaluate long JavaScript scripts in > the > > browser widget on Android has been greatly reduced > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > > 14.4 SDK > > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS > 15.2 > > SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: From the start of April 2021, Apple is only accepting apps > built > > using iOS14.x SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.15 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 at > > http://forums.livecode.com > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at me.com Tue Dec 21 10:43:18 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 15:43:18 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: <8EA1D74C-BCA6-440F-B2CD-46E4AAE35270@me.com> Thanks for the response & resource link, Brian - much appreciated. It’s good to know that I wasn’t barking up the wrong tree (view!), regarding the need to handle the returned hilitedElement array comma-delimited keys list. I’m new to arrays (and indeed most development concepts), so it was a good learning experience to try to work this out - though the documentation for arrays could be more helpful regarding syntax and passing in variables, as much trial and error was needed. I like the mechanism you’ve used for generalising the array key to be independent of tree node depth - consider that learned and reused! :) Best, Keith > On 21 Dec 2021, at 15:19, Brian Milby via use-livecode > wrote: > > I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. > > https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript > > You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. > > It is part of a more involved stack, but the card with this widget may be helpful for your purposes. > > Thanks, > Brian > > Sent from my iPhone From benr_mc at cogapp.com Tue Dec 21 12:08:10 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 21 Dec 2021 17:08:10 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> Christmas is a time of gifts indeed! Thanks to everyone at LiveCode for all your hard work. best wishes, Ben On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > Getting the Release > =================== > You can find the release in your LiveCode account area or get it via the > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > account, please scroll down to below the list of stable releases, to find > your available test releases. > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: > > New Features: > - iOS device safe area insets function > An iphoneSafeAreaInsets function has been added to enable getting the safe > area insets of the device the app is running on. These can be used to > adjust your app's user interface elements to avoid areas that are covered > by device furniture, e.g. the notch. > > - Android adaptive icons > It is now possible to configure your Android apps to use adaptive icons. > To use adaptive icons, generate them using the Image Asset Editor in > Android Studio and > then choose the resulting res folder in the android standalone settings > pane. > > - Android app query whitelist > Support has been added for specifying which other apps can be interacted > with via the intent and other (custom) URL schemes. > Since Android 11, by default, an app cannot interact with any others due to > changes to package visibility. You must now specify which apps you need > access to by adding their ids to the App ID Query Whitelist field in the > Android standalone settings. > > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash > - Support for the system date and the system time has been added on Android > - A stack's rect will no longer become out of sync with its actual position > after being moved in the IDE on macOS > - A wider range of TrueType font files will now work on Android and Web > - Use of the term Tutorials have been replaced by the term Lessons > throughout the IDE > - When a runtime error occurs in a context where the script debugger cannot > run, the error dialog will be displayed rather > than failing silently > - Conversions between global and local co-ordinates are now correct on > multi-screen macOS systems. > - The welcome tutorial can now be started on first run via the Start > Interative Welcome button in the start center > - Starting a new tutorial will now close the previous tutorial's stack, if > present > - The performance of the script editor while typing has been improved > - Downloading large amounts of data using tsNet on Windows is now > substantially faster > - Invalid PDFs will no longer be generated when using the open printing to > PDF command on Windows using the 64-bit engine > - Script debugging will no longer fail to work intermittently when running > the IDE with pro features > - Scripts which run without locking the screen are no longer slower on > macOS Big Sur and later > - The drawing library now correctly handle gradients which are referred to > using an id containing - or _ > - Key events will now work correctly after a modal dialog is shown from a > mouseUp handler in a grouped control > - The iphoneDeviceModel function now returns the correct model string when > run on an iOS/iPadOS simulator. > - Default buttons and progress bars will no longer cause unnecessary CPU > usage on macOS 10.10 (Yosemite) or later > - The byteOffset function will no longer cause incorrect results in some > cases nor cause a crash > - Scripts containing accented characters will no longer incorrectly report > being externally modified > - Using the print link command when printing to PDF on Windows no longer > causes a crash > - The copyright notices in the engine app bundle (macOS) and exe (Windows) > have been updated > - A significant memory leak in the browser widget on macOS has been > resolved > - POST data larger than 64kb is now parsed correctly by the Windows server > engine > - Audio-only players no longer consume excessive CPU when in Edit Mode on > macOS Big Sur > - WebGL content now displays in the browser widget when running on macOS > 12.x (Monterey) > - The union (and other set operation) commands now throw an error if there > is no into clause and the target is not a declared variable > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported > - Local file and content access has been re-enabled in the browser widget > and native control on Android > - Touch events now occur at the correct location when handled by objects > underneath a disabled Android scroller > - SVG elements with a stroke-width of 0 are no longer drawn with a hairline > stroke > - There is no longer a delay when opening the IDE menus on macOS > - Selecting a specific browser to test a web project against now works > correctly > - The overhead of using "do .." to evaluate long JavaScript scripts in the > browser widget on Android has been greatly reduced > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 > SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 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 at > http://forums.livecode.com > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Dec 21 12:18:47 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Dec 2021 12:18:47 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> References: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> Message-ID: Panos, I didn't mean that I did not understand. I completely understand. It was like "WHAAAAAAAAAAAAT?" Both of those issues have annoyed the heck out of me for nearly a decade. I am hoping, if I am reading the silent fail correctly, that it won't just be for moveStack and resizeStack, but any time that there is a script fail on mobile, because that is (or maybe was) so unbelievably annoying. On Tue, Dec 21, 2021 at 12:09 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Christmas is a time of gifts indeed! > > Thanks to everyone at LiveCode for all your hard work. > > best wishes, > > Ben > > On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > > > > Getting the Release > > =================== > > You can find the release in your LiveCode account area or get it via the > > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > > account, please scroll down to below the list of stable releases, to find > > your available test releases. > > > > Release Contents > > ================ > > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots > of > > the bugs you requested in the recent survey: > > > > New Features: > > - iOS device safe area insets function > > An iphoneSafeAreaInsets function has been added to enable getting the > safe > > area insets of the device the app is running on. These can be used to > > adjust your app's user interface elements to avoid areas that are covered > > by device furniture, e.g. the notch. > > > > - Android adaptive icons > > It is now possible to configure your Android apps to use adaptive icons. > > To use adaptive icons, generate them using the Image Asset Editor in > > Android Studio and > > then choose the resulting res folder in the android standalone settings > > pane. > > > > - Android app query whitelist > > Support has been added for specifying which other apps can be interacted > > with via the intent and other (custom) URL schemes. > > Since Android 11, by default, an app cannot interact with any others due > to > > changes to package visibility. You must now specify which apps you need > > access to by adding their ids to the App ID Query Whitelist field in the > > Android standalone settings. > > > > > > Bug Fixes: > > - Opening HyperCard stacks will no longer cause a crash > > - Support for the system date and the system time has been added on > Android > > - A stack's rect will no longer become out of sync with its actual > position > > after being moved in the IDE on macOS > > - A wider range of TrueType font files will now work on Android and Web > > - Use of the term Tutorials have been replaced by the term Lessons > > throughout the IDE > > - When a runtime error occurs in a context where the script debugger > cannot > > run, the error dialog will be displayed rather > > than failing silently > > - Conversions between global and local co-ordinates are now correct on > > multi-screen macOS systems. > > - The welcome tutorial can now be started on first run via the Start > > Interative Welcome button in the start center > > - Starting a new tutorial will now close the previous tutorial's stack, > if > > present > > - The performance of the script editor while typing has been improved > > - Downloading large amounts of data using tsNet on Windows is now > > substantially faster > > - Invalid PDFs will no longer be generated when using the open printing > to > > PDF command on Windows using the 64-bit engine > > - Script debugging will no longer fail to work intermittently when > running > > the IDE with pro features > > - Scripts which run without locking the screen are no longer slower on > > macOS Big Sur and later > > - The drawing library now correctly handle gradients which are referred > to > > using an id containing - or _ > > - Key events will now work correctly after a modal dialog is shown from a > > mouseUp handler in a grouped control > > - The iphoneDeviceModel function now returns the correct model string > when > > run on an iOS/iPadOS simulator. > > - Default buttons and progress bars will no longer cause unnecessary CPU > > usage on macOS 10.10 (Yosemite) or later > > - The byteOffset function will no longer cause incorrect results in some > > cases nor cause a crash > > - Scripts containing accented characters will no longer incorrectly > report > > being externally modified > > - Using the print link command when printing to PDF on Windows no longer > > causes a crash > > - The copyright notices in the engine app bundle (macOS) and exe > (Windows) > > have been updated > > - A significant memory leak in the browser widget on macOS has been > > resolved > > - POST data larger than 64kb is now parsed correctly by the Windows > server > > engine > > - Audio-only players no longer consume excessive CPU when in Edit Mode on > > macOS Big Sur > > - WebGL content now displays in the browser widget when running on macOS > > 12.x (Monterey) > > - The union (and other set operation) commands now throw an error if > there > > is no into clause and the target is not a declared variable > > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now > supported > > - Local file and content access has been re-enabled in the browser widget > > and native control on Android > > - Touch events now occur at the correct location when handled by objects > > underneath a disabled Android scroller > > - SVG elements with a stroke-width of 0 are no longer drawn with a > hairline > > stroke > > - There is no longer a delay when opening the IDE menus on macOS > > - Selecting a specific browser to test a web project against now works > > correctly > > - The overhead of using "do .." to evaluate long JavaScript scripts in > the > > browser widget on Android has been greatly reduced > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > > 14.4 SDK > > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS > 15.2 > > SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: From the start of April 2021, Apple is only accepting apps > built > > using iOS14.x SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.15 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 at > > http://forums.livecode.com > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Tue Dec 21 12:33:30 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Dec 2021 17:33:30 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: Hmmm - maybe I'm missing something, but .... Can't you use the feature of "using a numeric-indexed array as key" ? (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: put "a,b,c" into tA split tA by comma -- now we have tA[1]="a", tA[2]="b", tA[3]="c" put "def" into tArray[tA] -- now tArray["a"]["b"]["c"] = "def" So, where Brian's code does > put the hilitedElement of the target into tElement > put 0 into tIndex > repeat for each item tItem in tElement >    add 1 to tIndex >    put tItem into tReference[tIndex] > end repeat > set the htmltext of field "ItemText" to tArray[tReference] that should be equivalent to put the hilitedElement of the target into tElement split tElement by comma set the htmltext of field "ItemText" to tArray[tElement] Alex. P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. On 21/12/2021 15:19, Brian Milby via use-livecode wrote: > I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isnt obvious. > > https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript > > You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. > > It is part of a more involved stack, but the card with this widget may be helpful for your purposes. > > Thanks, > Brian > > Sent from my iPhone > >> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data Im interested in. >> >> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >> on hiliteChanged >> >> put the arrayData of control "Tree" into tTreeData >> >> put the hilitedElement of control "Tree" into tHilitedElement >> >> // Identify element depth >> >> put the number of items in tHilitedElement into tDepth >> >> put 0 into tLevelCount >> >> repeat for each item tKey in tHilitedElement >> >> add 1 to tLevelCount >> >> put tKey into tLevel[tLevelCount] >> >> put "[tLevel[" & tLevelCount & "]]" after tElement >> >> end repeat >> >> // Build array key to show element value in field >> >> switch tDepth >> >> case 1 >> >> put tTreeData[tLevel[1]] into field "Test" >> >> break >> >> case 2 >> >> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >> >> break >> >> case 3 >> >> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >> >> break >> >> end switch >> >> end hiliteChanged >> >> Im sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >> >> Best, >> Keith >> >>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>> >>> Im using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>> >>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[Pages][1][text] - into a field to read the detail extracted. (Currently Im putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as Ive got!) >>> >>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesnt get immediate access to the elements value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, Im simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>> >>> If Ive missed a simple means to access the Tree View elements value directly on click', Ill gladly change course! >>> Best, >>> Keith >>> >>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>> >>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>> >>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>> >>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>> Hi folks, >>>>> Im struggling to access the value from a Tree View widgets data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>> The following test script (on the Tree widget) successfully gets the Trees arrayData into tTreeData and creates a correct-looking nested array key syntax for any changing tHilitedElement. >>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the elements value. >>>>> on hiliteChanged >>>>> put the hilitedElement of me into tHilitedElement >>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>> put "[" & quote before tHilitedElement >>>>> put quote & "]" after tHilitedElement >>>>> put the arrayData of me into tTreeData >>>>> put tTreeData & tHilitedElement >>>>> end hiliteChanged >>>>> Ive tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>> TIA. >>>>> 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 >>>> >>>> -- >>>> 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 From curry at pair.com Tue Dec 21 12:38:50 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 21 Dec 2021 12:38:50 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <461548a9-ddee-8fe2-c25b-fc16b6d88661@pair.com> Panos: > including fixes for lots of > the bugs you requested in the recent survey Nice! A great day for LiveCode.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From alex at tweedly.net Tue Dec 21 12:40:13 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Dec 2021 17:40:13 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: On 21/12/2021 15:27, panagiotis m via use-livecode wrote: > Hello Mike, > >>>>> When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were > ignored, because for some reasons deep in the engine, if they were not > ignored, LC was freezing and eventually crashing. This behavior has now > changed, and these errors are caught in an error dialog window, rather > than failing silently. Thank you, thank you, thank you. This hits me all the time, when I mess up something in a resizeStack handler. Of course, knowing that, I should test resizeStack handlers properly.  hmph. Alex. From keith.clarke at me.com Tue Dec 21 13:13:09 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 18:13:09 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: Ah, yes of course - split a list variable with comma to form an array, being the inverse of combine tArray with comma to create a list. "The Worm is the Spice! The Spice is the Worm!” - the Dune weird array thing! Thank you, Alex - another synapse is ignited by the enlightenment… for a while, anyway! :D Best, Keith > On 21 Dec 2021, at 17:33, Alex Tweedly via use-livecode wrote: > > Hmmm - maybe I'm missing something, but .... > > Can't you use the feature of "using a numeric-indexed array as key" ? > > (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: > > put "a,b,c" into tA > split tA by comma > -- now we have tA[1]="a", tA[2]="b", tA[3]="c" > put "def" into tArray[tA] > -- now tArray["a"]["b"]["c"] = "def" > > So, where Brian's code does > >> put the hilitedElement of the target into tElement >> put 0 into tIndex >> repeat for each item tItem in tElement >> add 1 to tIndex >> put tItem into tReference[tIndex] >> end repeat >> set the htmltext of field "ItemText" to tArray[tReference] > > that should be equivalent to > > put the hilitedElement of the target into tElement > split tElement by comma > set the htmltext of field "ItemText" to tArray[tElement] > > Alex. > > P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. > > > > On 21/12/2021 15:19, Brian Milby via use-livecode wrote: > >> I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. >> >> https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript >> >> You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. >> >> It is part of a more involved stack, but the card with this widget may be helpful for your purposes. >> >> Thanks, >> Brian >> >> Sent from my iPhone >> >>> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >>> >>> Hi folks, >>> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. >>> >>> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >>> on hiliteChanged >>> >>> put the arrayData of control "Tree" into tTreeData >>> >>> put the hilitedElement of control "Tree" into tHilitedElement >>> >>> // Identify element depth >>> >>> put the number of items in tHilitedElement into tDepth >>> >>> put 0 into tLevelCount >>> >>> repeat for each item tKey in tHilitedElement >>> >>> add 1 to tLevelCount >>> >>> put tKey into tLevel[tLevelCount] >>> >>> put "[tLevel[" & tLevelCount & "]]" after tElement >>> >>> end repeat >>> >>> // Build array key to show element value in field >>> >>> switch tDepth >>> >>> case 1 >>> >>> put tTreeData[tLevel[1]] into field "Test" >>> >>> break >>> >>> case 2 >>> >>> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >>> >>> break >>> >>> case 3 >>> >>> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >>> >>> break >>> >>> end switch >>> >>> end hiliteChanged >>> >>> I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >>> >>> Best, >>> Keith >>> >>>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>>> >>>> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>>> >>>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >>>> >>>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>>> >>>> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >>>> Best, >>>> Keith >>>> >>>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>>> >>>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>>> >>>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>>> >>>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>>> Hi folks, >>>>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>>>> on hiliteChanged >>>>>> put the hilitedElement of me into tHilitedElement >>>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>>> put "[" & quote before tHilitedElement >>>>>> put quote & "]" after tHilitedElement >>>>>> put the arrayData of me into tTreeData >>>>>> put tTreeData & tHilitedElement >>>>>> end hiliteChanged >>>>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>>> TIA. >>>>>> 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 >>>>> >>>>> -- >>>>> 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 brian at milby7.com Tue Dec 21 13:54:41 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Dec 2021 13:54:41 -0500 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: <799A276A-6BB0-4BB5-A199-82A67B524A53@milby7.com> I’ll admit that I modeled my code after code in the IDE somewhere (property editor). Now I wonder why they didn’t just use split. Sent from my iPhone > On Dec 21, 2021, at 1:14 PM, Keith Clarke via use-livecode wrote: > > Ah, yes of course - split a list variable with comma to form an array, being the inverse of combine tArray with comma to create a list. > > "The Worm is the Spice! The Spice is the Worm!” - the Dune weird array thing! > > Thank you, Alex - another synapse is ignited by the enlightenment… for a while, anyway! :D > Best, > Keith > >> On 21 Dec 2021, at 17:33, Alex Tweedly via use-livecode wrote: >> >> Hmmm - maybe I'm missing something, but .... >> >> Can't you use the feature of "using a numeric-indexed array as key" ? >> >> (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: >> >> put "a,b,c" into tA >> split tA by comma >> -- now we have tA[1]="a", tA[2]="b", tA[3]="c" >> put "def" into tArray[tA] >> -- now tArray["a"]["b"]["c"] = "def" >> >> So, where Brian's code does >> >>> put the hilitedElement of the target into tElement >>> put 0 into tIndex >>> repeat for each item tItem in tElement >>> add 1 to tIndex >>> put tItem into tReference[tIndex] >>> end repeat >>> set the htmltext of field "ItemText" to tArray[tReference] >> >> that should be equivalent to >> >> put the hilitedElement of the target into tElement >> split tElement by comma >> set the htmltext of field "ItemText" to tArray[tElement] >> >> Alex. >> >> P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. >> >> >> >> On 21/12/2021 15:19, Brian Milby via use-livecode wrote: >> >>> I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. >>> >>> https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript >>> >>> You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. >>> >>> It is part of a more involved stack, but the card with this widget may be helpful for your purposes. >>> >>> Thanks, >>> Brian >>> >>> Sent from my iPhone >>> >>>> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >>>> >>>> Hi folks, >>>> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. >>>> >>>> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >>>> on hiliteChanged >>>> >>>> put the arrayData of control "Tree" into tTreeData >>>> >>>> put the hilitedElement of control "Tree" into tHilitedElement >>>> >>>> // Identify element depth >>>> >>>> put the number of items in tHilitedElement into tDepth >>>> >>>> put 0 into tLevelCount >>>> >>>> repeat for each item tKey in tHilitedElement >>>> >>>> add 1 to tLevelCount >>>> >>>> put tKey into tLevel[tLevelCount] >>>> >>>> put "[tLevel[" & tLevelCount & "]]" after tElement >>>> >>>> end repeat >>>> >>>> // Build array key to show element value in field >>>> >>>> switch tDepth >>>> >>>> case 1 >>>> >>>> put tTreeData[tLevel[1]] into field "Test" >>>> >>>> break >>>> >>>> case 2 >>>> >>>> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >>>> >>>> break >>>> >>>> case 3 >>>> >>>> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >>>> >>>> break >>>> >>>> end switch >>>> >>>> end hiliteChanged >>>> >>>> I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >>>> >>>> Best, >>>> Keith >>>> >>>>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>>>> >>>>> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>>>> >>>>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >>>>> >>>>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>>>> >>>>> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >>>>> Best, >>>>> Keith >>>>> >>>>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>>>> >>>>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>>>> >>>>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>>>> >>>>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>>>> Hi folks, >>>>>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>>>>> on hiliteChanged >>>>>>> put the hilitedElement of me into tHilitedElement >>>>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>>>> put "[" & quote before tHilitedElement >>>>>>> put quote & "]" after tHilitedElement >>>>>>> put the arrayData of me into tTreeData >>>>>>> put tTreeData & tHilitedElement >>>>>>> end hiliteChanged >>>>>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>>>> TIA. >>>>>>> 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 >>>>>> >>>>>> -- >>>>>> 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 eurolinkal at aol.com Tue Dec 21 16:40:20 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Tue, 21 Dec 2021 13:40:20 -0800 Subject: New user In-Reply-To: References: Message-ID: Thanks Matthias. Quite a lot there for me to get my head around, but thanks for pointing me in the right direction and giving me hope! Much appreciated, Alex On December 21, 2021 at 1:33:44 AM, matthias rebbe via use-livecode (use-livecode at lists.runrev.com) wrote: Hi Alex, does the developer of the I/O board provides an SDK? Best would be of course, that SDK would have support for Livecode, but i assume the latter is not the case. But if the developer of that board has an sdk for example with prebuilt .dll you could try to create a wrapper with Livecode Builder. How is the board detected on Windows? As a serial device? If so, you could communicate with it through Livecode. Please have a look at 'open driver' in the dictionary. Matthias > Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode : > > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 21 17:54:35 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Dec 2021 23:54:35 +0100 Subject: Some questions about Livecode standalones / Livecode Server on Synology NAS with Intel cpu Message-ID: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Hi, is there someone on the list who is using Livecode Server on a Synology NAS with Intel cpu? If so, did you manage to get it working also with the webserver or only from command line? Today i installed Livecode Server on my Synology NAS with Intel cpu. I am able to run Livecode scripts from the command line. But i do not get it to work, that i can call LC script from my browser. I tried the .htaccess method to get Livecode Server running with Apache without success. I tried also to modify the httdp-conf file, but also without success. But that is due to a lack of knowledge. I would be really grateful if someone could help me getting Livecode Server to work with Apache and not only from command line. Or did someone already create a standalone with LC that could be run on the Synology desktop and not only on the command line? I am able to run 64but Unix LC standalones from the Commandline with the -ui switch. It was even possible to use the Synology scheduler to execute those standalones. Now i am wondering how complicate it would be to package LC standalones to get them installed so they can be run with a gui. Anyone out there who works with LC standalones / LC server on Synology with Intel cpu? Regards, Matthias From sean at pidigital.co.uk Tue Dec 21 20:35:37 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Wed, 22 Dec 2021 01:35:37 +0000 Subject: New user In-Reply-To: References: Message-ID: Hi Alex Welcome! I've done exactly and very similar to what you are describing about 6yrs ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For lighting up miniatures of housing estates and apartment blocks. And then for some film miniatures for toy commercials and so on. Once you've installed the driver for your adapter on Win10, go to the Device Manager, Ports and find out what COM port it's linked to (eg, COM2). Now in LiveCode, you don't need to know the driver name to write to. Just use the command: open driver "COM2:" for write This sets the plane for communication. Next, you need to set up the settings, eg: set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" These are actually the default settings, so do nothing if these are the settings you want. Now you just need to know the commands to send. https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 write "readall" & return to driver "COM2:" read from driver "COM2:" for 4 -- ie, 4 characters The read command immediately after the write allows it to accept the response from the GPIO, in this example, for 4 characters in length (to receive the 4 hex characters like 16AF) And that's it pretty much. It's super easy and fun. With Wifi modules you can use any device to communicate with them. We used iPad mini's which made it super flexible. Let us all know if you run into any issues and need help. All the best Sean Cole *Pi Digital Productions Ltd* On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way > through a project which I think I can complete. However the project has to > be able to communicate with an I/O board (Numato 16 channel USB GPIO Module > for example) from a Windows Standalone application. I have not been able to > find any guidance or samples for how to do this. This has led me to wonder > if it is even possible to creat some kind of serial communication using LC > or whether I should start over with a different platform. I am doing the LC > work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From General.2018 at outlook.com Wed Dec 22 05:24:01 2021 From: General.2018 at outlook.com (General 2018) Date: Wed, 22 Dec 2021 10:24:01 +0000 Subject: New user In-Reply-To: References: Message-ID: Just need this capability on Android - please Livecode Regards Camm > On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: > > Hi Alex > Welcome! > I've done exactly and very similar to what you are describing about 6yrs > ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For > lighting up miniatures of housing estates and apartment blocks. And then > for some film miniatures for toy commercials and so on. > > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > >> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >> through a project which I think I can complete. However the project has to >> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >> for example) from a Windows Standalone application. I have not been able to >> find any guidance or samples for how to do this. This has led me to wonder >> if it is even possible to creat some kind of serial communication using LC >> or whether I should start over with a different platform. I am doing the LC >> work using a Mac. Any help or advice would be much appreciated. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 05:50:49 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 22 Dec 2021 10:50:49 +0000 Subject: New user In-Reply-To: References: Message-ID: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> For Android and iOS, use WiFi and sockets. This is just as quick and easy. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: > > Just need this capability on Android - please Livecode > > Regards Camm > >> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >> >> Hi Alex >> Welcome! >> I've done exactly and very similar to what you are describing about 6yrs >> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >> lighting up miniatures of housing estates and apartment blocks. And then >> for some film miniatures for toy commercials and so on. >> >> Once you've installed the driver for your adapter on Win10, go to the >> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >> Now in LiveCode, you don't need to know the driver name to write to. Just >> use the command: >> open driver "COM2:" for write >> This sets the plane for communication. Next, you need to set up the >> settings, eg: >> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >> These are actually the default settings, so do nothing if these are the >> settings you want. >> Now you just need to know the commands to send. >> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >> write "readall" & return to driver "COM2:" >> read from driver "COM2:" for 4 -- ie, 4 characters >> The read command immediately after the write allows it to accept the >> response from the GPIO, in this example, for 4 characters in length (to >> receive the 4 hex characters like 16AF) >> >> And that's it pretty much. It's super easy and fun. With Wifi modules you >> can use any device to communicate with them. We used iPad mini's which made >> it super flexible. >> >> Let us all know if you run into any issues and need help. >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> >>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>> through a project which I think I can complete. However the project has to >>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>> for example) from a Windows Standalone application. I have not been able to >>> find any guidance or samples for how to do this. This has led me to wonder >>> if it is even possible to creat some kind of serial communication using LC >>> or whether I should start over with a different platform. I am doing the LC >>> work using a Mac. Any help or advice would be much appreciated. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Wed Dec 22 06:21:06 2021 From: General.2018 at outlook.com (General 2018) Date: Wed, 22 Dec 2021 11:21:06 +0000 Subject: New user In-Reply-To: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. Just Android needed to be cross platform in real world interfacing. Regards Camm > On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: > > For Android and iOS, use WiFi and sockets. This is just as quick and easy. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >> >> Just need this capability on Android - please Livecode >> >> Regards Camm >> >>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>> >>> Hi Alex >>> Welcome! >>> I've done exactly and very similar to what you are describing about 6yrs >>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>> lighting up miniatures of housing estates and apartment blocks. And then >>> for some film miniatures for toy commercials and so on. >>> >>> Once you've installed the driver for your adapter on Win10, go to the >>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>> Now in LiveCode, you don't need to know the driver name to write to. Just >>> use the command: >>> open driver "COM2:" for write >>> This sets the plane for communication. Next, you need to set up the >>> settings, eg: >>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>> These are actually the default settings, so do nothing if these are the >>> settings you want. >>> Now you just need to know the commands to send. >>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>> write "readall" & return to driver "COM2:" >>> read from driver "COM2:" for 4 -- ie, 4 characters >>> The read command immediately after the write allows it to accept the >>> response from the GPIO, in this example, for 4 characters in length (to >>> receive the 4 hex characters like 16AF) >>> >>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>> can use any device to communicate with them. We used iPad mini's which made >>> it super flexible. >>> >>> Let us all know if you run into any issues and need help. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>> through a project which I think I can complete. However the project has to >>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>> for example) from a Windows Standalone application. I have not been able to >>>> find any guidance or samples for how to do this. This has led me to wonder >>>> if it is even possible to creat some kind of serial communication using LC >>>> or whether I should start over with a different platform. I am doing the LC >>>> work using a Mac. Any help or advice would be much appreciated. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 22 06:29:36 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 22 Dec 2021 06:29:36 -0500 Subject: Serial Communication with an I/O board (New user) In-Reply-To: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Good topic; probably deserves a relevant subject line! :) (Easier to notice, both live and in the Archive.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ === Alex: > the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. Sean: > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* From dougr at telus.net Wed Dec 22 10:59:44 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 22 Dec 2021 07:59:44 -0800 Subject: New user In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: <0b6a01d7f74c$f0232810$d0697830$@telus.net> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: "... Livecode has Bluetooth for Windows via VCP ..." I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! Anyone? Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode Sent: Wednesday, December 22, 2021 3:21 AM To: How to use LiveCode Cc: General 2018 Subject: Re: New user Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. Just Android needed to be cross platform in real world interfacing. Regards Camm > On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: > > For Android and iOS, use WiFi and sockets. This is just as quick and easy. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >> >> Just need this capability on Android - please Livecode >> >> Regards Camm >> >>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>> >>> Hi Alex >>> Welcome! >>> I've done exactly and very similar to what you are describing about 6yrs >>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>> lighting up miniatures of housing estates and apartment blocks. And then >>> for some film miniatures for toy commercials and so on. >>> >>> Once you've installed the driver for your adapter on Win10, go to the >>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>> Now in LiveCode, you don't need to know the driver name to write to. Just >>> use the command: >>> open driver "COM2:" for write >>> This sets the plane for communication. Next, you need to set up the >>> settings, eg: >>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>> These are actually the default settings, so do nothing if these are the >>> settings you want. >>> Now you just need to know the commands to send. >>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>> write "readall" & return to driver "COM2:" >>> read from driver "COM2:" for 4 -- ie, 4 characters >>> The read command immediately after the write allows it to accept the >>> response from the GPIO, in this example, for 4 characters in length (to >>> receive the 4 hex characters like 16AF) >>> >>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>> can use any device to communicate with them. We used iPad mini's which made >>> it super flexible. >>> >>> Let us all know if you run into any issues and need help. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>> through a project which I think I can complete. However the project has to >>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>> for example) from a Windows Standalone application. I have not been able to >>>> find any guidance or samples for how to do this. This has led me to wonder >>>> if it is even possible to creat some kind of serial communication using LC >>>> or whether I should start over with a different platform. I am doing the LC >>>> work using a Mac. Any help or advice would be much appreciated. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 22 11:47:01 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 17:47:01 +0100 Subject: New user In-Reply-To: <0b6a01d7f74c$f0232810$d0697830$@telus.net> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> Message-ID: <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. HTH Matthias > Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : > > I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: > "... Livecode has Bluetooth for Windows via VCP ..." > > I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! > > Anyone? > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode > Sent: Wednesday, December 22, 2021 3:21 AM > To: How to use LiveCode > Cc: General 2018 > Subject: Re: New user > > Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. > > Just Android needed to be cross platform in real world interfacing. > > Regards Camm > >> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >> >> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >> >> Sean Cole >> Pi Digital Productions Ltd >> >> eMail Ts & Cs >> >> >>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>> >>> Just need this capability on Android - please Livecode >>> >>> Regards Camm >>> >>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>> >>>> Hi Alex >>>> Welcome! >>>> I've done exactly and very similar to what you are describing about 6yrs >>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>> lighting up miniatures of housing estates and apartment blocks. And then >>>> for some film miniatures for toy commercials and so on. >>>> >>>> Once you've installed the driver for your adapter on Win10, go to the >>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>> use the command: >>>> open driver "COM2:" for write >>>> This sets the plane for communication. Next, you need to set up the >>>> settings, eg: >>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>> These are actually the default settings, so do nothing if these are the >>>> settings you want. >>>> Now you just need to know the commands to send. >>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>> write "readall" & return to driver "COM2:" >>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>> The read command immediately after the write allows it to accept the >>>> response from the GPIO, in this example, for 4 characters in length (to >>>> receive the 4 hex characters like 16AF) >>>> >>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>> can use any device to communicate with them. We used iPad mini's which made >>>> it super flexible. >>>> >>>> Let us all know if you run into any issues and need help. >>>> >>>> All the best >>>> >>>> Sean Cole >>>> *Pi Digital Productions Ltd* >>>> >>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>> through a project which I think I can complete. However the project has to >>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>> for example) from a Windows Standalone application. I have not been able to >>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>> if it is even possible to creat some kind of serial communication using LC >>>>> or whether I should start over with a different platform. I am doing the LC >>>>> work using a Mac. Any help or advice would be much appreciated. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 11:54:44 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 17:54:44 +0100 Subject: New user In-Reply-To: <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> Message-ID: <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> What i forgot to mention: The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device. > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode : > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. > > In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. > > HTH > > Matthias > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : >> >> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: >> "... Livecode has Bluetooth for Windows via VCP ..." >> >> I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! >> >> Anyone? >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode >> Sent: Wednesday, December 22, 2021 3:21 AM >> To: How to use LiveCode >> Cc: General 2018 >> Subject: Re: New user >> >> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. >> >> Just Android needed to be cross platform in real world interfacing. >> >> Regards Camm >> >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >>> >>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >>> >>> Sean Cole >>> Pi Digital Productions Ltd >>> >>> eMail Ts & Cs >>> >>> >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>>> >>>> Just need this capability on Android - please Livecode >>>> >>>> Regards Camm >>>> >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>>> >>>>> Hi Alex >>>>> Welcome! >>>>> I've done exactly and very similar to what you are describing about 6yrs >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>>> lighting up miniatures of housing estates and apartment blocks. And then >>>>> for some film miniatures for toy commercials and so on. >>>>> >>>>> Once you've installed the driver for your adapter on Win10, go to the >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>>> use the command: >>>>> open driver "COM2:" for write >>>>> This sets the plane for communication. Next, you need to set up the >>>>> settings, eg: >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>>> These are actually the default settings, so do nothing if these are the >>>>> settings you want. >>>>> Now you just need to know the commands to send. >>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>>> write "readall" & return to driver "COM2:" >>>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>>> The read command immediately after the write allows it to accept the >>>>> response from the GPIO, in this example, for 4 characters in length (to >>>>> receive the 4 hex characters like 16AF) >>>>> >>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>>> can use any device to communicate with them. We used iPad mini's which made >>>>> it super flexible. >>>>> >>>>> Let us all know if you run into any issues and need help. >>>>> >>>>> All the best >>>>> >>>>> Sean Cole >>>>> *Pi Digital Productions Ltd* >>>>> >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>>> through a project which I think I can complete. However the project has to >>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>>> for example) from a Windows Standalone application. I have not been able to >>>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>>> if it is even possible to creat some kind of serial communication using LC >>>>>> or whether I should start over with a different platform. I am doing the LC >>>>>> work using a Mac. Any help or advice would be much appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Wed Dec 22 12:09:58 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 22 Dec 2021 09:09:58 -0800 Subject: New user In-Reply-To: <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> Message-ID: <0ba501d7f756$c0475f30$40d61d90$@telus.net> Much appreciated ... that's what I needed to explore this "feature" Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Wednesday, December 22, 2021 8:55 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: New user What i forgot to mention: The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device. > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode : > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. > > In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. > > HTH > > Matthias > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : >> >> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: >> "... Livecode has Bluetooth for Windows via VCP ..." >> >> I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! >> >> Anyone? >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode >> Sent: Wednesday, December 22, 2021 3:21 AM >> To: How to use LiveCode >> Cc: General 2018 >> Subject: Re: New user >> >> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. >> >> Just Android needed to be cross platform in real world interfacing. >> >> Regards Camm >> >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >>> >>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >>> >>> Sean Cole >>> Pi Digital Productions Ltd >>> >>> eMail Ts & Cs >>> >>> >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>>> >>>> Just need this capability on Android - please Livecode >>>> >>>> Regards Camm >>>> >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>>> >>>>> Hi Alex >>>>> Welcome! >>>>> I've done exactly and very similar to what you are describing about 6yrs >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>>> lighting up miniatures of housing estates and apartment blocks. And then >>>>> for some film miniatures for toy commercials and so on. >>>>> >>>>> Once you've installed the driver for your adapter on Win10, go to the >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>>> use the command: >>>>> open driver "COM2:" for write >>>>> This sets the plane for communication. Next, you need to set up the >>>>> settings, eg: >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>>> These are actually the default settings, so do nothing if these are the >>>>> settings you want. >>>>> Now you just need to know the commands to send. >>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>>> write "readall" & return to driver "COM2:" >>>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>>> The read command immediately after the write allows it to accept the >>>>> response from the GPIO, in this example, for 4 characters in length (to >>>>> receive the 4 hex characters like 16AF) >>>>> >>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>>> can use any device to communicate with them. We used iPad mini's which made >>>>> it super flexible. >>>>> >>>>> Let us all know if you run into any issues and need help. >>>>> >>>>> All the best >>>>> >>>>> Sean Cole >>>>> *Pi Digital Productions Ltd* >>>>> >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>>> through a project which I think I can complete. However the project has to >>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>>> for example) from a Windows Standalone application. I have not been able to >>>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>>> if it is even possible to creat some kind of serial communication using LC >>>>>> or whether I should start over with a different platform. I am doing the LC >>>>>> work using a Mac. Any help or advice would be much appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Wed Dec 22 12:16:05 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 12:16:05 -0500 Subject: Serial Communication with an I/O board (New user) In-Reply-To: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: Hi Curry Thanks. I thought this would be cool to play around with one day but I would never remember where I saw it. This will help an old brain. It would make also make a good LiveCode Lesson. Once Alex figures it all out and has it all working they can document the process and submit it as a LiveCode Lesson and thereby gain instant fame and fortune ... well at least the gratitude of those who follow afterward… maybe even themselves (see more in my next email “Communication with future you with a message board”.) Martin > On Dec 22, 2021, at 6:29 AM, Curry Kenworthy via use-livecode wrote: > > > Good topic; probably deserves a relevant subject line! :) > (Easier to notice, both live and in the Archive.) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > === > > Alex: > > > the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. > > Sean: > >> Once you've installed the driver for your adapter on Win10, go to the >> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >> Now in LiveCode, you don't need to know the driver name to write to. Just >> use the command: >> open driver "COM2:" for write >> This sets the plane for communication. Next, you need to set up the >> settings, eg: >> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >> These are actually the default settings, so do nothing if these are the >> settings you want. >> Now you just need to know the commands to send. >> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >> write "readall" & return to driver "COM2:" >> read from driver "COM2:" for 4 -- ie, 4 characters >> The read command immediately after the write allows it to accept the >> response from the GPIO, in this example, for 4 characters in length (to >> receive the 4 hex characters like 16AF) >> And that's it pretty much. It's super easy and fun. With Wifi modules you >> can use any device to communicate with them. We used iPad mini's which made >> it super flexible. >> Let us all know if you run into any issues and need help. >> All the best >> Sean Cole >> *Pi Digital Productions Ltd* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Dec 22 12:24:36 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 22 Dec 2021 17:24:36 +0000 Subject: PDF Viewer widget: expected experience from set the currentDestination? Message-ID: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Hi folks, Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” Perhaps I’ve missed some settings on the widget to allow it to respond to this message? TIA Best, Keith From mkoob at rogers.com Wed Dec 22 12:40:55 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 12:40:55 -0500 Subject: Communication with future you with a message board In-Reply-To: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: Hi all I have been reading Alex Hughson’s thread "New user” renamed "Serial Communication with an I/O board (New user)” by Curry Kenworthy to make it easier for future users to find. It makes me think of something that happened a few times with me. I am trying to do something in LiveCode and I come up against a blocker. I start searching the use-livecode list, the LiveCode Forums, and also general web searches. Finally I find my answer — exactly what I wanted. Then I look at the author asking the original question or answering… Martin Koob. 🤦🏻‍♂️😳 So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? Anyway now when I am typing a question or a suggested answer I think I should put the salutation “Dear Future me.”. In any case once the problem is solved I do a final email summarizing what the final solution was and I do make sure there are some good keywords in the text that I would probably search for in the future when I have forgotten ever even working on this problem this let alone how to solve it. Martin Koob From kaveh at rivervalleytechnologies.com Wed Dec 22 12:48:37 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 22 Dec 2021 17:48:37 +0000 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: I have done exactly the same thing several times where my past self has been the only one asking exactly the question I need. But this is not limited to LiveCode forums. Yesterday I was scratching my head regarding a regex pattern. I was overjoyed when I found someone asking precisely the question I needed around 2 years back on StackExchange. It was my former self! https://stackoverflow.com/questions/60025513/regex-to-extract-lookbehind-and-lookahead-from-a-regex-pattern On Wed, 22 Dec 2021 at 17:42, Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all > > I have been reading Alex Hughson’s thread "New user” renamed "Serial > Communication with an I/O board (New user)” by Curry Kenworthy to make it > easier for future users to find. > > It makes me think of something that happened a few times with me. I am > trying to do something in LiveCode and I come up against a blocker. I > start searching the use-livecode list, the LiveCode Forums, and also > general web searches. Finally I find my answer — exactly what I wanted. > Then I look at the author asking the original question or answering… > Martin Koob. > 🤦🏻‍♂️😳 > > So I am curious — am I the only one whose mind is going or have others run > this mental recursive documentation loop? > > Anyway now when I am typing a question or a suggested answer I think I > should put the salutation “Dear Future me.”. In any case once the problem > is solved I do a final email summarizing what the final solution was and I > do make sure there are some good keywords in the text that I would probably > search for in the future when I have forgotten ever even working on this > problem this let alone how to solve it. > > Martin Koob > _______________________________________________ > use-livecode mailing list > use-livecode 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 ● ORCID *Accelerating the Communication of Research* From mark at canelasoftware.com Wed Dec 22 13:54:51 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 22 Dec 2021 10:54:51 -0800 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> > On Dec 21, 2021, at 6:44 AM, panagiotis merakos via use-livecode wrote: > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: This is an incredible release. Big thanks to LiveCode! Happy Holidays. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com From mkoob at rogers.com Wed Dec 22 14:47:12 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 14:47:12 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: It is nice to know that HyperCard stacks can still be opened. I had opened a HyperCard stack of an application that I had created in LiveCode ~ 6.x and for the most part it worked, A few fixes were needed and I was good to go. That HyperCard stack was the basis for an LC application I am still updating. There is still HyperTalk scripts from long ago hidden in various objects in my application. I can usually tell by how I named my variables — no prefixes, that and using way too many unquoted literals. Martin Koob > On Dec 21, 2021, at 9:44 AM, panagiotis merakos via use-livecode wrote: > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash From waprothero at gmail.com Wed Dec 22 15:34:03 2021 From: waprothero at gmail.com (William Prothero) Date: Wed, 22 Dec 2021 12:34:03 -0800 Subject: Livecode downloads VERY slow References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> Message-ID: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Folks: When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. Best, Bill William Prothero waprothero at gmail.com From mkoob at rogers.com Wed Dec 22 15:41:54 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 15:41:54 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: <29A55AFC-F9B9-43E2-94EB-035F3D310A8A@rogers.com> Hi Bill Are you downloading directly from https://downloads.livecode.com or are you using the LiveCode Updater stack that pops up when ever there is a new update? I just tried https://downloads.livecode.com and got the RC1 of LC 9.6.6 downloaded in less than 30 seconds or so. I have given up on using the LiveCode Updater stack. The download goes on forever and never seems to finish. Martin > On Dec 22, 2021, at 3:34 PM, William Prothero via use-livecode wrote: > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 22 15:47:57 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 14:47:57 -0600 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: > So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? Yes, more than once. The only comforting thing is that most of the time it was a response from many years ago and I'm not the same person any more. Maybe that's scary... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Wed Dec 22 15:51:48 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Dec 2021 12:51:48 -0800 Subject: Livecode Server on Synology NAS with Intel cpu In-Reply-To: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> References: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Message-ID: On 12/21/21 2:54 PM, matthias rebbe via use-livecode wrote: > Hi, > > is there someone on the list who is using Livecode Server on a Synology NAS with Intel cpu? If so, did you manage to get it working also with the webserver or only from command line? > > Today i installed Livecode Server on my Synology NAS with Intel cpu. > I am able to run Livecode scripts from the command line. But i do not get it to work, that i can call LC script from my browser. I tried the .htaccess method to get Livecode Server running with Apache without success. I tried also to modify the httdp-conf file, but also without success. But that is due to a lack of knowledge. > > I would be really grateful if someone could help me getting Livecode Server to work with Apache and not only from command line. Sorry - my Synology server has an arm processor, and there has never been an arm build of the server. Plus now it appears that the server build requires a separate license. I take it you've already been through the docs at https://livecode.com/resources/guides/server/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Dec 22 15:54:18 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 14:54:18 -0600 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: > It is nice to know that HyperCard stacks can still be opened. Yes, and what good timing. I just got the first HC conversion request in years. And my old copy of LC 6 won't run on my current Mac. Another thing I'm ecstatic about is the built-in Android adaptive icons. Struggling with altered IDE files for the last year made me crazy and it had to be done for every new LC release. And I usually made mistakes and had to revise them multiple times. This release is hugely appreciated, there's so much to love in it. Thank you, team! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Wed Dec 22 16:00:04 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Dec 2021 13:00:04 -0800 Subject: Communication with future you with a message board In-Reply-To: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote: > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious am I the only one whose mind is going or have others >> run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the time > it was a response from many years ago and I'm not the same person any > more. Maybe that's scary... > If you write a response maybe you can help out your previous self. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Dec 22 16:02:13 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Dec 2021 16:02:13 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: <004d01d7f777$34765c60$9d631520$@net> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous 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 William Prothero via use-livecode Sent: Wednesday, December 22, 2021 3:34 PM To: JJS via use-livecode Cc: William Prothero Subject: Livecode downloads VERY slow Folks: When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. Best, Bill William Prothero waprothero 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 rdimola at evergreeninfo.net Wed Dec 22 16:07:44 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Dec 2021 16:07:44 -0500 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: <005401d7f777$f98a0560$ec9e1020$@net> POOF your gone (grandfather paradox) But on the good side I may be able to play the Bach piece without mistakes. 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, December 22, 2021 4:00 PM To: J. Landman Gay via use-livecode Cc: Mark Wieder Subject: Re: Communication with future you with a message board On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote: > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious — am I the only one whose mind is going or have >> others run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the > time it was a response from many years ago and I'm not the same person > any more. Maybe that's scary... > If you write a response maybe you can help out your previous self. -- 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 prothero at earthlearningsolutions.org Wed Dec 22 16:19:20 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 13:19:20 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <004d01d7f777$34765c60$9d631520$@net> References: <004d01d7f777$34765c60$9d631520$@net> Message-ID: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> Ralph, I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. Grads, don’t we get spoiled! Best, Bill Sent from my iPad > On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: > > I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. > > I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous > > 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 William Prothero via use-livecode > Sent: Wednesday, December 22, 2021 3:34 PM > To: JJS via use-livecode > Cc: William Prothero > Subject: Livecode downloads VERY slow > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero 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 prothero at earthlearningsolutions.org Wed Dec 22 16:26:13 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 13:26:13 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> References: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> Message-ID: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> Ralph, Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret feature of apple that auto-errors writing. I meant Zoomers, of course (who are Sooners, anyway?) Actually, the auto-correct tried again to make that change. Fool me once …… etc. Best, Bill Sent from my iPad > On Dec 22, 2021, at 1:20 PM, William Prothero wrote: > > Ralph, > I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. > > Grads, don’t we get spoiled! > > Best, > Bill > > Sent from my iPad > >> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: >> >> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >> >> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >> >> 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 William Prothero via use-livecode >> Sent: Wednesday, December 22, 2021 3:34 PM >> To: JJS via use-livecode >> Cc: William Prothero >> Subject: Livecode downloads VERY slow >> >> Folks: >> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >> >> Best, >> Bill >> >> William Prothero >> waprothero 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 dochawk at gmail.com Wed Dec 22 16:26:38 2021 From: dochawk at gmail.com (doc hawk) Date: Wed, 22 Dec 2021 13:26:38 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: I’ve been using “wget -c http://somewhere.com/somefile” for decades now. Just leave it open in a terminal, and if it bombs partway through, just up-arrow it and run again, so that it continues from where it left off. Dropped connections have always been a bigger issue than speed for me. From matthias_livecode_150811 at m-r-d.de Wed Dec 22 17:18:53 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 23:18:53 +0100 Subject: Livecode Server on Synology NAS with Intel cpu In-Reply-To: References: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Message-ID: > Am 22.12.2021 um 21:51 schrieb Mark Wieder via use-livecode : > > Sorry - my Synology server has an arm processor, and there has never been an arm build of the server. Plus now it appears that the server build requires a separate license. > > I take it you've already been through the docs at > https://livecode.com/resources/guides/server/ Yes, thanks Mark, i've checked the docs already Unfortunately the folder structure/ location of the configuration files for Apache on the Synology are different to the description in the docs. Anyway, it took me now the half day to get it working. So now LC server is working in the browser and on the command line and LC standalones can be run also from command line in ui mode. That's awesome. I will create a Livecode lesson for this, so others can get it working much quicker. Matthias From tom at makeshyft.com Wed Dec 22 17:34:53 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 Dec 2021 17:34:53 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: Its so lovely to see a big list of fixes, thats how thats done. Thank you Livecode team and all the best for the Christmas season to everyone. On Wed, Dec 22, 2021 at 3:55 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: > > It is nice to know that HyperCard stacks can still be opened. > > Yes, and what good timing. I just got the first HC conversion request in > years. And my old copy > of LC 6 won't run on my current Mac. > > Another thing I'm ecstatic about is the built-in Android adaptive icons. > Struggling with > altered IDE files for the last year made me crazy and it had to be done > for every new LC > release. And I usually made mistakes and had to revise them multiple times. > > This release is hugely appreciated, there's so much to love in it. Thank > you, 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Wed Dec 22 17:35:31 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 Dec 2021 17:35:31 -0500 Subject: New user In-Reply-To: <0ba501d7f756$c0475f30$40d61d90$@telus.net> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> <0ba501d7f756$c0475f30$40d61d90$@telus.net> Message-ID: Welcome Alex. On Wed, Dec 22, 2021 at 12:11 PM Douglas A. Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > Much appreciated ... that's what I needed to explore this "feature" > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of matthias rebbe via use-livecode > Sent: Wednesday, December 22, 2021 8:55 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: New user > > What i forgot to mention: > The bluetooth device needs to support this. If you have paired the Windows > PC with a device that supports a virtual com port, then you should be able > to add a com port in that settings and link it to that bluetooth device. > > > > > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth > settings" or something similar to that. I am working with a german version > of Windows, so i do not have the exact english expression of it. > > > > In this "additional settings" click on the tab 'Com devices' . There you > can add a virtual com port. > > > > HTH > > > > Matthias > > > > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I'm hopeful that General 2018 or anyone can expand on the reference to > General's statement of: > >> "... Livecode has Bluetooth for Windows via VCP ..." > >> > >> I've searched thru the forum and cannot find any references to this. > Virtual Com Port (VCP) is associated with USB and FTDI chips (or > emulations) and is used for Serial communications (common in Arduino > builds) but I've never heard it associated with Bluetooth. If there is > information regarding Livecode being able to use Bluetooth on a Windows > platform, I'd GREATLY appreciate knowing more about it! > >> > >> Anyone? > >> > >> Douglas Ruisaard > >> > >> Trilogy Software > >> (250) 573-3935 > >> > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of General 2018 via use-livecode > >> Sent: Wednesday, December 22, 2021 3:21 AM > >> To: How to use LiveCode > >> Cc: General 2018 > >> Subject: Re: New user > >> > >> Android Bluetooth / USB would be the ideal as seems to be the most used > interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS > via MergeBLE. > >> > >> Just Android needed to be cross platform in real world interfacing. > >> > >> Regards Camm > >> > >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> For Android and iOS, use WiFi and sockets. This is just as quick and > easy. > >>> > >>> Sean Cole > >>> Pi Digital Productions Ltd > >>> > >>> eMail Ts & Cs > >>> > >>> > >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Just need this capability on Android - please Livecode > >>>> > >>>> Regards Camm > >>>> > >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hi Alex > >>>>> Welcome! > >>>>> I've done exactly and very similar to what you are describing about > 6yrs > >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. > For > >>>>> lighting up miniatures of housing estates and apartment blocks. And > then > >>>>> for some film miniatures for toy commercials and so on. > >>>>> > >>>>> Once you've installed the driver for your adapter on Win10, go to the > >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, > COM2). > >>>>> Now in LiveCode, you don't need to know the driver name to write to. > Just > >>>>> use the command: > >>>>> open driver "COM2:" for write > >>>>> This sets the plane for communication. Next, you need to set up the > >>>>> settings, eg: > >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > >>>>> These are actually the default settings, so do nothing if these are > the > >>>>> settings you want. > >>>>> Now you just need to know the commands to send. > >>>>> > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > >>>>> write "readall" & return to driver "COM2:" > >>>>> read from driver "COM2:" for 4 -- ie, 4 characters > >>>>> The read command immediately after the write allows it to accept the > >>>>> response from the GPIO, in this example, for 4 characters in length > (to > >>>>> receive the 4 hex characters like 16AF) > >>>>> > >>>>> And that's it pretty much. It's super easy and fun. With Wifi > modules you > >>>>> can use any device to communicate with them. We used iPad mini's > which made > >>>>> it super flexible. > >>>>> > >>>>> Let us all know if you run into any issues and need help. > >>>>> > >>>>> All the best > >>>>> > >>>>> Sean Cole > >>>>> *Pi Digital Productions Ltd* > >>>>> > >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work > my way > >>>>>> through a project which I think I can complete. However the project > has to > >>>>>> be able to communicate with an I/O board (Numato 16 channel USB > GPIO Module > >>>>>> for example) from a Windows Standalone application. I have not been > able to > >>>>>> find any guidance or samples for how to do this. This has led me to > wonder > >>>>>> if it is even possible to creat some kind of serial communication > using LC > >>>>>> or whether I should start over with a different platform. I am > doing the LC > >>>>>> work using a Mac. Any help or advice would be much appreciated. > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mkoob at rogers.com Wed Dec 22 19:41:42 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 19:41:42 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <004d01d7f777$34765c60$9d631520$@net> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> Message-ID: <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> I must be in the really ancient fogey range. I remember 1200 baud modems. In the late ’80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort From the above article here are GeoPort speeds. GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) Martin > On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: > > I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. > > I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous > > 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 William Prothero via use-livecode > Sent: Wednesday, December 22, 2021 3:34 PM > To: JJS via use-livecode > Cc: William Prothero > Subject: Livecode downloads VERY slow > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero 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 alex at tweedly.net Wed Dec 22 20:14:23 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2021 01:14:23 +0000 Subject: Livecode downloads VERY slow In-Reply-To: <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> Message-ID: OK, memory lane time. Before we had 1200 baud modems, we used to use acoustic couplers. I often used one to call from the main office (England) to our US office, at a mind-blowing 300 baud. Problem was, in those days (1978 I think), even voice transatlantic calls were hit or miss. Often you got a undersea cable connection (slight delay and echo, but you could have an almost normal conversation), other times you got a satellite connection (usually little or no echo but very high latency, making conversation frustrating). The acoustic coupler call would fail if you got the wrong kind of connection, so we'd usually wait until the middle for the night to make it more likely we'd get a successful call. Ah fond memories of the days when I could stay up till 3am and still function the next day :-) Alex. On 23/12/2021 00:41, Martin Koob via use-livecode wrote: > I must be in the really ancient fogey range. > > I remember 1200 baud modems. In the late 80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. > Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html > > I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort > > From the above article here are GeoPort speeds. > GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) > GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) > GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) > > Martin > > >> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: >> >> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using SpeedTest, I get 110Mb/sec. >> >> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >> >> 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 William Prothero via use-livecode >> Sent: Wednesday, December 22, 2021 3:34 PM >> To: JJS via use-livecode >> Cc: William Prothero >> Subject: Livecode downloads VERY slow >> >> Folks: >> When I download an update to Livecode, it takes hours. Im wondering why. Locally, using SpeedTest, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >> >> Best, >> Bill >> >> William Prothero >> waprothero 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 prothero at earthlearningsolutions.org Wed Dec 22 22:39:40 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 19:39:40 -0800 Subject: Livecode downloads VERY slow In-Reply-To: References: Message-ID: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> I bet I got you all beat, for geezerdom. I learned to program Fortran on punch cards. 3 runs a day and output was delivered by a messenger, human that is. No freakin’ internet for me! If I remember right, our mainframe, a CDC 3600 had 512K of memory. Merry Christmas, fellow Livecoders. Bill Prothero Sent from my iPad > On Dec 22, 2021, at 5:14 PM, Alex Tweedly via use-livecode wrote: > > OK, memory lane time. > > Before we had 1200 baud modems, we used to use acoustic couplers. I often used one to call from the main office (England) to our US office, at a mind-blowing 300 baud. > > Problem was, in those days (1978 I think), even voice transatlantic calls were hit or miss. Often you got a undersea cable connection (slight delay and echo, but you could have an almost normal conversation), other times you got a satellite connection (usually little or no echo but very high latency, making conversation frustrating). > > The acoustic coupler call would fail if you got the wrong kind of connection, so we'd usually wait until the middle for the night to make it more likely we'd get a successful call. > > Ah fond memories of the days when I could stay up till 3am and still function the next day :-) > > Alex. > >> On 23/12/2021 00:41, Martin Koob via use-livecode wrote: >> I must be in the really ancient fogey range. >> >> I remember 1200 baud modems. In the late ’80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. >> Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html >> >> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort >> >> From the above article here are GeoPort speeds. >> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) >> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) >> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) >> >> Martin >> >> >>>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 monte at appisle.net Wed Dec 22 22:53:15 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 23 Dec 2021 14:53:15 +1100 Subject: PDF Viewer widget: expected experience from set the currentDestination? In-Reply-To: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> References: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Message-ID: Hi Keith Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 Here’s a simple example of using the currentDestination though: local tDest put "goto" into tDest["type”] put "Fit" into tDest["mode”] put 3 into tDest["page”] set the currentDestination of widget “pdf" to tDest Cheers Monte > On 23 Dec 2021, at 4:24 am, Keith Clarke via use-livecode wrote: > > Hi folks, > Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? > > I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? > > Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... > > "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” > > Perhaps I’ve missed some settings on the widget to allow it to respond to this message? > TIA > 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 jacque at hyperactivesw.com Thu Dec 23 00:51:34 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 23:51:34 -0600 Subject: Livecode downloads VERY slow In-Reply-To: References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> Message-ID: <17de5d83e70.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Back in the olden days I had a MacBook with a built-in modem, I think it was 1200 baud but maybe it was 14.4. We went up to the north shore of Lake Superior every year for a few days and back then it was about as remote as it gets. The cabin we stayed in had a ruidmentary phone line that went in and out depending on the satelite's mood and how cloudy it was, which was most of the time. I brought a 20 foot phone cable with me and stretched it from the tiny bedroom at the back, where the only phone outlet was, to the "living room" up front across from the wood burning stove, plugged it into the MacBook, and logged into AOL which was the only online service that hadn't yet folded at the time. A few years after that a coffee shop in the little town to the north got an internet connection and I gave up on the phone line. We drove 10 miles into town every day or so, bought a coffee and I logged in to get my email. (Bong bong screeeech bong bong, "YOU'VE GOT MAIL!") When my nephew was young he asked me why I didn't learn programming in high school. I told him there were no personal computers back then. The look on his face indicated he was surprised I hadn't yet mummified. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2021 7:15:55 PM Alex Tweedly via use-livecode wrote: > OK, memory lane time. > > Before we had 1200 baud modems, we used to use acoustic couplers. I > often used one to call from the main office (England) to our US office, > at a mind-blowing 300 baud. > > Problem was, in those days (1978 I think), even voice transatlantic > calls were hit or miss. Often you got a undersea cable connection > (slight delay and echo, but you could have an almost normal > conversation), other times you got a satellite connection (usually > little or no echo but very high latency, making conversation frustrating). > > The acoustic coupler call would fail if you got the wrong kind of > connection, so we'd usually wait until the middle for the night to make > it more likely we'd get a successful call. > > Ah fond memories of the days when I could stay up till 3am and still > function the next day :-) > > Alex. > > On 23/12/2021 00:41, Martin Koob via use-livecode wrote: >> I must be in the really ancient fogey range. >> >> I remember 1200 baud modems. In the late 80s a teacher at our high school >> in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our >> computer club at the school hooked it up to a Commodore PET 2001 and tried >> to connect to Compuserve. Long waits listening to modem squeals but we >> never managed to get connected then. We were in Wawa which is on the north >> shore of Lake Superior so maybe the phone connection was not good enough. >> Here is the state of the art then, >> http://www.technofileonline.com/texts/2400modem88.html >> >> >> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. >> https://apple.fandom.com/wiki/GeoPort >> >> From the above article here are GeoPort speeds. >> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud >> (kbps) >> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud >> (kbps) >> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud >> (kbps) >> >> Martin >> >> >>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode >>> wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download >>> page in about a minute. Using SpeedTest, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we >>> were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. Im wondering why. >>> Locally, using SpeedTest, I get 160Mb/sec internet speeds. Could it be >>> the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 dvglasgow at gmail.com Thu Dec 23 03:34:52 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 23 Dec 2021 08:34:52 +0000 Subject: OT Re: Livecode downloads VERY slow In-Reply-To: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> References: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> Message-ID: <3B6994B8-1DB1-4BB0-BDBD-8377F7F25578@gmail.com> > On 23 Dec 2021, at 3:39 am, William Prothero via use-livecode wrote: > > I bet I got you all beat, for geezerdom. I took the first National UK examinations in 'Computer Studies' in the early 70s. Part of the final exam was to read a short piece of punched tape. With your eyes. Mine said "Marilyn Monroe” Apologies if I have previously posted this. More than once. Now. What was I talking about again? From keith.clarke at me.com Thu Dec 23 04:13:06 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 23 Dec 2021 09:13:06 +0000 Subject: PDF Viewer widget: expected experience from set the currentDestination? In-Reply-To: References: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Message-ID: Thanks Monte - that code sorts the *calling* end of the recipe and the widget changes page to the one containing the currentDestination. However, what about the *receiving* end of the recipe? Nothing seems to be happening upon arrival at the page to get any closer to this particular destination amongst the many on the same page. Where should one look to understand the options and handlers for the specific destination upon arrival *after* the change of page, re scroll into view, zoom, focus, setting the associated hilited text, etc? Best, Keith > On 23 Dec 2021, at 03:53, Monte Goulding via use-livecode wrote: > > Hi Keith > > Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 > > Here’s a simple example of using the currentDestination though: > > local tDest > put "goto" into tDest["type”] > put "Fit" into tDest["mode”] > put 3 into tDest["page”] > set the currentDestination of widget “pdf" to tDest > > Cheers > > Monte > >> On 23 Dec 2021, at 4:24 am, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? >> >> I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? >> >> Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... >> >> "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” >> >> Perhaps I’ve missed some settings on the widget to allow it to respond to this message? >> TIA >> 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 mkoob at rogers.com Thu Dec 23 05:26:22 2021 From: mkoob at rogers.com (KOOB) Date: Thu, 23 Dec 2021 05:26:22 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> References: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> Message-ID: Sooners are people from the ‘Sooner State’ of Oklahoma. https://en.wikipedia.org/wiki/Sooners It is also the moniker of the sports teams of the Oklahoma University https://en.wikipedia.org/wiki/Sooners Martin Koob Sent from my iPad > On Dec 22, 2021, at 4:27 PM, William Prothero via use-livecode wrote: > > Ralph, > Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret feature of apple that auto-errors writing. > > I meant Zoomers, of course (who are Sooners, anyway?) Actually, the auto-correct tried again to make that change. Fool me once …… etc. > > Best, > Bill > > Sent from my iPad > >> On Dec 22, 2021, at 1:20 PM, William Prothero wrote: >> >> Ralph, >> I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. >> >> Grads, don’t we get spoiled! >> >> Best, >> Bill >> >> Sent from my iPad >> >>>> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 curry at pair.com Thu Dec 23 06:38:19 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 23 Dec 2021 06:38:19 -0500 Subject: WordLib 2.3.0.6 Update and Christmas 30% Coupon Code Message-ID: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> I'm happy to announce: WordLib 2.3.0.6. Get it here: http://livecodeaddons.com/wordlib.html Buy it now: https://sowl.co/s/n4Lh1 What is WordLib? Import Microsoft Word and OpenOffice documents right into your own LiveCode fields with the amazing and popular WordLib addon! (Images, tabs, hilites, tables, Unicode, the works.) Changes in this version: WordLib 2.3 fixes text after ordered lists, font/style formatting is more accurate, and you get much cleaner htmlText markup. The User Guide text is freshly-updated with modernized LC scripting samples. Plus, the Media Folder location keeps recent Mac OS versions happy. Most important of all are the backend changes: not only for WordLib but all Curry K. addons. That paves the way for faster updates* (!) and for greater things still to come. WordLib Revised Pricing: Kill inflation while you conquer documents! I've lowered the addon full price. Ho ho ho.... - Major versions (2.3, 2.4, 3.0) cost $49 USD. (Same price for everyone; new and upgrades.) - Any minor updates to a version are free. (2.3 License key works for all 2.3.x.x versions.) *New goal is 1 major update per year; we'll see. Christmas Coupon Code: Coupon: NOEL-2021 Discount: Extra 30% Off (Christmas Coupon active now through New Year. Be sure to enter the Coupon during checkout!) WordLib is tested primarily with LiveCode 9.6 on Windows 10 i5 and Mac Big Sur M1. (Still works on LC 6.7 too.) I'll post more info and plans tonight. This is the first step in a bigger effort.... Happy coding! Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From marksmithhfx at gmail.com Thu Dec 23 10:07:14 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 23 Dec 2021 15:07:14 +0000 Subject: Keyboard in iOS 15.x Message-ID: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> It seems the keyboard in iOS 15 has gained some height and that is causing a problem. Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next one added will cause the keyboard to cover the row. The previous solution has been to redraw the datagid so it occupies the space above the keyboard (and then scroll the new line into view). This worked fine as long as the KB always occupied a fixed amount of space (height). The new one in iOS 15 appears to be approximately 1 row of keys taller, this row being filled with blank slots for word guesses while you type (an option I would not even know how to make use of). Solutions: one option is to simply redraw the datagrid to be above the new keyboard height. Problem is I have been hard coding this (ie. changing the bottom of the keyboard from 452 (activated) to 613 (deactivated) as required). This is less than ideal because as I have now witnessed in iOS 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. the size/height of the keyboard is now dynamic. Ideally I would be able to query the height of the keyboard, or the amount of available screen space, so that I could adjust the bottom of my datagrid appropriately. Has anyone else been looking into this issue and how have you resolved it? Thanks Mark From merakosp at gmail.com Thu Dec 23 10:25:14 2021 From: merakosp at gmail.com (panagiotis m) Date: Thu, 23 Dec 2021 17:25:14 +0200 Subject: Keyboard in iOS 15.x In-Reply-To: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> Message-ID: Hello Mark, What about using: mobileSetKeyboardDisplay "pan" See the dictionary for more details. Cheers, Panos On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > It seems the keyboard in iOS 15 has gained some height and that is causing > a problem. > > Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next > one added will cause the keyboard to cover the row. The previous solution > has been to redraw the datagid so it occupies the space above the keyboard > (and then scroll the new line into view). This worked fine as long as the > KB always occupied a fixed amount of space (height). The new one in iOS 15 > appears to be approximately 1 row of keys taller, this row being filled > with blank slots for word guesses while you type (an option I would not > even know how to make use of). > > Solutions: one option is to simply redraw the datagrid to be above the new > keyboard height. Problem is I have been hard coding this (ie. changing the > bottom of the keyboard from 452 (activated) to 613 (deactivated) as > required). This is less than ideal because as I have now witnessed in iOS > 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. > the size/height of the keyboard is now dynamic. Ideally I would be able to > query the height of the keyboard, or the amount of available screen space, > so that I could adjust the bottom of my datagrid appropriately. > > Has anyone else been looking into this issue and how have you resolved it? > > Thanks > Mark > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Thu Dec 23 12:28:07 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 23 Dec 2021 17:28:07 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> Message-ID: <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. You should probably be on vacation now, so enjoy your well deserved time off!! Mark > On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: > > Hello Mark, > > What about using: > > mobileSetKeyboardDisplay "pan" > > See the dictionary for more details. > > Cheers, > Panos > > > > On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It seems the keyboard in iOS 15 has gained some height and that is causing >> a problem. >> >> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >> one added will cause the keyboard to cover the row. The previous solution >> has been to redraw the datagid so it occupies the space above the keyboard >> (and then scroll the new line into view). This worked fine as long as the >> KB always occupied a fixed amount of space (height). The new one in iOS 15 >> appears to be approximately 1 row of keys taller, this row being filled >> with blank slots for word guesses while you type (an option I would not >> even know how to make use of). >> >> Solutions: one option is to simply redraw the datagrid to be above the new >> keyboard height. Problem is I have been hard coding this (ie. changing the >> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >> required). This is less than ideal because as I have now witnessed in iOS >> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >> the size/height of the keyboard is now dynamic. Ideally I would be able to >> query the height of the keyboard, or the amount of available screen space, >> so that I could adjust the bottom of my datagrid appropriately. >> >> Has anyone else been looking into this issue and how have you resolved it? >> >> Thanks >> Mark >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Dec 23 22:03:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 23 Dec 2021 22:03:16 -0500 Subject: WordLib 2.3.0.6 Update and Christmas 30% Coupon Code In-Reply-To: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> References: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> Message-ID: <006ace73-bbb5-030a-088b-4ebb968368b4@pair.com> Continuing from this morning.... WordLib 2.3 store notes: It looks like the LiveCode Ltd store still has WordLib version 2.2 online; they'll have 2.3 set up eventually due to the holiday timing. Meantime, order 2.3 at Curry K./SendOwl; they are delivering WordLib keys instantly, and I've got 1,000 keys in stock there so the orders are flowing smoothly. (Don't forget your Coupon during checkout!) Christmas Coupon Code: Coupon: NOEL-2021 Discount: Extra 30% Off Get it here: http://livecodeaddons.com/wordlib.html Buy it now: https://sowl.co/s/n4Lh1 --- Curry K. backend notes: The backend is now about 5x more automated, not only for WordLib but all Curry K. addons. That's crucial for faster public updates. Originally I thought 5x would be perfect, but after this WordLib release (pant pant) I need to further double the automation! Then updates will be truly efficient. So, now that's on top of my addon to-do list. (Right after restoring SpreadLib ordering, which went offline when eSellerate choked. Alas eSellerate is no more; thus a new store.) Coming up next: 1. Restoring SpreadLib ordering (This week) 2. Further backend automation (Early January) 3. WordReport Update (End of January?) 4. SpreadLib/WordOut Updates (Schedule TBD) 5. The next big thing.... (and FT) :) Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From williamdesmet at gmail.com Fri Dec 24 06:33:48 2021 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 24 Dec 2021 12:33:48 +0100 Subject: Strange thing: older App Store app fullscreen shown on iOS 15.2 Message-ID: Hi there, I got a new iPad 2021 with iOS 15.2 (10.2 inch) and downloaded some of my own older apps on it from the App Store. These apps have been there for several years and the last update was from 2019. I noticed that these apps are shown fullscreen and that is strange because none of these apps contain fullscreen scripting. They were all made for the 9.7 inch iPads. When I put a test app on it with LC 9.9.6 and Xcode13.2 the app is not shown full screen. Is this Apple and iOS 15? Does iOS 15 show apps from the App Store fullscreen? greetings, William From klaus at major-k.de Fri Dec 24 07:48:27 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Dec 2021 13:48:27 +0100 Subject: add a "scale" option to the icongravity Message-ID: Hi all, I just added a feature request to the quality center. For ICONGRAVITY we now have the "resoie" option, which will scale the image unproportionally in the button, which is erm. not the best option... 8-) Maybe we can have a "scale" option, too, which will scale the image in the button, but always proportionally! That would make snse and remove some extra work! Fell free to add a comment: Have some nice holidays! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Fri Dec 24 08:30:13 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 24 Dec 2021 08:30:13 -0500 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. Merry Christmas everyone! Brian Sent from my iPhone > On Dec 24, 2021, at 7:49 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I just added a feature request to the quality center. > > For ICONGRAVITY we now have the "resoie" option, > which will scale the image unproportionally in the button, > which is erm. not the best option... 8-) > > Maybe we can have a "scale" option, too, which will scale the > image in the button, but always proportionally! > That would make snse and remove some extra work! > > Fell free to add a comment: > > > Have some nice holidays! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 24 08:36:46 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Dec 2021 14:36:46 +0100 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: <73822E95-8342-456A-A638-676CF93C16BE@major-k.de> Hi Brian, > Am 24.12.2021 um 14:30 schrieb Brian Milby via use-livecode : > > Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? no idea, please ask me something easier. :-D > I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. Whatever you need to to, I am only interested in the result, a proportionally sized icon in the button. ;-) > Merry Christmas everyone! > Brian Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From marksmithhfx at gmail.com Fri Dec 24 09:02:56 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 24 Dec 2021 14:02:56 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> Message-ID: <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> Hi Panos, I discovered the “extra” line at the top of the keyboard was called “predictive” in the keyboard settings. Turning predictive off removes the extra line, so that solved the immediate problem, but not the longer term one (which can only really be fixed by either “pinning" the header bar during a “pan” or knowing where the top of the keyboard is for appropriate DG resizing.) I'll make a feature request in the QCC. Merry Christmas and Happy Holidays to all, Mark > On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: > > Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. > > You should probably be on vacation now, so enjoy your well deserved time off!! > > Mark > > >> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: >> >> Hello Mark, >> >> What about using: >> >> mobileSetKeyboardDisplay "pan" >> >> See the dictionary for more details. >> >> Cheers, >> Panos >> >> >> >> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> It seems the keyboard in iOS 15 has gained some height and that is causing >>> a problem. >>> >>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>> one added will cause the keyboard to cover the row. The previous solution >>> has been to redraw the datagid so it occupies the space above the keyboard >>> (and then scroll the new line into view). This worked fine as long as the >>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>> appears to be approximately 1 row of keys taller, this row being filled >>> with blank slots for word guesses while you type (an option I would not >>> even know how to make use of). >>> >>> Solutions: one option is to simply redraw the datagrid to be above the new >>> keyboard height. Problem is I have been hard coding this (ie. changing the >>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>> required). This is less than ideal because as I have now witnessed in iOS >>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>> query the height of the keyboard, or the amount of available screen space, >>> so that I could adjust the bottom of my datagrid appropriately. >>> >>> Has anyone else been looking into this issue and how have you resolved it? >>> >>> Thanks >>> Mark >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 24 12:02:45 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2021 11:02:45 -0600 Subject: Keyboard in iOS 15.x In-Reply-To: <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> Message-ID: <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> "The working screenrect" should give you the area you have available when the keyboard is up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 24, 2021 8:05:08 AM Mark Smith via use-livecode wrote: > Hi Panos, > > I discovered the extra line at the top of the keyboard was called > predictive in the keyboard settings. Turning predictive off removes the > extra line, so that solved the immediate problem, but not the longer term > one (which can only really be fixed by either pinning" the header bar > during a pan or knowing where the top of the keyboard is for appropriate > DG resizing.) I'll make a feature request in the QCC. > > Merry Christmas and Happy Holidays to all, > > Mark > > >> On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: >> >> Thanks Panos, I appreciate the quick response. That works reasonably well >> except the card has a header bar and using the pan option moves the >> header bar off screen as well, which unfortunately hides some important >> header bar controls. If we could stick the header bar while panning the >> dg (so it visually looks like it is sliding underneath the header bar) that >> would be the best solution. I might try and see if there is a way to do >> that. Otherwise for now Ill just hard code a resize of the dg when the >> keyboard is activated and adjust the code using the new iPhoneDeviceModel >> function to fine tune it for different screen sizes. >> >> You should probably be on vacation now, so enjoy your well deserved time off!! >> >> Mark >> >> >>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode >>> wrote: >>> >>> Hello Mark, >>> >>> What about using: >>> >>> mobileSetKeyboardDisplay "pan" >>> >>> See the dictionary for more details. >>> >>> Cheers, >>> Panos >>> >>> >>> >>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> It seems the keyboard in iOS 15 has gained some height and that is causing >>>> a problem. >>>> >>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>>> one added will cause the keyboard to cover the row. The previous solution >>>> has been to redraw the datagid so it occupies the space above the keyboard >>>> (and then scroll the new line into view). This worked fine as long as the >>>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>>> appears to be approximately 1 row of keys taller, this row being filled >>>> with blank slots for word guesses while you type (an option I would not >>>> even know how to make use of). >>>> >>>> Solutions: one option is to simply redraw the datagrid to be above the new >>>> keyboard height. Problem is I have been hard coding this (ie. changing the >>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>>> required). This is less than ideal because as I have now witnessed in iOS >>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>>> query the height of the keyboard, or the amount of available screen space, >>>> so that I could adjust the bottom of my datagrid appropriately. >>>> >>>> Has anyone else been looking into this issue and how have you resolved it? >>>> >>>> Thanks >>>> Mark >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Fri Dec 24 13:01:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 24 Dec 2021 18:01:00 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I am so hoping you are right Jacky. Will have a chance to test on boxing day and will let you know. Best, and Merry Christmas. Mark > On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode wrote: > > "The working screenrect" should give you the area you have available when the keyboard is up. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 24, 2021 8:05:08 AM Mark Smith via use-livecode wrote: > >> Hi Panos, >> >> I discovered the “extra” line at the top of the keyboard was called “predictive” in the keyboard settings. Turning predictive off removes the extra line, so that solved the immediate problem, but not the longer term one (which can only really be fixed by either “pinning" the header bar during a “pan” or knowing where the top of the keyboard is for appropriate DG resizing.) I'll make a feature request in the QCC. >> >> Merry Christmas and Happy Holidays to all, >> >> Mark >> >> >>> On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: >>> >>> Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. >>> >>> You should probably be on vacation now, so enjoy your well deserved time off!! >>> >>> Mark >>> >>> >>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: >>>> >>>> Hello Mark, >>>> >>>> What about using: >>>> >>>> mobileSetKeyboardDisplay "pan" >>>> >>>> See the dictionary for more details. >>>> >>>> Cheers, >>>> Panos >>>> >>>> >>>> >>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> It seems the keyboard in iOS 15 has gained some height and that is causing >>>>> a problem. >>>>> >>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>>>> one added will cause the keyboard to cover the row. The previous solution >>>>> has been to redraw the datagid so it occupies the space above the keyboard >>>>> (and then scroll the new line into view). This worked fine as long as the >>>>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>>>> appears to be approximately 1 row of keys taller, this row being filled >>>>> with blank slots for word guesses while you type (an option I would not >>>>> even know how to make use of). >>>>> >>>>> Solutions: one option is to simply redraw the datagrid to be above the new >>>>> keyboard height. Problem is I have been hard coding this (ie. changing the >>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>>>> required). This is less than ideal because as I have now witnessed in iOS >>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>>>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>>>> query the height of the keyboard, or the amount of available screen space, >>>>> so that I could adjust the bottom of my datagrid appropriately. >>>>> >>>>> Has anyone else been looking into this issue and how have you resolved it? >>>>> >>>>> Thanks >>>>> Mark >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Dec 24 15:16:20 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Fri, 24 Dec 2021 20:16:20 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Mark, Just adding to what Jacquie wrote, there is also the effective working screenrect. Use both to work out which is best for your requirements. All the best in working it out. Sean On Fri, 24 Dec 2021 at 18:01, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > I am so hoping you are right Jacky. Will have a chance to test on boxing > day and will let you know. > > Best, and Merry Christmas. > > Mark > > > > On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > "The working screenrect" should give you the area you have available > when the keyboard is up. > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > On December 24, 2021 8:05:08 AM Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Hi Panos, > >> > >> I discovered the “extra” line at the top of the keyboard was called > “predictive” in the keyboard settings. Turning predictive off removes the > extra line, so that solved the immediate problem, but not the longer term > one (which can only really be fixed by either “pinning" the header bar > during a “pan” or knowing where the top of the keyboard is for appropriate > DG resizing.) I'll make a feature request in the QCC. > >> > >> Merry Christmas and Happy Holidays to all, > >> > >> Mark > >> > >> > >>> On Dec 23, 2021, at 5:28 PM, Mark Smith > wrote: > >>> > >>> Thanks Panos, I appreciate the quick response. That works reasonably > well except the card has a header bar and using the “pan” option moves the > header bar off screen as well, which unfortunately hides some important > header bar controls. If we could “stick” the header bar while panning the > dg (so it visually looks like it is sliding underneath the header bar) that > would be the best solution. I might try and see if there is a way to do > that. Otherwise for now I’ll just hard code a resize of the dg when the > keyboard is activated and adjust the code using the new iPhoneDeviceModel > function to fine tune it for different screen sizes. > >>> > >>> You should probably be on vacation now, so enjoy your well deserved > time off!! > >>> > >>> Mark > >>> > >>> > >>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Hello Mark, > >>>> > >>>> What about using: > >>>> > >>>> mobileSetKeyboardDisplay "pan" > >>>> > >>>> See the dictionary for more details. > >>>> > >>>> Cheers, > >>>> Panos > >>>> > >>>> > >>>> > >>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> It seems the keyboard in iOS 15 has gained some height and that is > causing > >>>>> a problem. > >>>>> > >>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and > the next > >>>>> one added will cause the keyboard to cover the row. The previous > solution > >>>>> has been to redraw the datagid so it occupies the space above the > keyboard > >>>>> (and then scroll the new line into view). This worked fine as long > as the > >>>>> KB always occupied a fixed amount of space (height). The new one in > iOS 15 > >>>>> appears to be approximately 1 row of keys taller, this row being > filled > >>>>> with blank slots for word guesses while you type (an option I would > not > >>>>> even know how to make use of). > >>>>> > >>>>> Solutions: one option is to simply redraw the datagrid to be above > the new > >>>>> keyboard height. Problem is I have been hard coding this (ie. > changing the > >>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as > >>>>> required). This is less than ideal because as I have now witnessed > in iOS > >>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the > keys. ie. > >>>>> the size/height of the keyboard is now dynamic. Ideally I would be > able to > >>>>> query the height of the keyboard, or the amount of available screen > space, > >>>>> so that I could adjust the bottom of my datagrid appropriately. > >>>>> > >>>>> Has anyone else been looking into this issue and how have you > resolved it? > >>>>> > >>>>> Thanks > >>>>> Mark > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Fri Dec 24 15:31:55 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 25 Dec 2021 07:31:55 +1100 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: <9BCFCBE6-2D05-458B-A8D4-3C1AE820AC42@optusnet.com.au> > Wouldn?t you really need another property like ?iconSizing? which would have values of ?none? or ?clip? (current behavior), ?resize? or ?fill? (the current iconGravity option), and ?scale? (your proposal)? I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. I think often the best option is “scale to fit” by which I mean scale the image down to fit the button keeping the same aspect ratio *if* it is too large, but leave the original image size as is if it will already fit, *do not* upscale, which can cause pixelation. It is neither the current ”resize” nor the usual “scale to fit" From eurolinkal at aol.com Fri Dec 24 15:41:06 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Fri, 24 Dec 2021 12:41:06 -0800 Subject: New user In-Reply-To: References: Message-ID: Thanks Sean for that help. I’m tangled up in Holiday Domestic Duties at the moment but will give it a try in the new year. Meantime questions rolling around my head; if I’m writing the LC prog on a Mac do I have to designate the (PC) com port in that code, which I’m thinking would mean it couldn’t be tested right there and then on the Mac? Also, I’m toying with the idea of using an Arduino as my I/O device. Does that sound healthy? Season’s greeting to all the list. best, Alex On December 21, 2021 at 5:37:14 PM, Sean Cole via use-livecode (use-livecode at lists.runrev.com) wrote: Hi Alex Welcome! I've done exactly and very similar to what you are describing about 6yrs ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For lighting up miniatures of housing estates and apartment blocks. And then for some film miniatures for toy commercials and so on. Once you've installed the driver for your adapter on Win10, go to the Device Manager, Ports and find out what COM port it's linked to (eg, COM2). Now in LiveCode, you don't need to know the driver name to write to. Just use the command: open driver "COM2:" for write This sets the plane for communication. Next, you need to set up the settings, eg: set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" These are actually the default settings, so do nothing if these are the settings you want. Now you just need to know the commands to send. https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 write "readall" & return to driver "COM2:" read from driver "COM2:" for 4 -- ie, 4 characters The read command immediately after the write allows it to accept the response from the GPIO, in this example, for 4 characters in length (to receive the 4 hex characters like 16AF) And that's it pretty much. It's super easy and fun. With Wifi modules you can use any device to communicate with them. We used iPad mini's which made it super flexible. Let us all know if you run into any issues and need help. All the best Sean Cole *Pi Digital Productions Ltd* On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way > through a project which I think I can complete. However the project has to > be able to communicate with an I/O board (Numato 16 channel USB GPIO Module > for example) from a Windows Standalone application. I have not been able to > find any guidance or samples for how to do this. This has led me to wonder > if it is even possible to creat some kind of serial communication using LC > or whether I should start over with a different platform. I am doing the LC > work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 24 15:44:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2021 14:44:38 -0600 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: > Just adding to what Jacquie wrote, there is also the effective working > screenrect. You're right, "effective" was added to account for the keyboard on mobile. I'd start with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Fri Dec 24 16:08:27 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 24 Dec 2021 21:08:27 +0000 Subject: New user In-Reply-To: References: Message-ID: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> I’m refitting the bathroom and laying new carpet in the upstairs hallway, so have Hol Dom Dues too ;) Arduino will be basically the same as any other IO with the added benefit that you have control over the controller by your own Arduino coding. There is a difference in approach for PC vs Mac. For some reason, I think because of one of the other replies, I got confusededed and thought you’d been developing from a PC. For Mac, you need to look in either the /dev folder or the /Library/extensions folder and find the path for the IO driver. See the LC documentation for ‘serialControlString’ and ‘open driver’. My son and I have been working on a physical Train Sim World controller which is basically the whole dashboard from a Class 365. It uses an Arduino board and a digital serial shunt to pick up all the buttons, switches and sliders and control lights and dials. This is then picked up by LiveCode and converted into XML for TSW to read from live and control the Sim and provide feedback for the gauges. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 24 Dec 2021, at 20:42, Alex Hughson wrote: > > Thanks Sean for that help. I’m tangled up in Holiday Domestic Duties at the moment but will give it a try in the new year. Meantime questions rolling around my head; if I’m writing the LC prog on a Mac do I have to designate the (PC) com port in that code, which I’m thinking would mean it couldn’t be tested right there and then on the Mac? Also, I’m toying with the idea of using an Arduino as my I/O device. Does that sound healthy? > > Season’s greeting to all the list. best, Alex > > > On December 21, 2021 at 5:37:14 PM, Sean Cole via use-livecode (use-livecode at lists.runrev.com) wrote: > > Hi Alex > Welcome! > I've done exactly and very similar to what you are describing about 6yrs > ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For > lighting up miniatures of housing estates and apartment blocks. And then > for some film miniatures for toy commercials and so on. > > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > >> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >> through a project which I think I can complete. However the project has to >> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >> for example) from a Windows Standalone application. I have not been able to >> find any guidance or samples for how to do this. This has led me to wonder >> if it is even possible to creat some kind of serial communication using LC >> or whether I should start over with a different platform. I am doing the LC >> work using a Mac. Any help or advice would be much appreciated. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 25 12:25:22 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Sat, 25 Dec 2021 17:25:22 +0000 Subject: (area used by) Keyboard in iOS 15.x In-Reply-To: <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> Message-ID: Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1, which has iphoneSafeAreaInsets for discerning the safe area from furniture like the notch and so on. I haven't tested this but that may also include things like the keyboard and predictive areas. I just thought it was worth a mention here. Regards Sean On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: > > Just adding to what Jacquie wrote, there is also the effective working > > screenrect. > > You're right, "effective" was added to account for the keyboard on mobile. > I'd start with that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Sun Dec 26 21:20:21 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 02:20:21 +0000 Subject: Communication with future you with a message board In-Reply-To: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: <051A4CB9-B975-4CB1-A2ED-DB3B436BC74E@iotecdigital.com> What would be scary, is if you WERE the same person… with a basket full on unmatching socks. Sent from my iPhone > On Dec 22, 2021, at 12:49, J. Landman Gay via use-livecode wrote: > > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the time it was a response from many years ago and I'm not the same person any more. Maybe that's scary... > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 26 22:16:06 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:16:06 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: This is brilliant, and likely fixes the creeping stack position in a multi-monitor environment. Sent from my iPhone > On Dec 21, 2021, at 07:29, panagiotis m via use-livecode wrote: > > Hello Mike, > >>>>> When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were > ignored, because for some reasons deep in the engine, if they were not > ignored, LC was freezing and eventually crashing. This behavior has now > changed, and these errors are caught in an error dialog window, rather > than failing silently. > >>>>> Conversions between global and local co-ordinates are now correct > on multi-screen macOS systems. > In other words, LiveCode will now play nicely in a multi-monitor setup. > Previously you had to make sure that the virtual tops of the 2 (or more) > monitors were aligned, otherwise you were getting incorrect behavior in > various cases. Now, you can arrange the monitors any way you want, and > things will work as expected. > > Cheers, > Panos > -- > > > >> On Tue, 21 Dec 2021 at 17:17, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Things that made me say "WHAT?" >> - When a runtime error occurs in a context where the script debugger >> cannot run, the error dialog will be displayed rather than failing silently >> WHAT? Who are you people? >> - Conversions between global and local co-ordinates are now correct >> on multi-screen macOS systems. >> WHAT? HAHAHAHA. OK, that's funny. You got me. >> >> >> On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.6 RC-1. >>> >>> >>> Getting the Release >>> =================== >>> You can find the release in your LiveCode account area or get it via the >>> automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode >>> account, please scroll down to below the list of stable releases, to find >>> your available test releases. >>> >>> Release Contents >>> ================ >>> LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots >> of >>> the bugs you requested in the recent survey: >>> >>> New Features: >>> - iOS device safe area insets function >>> An iphoneSafeAreaInsets function has been added to enable getting the >> safe >>> area insets of the device the app is running on. These can be used to >>> adjust your app's user interface elements to avoid areas that are covered >>> by device furniture, e.g. the notch. >>> >>> - Android adaptive icons >>> It is now possible to configure your Android apps to use adaptive icons. >>> To use adaptive icons, generate them using the Image Asset Editor in >>> Android Studio and >>> then choose the resulting res folder in the android standalone settings >>> pane. >>> >>> - Android app query whitelist >>> Support has been added for specifying which other apps can be interacted >>> with via the intent and other (custom) URL schemes. >>> Since Android 11, by default, an app cannot interact with any others due >> to >>> changes to package visibility. You must now specify which apps you need >>> access to by adding their ids to the App ID Query Whitelist field in the >>> Android standalone settings. >>> >>> >>> Bug Fixes: >>> - Opening HyperCard stacks will no longer cause a crash >>> - Support for the system date and the system time has been added on >> Android >>> - A stack's rect will no longer become out of sync with its actual >> position >>> after being moved in the IDE on macOS >>> - A wider range of TrueType font files will now work on Android and Web >>> - Use of the term Tutorials have been replaced by the term Lessons >>> throughout the IDE >>> - When a runtime error occurs in a context where the script debugger >> cannot >>> run, the error dialog will be displayed rather >>> than failing silently >>> - Conversions between global and local co-ordinates are now correct on >>> multi-screen macOS systems. >>> - The welcome tutorial can now be started on first run via the Start >>> Interative Welcome button in the start center >>> - Starting a new tutorial will now close the previous tutorial's stack, >> if >>> present >>> - The performance of the script editor while typing has been improved >>> - Downloading large amounts of data using tsNet on Windows is now >>> substantially faster >>> - Invalid PDFs will no longer be generated when using the open printing >> to >>> PDF command on Windows using the 64-bit engine >>> - Script debugging will no longer fail to work intermittently when >> running >>> the IDE with pro features >>> - Scripts which run without locking the screen are no longer slower on >>> macOS Big Sur and later >>> - The drawing library now correctly handle gradients which are referred >> to >>> using an id containing - or _ >>> - Key events will now work correctly after a modal dialog is shown from a >>> mouseUp handler in a grouped control >>> - The iphoneDeviceModel function now returns the correct model string >> when >>> run on an iOS/iPadOS simulator. >>> - Default buttons and progress bars will no longer cause unnecessary CPU >>> usage on macOS 10.10 (Yosemite) or later >>> - The byteOffset function will no longer cause incorrect results in some >>> cases nor cause a crash >>> - Scripts containing accented characters will no longer incorrectly >> report >>> being externally modified >>> - Using the print link command when printing to PDF on Windows no longer >>> causes a crash >>> - The copyright notices in the engine app bundle (macOS) and exe >> (Windows) >>> have been updated >>> - A significant memory leak in the browser widget on macOS has been >>> resolved >>> - POST data larger than 64kb is now parsed correctly by the Windows >> server >>> engine >>> - Audio-only players no longer consume excessive CPU when in Edit Mode on >>> macOS Big Sur >>> - WebGL content now displays in the browser widget when running on macOS >>> 12.x (Monterey) >>> - The union (and other set operation) commands now throw an error if >> there >>> is no into clause and the target is not a declared variable >>> - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now >> supported >>> - Local file and content access has been re-enabled in the browser widget >>> and native control on Android >>> - Touch events now occur at the correct location when handled by objects >>> underneath a disabled Android scroller >>> - SVG elements with a stroke-width of 0 are no longer drawn with a >> hairline >>> stroke >>> - There is no longer a delay when opening the IDE menus on macOS >>> - Selecting a specific browser to test a web project against now works >>> correctly >>> - The overhead of using "do .." to evaluate long JavaScript scripts in >> the >>> browser widget on Android has been greatly reduced >>> >>> For the full list of all fixes, updates and enhancements please see the >>> release notes: >>> >> http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf >>> >>> >>> Known issues >>> ============ >>> - The Browser widget's native layer is not shown in some Linux distros >> with >>> Cinnamon window manager. >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit >> LTS >>> yet. >>> >>> >>> Required Software >>> ================= >>> To build iOS apps with LiveCode you must have the appropriate versions of >>> Xcode as follows: >>> >>> - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS >> 12.1 >>> SDK >>> - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS >>> 13.2 SDK >>> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS >>> 14.4 SDK >>> - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS >> 15.2 >>> SDK >>> >>> There is a full list of working LiveCode/macOS/Xcode combinations here: >>> https://livecode.com/docs/9-5-0/faq/faq/ >>> >>> Note: Whilst we endeavour to release updated versions of LiveCode >>> supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly >>> recommend disabling automatic update of Xcode or downloading the specific >>> version of Xcode required directly from the Apple developer portal and >>> installing it separately. >>> >>> Important: From the start of April 2021, Apple is only accepting apps >> built >>> using iOS14.x SDKs. This means that, if you wish to submit apps to the >>> AppStore you will have to be running at least macOS 10.15 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 at >>> http://forums.livecode.com >>> >>> >>> Have fun! >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 26 22:18:05 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:18:05 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: <778E45FF-1080-4206-9C1E-2AEA1DB36D7A@iotecdigital.com> +1 Sent from my iPhone > On Dec 22, 2021, at 12:55, J. Landman Gay via use-livecode wrote: > > On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: >> It is nice to know that HyperCard stacks can still be opened. > > Yes, and what good timing. I just got the first HC conversion request in years. And my old copy of LC 6 won't run on my current Mac. > > Another thing I'm ecstatic about is the built-in Android adaptive icons. Struggling with altered IDE files for the last year made me crazy and it had to be done for every new LC release. And I usually made mistakes and had to revise them multiple times. > > This release is hugely appreciated, there's so much to love in it. Thank you, 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 bobsneidar at iotecdigital.com Sun Dec 26 22:19:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:19:36 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: <88021925-9699-4912-8377-15EF57B10C7D@iotecdigital.com> +1 Sent from my iPhone > On Dec 22, 2021, at 14:36, Tom Glod via use-livecode wrote: > > Its so lovely to see a big list of fixes, thats how thats done. > > Thank you Livecode team and all the best for the Christmas season to > everyone. > >> On Wed, Dec 22, 2021 at 3:55 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: >>> It is nice to know that HyperCard stacks can still be opened. >> >> Yes, and what good timing. I just got the first HC conversion request in >> years. And my old copy >> of LC 6 won't run on my current Mac. >> >> Another thing I'm ecstatic about is the built-in Android adaptive icons. >> Struggling with >> altered IDE files for the last year made me crazy and it had to be done >> for every new LC >> release. And I usually made mistakes and had to revise them multiple times. >> >> This release is hugely appreciated, there's so much to love in it. Thank >> you, 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Dec 27 07:05:05 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 27 Dec 2021 12:05:05 +0000 Subject: (area used by) Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> Message-ID: <038AC7C0-4693-4441-8565-FFC9322C545A@gmail.com> Thank you Sean and Jacque, I’ve not had a chance to work on a complete solution but thought I would make a test run to see what “the effective working screenrect” was returning and as the following indicates, it does in fact take into consideration the keyboard. I just coded up one line to run whenever the status of the keyboard changed and tried it both with and without the “predictive” option turned on. As you can see, it was very sensitive to this change… without predictive: 9:37:14 PM keyboardActivated 0,0,375,451 9:37:15 PM keyboardDeactivated 0,0,375,667 9:37:18 PM keyboardActivated 0,0,375,451 9:37:19 PM keyboardDeactivated 0,0,375,667 9:37:19 PM keyboardActivated 0,0,375,451 9:37:23 PM keyboardDeactivated 0,0,375,667 with predictive: 9:56:54 PM keyboardActivated 0,0,375,407 9:56:55 PM keyboardDeactivated 0,0,375,667 9:56:55 PM keyboardActivated 0,0,375,407 9:56:57 PM keyboardDeactivated 0,0,375,667 In my particular case not all 4 value are immediately useful. For example, I have a fixed header and footer that need to be accommodated so the correct “useable” rect for me is: 0,69, 377, 618 (for no predictive) 0,69,377,456 ( for predictive) but this can easily be accommodated since the header/footer values don’t change. The beauty is I now have a rect lower bound (ie. keyboard height) that actually reflects where the keyboard is. Brilliant!! Thank you both, Mark Sean, I tried iPhoneSafeAreaInsets() but it appears it returns a constant set of values regardless of keyboard position on my iPhone 12 11:51:22 AM keyboardActivated 0,47,0,34 11:51:22 AM keyboardDeactivated 0,47,0,34 11:51:26 AM keyboardActivated 0,47,0,34 11:51:26 AM keyboardDeactivated 0,47,0,34 And didn’t change when I added / subtracted “predictive”. So, just the available usable space at the top and bottom of the screen. I haven’t adjusted my app yet to fully take advantage of the larger screen on a 12 (it was developed on a 6S) but when I get to more response design this will be useful to know where the usable top and bottom are. Cheers!! > On Dec 25, 2021, at 5:25 PM, Sean Cole via use-livecode wrote: > > Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1, > which has iphoneSafeAreaInsets for discerning the safe area from furniture > like the notch and so on. I haven't tested this but that may also include > things like the keyboard and predictive areas. I just thought it was worth > a mention here. > > Regards > Sean > > On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: >>> Just adding to what Jacquie wrote, there is also the effective working >>> screenrect. >> >> You're right, "effective" was added to account for the keyboard on mobile. >> I'd start with that. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Dec 27 11:24:42 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 27 Dec 2021 11:24:42 -0500 Subject: tmc2 hacks Message-ID: tmc2 still gives me better ui's than native widgets do. i have been messing with it for a while, including experimenting with breaking it into SOS's to see if i can get it to play nicely with levure. today's conversation about keyboards on mobile reminded me that it would be good to add some of those properties. has anyone else been modding/hacking tmc2? From scott at elementarysoftware.com Tue Dec 28 05:27:45 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:27:45 -0800 Subject: chartsEngine bug with version 10 of LC Message-ID: I’ve encountered a problem with the third-party LiveCode product chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a high enough version number. (AnimationEngine was reporting a similar error which I was able to fix since the scripts are open.) ChartsEngine is, however, locked. Originally written by Malte Brill, the current owner is, I believe, Björnke von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else pondering this issue? I use chartsEngine in two commercial mobile apps so I’m hoping to work out a solution rather than rebuild the charting layout portion of these apps once building with 10.x versions of LC is required. And just for my own curiosity, (this is what I encountered in animationEngine so I’m assuming something similar in chartsEngine) I’m interested in an explanation (rather than my own guess) for why "9.6.6-rc-1” evaluates as not less than 5 but "10.0.0-dp-1” evaluates to less than 5 . -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From scott at elementarysoftware.com Tue Dec 28 05:35:30 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:35:30 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: <5E087A48-439E-4ECF-92A1-578DC22B60CD@elementarysoftware.com> I mistyped Björnke’s name; it is “Björnke von Gierke" > On Dec 28, 2021, at 2:27 AM, scott--- via use-livecode wrote: > > > I’ve encountered a problem with the third-party LiveCode product chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a high enough version number. (AnimationEngine was reporting a similar error which I was able to fix since the scripts are open.) ChartsEngine is, however, locked. Originally written by Malte Brill, the current owner is, I believe, Björnke von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else pondering this issue? I use chartsEngine in two commercial mobile apps so I’m hoping to work out a solution rather than rebuild the charting layout portion of these apps once building with 10.x versions of LC is required. > > And just for my own curiosity, (this is what I encountered in animationEngine so I’m assuming something similar in chartsEngine) I’m interested in an explanation (rather than my own guess) for why "9.6.6-rc-1” evaluates as not less than 5 but "10.0.0-dp-1” evaluates to less than 5 . > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 28 05:39:48 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:39:48 -0800 Subject: tmc2 hacks In-Reply-To: References: Message-ID: I have not been modding tmc2 but I do still use some of those slick objects. (I have modded a few of the gauges in Scott's older tmgauges project. :- ) > On Dec 27, 2021, at 8:24 AM, Mike Kerner via use-livecode wrote: > > tmc2 still gives me better ui's than native widgets do. > i have been messing with it for a while, including experimenting with > breaking it into SOS's to see if i can get it to play nicely with levure. > today's conversation about keyboards on mobile reminded me that it would be > good to add some of those properties. > has anyone else been modding/hacking tmc2? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Dec 28 12:27:06 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Dec 2021 12:27:06 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: Scott: > why "9.6.6-rc-1 evaluates as not less than 5 > but "10.0.0-dp-1 evaluates to less than 5. That's the tricky thing about dotted versions; easy to forget and set up a text comparison: "9" > "5" "1" < "5" Once you have two dots, or an rc/dp, it's a string. They seem to compare perfectly...until you pass 9. That's why I used integer versions for some libs. "10.0.0" < "5" (I should check my code too; thanks for this reminder!) Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From admin at FlexibleLearning.com Tue Dec 28 13:02:42 2021 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 28 Dec 2021 18:02:42 -0000 Subject: chartsEngine bug with version 10 of LC Message-ID: <005701d7fc15$1e27b330$5a771990$@FlexibleLearning.com> > I?ve encountered a problem with the third-party LiveCode product > chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a > high enough version number. (AnimationEngine was reporting a similar error > which I was able to fix since the scripts are open.) ChartsEngine is, however, > locked. Originally written by Malte Brill, the current owner is, I believe, > Bj?rnke von GierkeI. I?ve tried contacting him but haven?t heard anything. > Anyone else pondering this issue? I use chartsEngine in two commercial > mobile apps so I?m hoping to work out a solution rather than rebuild the > charting layout portion of these apps once building with 10.x versions of LC is > required. Has anyone encountered issues with ChartMaker in LC v10? Hugh Senior > And just for my own curiosity, (this is what I encountered in animationEngine > so I?m assuming something similar in chartsEngine) I?m interested in an > explanation (rather than my own guess) for why "9.6.6-rc-1? evaluates as > not less than 5 but "10.0.0-dp-1? evaluates to less than 5 . > > -- > Scott Morrow From scott at elementarysoftware.com Tue Dec 28 20:13:18 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 17:13:18 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> I’m still a little unclear about exactly what is going on here. put “foo” < 9 -- returns “false” put “foo” > 9 -- returns “true” put “9foo” < 9 -- returns “false” put “9foo” > 9 -- returns “true” put “9.foo” < 9 -- returns “false” put “7.foo” < 9 -- returns “true” put “77.foo” < 9 -- returns “true” put “9.foo” > 9 -- returns “true” put “7.foo” > 9 -- returns “false” put “77.foo” > 9 -- returns “false” -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ——————————————————————————— > On Dec 28, 2021, at 9:27 AM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > why "9.6.6-rc-1” evaluates as not less than 5 > > but "10.0.0-dp-1” evaluates to less than 5. > > That's the tricky thing about dotted versions; > easy to forget and set up a text comparison: > > "9" > "5" > "1" < "5" > > Once you have two dots, or an rc/dp, it's a string. > They seem to compare perfectly...until you pass 9. > That's why I used integer versions for some libs. > > "10.0.0" < "5" > > (I should check my code too; thanks for this reminder!) > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ From ahsoftware at sonic.net Tue Dec 28 20:40:15 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Dec 2021 17:40:15 -0800 Subject: New user In-Reply-To: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> References: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> Message-ID: On 12/24/21 1:08 PM, Pi Digital via use-livecode wrote: > My son and I have been working on a physical Train Sim World controller which is basically the whole dashboard from a Class 365. It uses an Arduino board and a digital serial shunt to pick up all the buttons, switches and sliders and control lights and dials. This is then picked up by LiveCode and converted into XML for TSW to read from live and control the Sim and provide feedback for the gauges. That sounds like an awesome project. Any chance of you writing this up with more details as a blog post or something in your copious free time? -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Tue Dec 28 22:37:35 2021 From: irog at mac.com (Roger Guay) Date: Tue, 28 Dec 2021 19:37:35 -0800 Subject: Infection Simulation In-Reply-To: References: Message-ID: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. Cheers, Roger From curry at pair.com Tue Dec 28 22:56:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Dec 2021 22:56:16 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> References: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> Message-ID: <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> Scott: > Im still a little unclear about exactly what is going on here. Because you are NOT comparing numbers. You are comparing (like sorting) text. That usually means: the FIRST CHAR of each string. (The ASCII/ANSI/etc values of those chars.) > put 7.foo < 9 -- returns true Because "7" < "9". > put 77.foo < 9 -- returns true Because "7" < "9". (FIRST CHAR) I just looked at WordLib's code: it's already coded correctly! Ready for LC version 10 or LC 1000. (Going way back, I was already cautious about these dotted-version comparisons.) Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From scott at elementarysoftware.com Wed Dec 29 00:41:55 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 21:41:55 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> References: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> Message-ID: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> Hello Curry, I’m still puzzled. So you are saying that if the first char of the string is a number then it uses the number but if the first char is not a number then it uses the ascii value of the first char? It seems like there is more to it than that. Obviously we wouldn’t expect “9foo” = 9 to evaluate to “true” and why then would “9foo" > 9 return “true” ? I’m not trying to solve any current programming issue with this question… just curious. Thanks > On Dec 28, 2021, at 7:56 PM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > I’m still a little unclear about exactly what is going on here. > > Because you are NOT comparing numbers. > You are comparing (like sorting) text. > > That usually means: the FIRST CHAR of each string. > (The ASCII/ANSI/etc values of those chars.) > > > put “7.foo” < 9 -- returns “true” > > Because "7" < "9". > > > put “77.foo” < 9 -- returns “true” > > Because "7" < "9". (FIRST CHAR) > > I just looked at WordLib's code: > it's already coded correctly! > Ready for LC version 10 or LC 1000. > > (Going way back, I was already cautious > about these dotted-version comparisons.) > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Dec 29 01:23:55 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 29 Dec 2021 01:23:55 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> References: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> Message-ID: <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> Scott: > So you are saying that if the first char of the string is a number No! There is no number. Don't think about numbers. :) Both sides are text in your comparison. > it uses the ascii value of the first char? Always! Because both sides are text. Two text strings. No numbers. LC compares the FIRST CHAR of each text. (If they are equal: then the 2nd chars, etc.) > 9foo > 9 Because "9" = "9" ... but "f" > "". If you want a numerical comparison, both sides must be numbers! Once you have two dots, or an "f" etc, it's a string. And if either side is text, the comparison is textual. Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From williamdesmet at gmail.com Wed Dec 29 04:57:12 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 29 Dec 2021 10:57:12 +0100 Subject: Is there a better way to check if images are the same? I now use imagedata Message-ID: Hi there, Is there a better way to check if images are the same? I now use imagadata. In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). These dots are important because by touching them their Loc is used (gStartLoc and gStartLoc) Two dots will be connected by setting the points of the last grc to gStartLoc & return & gStartLoc. No problem here. The idea is that the user copies my example on their matrix/geoboard by connecting the dots. To check if the made images (geoboards) are the same I make a snapshot of both and compare the imagadata of these images. Everything is fine as long as the user connects the same dots as the way (length between dots) it is done in the example. Then the imagadat is the same. The geoboards can look the same but the connected dots can be different in length so use imagadata to compare these is not the way to get it right. Any ideas for a better way? greetings, William From scott at elementarysoftware.com Wed Dec 29 06:31:21 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 29 Dec 2021 03:31:21 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> References: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> Message-ID: <6AFDF194-3BBB-4C67-AC05-990237E274E0@elementarysoftware.com> > (If they are equal: then the 2nd chars, etc.) Ah, that was the helpful piece of information I required. I didn’t realize it worked through the string one ASCII character at a time (with neither side being a “number” anymore.) (With the exception of upper and lower case characters having different ascii but evaluating as equivalent.) Whew! I knew I had both consumed coffee and taken a nap. I was about ready to ask you to use smaller words. :- ) One of the things that was throwing me (though I’m sure everyone else was rolling their eyes) was the > > “9foo” > 9 > > Because "9" = "9" ... but "f" > “” because, if I’m understanding this correctly, it is really evaluated as 59 = 59 …. 102 <> empty I like that "-1” < empty AND 1 > empty BUT 0 isn’t lesser/greater/equal to empty. I’m not sure why this whole string comparison issue hasn’t come up for me before but I’m sure that you will all be thankful that I’m ready to move on to my next question... why is it that the socks I put into the wash aren’t always equivalent to the socks that come out of the dryer. A rounding issue? — Scott > On Dec 28, 2021, at 10:23 PM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > So you are saying that if the first char of the string is a number > > No! There is no number. > Don't think about numbers. :) > Both sides are text in your comparison. > > > it uses the ascii value of the first char? > > Always! Because both sides are text. > Two text strings. No numbers. > > LC compares the FIRST CHAR of each text. > (If they are equal: then the 2nd chars, etc.) > > > “9foo” > 9 > > Because "9" = "9" ... but "f" > "". > > If you want a numerical comparison, > both sides must be numbers! > > Once you have two dots, or an "f" etc, it's a string. > And if either side is text, the comparison is textual. > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Dec 29 07:26:28 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 29 Dec 2021 12:26:28 +0000 Subject: Infection Simulation In-Reply-To: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: <935B5228-2042-4046-A20E-765103C1348B@gmail.com> Neat simulation Roger. I wonder if you could simulate the effect of a lock down where small groups form and individuals rarely move outside their bubble? That might show the benefit of lockdowns in helping to reduce the spread of disease. Also, I did not understand what the concept of “diversity” meant in this context. Mark > On Dec 29, 2021, at 3:37 AM, Roger Guay via use-livecode wrote: > > I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. > > Cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Dec 29 09:23:09 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Dec 2021 14:23:09 +0000 Subject: Infection Simulation In-Reply-To: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: That's really cool - thanks. Improvements ?   How much time do you have :-) 1. Visual display of contagion zone while running. 2. Recovery. After being infected for some length of time, an individual stops being infectious; either it dies, and becomes a static black dot, or recovers and becomes a white dot again. Probably different times for each of those to happen.  And obviously a control for the likelihood of recovery vs death. 3.  Probabilistic infection. Rather than always infect another which comes within reach, make that a probability of infection. 4. Viral load. Make the probability as above follow a bell curve over time, as the individual becomes more infected, then recovers. 5. Simulate superspreader events. Maybe introduce short-term "gravity" that attracts individuals within a range together - and hence if one is already infected they infects lots of others. And I could go on almost forever :-) Thinking of features is orders of magnitude easier and quicker than implementing them :-) Thanks again, Alex. On 29/12/2021 03:37, Roger Guay via use-livecode wrote: > I just uploaded a stack called Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. Its a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. > > Cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 29 11:41:02 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 29 Dec 2021 11:41:02 -0500 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: Message-ID: <03FA071D-F956-424B-A9C1-8319FF344007@all-auctions.com> Hi William, If you could provide a link to a photo example of what you are doing that would help us to understand the problem better. There may be a way to simplify your process so you don’t have to check every pixel. Rick > On Dec 29, 2021, at 4:57 AM, William de Smet via use-livecode wrote: > > Hi there, > > Is there a better way to check if images are the same? > I now use imagadata. > > In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). > These dots are important because by touching them their Loc is used > (gStartLoc and gStartLoc) > Two dots will be connected by setting the points of the last grc to > gStartLoc & return & gStartLoc. > No problem here. > > The idea is that the user copies my example on their matrix/geoboard by > connecting the dots. > To check if the made images (geoboards) are the same I make a snapshot of > both and compare the imagadata of these images. > Everything is fine as long as the user connects the same dots as the way > (length between dots) it is done in the example. > Then the imagadat is the same. > > The geoboards can look the same but the connected dots can be different in > length so use imagadata to compare these is not the way to get it right. > > Any ideas for a better way? > > > > 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 From prothero at earthlearningsolutions.org Wed Dec 29 11:41:03 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 29 Dec 2021 08:41:03 -0800 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: Message-ID: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> William, I understand that you want to see if the dots that are connected in one path are also connected in another path which may have them connected in a different order. Seems you could just loop through each dot in the reference path, then see if the same dots are included in the user’s path. You would need to include a name for each reference point, of course. That’s if I understand your problem correctly. Bill Sent from my iPad > On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode wrote: > > Hi there, > > Is there a better way to check if images are the same? > I now use imagadata. > > In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). > These dots are important because by touching them their Loc is used > (gStartLoc and gStartLoc) > Two dots will be connected by setting the points of the last grc to > gStartLoc & return & gStartLoc. > No problem here. > > The idea is that the user copies my example on their matrix/geoboard by > connecting the dots. > To check if the made images (geoboards) are the same I make a snapshot of > both and compare the imagadata of these images. > Everything is fine as long as the user connects the same dots as the way > (length between dots) it is done in the example. > Then the imagadat is the same. > > The geoboards can look the same but the connected dots can be different in > length so use imagadata to compare these is not the way to get it right. > > Any ideas for a better way? > > > > 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 From prothero at earthlearningsolutions.org Wed Dec 29 11:50:03 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 29 Dec 2021 08:50:03 -0800 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> Message-ID: <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> William, My basic suggestion is that you use the location data of each connected dot, rather than the image data. Good luck, Bill P Sent from my iPad > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode wrote: > > William, > I understand that you want to see if the dots that are connected in one path are also connected in another path which may have them connected in a different order. Seems you could just loop through each dot in the reference path, then see if the same dots are included in the user’s path. You would need to include a name for each reference point, of course. That’s if I understand your problem correctly. > > Bill > > > Sent from my iPad > >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode wrote: >> >> Hi there, >> >> Is there a better way to check if images are the same? >> I now use imagadata. >> >> In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). >> These dots are important because by touching them their Loc is used >> (gStartLoc and gStartLoc) >> Two dots will be connected by setting the points of the last grc to >> gStartLoc & return & gStartLoc. >> No problem here. >> >> The idea is that the user copies my example on their matrix/geoboard by >> connecting the dots. >> To check if the made images (geoboards) are the same I make a snapshot of >> both and compare the imagadata of these images. >> Everything is fine as long as the user connects the same dots as the way >> (length between dots) it is done in the example. >> Then the imagadat is the same. >> >> The geoboards can look the same but the connected dots can be different in >> length so use imagadata to compare these is not the way to get it right. >> >> Any ideas for a better way? >> >> >> >> 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 From irog at mac.com Wed Dec 29 12:09:00 2021 From: irog at mac.com (Roger Guay) Date: Wed, 29 Dec 2021 09:09:00 -0800 Subject: Infection Simulation In-Reply-To: References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: <8B1560A0-6834-49A2-9EBE-359044520669@mac.com> Thanks for the many great ideas, Alex. They will keep me busy for a while. Roger > On Dec 29, 2021, at 6:23 AM, Alex Tweedly via use-livecode wrote: > > That's really cool - thanks. > > Improvements ? How much time do you have :-) > > 1. Visual display of contagion zone while running. > > 2. Recovery. After being infected for some length of time, an individual stops being infectious; either it dies, and becomes a static black dot, or recovers and becomes a white dot again. Probably different times for each of those to happen. And obviously a control for the likelihood of recovery vs death. > > 3. Probabilistic infection. Rather than always infect another which comes within reach, make that a probability of infection. > > 4. Viral load. Make the probability as above follow a bell curve over time, as the individual becomes more infected, then recovers. > > 5. Simulate superspreader events. Maybe introduce short-term "gravity" that attracts individuals within a range together - and hence if one is already infected they infects lots of others. > > And I could go on almost forever :-) > Thinking of features is orders of magnitude easier and quicker than implementing them :-) > > Thanks again, > > Alex. > > > On 29/12/2021 03:37, Roger Guay via use-livecode wrote: >> I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. >> >> Cheers, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Wed Dec 29 12:13:13 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 29 Dec 2021 18:13:13 +0100 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> Message-ID: Thanks for the replies. I just put it on the forum as well and attached an image with it to get a better idea of what I want to do. https://forums.livecode.com/viewtopic.php?f=8&t=36585 greetings,, William Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode < use-livecode at lists.runrev.com>: > William, > My basic suggestion is that you use the location data of each connected > dot, rather than the image data. > Good luck, > Bill P > > Sent from my iPad > > > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > William, > > I understand that you want to see if the dots that are connected in one > path are also connected in another path which may have them connected in a > different order. Seems you could just loop through each dot in the > reference path, then see if the same dots are included in the user’s path. > You would need to include a name for each reference point, of course. > That’s if I understand your problem correctly. > > > > Bill > > > > > > Sent from my iPad > > > >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi there, > >> > >> Is there a better way to check if images are the same? > >> I now use imagadata. > >> > >> In my app I have an example drawn image (5x5 matrix with dots, a > Geoboard). > >> These dots are important because by touching them their Loc is used > >> (gStartLoc and gStartLoc) > >> Two dots will be connected by setting the points of the last grc to > >> gStartLoc & return & gStartLoc. > >> No problem here. > >> > >> The idea is that the user copies my example on their matrix/geoboard by > >> connecting the dots. > >> To check if the made images (geoboards) are the same I make a snapshot > of > >> both and compare the imagadata of these images. > >> Everything is fine as long as the user connects the same dots as the way > >> (length between dots) it is done in the example. > >> Then the imagadat is the same. > >> > >> The geoboards can look the same but the connected dots can be different > in > >> length so use imagadata to compare these is not the way to get it right. > >> > >> Any ideas for a better way? > >> > >> > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 29 12:27:10 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2021 11:27:10 -0600 Subject: Only kinda OT Message-ID: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's short: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 29 13:02:39 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2021 12:02:39 -0600 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> Message-ID: <17e075bba18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the intent is to copy the example exactly then I'd think the imageData would be the same. But I'd use location data as others have suggested. Get the end points of the line graphic and loop through a list of correct points to compare against. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 29, 2021 11:15:50 AM William de Smet via use-livecode wrote: > Thanks for the replies. > I just put it on the forum as well and attached an image with it to get a > better idea of what I want to do. > https://forums.livecode.com/viewtopic.php?f=8&t=36585 > > greetings,, > > William > > > > > Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode < > use-livecode at lists.runrev.com>: > >> William, >> My basic suggestion is that you use the location data of each connected >> dot, rather than the image data. >> Good luck, >> Bill P >> >> Sent from my iPad >> >> > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > William, >> > I understand that you want to see if the dots that are connected in one >> path are also connected in another path which may have them connected in a >> different order. Seems you could just loop through each dot in the >> reference path, then see if the same dots are included in the users path. >> You would need to include a name for each reference point, of course. >> Thats if I understand your problem correctly. >> > >> > Bill >> > >> > >> > Sent from my iPad >> > >> >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> >> >> Hi there, >> >> >> >> Is there a better way to check if images are the same? >> >> I now use imagadata. >> >> >> >> In my app I have an example drawn image (5x5 matrix with dots, a >> Geoboard). >> >> These dots are important because by touching them their Loc is used >> >> (gStartLoc and gStartLoc) >> >> Two dots will be connected by setting the points of the last grc to >> >> gStartLoc & return & gStartLoc. >> >> No problem here. >> >> >> >> The idea is that the user copies my example on their matrix/geoboard by >> >> connecting the dots. >> >> To check if the made images (geoboards) are the same I make a snapshot >> of >> >> both and compare the imagadata of these images. >> >> Everything is fine as long as the user connects the same dots as the way >> >> (length between dots) it is done in the example. >> >> Then the imagadat is the same. >> >> >> >> The geoboards can look the same but the connected dots can be different >> in >> >> length so use imagadata to compare these is not the way to get it right. >> >> >> >> Any ideas for a better way? >> >> >> >> >> >> >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Dec 29 16:54:39 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 29 Dec 2021 21:54:39 +0000 Subject: Only kinda OT In-Reply-To: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 Now, what was that original link about again? 😂 > On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: > > It's short: > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 30 01:41:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 00:41:17 -0600 Subject: Sorting cards Message-ID: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains the original sort and does a sub-sort. I don't want that. What's the best way to ignore the previous sort order? I've tried a number of things with no luck. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From curry at pair.com Thu Dec 30 05:13:01 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 30 Dec 2021 05:13:01 -0500 Subject: WordLib Christmas Coupon: Final Days to Save Message-ID: <4b31ae79-d81c-958d-fe62-49669c88d52c@pair.com> Ho ho - whoa - only one week to go? Yep, I'm honoring all 12 days of Christmas with a WordLib 2.3 Coupon for 30% Off. But we're already at the half-way point; after January 5, this deal is history. So get it while it's ... cold. And may your New Year be ... bold. Q: Can I use PayPal? A: Yes! That's the default. Q: Can I use a card? A: Yes! Just log OUT of PayPal beforehand, and you'll see "PayPal Guest Checkout" with credit/debit card options. Q: Will the LC Store have this Coupon? A: Very possibly! What I know for certain is that WordLib 2.3 and the Coupon are available right now at CurryK.... Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 Christmas Coupon: NOEL-2021 Discount: Extra 30% Off (Don't forget your Coupon during checkout!) Coming up next (revised): 1. Projects. (Clients ALWAYS come first!) 2. Further backend automation (Early January) 3. WordReport Update (End of January?) 4. Restoring SpreadLib ordering 5. SpreadLib/WordOut Updates (Schedule TBD) 6. The next big thing.... (and FT) :) Happy coding! More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mkoob at rogers.com Thu Dec 30 09:54:36 2021 From: mkoob at rogers.com (Martin Koob) Date: Thu, 30 Dec 2021 09:54:36 -0500 Subject: Only kinda OT In-Reply-To: References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <74D43A20-8560-45CD-822D-466D97C11A8B@rogers.com> a software developer walks into a bar and orders a list. Martin > On Dec 29, 2021, at 4:54 PM, Mark Smith via use-livecode wrote: > > Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 > > So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 > > Now, what was that original link about again? 😂 > >> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: >> >> It's short: >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Dec 30 10:25:33 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2021 15:25:33 +0000 Subject: Sorting cards In-Reply-To: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> You shouldn't need to ignore the previous sort. The second sort over-rides the first; it's only when looking at those cards which have the same value for the second field that the previous sorting applies. So if we have A2 B1 A1 C3 If we sort by char 2 of each, we would get    B1 A1 A2 C3 (nb - all with a 1, then all with a 2, ...) and THEN sort by char 1 of each, we get   A1 A2 B1 C3 (all A then all B then all ..., ) If we have A2 B1 A1 C3 and sort by char 1 of each, we get A2 A1 B1 C3 (all As before Bs, ...  and within the As they remain in the same order as they were). Hmmm - not sure if that's clear or not. Other way to think of it : a stable sort means that items which have matching keys remain in the same relative position. Alex (P.S. you're perhaps mixing up "first" and "second" - if want them "properly" sorted, you do the less important one (minor) first, then the major one. Hope that doesn't muddy it any more.) On 30/12/2021 06:41, J. Landman Gay via use-livecode wrote: > I am converting an old stack to LC and it needs to sort cards by one > of two fields. LC does stable sorts, so if I sort by field 1 it works, > and then if I sort later by field 2 it retains the original sort and > does a sub-sort. I don't want that. What's the best way to ignore the > previous sort order? > > I've tried a number of things with no luck. > From tom at makeshyft.com Thu Dec 30 14:12:25 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 14:12:25 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? Message-ID: Hi Folks, Today I found out that if I put a password on my stack, any code that sets the script of an object in that stack receives an execution error when running as standalone. Why is this so? And is there a workaround? Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Thu Dec 30 14:38:00 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 13:38:00 -0600 Subject: Sorting cards In-Reply-To: <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> Message-ID: <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> Thanks for the reply. I understand how it works, my question is how to make it not work that way. :) Basically, I don't want the sub-sort. On the other hand, something may have gone wrong when sorting by the first field because the order didn't change at all -- it was like I never executed the command. I need to investigate that. Details: two fields, named "title" and "category". Sort by field "category", works. Later on, sort by field "title" -- no change. I tried this: sort cards by random(10000) -- mix them up sort cards by field "title" also: sort cards numeric by the short ID of this card -- put them back in natural order sort cards by field "title" Nope, except for once. I don't know why it worked only once. I'll poke around, but the question still stands for reference: how do we avoid the sub-sort? Maybe one of the two examples above is the way. On 12/30/21 9:25 AM, Alex Tweedly via use-livecode wrote: > You shouldn't need to ignore the previous sort. The second sort over-rides the first; it's only > when looking at those cards which have the same value for the second field that the previous > sorting applies. > > So if we have > > A2 B1 A1 C3 > > If we sort by char 2 of each, we would get    B1 A1 A2 C3 (nb - all with a 1, then all with a > 2, ...) > > and THEN sort by char 1 of each, we get   A1 A2 B1 C3 (all A then all B then all ..., ) > > If we have A2 B1 A1 C3 and sort by char 1 of each, we get A2 A1 B1 C3 (all As before Bs, ... > and within the As they remain in the same order as they were). > > Hmmm - not sure if that's clear or not. > > Other way to think of it : a stable sort means that items which have matching keys remain in > the same relative position. > > Alex > > (P.S. you're perhaps mixing up "first" and "second" - if want them "properly" sorted, you do > the less important one (minor) first, then the major one. Hope that doesn't muddy it any more.) > > > On 30/12/2021 06:41, J. Landman Gay via use-livecode wrote: >> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it >> retains the original sort and does a sub-sort. I don't want that. What's the best way to >> ignore the previous sort order? >> >> I've tried a number of things with no luck. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Thu Dec 30 14:42:04 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 30 Dec 2021 14:42:04 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: I would hope that would be the behavior. It would also make it harder for your stack to get borked by someone else. If I was trying to break that behavior I would try to put the code into a variable, encrypt the variable using the password, then set the script of the object to the encrypted version, although I don't know what algorithm LC is using. On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Folks, > > Today I found out that if I put a password on my stack, any code that sets > the script of an object in that stack receives an execution error when > running as standalone. > > Why is this so? > > And is there a workaround? > > Thanks, > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 jacque at hyperactivesw.com Thu Dec 30 14:45:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 13:45:22 -0600 Subject: Only kinda OT In-Reply-To: References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8ca5e469-886f-62a5-2752-0be99cf4161c@hyperactivesw.com> You're supposed to put a piece of cardboard over the right side of the screen when viewing YouTube. Solves everything. It was funny, when I watched the video the first time my reaction was "huh??" And then I remembered the title and everything clicked into place and I thought it was hysterically funny. As you age you lose a synapse or two... Oh, and thanks just heaps for the other references, now I'll have to go look. :P On 12/29/21 3:54 PM, Mark Smith wrote: > Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 > > So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 > > Now, what was that original link about again? 😂 > >> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: >> >> It's short: >> >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu Dec 30 15:19:30 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 12:19:30 -0800 Subject: Sorting cards In-Reply-To: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: jacqui jagged, >What's the best way to ignore the previous sort order? I think what you’re looking at here isn’t even livecode itself. Just about any computer sort doesn’t change the order of two objects that “tie” during a sort—whichever was first, remains first. I think you’re going to need to store the original order. Or add a field or property of original_order, with the card number. Then you could sort by *that* to restore the order before going to your second field. From jerry at jhjensen.com Thu Dec 30 15:26:28 2021 From: jerry at jhjensen.com (Jerry Jensen) Date: Thu, 30 Dec 2021 12:26:28 -0800 Subject: Sorting cards In-Reply-To: References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: Behold the new keyword undoSort > On Dec 30, 2021, at 12:19 PM, doc hawk via use-livecode wrote: > > > jacqui jagged, > >> What's the best way to ignore the previous sort order? > > I think what you’re looking at here isn’t even livecode itself. > > Just about any computer sort doesn’t change the order of two objects that “tie” > during a sort—whichever was first, remains first. > > I think you’re going to need to store the original order. > > Or add a field or property of original_order, with the card number. Then you > could sort by *that* to restore the order before going to your second field. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 30 15:46:48 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 30 Dec 2021 15:46:48 -0500 Subject: apns/content-available Message-ID: Has anyone messed with using the content-available dictionary key with APNS to cause your app to wake up and process your payload? From cubist at aol.com Thu Dec 30 15:52:29 2021 From: cubist at aol.com (Quentin Long) Date: Thu, 30 Dec 2021 20:52:29 +0000 (UTC) Subject: Sorting cards In-Reply-To: References: Message-ID: <1755594361.226795.1640897549937@mail.yahoo.com> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does  > stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains  > the original sort and does a sub-sort. I don't want that. What's the best way to ignore the  > previous sort order? Hmmm… how about this? 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. From alex at tweedly.net Thu Dec 30 16:02:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2021 21:02:56 +0000 Subject: Sorting cards In-Reply-To: <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> Message-ID: <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> On 30/12/2021 19:38, J. Landman Gay via use-livecode wrote: > Thanks for the reply. I understand how it works, my question is how to > make it not work that way. :) Basically, I don't want the sub-sort. The 'sub-sort' will only have any effect if there are cards with identical values for the "title" field; if teh titles are unique, then previous sorts will be totally irrelevant. If there are duplicate values in the title field, then those cards will remain in the same relative orderas they were before that sort; if that's not desired, then you could do either of the versions you included below - either randomize or put back into original (ID) order first. > > On the other hand, something may have gone wrong when sorting by the > first field because the order didn't change at all -- it was like I > never executed the command. I need to investigate that. > Yeah, it sounds like that's the problem. > [ .... ] Nope, except for once. I don't know why it worked only once. > I'll poke around, but the question still stands for reference: how do > we avoid the sub-sort? Maybe one of the two examples above is the way. > Short answer: you don't, you can't. :-) When you "sort by field title" you are going to get stable order for those cards with identical titles. You can control the fine detail of that (obscure corner?) case by pre-sorting appropriately - either random, or short ID, or category, or .... Alex. From prothero at earthlearningsolutions.org Thu Dec 30 16:14:19 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 30 Dec 2021 13:14:19 -0800 Subject: Sorting cards In-Reply-To: <1755594361.226795.1640897549937@mail.yahoo.com> References: <1755594361.226795.1640897549937@mail.yahoo.com> Message-ID: It might be less work to just implement your own sorting code. I’ve found them pretty easy to implement. A bubble sort is very simple, but inefficient for a large number of items to sort. If you have a lot of cards, you would want to use a more efficient algorithm. Check out the link below if you are interested. https://en.wikipedia.org/wiki/Sorting_algorithm Good luck, Bill P Sent from my iPad > On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode wrote: > > sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains >> the original sort and does a sub-sort. I don't want that. What's the best way to ignore the >> previous sort order? > > Hmmm… how about this? > 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. > If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". > > "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Dec 30 16:25:46 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 30 Dec 2021 13:25:46 -0800 Subject: Sorting cards In-Reply-To: References: Message-ID: <34951B8A-0843-404C-9232-D3BE94C45810@earthlearningsolutions.org> Actually, I like Jackie’s idea better. Make an array for each of the parameters to be sorted on. Then sort each of the arrays. You can access each card in the sorted order by referring to the card ID in the sorted array. Or you could put each card identifier in a text line with commas between each item and sort on item # of the lines. Hope this makes sense. Bill P Easy peasy. Best, Bill P Sent from my iPad > On Dec 30, 2021, at 1:15 PM, William Prothero via use-livecode wrote: > > It might be less work to just implement your own sorting code. I’ve found them pretty easy to implement. A bubble sort is very simple, but inefficient for a large number of items to sort. If you have a lot of cards, you would want to use a more efficient algorithm. Check out the link below if you are interested. > > https://en.wikipedia.org/wiki/Sorting_algorithm > > Good luck, > Bill P > > Sent from my iPad > >>> On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode wrote: >>> >> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >>> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains >>> the original sort and does a sub-sort. I don't want that. What's the best way to ignore the >>> previous sort order? >> >> Hmmm… how about this? >> 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. >> If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". >> >> "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 30 16:33:35 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 16:33:35 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: Hmmm....I hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder for > your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code into a > variable, encrypt the variable using the password, then set the script of > the object to the encrypted version, although I don't know what algorithm > LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code that > sets > > the script of an object in that stack receives an execution error when > > running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From dochawk at gmail.com Thu Dec 30 16:41:53 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 13:41:53 -0800 Subject: Sorting cards In-Reply-To: <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> Message-ID: If you’re working on the original stack and not a duplicate, I suppose you could always kill -9 Livecode before it saves . . . From dochawk at gmail.com Thu Dec 30 16:44:33 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 13:44:33 -0800 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: <00B909A6-A7C7-4B19-A10D-AA51D23ED288@gmail.com> tom trilled, > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. Now I’m wondering . . . can you set the behavior of the object in the protected stack to a button in an unencrypted stack? From rdimola at evergreeninfo.net Thu Dec 30 16:54:24 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 30 Dec 2021 16:54:24 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: <003301d7fdc7$d2364450$76a2ccf0$@net> I thought for a standalone if you "set the passKey of stack "x" to "y" you will be able to modify scripts. This will only be in ram. If your standalone saves the stack then do "set the password of stack to "y" before saving. If someone is scraping ram memory then you have a problem, but if someone is scraping memory you have bigger problems. 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 Tom Glod via use-livecode Sent: Thursday, December 30, 2021 4:34 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: Is it normal to not be able to set script of objects in an encrypted stack? Hmmm....I hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder > for your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code > into a variable, encrypt the variable using the password, then set the > script of the object to the encrypted version, although I don't know > what algorithm LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code > > that > sets > > the script of an object in that stack receives an execution error > > when running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 30 18:18:45 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 18:18:45 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: <003301d7fdc7$d2364450$76a2ccf0$@net> References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Hey guys, while this is interesting to know and think about ..... i solved my problem by not needing to set the script. Thanks for taking time On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought for a standalone if you "set the passKey of stack "x" to "y" you > will be able to modify scripts. This will only be in ram. If your > standalone > saves the stack then do "set the password of stack to "y" before saving. If > someone is scraping ram memory then you have a problem, but if someone is > scraping memory you have bigger problems. > > 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 Tom Glod via use-livecode > Sent: Thursday, December 30, 2021 4:34 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Is it normal to not be able to set script of objects in an > encrypted stack? > > Hmmm....I hear you, that makes sense. > > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. > > Thanks MIke. > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I would hope that would be the behavior. It would also make it harder > > for your stack to get borked by someone else. > > If I was trying to break that behavior I would try to put the code > > into a variable, encrypt the variable using the password, then set the > > script of the object to the encrypted version, although I don't know > > what algorithm LC is using. > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Folks, > > > > > > Today I found out that if I put a password on my stack, any code > > > that > > sets > > > the script of an object in that stack receives an execution error > > > when running as standalone. > > > > > > Why is this so? > > > > > > And is there a workaround? > > > > > > Thanks, > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > 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 > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Fri Dec 31 01:05:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Dec 2021 00:05:40 -0600 Subject: Sorting cards In-Reply-To: References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: Thanks for all the ideas, guys. I seem to get the most consistent results if I sort by the short ID of each card and then follow that with the sort for category or title. Because the data was imported from a text file, the original order is the order of the card IDs. What threw me originally is that some cards don't sort in the order I expect. A category that starts with B is sorted before a category that starts with A. I assume the categories retain their original order when they collect matching cards. A few cards with blank categories sort to the front (good) but when sorted by title they remain at the front even though the titles all start with "The". That's okay because they are summary cards that should be at the front, but I'm not sure why they stay there during an alphabetical title sort instead of moving to the Ts. I didn't find any leading spaces or invisible characters. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andreas.bergendal at gmail.com Fri Dec 31 09:01:39 2021 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 31 Dec 2021 15:01:39 +0100 Subject: Invalid mac/ios standalone engine file Message-ID: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> Hi all, So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded my Mac to Monterey (12.1) and Xcode to 13.2.1. I now want to build an iOS15 version of my app and upload to AppStore, to prevent the crashing that has occurred for users with the iOS14 version. Everything works fine in the Simulator (iOS15.2), but when I try to build the standalone for upload, I get the error message: ”There was an error while saving the standalone application invalid mac/ios standalone engine file” It still actually builds the app, but I’m afraid of uploading it to AppStore after such an error message. I have so far done the following: - Using macOS Monterey 12.1 - Using Xcode 13.2.1 - Selected Xcode 13.2.1 in the Command Line Tools section in Xcode - Reinstalled the Command Line Tools just in case (following hint in the Forum) - Using LiveCode 9.6.6 rc1 (Pro) - Selected the correct path in LC to Xcode 13.2.1, green-lighted - Turned the Mac off, and on again... With a development provisioning profile everything works fine when deploying to the Simulator. With a development provisioning profile the error message appears and it doesn’t deploy to my physical device (iPhone X, iOS 15.2). With a distribution provisioning profile the error message appears when building a standalone. All certificates and provisioning profiles are valid. Why, oh why, does it not work? Hoping for a solution before the New Year! :) Wishing you all a Happy New Coding Year 2022! /Andreas From merakosp at gmail.com Fri Dec 31 10:33:16 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 31 Dec 2021 17:33:16 +0200 Subject: Invalid mac/ios standalone engine file In-Reply-To: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> References: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> Message-ID: Hello Andreas, What is the minimum deployment target in the iOS standalone settings? I suggest setting it to "9.0 or later". Kind regards, Panos -- On Fri, 31 Dec 2021 at 16:03, Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded > my Mac to Monterey (12.1) and Xcode to 13.2.1. > > I now want to build an iOS15 version of my app and upload to AppStore, to > prevent the crashing that has occurred for users with the iOS14 version. > > Everything works fine in the Simulator (iOS15.2), but when I try to build > the standalone for upload, I get the error message: > ”There was an error while saving the standalone application > invalid mac/ios standalone engine file” > > It still actually builds the app, but I’m afraid of uploading it to > AppStore after such an error message. > > I have so far done the following: > - Using macOS Monterey 12.1 > - Using Xcode 13.2.1 > - Selected Xcode 13.2.1 in the Command Line Tools section in Xcode > - Reinstalled the Command Line Tools just in case (following hint in the > Forum) > - Using LiveCode 9.6.6 rc1 (Pro) > - Selected the correct path in LC to Xcode 13.2.1, green-lighted > - Turned the Mac off, and on again... > > With a development provisioning profile everything works fine when > deploying to the Simulator. > With a development provisioning profile the error message appears and it > doesn’t deploy to my physical device (iPhone X, iOS 15.2). > With a distribution provisioning profile the error message appears when > building a standalone. > > All certificates and provisioning profiles are valid. > > Why, oh why, does it not work? > > Hoping for a solution before the New Year! :) > Wishing you all a Happy New Coding Year 2022! > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andreas.bergendal at gmail.com Fri Dec 31 11:10:00 2021 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 31 Dec 2021 17:10:00 +0100 Subject: Invalid mac/ios standalone engine file Message-ID: Hi Panos, I had set the minimum deployment target to 15.0 or later. Changing it to 9.0 or later solved the problem! The new standalone was successfully deployed to device, as well as submitted for review on AppStore. I got this warning feedback (on top of the traditional "ITMS-90078: Missing Push Notification Entitlement”): "ITMS-90683: Missing Purpose String in Info.plist” As the app does not "access sensitive user data” I hope that warning too can safely be ignored. Or should I always fill in the App Tracking Transparency field in the standalone settings, even if not relevant? Anyway, many thanks for you swift and helpful reply Panos - I wish an especially Happy New Year to you! /Andreas From merakosp at gmail.com Fri Dec 31 11:23:44 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 31 Dec 2021 18:23:44 +0200 Subject: Invalid mac/ios standalone engine file In-Reply-To: References: Message-ID: Hello Andreas, You're welcome. RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a warning, it can be ignored for now. >>>>*Or should I always fill in the App Tracking Transparency field in the standalone settings, even if not relevant?* Nope, you should fill in this field only if your app tracks user activity among other apps/websites. Have a happy new year :) Cheers, Panos -- On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > I had set the minimum deployment target to 15.0 or later. Changing it to > 9.0 or later solved the problem! > > The new standalone was successfully deployed to device, as well as > submitted for review on AppStore. > > I got this warning feedback (on top of the traditional "ITMS-90078: > Missing Push Notification Entitlement”): > "ITMS-90683: Missing Purpose String in Info.plist” > > As the app does not "access sensitive user data” I hope that warning too > can safely be ignored. > Or should I always fill in the App Tracking Transparency field in the > standalone settings, even if not relevant? > > Anyway, many thanks for you swift and helpful reply Panos - I wish an > especially Happy New Year to you! > > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jmac at consensustech.com Fri Dec 31 11:51:09 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Fri, 31 Dec 2021 08:51:09 -0800 Subject: Invalid mac/ios standalone engine file In-Reply-To: References: Message-ID: Andreas/Panos, So glad you asked/answered. I’ve been putting off the Monterey update as I was afraid I wouldn’t be able to successfully build and deploy. Sounds safe to do as at least 1 person has had success. Happy New Year. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Dec 31, 2021, at 8:25 AM, panagiotis m via use-livecode wrote: > > Hello Andreas, > > You're welcome. > > RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a > warning, it can be ignored for now. > >>>>> *Or should I always fill in the App Tracking Transparency field in the > standalone settings, even if not relevant?* > Nope, you should fill in this field only if your app tracks user activity > among other apps/websites. > > Have a happy new year :) > > Cheers, > Panos > -- > > > > >> On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hi Panos, >> >> I had set the minimum deployment target to 15.0 or later. Changing it to >> 9.0 or later solved the problem! >> >> The new standalone was successfully deployed to device, as well as >> submitted for review on AppStore. >> >> I got this warning feedback (on top of the traditional "ITMS-90078: >> Missing Push Notification Entitlement”): >> "ITMS-90683: Missing Purpose String in Info.plist” >> >> As the app does not "access sensitive user data” I hope that warning too >> can safely be ignored. >> Or should I always fill in the App Tracking Transparency field in the >> standalone settings, even if not relevant? >> >> Anyway, many thanks for you swift and helpful reply Panos - I wish an >> especially Happy New Year to you! >> >> /Andreas >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Dec 31 13:38:55 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 31 Dec 2021 13:38:55 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Glad you solved it, but as long as we're throwing ideas around, you should be able to have a script of a button use do, so you really can have it do anything. You would just put the script into a variable, make the variable global, and have the button do the variable. On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hey guys, while this is interesting to know and think about ..... i solved > my problem by not needing to set the script. > > Thanks for taking time > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > you > > will be able to modify scripts. This will only be in ram. If your > > standalone > > saves the stack then do "set the password of stack to "y" before saving. > If > > someone is scraping ram memory then you have a problem, but if someone is > > scraping memory you have bigger problems. > > > > 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 Tom Glod via use-livecode > > Sent: Thursday, December 30, 2021 4:34 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Re: Is it normal to not be able to set script of objects in an > > encrypted stack? > > > > Hmmm....I hear you, that makes sense. > > > > On the flip side, as soon as I want to set the script of a button, I'm > > doomed to have my code remain readable. I gotta think of a workaround for > > why I was setting the script to begin with. > > > > Thanks MIke. > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I would hope that would be the behavior. It would also make it harder > > > for your stack to get borked by someone else. > > > If I was trying to break that behavior I would try to put the code > > > into a variable, encrypt the variable using the password, then set the > > > script of the object to the encrypted version, although I don't know > > > what algorithm LC is using. > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > Hi Folks, > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > that > > > sets > > > > the script of an object in that stack receives an execution error > > > > when running as standalone. > > > > > > > > Why is this so? > > > > > > > > And is there a workaround? > > > > > > > > Thanks, > > > > > > > > -- > > > > Tom Glod > > > > Founder & Developer > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > Mobile:647.562.9411 > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Fri Dec 31 20:38:42 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 31 Dec 2021 20:38:42 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Hey Mike, Good thinking.... that is indeed a great idea for workaround for this problem. Thank you, will put that in my back pocket for the future. Happy New Year everyone!!! On Fri, Dec 31, 2021 at 1:40 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Glad you solved it, but as long as we're throwing ideas around, you should > be able to have a script of a button use do, so you really can have it do > anything. You would just put the script into a variable, make the variable > global, and have the button do the variable. > > On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hey guys, while this is interesting to know and think about ..... i > solved > > my problem by not needing to set the script. > > > > Thanks for taking time > > > > > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > > you > > > will be able to modify scripts. This will only be in ram. If your > > > standalone > > > saves the stack then do "set the password of stack to "y" before > saving. > > If > > > someone is scraping ram memory then you have a problem, but if someone > is > > > scraping memory you have bigger problems. > > > > > > 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 Tom Glod via use-livecode > > > Sent: Thursday, December 30, 2021 4:34 PM > > > To: How to use LiveCode > > > Cc: Tom Glod > > > Subject: Re: Is it normal to not be able to set script of objects in an > > > encrypted stack? > > > > > > Hmmm....I hear you, that makes sense. > > > > > > On the flip side, as soon as I want to set the script of a button, I'm > > > doomed to have my code remain readable. I gotta think of a workaround > for > > > why I was setting the script to begin with. > > > > > > Thanks MIke. > > > > > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > I would hope that would be the behavior. It would also make it harder > > > > for your stack to get borked by someone else. > > > > If I was trying to break that behavior I would try to put the code > > > > into a variable, encrypt the variable using the password, then set > the > > > > script of the object to the encrypted version, although I don't know > > > > what algorithm LC is using. > > > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > Hi Folks, > > > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > > that > > > > sets > > > > > the script of an object in that stack receives an execution error > > > > > when running as standalone. > > > > > > > > > > Why is this so? > > > > > > > > > > And is there a workaround? > > > > > > > > > > Thanks, > > > > > > > > > > -- > > > > > Tom Glod > > > > > Founder & Developer > > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > > Mobile:647.562.9411 > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > > > > > -- > > > > 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 > > > > > > > > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jiml at netrin.com Fri Dec 31 21:02:20 2021 From: jiml at netrin.com (Jim Lambert) Date: Fri, 31 Dec 2021 18:02:20 -0800 Subject: Happy New Year! In-Reply-To: References: Message-ID: <17012BDA-A77B-4D49-86F3-18E447A2FAC6@netrin.com> A very Happy, Prosperous and Safe 2022 to all! Jim Lambert From chipsm at themartinz.com Fri Dec 31 21:23:10 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Sat, 1 Jan 2022 02:23:10 +0000 Subject: I wish all a Happy & Prosperous New year Message-ID: Back at you Jim. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: (626)696-5561 From rjearp99 at gmail.com Wed Dec 1 14:06:28 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Wed, 1 Dec 2021 11:06:28 -0800 Subject: use-livecode Digest, Vol 219, Issue 1 In-Reply-To: References: Message-ID: <2BC90C53-7FF7-49E8-B5AA-2F8B5F685CC7@gmail.com> Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) Thanks again and kind regards, Bob... Robert (Bob) Earp White Rock British Columbia Canada > On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Yes it does. I use Apple Mail in this way and it works fine. > > Bob S > > > On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: > > I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > From dvglasgow at gmail.com Wed Dec 1 14:26:21 2021 From: dvglasgow at gmail.com (David Glasgow) Date: Wed, 1 Dec 2021 19:26:21 +0000 Subject: screen resolution and stack height Message-ID: Hi folks, I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) Best Wishes, David Glasgow From curry at pair.com Wed Dec 1 16:02:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 1 Dec 2021 16:02:41 -0500 Subject: December Archive, Where (4) art Thou? Message-ID: <7485bf52-834c-d61c-696f-6602f80c71b9@pair.com> In our last cliffhanging adventure, we saw the November use-lc Archive lurch back to life after a mid-month near-death experience. Yet today another symptom rises from the ashes, gentle reader, to threaten the free world: http://lists.runrev.com/pipermail/use-livecode/ Where's December? Will a hero rise to the occasion, or will an entire month be lost to history? That is the question. We'll find out, in this thrilling episode of the LC List Reality Show.... Meantime, here's an alternative: I'm keeping that bookmarked now as a backup. (Problem is that anyone else in digest mode won't see this email until tomorrow; but ah well.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ --- Mark: > Its a side-effect of deleting a recent post > which contained sensitive information From craig at starfirelighting.com Thu Dec 2 09:24:41 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:24:41 -0500 Subject: screen resolution and stack height In-Reply-To: References: Message-ID: Hi. The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. So what prevents you from making your card size whatever you want? In other words, why worry about this at all? Craig > On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: > > Hi folks, > > I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. > > Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? > > I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) > > > Best Wishes, > > David Glasgow > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 2 09:28:49 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:28:49 -0500 Subject: Fwd: screen resolution and stack height References: Message-ID: <1CB6A6DE-938D-4353-ACBC-CA17D38C6D0D@starfirelighting.com> Sloppy. My ratio is approx. 2:4 > Begin forwarded message: > > From: Craig Newman via use-livecode > Subject: Re: screen resolution and stack height > Date: December 2, 2021 at 9:24:41 AM EST > To: How to use LiveCode > Cc: Craig Newman > Reply-To: How to use LiveCode > > Hi. > > The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. > > So what prevents you from making your card size whatever you want? In other words, why worry about this at all? > > Craig > >> On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: >> >> Hi folks, >> >> I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. >> >> Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? >> >> I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) >> >> >> Best Wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 2 09:31:24 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:31:24 -0500 Subject: Fwd: screen resolution and stack height References: Message-ID: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Here is a neat article: https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > Begin forwarded message: > > From: Craig Newman via use-livecode > Subject: Re: screen resolution and stack height > Date: December 2, 2021 at 9:24:41 AM EST > To: How to use LiveCode > Cc: Craig Newman > Reply-To: How to use LiveCode > > Hi. > > The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. > > So what prevents you from making your card size whatever you want? In other words, why worry about this at all? > > Craig > >> On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: >> >> Hi folks, >> >> I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. >> >> Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? >> >> I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) >> >> >> Best Wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 2 09:51:25 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 2 Dec 2021 14:51:25 +0000 Subject: screen resolution and stack height In-Reply-To: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode wrote: > > Here is a neat article: > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > Interesting! I suppose my original point is that in the old days you could create at any intermediate ratio and it would match or scale nicely to fit the screen. Is there a larger ratio that works similarly?(I suspect not) Alternatively, I will take the recommended anarchists’ solution and make it the best dimensions for the task. Thanks for the advice folks. Cheers David G From sean at pidigital.co.uk Thu Dec 2 10:23:20 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 2 Dec 2021 15:23:20 +0000 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: I remember when 16:9 became the new 'standard'. That didn't last long. Nowhere near as long as 4:3. Soon after we started seeing 16:10 and 5:4. Now we are starting to see these Ultrawides at about 21:9. It won't stop. Do you remember when there were only 2 screen ratios for iPhone and iPad? Heady days! It's worth splitting your apps up into panels that are each width/height adjustable. Then have your app geometry adjust to the users desires and limitations. It's a lot of coding as the geometry controls aren't always perfect (even the 3rd party ones) but it gives the user greater freedom. Sean On Thu, 2 Dec 2021 at 14:51, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Here is a neat article: > > > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > > > > Interesting! I suppose my original point is that in the old days you > could create at any intermediate ratio and it would match or scale nicely > to fit the screen. > > Is there a larger ratio that works similarly?(I suspect not) > > Alternatively, I will take the recommended anarchists’ solution and make > it the best dimensions for the task. > > Thanks for the advice folks. > > Cheers > > David G > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 2 10:41:22 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Thu, 2 Dec 2021 10:41:22 -0500 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: Alternatively you could add a magnification control that sets the stack’s scaleFactor properly, or sets the stack to fullscreen mode and stretches it to fit with fullScreenMode “exact fit”. On Thu, Dec 2, 2021 at 10:24 AM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > I remember when 16:9 became the new 'standard'. That didn't last long. > Nowhere near as long as 4:3. Soon after we started seeing 16:10 and 5:4. > Now we are starting to see these Ultrawides at about 21:9. It won't stop. > > Do you remember when there were only 2 screen ratios for iPhone and iPad? > Heady days! > > It's worth splitting your apps up into panels that are each width/height > adjustable. Then have your app geometry adjust to the users desires and > limitations. It's a lot of coding as the geometry controls aren't always > perfect (even the 3rd party ones) but it gives the user greater freedom. > > Sean > > On Thu, 2 Dec 2021 at 14:51, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Here is a neat article: > > > > > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > > > > > > > Interesting! I suppose my original point is that in the old days you > > could create at any intermediate ratio and it would match or scale nicely > > to fit the screen. > > > > Is there a larger ratio that works similarly?(I suspect not) > > > > Alternatively, I will take the recommended anarchists’ solution and make > > it the best dimensions for the task. > > > > Thanks for the advice folks. > > > > Cheers > > > > David G > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjearp99 at gmail.com Thu Dec 2 12:13:58 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Thu, 2 Dec 2021 09:13:58 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! ~~~~~~~~~~~~~~~~~~~~~~~~~ Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) Thanks again and kind regards, Bob... Robert (Bob) Earp White Rock British Columbia Canada > On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Yes it does. I use Apple Mail in this way and it works fine. > > Bob S > > > On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: > > I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > From dvglasgow at gmail.com Thu Dec 2 13:30:14 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 2 Dec 2021 18:30:14 +0000 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> Thanks for more thoughts guys. I do have a scale factor button, but don’t want to stretch, so I use ‘letterbox' The cinematography web page inspired me to experiment more freely and I found that 3:2 seems to be a good compromise despite not matching any screen ’standard'. It scales on screens pretty well, and fits reasonably well printed onto a landscape A4 page, which is about 2.82:2 It is matches the aspect ratio of DSLR sensors and classic 35mm film, which to my eye at least, looks lovely. Perhaps because it is very close to the ‘golden rectangle’ (3:1.85). That could just be me being a bit bonkers, but it would be interesting to know if there is more widely felt appreciation of certain aspect ratios. So for now I am going with 1200x800 Cheers, & thanks again David G > On 2 Dec 2021, at 3:41 pm, Paul McClernan via use-livecode wrote: > > Alternatively you could add a magnification control that sets the stack’s > scaleFactor properly, or sets the stack to fullscreen mode and stretches it > to fit with fullScreenMode “exact fit”. From irog at mac.com Thu Dec 2 13:33:53 2021 From: irog at mac.com (Roger Guay) Date: Thu, 2 Dec 2021 10:33:53 -0800 Subject: Reading LC List Digests In-Reply-To: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: <60A80993-B3F7-44D0-B2F1-16B422B59665@mac.com> Yup, I read that those infected by Omicron tend to misspell it!! Roger > On Dec 2, 2021, at 9:13 AM, Robert Earp via use-livecode wrote: > > Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. > > Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) > > Thanks again and kind regards, Bob... > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > >> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >> >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: Reading LC List Digests >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" >> >> Yes it does. I use Apple Mail in this way and it works fine. >> >> Bob S >> >> >> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >> >> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 2 13:56:18 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Dec 2021 12:56:18 -0600 Subject: Reading LC List Digests In-Reply-To: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: I did a quick search and probably found the same things you did. It does seem to point to a font problem. I know you said you'd tried different fonts but maybe another one would work. In general, Arial and Helvetica are very complete but you may have others. You can use Font Book to examine them and see which ones have the most extensive set of glyphs. I'd think Courier would work though, and you tried that. Check to see if your Courier has a complete set of glyphs, I don't think the older original Courier did but Courier New does. If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but you'd think Mail would know how to deal with that. Also, I read that you need to restart Mail when you change the default font. On 12/2/21 11:13 AM, Robert Earp via use-livecode wrote: > Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. > > Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) > > Thanks again and kind regards, Bob... > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > >> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >> >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: Reading LC List Digests >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" >> >> Yes it does. I use Apple Mail in this way and it works fine. >> >> Bob S >> >> >> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >> >> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >> >> -- >> Jacqueline Landman Gay | jacque at 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Dec 2 14:02:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Dec 2021 19:02:36 +0000 Subject: Reading LC List Digests In-Reply-To: References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: <20BF765A-E9C7-4E09-BF46-E55020700A7B@iotecdigital.com> This has come up before if memory serves. It was suggested then that this could be done in livecode fairly easily. Sent from my iPhone > On Dec 2, 2021, at 10:57, J. Landman Gay via use-livecode wrote: > > I did a quick search and probably found the same things you did. It does seem to point to a font problem. I know you said you'd tried different fonts but maybe another one would work. In general, Arial and Helvetica are very complete but you may have others. You can use Font Book to examine them and see which ones have the most extensive set of glyphs. I'd think Courier would work though, and you tried that. Check to see if your Courier has a complete set of glyphs, I don't think the older original Courier did but Courier New does. > > If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but you'd think Mail would know how to deal with that. > > Also, I read that you need to restart Mail when you change the default font. > >> On 12/2/21 11:13 AM, Robert Earp via use-livecode wrote: >> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! >> ~~~~~~~~~~~~~~~~~~~~~~~~~ >> Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. >> Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) >> Thanks again and kind regards, Bob... >> Robert (Bob) Earp >> White Rock >> British Columbia >> Canada >>>> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >>> >>> From: Bob Sneidar > >>> To: How to use LiveCode > >>> Subject: Re: Reading LC List Digests >>> Message-ID: > >>> Content-Type: text/plain; charset="us-ascii" >>> >>> Yes it does. I use Apple Mail in this way and it works fine. >>> >>> Bob S >>> >>> >>>> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >>> >>> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >>> >>> -- >>> Jacqueline Landman Gay | jacque at 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 > > > -- > 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 bogdanoff at me.com Thu Dec 2 14:56:16 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 2 Dec 2021 11:56:16 -0800 Subject: screen resolution and stack height In-Reply-To: <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> Message-ID: <7608F449-386C-468B-AA65-6BD005269663@me.com> As far as height, on desktop you might want to keep in mind the fixed elements of the window like the titlebar height which is different on Mac and Windows. Also menus at the top of the screen on Mac, and as part of the window on Windows. And then there’s the dock on Mac which may be at the bottom, and the taskbar in Windows which is definitely at the bottom. The dock and the taskbar can be hidden by Livecode. To maximize height, I use a 1024 x 728 window that automatically scales down on open when the screen is too small and also have an option for the user to scale to the full height available. The current screen pixel size is available in Livecode. Peter Bogdanoff > On Dec 2, 2021, at 10:30 AM, David V Glasgow via use-livecode wrote: > > Thanks for more thoughts guys. I do have a scale factor button, but don’t want to stretch, so I use ‘letterbox' > > The cinematography web page inspired me to experiment more freely and I found that 3:2 seems to be a good compromise despite not matching any screen ’standard'. It scales on screens pretty well, and fits reasonably well printed onto a landscape A4 page, which is about 2.82:2 > > It is matches the aspect ratio of DSLR sensors and classic 35mm film, which to my eye at least, looks lovely. Perhaps because it is very close to the ‘golden rectangle’ (3:1.85). That could just be me being a bit bonkers, but it would be interesting to know if there is more widely felt appreciation of certain aspect ratios. > > So for now I am going with 1200x800 > > Cheers, & thanks again > > David G > >> On 2 Dec 2021, at 3:41 pm, Paul McClernan via use-livecode wrote: >> >> Alternatively you could add a magnification control that sets the stack’s >> scaleFactor properly, or sets the stack to fullscreen mode and stretches it >> to fit with fullScreenMode “exact fit”. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Dec 3 05:37:32 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 Dec 2021 05:37:32 -0500 Subject: December Archive, Where (4) art Thou? Message-ID: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> The use-livecode Archive outage continues; still no December 2021 Archive page.... http://lists.runrev.com/pipermail/use-livecode/ Me: > Will a hero rise to the occasion, > or will an entire month be lost to history? > Meantime, here's an alternative: Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ --- Mark: > Its a side-effect of deleting a recent post > which contained sensitive information From curry at pair.com Fri Dec 3 05:42:29 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 Dec 2021 05:42:29 -0500 Subject: December Archive, Where (4) art Thou? In-Reply-To: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> References: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> Message-ID: <88c07888-6db6-d320-3f18-812bd85b2d21@pair.com> Woohoo, now it's back! Nice. (Thanks.) Me: > The use-livecode Archive outage continues; > still no December 2021 Archive page.... http://lists.runrev.com/pipermail/use-livecode/ Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From panos.merakos at livecode.com Fri Dec 3 06:48:26 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 3 Dec 2021 13:48:26 +0200 Subject: [ANN] Release 9.6.5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.5. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater Release Contents ================ LiveCode 9.6.5 comes with several changes, including: New Features - Android standalones can now be deployed as app bundles - The Android engine is now built using version 30 of the Android API - In-app purchases for Google Play Store now use v4 of the Google Billing Library Bug Fixes: - Fix browser widget on iOS not sending load events in response to user navigation - Fix library conflicts between maps and barcode widgets on Android - Improve speed of appending to large strings and encoding large arrays on Windows - Fix long engine exit time when many loaded fonts and objects/paragraphs are still in memory For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_5/LiveCodeNotes-9_6_5.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+ : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 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 http://forums.livecode.com/ Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Fri Dec 3 11:15:32 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Dec 2021 11:15:32 -0500 Subject: mobile debugger: unknown color? Message-ID: I'm getting an execution error at line n/a (Object: unknown color) the debugger then throws up the card script, but the pointer is not pointing at anything. -- 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 klaus at major-k.de Fri Dec 3 11:31:12 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 3 Dec 2021 17:31:12 +0100 Subject: Android: Sign for development only Message-ID: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Hi friends, does it have any limitations if I "Sign for development only"? I mean, once the user defined the URL to the APK as "trustworthy" in his security settings on his/her cellphone, he/she can download and install the app without any problems and dialogs. I tried with a "selfsigning certificate", worked fine, but the user gets two warning dialogs: 1. Unknown developer... 2. Upldoad app for checking to GOOGLE... Not as nice as an unsigned app, see above. :-) Too bad you can ONLY pay the developer fee via a CREDITCARD! Big fun, Google! OK, any hints welcome! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Fri Dec 3 12:16:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Dec 2021 12:16:25 -0500 Subject: mobile debugger: unknown color? In-Reply-To: References: Message-ID: Wow. This is even weirder. There was an error in the card script, but the debugger did not pop up for that, unless I put in a breakpoint statement, first. Once the breakpoint statement triggers, even if you just continue execution after, when the error occurs, the debugger will pop up. On Fri, Dec 3, 2021 at 11:15 AM Mike Kerner wrote: > I'm getting an execution error at line n/a (Object: unknown color) > the debugger then throws up the card script, but the pointer is not > pointing at anything. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Fri Dec 3 12:18:34 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Dec 2021 12:18:34 -0500 Subject: mobile debugger: unknown color? In-Reply-To: References: Message-ID: <003c01d7e869$d09ed800$71dc8800$@net> Mike, Did you try "Debug==>Show Next" in the SE? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Friday, December 03, 2021 11:16 AM To: How to use LiveCode Cc: Mike Kerner Subject: mobile debugger: unknown color? I'm getting an execution error at line n/a (Object: unknown color) the debugger then throws up the card script, but the pointer is not pointing at anything. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp99 at gmail.com Fri Dec 3 13:04:35 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 3 Dec 2021 10:04:35 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: <7A370640-8B3E-4075-93E5-693E88F8EC7E@gmail.com> I think we’ve had this discussion before Roger, all great nginears can’t spell, especially in Greek, which is why spell checkers were invented ;-) BTW, you’ve reminded me to add a spell checker to the list of features a digest-o-matic should have…. best, Bob... > On Dec 3, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > Date: Thu, 2 Dec 2021 10:33:53 -0800 > From: Roger Guay > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: <60A80993-B3F7-44D0-B2F1-16B422B59665 at mac.com > > Content-Type: text/plain; charset=utf-8 > > Yup, I read that those infected by Omicron tend to misspell it!! > > Roger > >> On Dec 2, 2021, at 9:13 AM, Robert Earp via use-livecode > wrote: >> >> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! Robert (Bob) Earp White Rock British Columbia Canada From rjearp99 at gmail.com Fri Dec 3 13:17:47 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 3 Dec 2021 10:17:47 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: Thanks for the great advice Jacqueline, it was the old Courier that I had tried. I’ve now changed to Helvetica Neu and we’ll see how that fairs. best, Bob... > On Dec 3, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > Date: Thu, 2 Dec 2021 12:56:18 -0600 > From: "J. Landman Gay" > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset=UTF-8; format=flowed > > I did a quick search and probably found the same things you did. It does seem to point to a > font problem. I know you said you'd tried different fonts but maybe another one would work. In > general, Arial and Helvetica are very complete but you may have others. You can use Font Book > to examine them and see which ones have the most extensive set of glyphs. I'd think Courier > would work though, and you tried that. Check to see if your Courier has a complete set of > glyphs, I don't think the older original Courier did but Courier New does. > > If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but > you'd think Mail would know how to deal with that. > > Also, I read that you need to restart Mail when you change the default font. Robert (Bob) Earp White Rock British Columbia Canada From MikeKerner at roadrunner.com Sat Dec 4 11:19:12 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 4 Dec 2021 11:19:12 -0500 Subject: mobile debugger: unknown color? In-Reply-To: <003c01d7e869$d09ed800$71dc8800$@net> References: <003c01d7e869$d09ed800$71dc8800$@net> Message-ID: that does not seem to do anything. the good news is that i can throw in a breakpoint and then continue execution to get the debugger to behave. On Fri, Dec 3, 2021 at 12:18 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > Did you try "Debug==>Show Next" in the SE? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Friday, December 03, 2021 11:16 AM > To: How to use LiveCode > Cc: Mike Kerner > Subject: mobile debugger: unknown color? > > I'm getting an execution error at line n/a (Object: unknown color) the > debugger then throws up the card script, but the pointer is not pointing at > anything. > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Dec 4 16:01:11 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 15:01:11 -0600 Subject: Project browser docs Message-ID: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> Where is the documentation for the project browser? There's nothing in the User Guides in the dictionary. There are several mentions in the User Guide under the Help menu but they all refer to managing datagrids. There is one mention "for more details, see the section on the project browser" but there is no such section. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 16:18:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 15:18:49 -0600 Subject: mobile debugger: unknown color? In-Reply-To: <003c01d7e869$d09ed800$71dc8800$@net> References: <003c01d7e869$d09ed800$71dc8800$@net> Message-ID: <5d38fb4b-3bf2-7ee8-9007-3e25be4fcaed@hyperactivesw.com> On 12/3/21 11:18 AM, Ralph DiMola via use-livecode wrote: > Did you try "Debug==>Show Next" in the SE? What's that supposed to do? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 17:14:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 16:14:38 -0600 Subject: Android: Sign for development only In-Reply-To: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Message-ID: <2c5fdae2-c0c4-bcae-19da-3be3b61f76ab@hyperactivesw.com> I think it depends on how much you trust the recipient. The debug key is not secure. The default password for a debug key is "android". I found this on stackoverflow : "release apks must be decompressed and manually modified and recompressed+resigned by debug certificate, to be debuggable by other people. Accessing code is always available for every user, the release is "obfuscated", not "blocked". You can't hide code from user, who must be able to run the code, at some stage the code must be available to user, and at that moment skilled user can copy the code and explore/reverse engineer." I think that means someone with the right skills could alter your app, since the default password is known. I couldn't find any info about verifying the signing key without a developer account, but you could post a message to Google and ask if there is a way to purchase a developer account without a credit card. They will accept a bank debit card if you have one. If you are quite sure that your client is the only one who will use your app, and that no other person will have access to it, then I think it's probably okay to sign for development only. But it isn't really very secure. On 12/3/21 10:31 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > does it have any limitations if I "Sign for development only"? > > I mean, once the user defined the URL to the APK as "trustworthy" > in his security settings on his/her cellphone, he/she can download > and install the app without any problems and dialogs. > > I tried with a "selfsigning certificate", worked fine, but the user gets > two warning dialogs: > 1. Unknown developer... > 2. Upldoad app for checking to GOOGLE... > > Not as nice as an unsigned app, see above. :-) > > Too bad you can ONLY pay the developer fee via a CREDITCARD! > Big fun, Google! > > OK, any hints welcome! > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Sun Dec 5 18:05:48 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 5 Dec 2021 23:05:48 +0000 Subject: LC 9.5.6, Android and JSONToArray Message-ID: I just built an app for Android in 9.5.6. I am finding that JSONToArray() isn't working. I built the same app in 9.5.4, and JSONToArray() works just fine. (Yes, I have "JSON Library" selected in the Inclusions in the Standalone Application Settings). Is this a bug or is JSONToArray() no longer supported in 9.5.6? Any advice or knowledge would be appreciated. -Dan From jacque at hyperactivesw.com Sun Dec 5 22:25:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Dec 2021 21:25:49 -0600 Subject: Project browser docs In-Reply-To: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> Message-ID: <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> So I take it there are no docs? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 4, 2021 3:03:35 PM "J. Landman Gay via use-livecode" wrote: > Where is the documentation for the project browser? There's nothing in the > User Guides in the > dictionary. There are several mentions in the User Guide under the Help > menu but they all refer > to managing datagrids. There is one mention "for more details, see the > section on the project > browser" but there is no such section. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Dec 5 23:14:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Dec 2021 22:14:15 -0600 Subject: Project browser docs In-Reply-To: <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I found a lesson on it but it doesn't say what the dotted outline around some cards means. A full explanation of the project browser should be in the user guide. I didn't think to check the lessons until today and newcomers may not even know the lessons exist. If the full documentation is too much to add to the guide, at least a link should be provided. Right now the guide only has a reference to a Project Browser section that doesn't exist. I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 5, 2021 9:28:05 PM "J. Landman Gay via use-livecode" wrote: > So I take it there are no docs? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 4, 2021 3:03:35 PM "J. Landman Gay via use-livecode" > wrote: > >> Where is the documentation for the project browser? There's nothing in the >> User Guides in the >> dictionary. There are several mentions in the User Guide under the Help >> menu but they all refer >> to managing datagrids. There is one mention "for more details, see the >> section on the project >> browser" but there is no such section. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From preid at reidit.co.uk Mon Dec 6 04:34:52 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Mon, 6 Dec 2021 09:34:52 +0000 Subject: Linux Speech Support? In-Reply-To: References: Message-ID: Has anyone managed to used text-to-speech for Linux? I'm using the latest LC 9.6.5 stable release, building for Mac, Win64 and Linux64. The Mac and Win build OK but I get the following warning for the Linux build: Linux x86-64, external No externals.txt config file found for Speech The Linux app builds and runs OK except that the text-to-speech doesn't work. I've tried manually selecting inclusions but there's nothing appropriate. I've tried including Android speech support inclusions, just in case it might work with Linux; it doesn't. So, general question - has anyone got text-to-speech (or speech-to-text) working with Linux? For speech in general there are the following inclusions: Android Speech-to-text (all platforms are listed) Speech Library (X, iOS, Android only) Speech (X, Win only) Any suggestions please? Peter -- Peter Reid Loughborough, UK From merakosp at gmail.com Mon Dec 6 06:07:27 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 6 Dec 2021 13:07:27 +0200 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: Message-ID: Hello Dan, Could you please confirm the working and non-working versions? There is no 9.5.6 or 9.5.4 version of LiveCode. Also, to use JSONToArray() you have to include "mergJSON" in the Inclusions, not "JSON Library". The "JSON Library" is needed for "JSONImport" and "JSONExport" functions. Hope this helps. Cheers, Panos On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I just built an app for Android in 9.5.6. I am finding that JSONToArray() > isn't working. I built the same app in 9.5.4, and JSONToArray() works > just fine. (Yes, I have "JSON Library" selected in the Inclusions in the > Standalone Application Settings). Is this a bug or is JSONToArray() no > longer supported in 9.5.6? > > Any advice or knowledge would be appreciated. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Dec 6 07:49:06 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Dec 2021 12:49:06 +0000 Subject: Project browser docs In-Reply-To: <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > I prefer the horizontal layout in the Application Overview, but i > thought I'd give the PB another try now that I'm working on a simpler > project. It's too unweildy for multi-stack projects with lots of > controls. > Sorry, dumb question time - what is the "Application Overview" ? Thanks Alex. From matthias_livecode_150811 at m-r-d.de Mon Dec 6 08:01:14 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Dec 2021 14:01:14 +0100 Subject: Project browser docs In-Reply-To: <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> Message-ID: <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> Before the Project Browser was introduced Application Overview was the tool to get an overview of all loaded stacks, its substacks, cards and all objects on that cards. You can now find it under Plugins->revApplicationOveriew. Regards, Matthias > Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode : > > On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > >> I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. >> > Sorry, dumb question time - what is the "Application Overview" ? > > Thanks > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Dec 6 08:08:59 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Dec 2021 13:08:59 +0000 Subject: Project browser docs In-Reply-To: <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> Message-ID: <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> Thanks Matthias - found it. It looks like it's not for me - I use too much nesting of groups and can't handle a non-hierarchical view:-) Alex. On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: > Before the Project Browser was introduced Application Overview was the tool to get an overview of all loaded stacks, its substacks, cards and all objects on that cards. > You can now find it under Plugins->revApplicationOveriew. > > Regards, > Matthias >> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode : >> >> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: >> >>> I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. >>> >> Sorry, dumb question time - what is the "Application Overview" ? >> >> Thanks >> >> Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Dec 6 08:34:11 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 6 Dec 2021 15:34:11 +0200 Subject: Linux Speech Support? In-Reply-To: References: Message-ID: Hello Peter, Unfortunately LC does not have a test-to-speech library that will work on Linux. The Android Speech-to-text library should only list "Android" in the supported platforms. Kind regards, Panos -- On Mon, 6 Dec 2021 at 11:36, Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > Has anyone managed to used text-to-speech for Linux? I'm using the latest > LC 9.6.5 stable release, building for Mac, Win64 and Linux64. The Mac and > Win build OK but I get the following warning for the Linux build: > > Linux x86-64, external No externals.txt config file found for > Speech > > The Linux app builds and runs OK except that the text-to-speech doesn't > work. I've tried manually selecting inclusions but there's nothing > appropriate. I've tried including Android speech support inclusions, just > in case it might work with Linux; it doesn't. > > So, general question - has anyone got text-to-speech (or speech-to-text) > working with Linux? For speech in general there are the following > inclusions: > > Android Speech-to-text (all platforms are listed) > Speech Library (X, iOS, Android only) > Speech (X, Win only) > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Mon Dec 6 10:48:22 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Dec 2021 15:48:22 +0000 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: Message-ID: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Panos, Thank you for the reply. Sorry about the typo... the versions are: 9.6.4 -- WORKING 9.6.5 -- NOT WORKING And, yes. I have "mergJSON" selected (as well as "JSON Library"). FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 might be resolved in 9.6.5. (http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html) - Dan On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via use-livecode" wrote: Hello Dan, Could you please confirm the working and non-working versions? There is no 9.5.6 or 9.5.4 version of LiveCode. Also, to use JSONToArray() you have to include "mergJSON" in the Inclusions, not "JSON Library". The "JSON Library" is needed for "JSONImport" and "JSONExport" functions. Hope this helps. Cheers, Panos On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I just built an app for Android in 9.5.6. I am finding that JSONToArray() > isn't working. I built the same app in 9.5.4, and JSONToArray() works > just fine. (Yes, I have "JSON Library" selected in the Inclusions in the > Standalone Application Settings). Is this a bug or is JSONToArray() no > longer supported in 9.5.6? > > Any advice or knowledge would be appreciated. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 6 11:25:19 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Dec 2021 10:25:19 -0600 Subject: Project browser docs In-Reply-To: <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> Message-ID: <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If you click the Layer header to view by layer order you'll see what you're looking for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 6, 2021 7:10:29 AM Alex Tweedly via use-livecode wrote: > Thanks Matthias - found it. > > It looks like it's not for me - I use too much nesting of groups and > can't handle a non-hierarchical view:-) > > Alex. > > On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: >> Before the Project Browser was introduced Application Overview was the >> tool to get an overview of all loaded stacks, its substacks, cards and all >> objects on that cards. >> You can now find it under Plugins->revApplicationOveriew. >> >> Regards, >> Matthias >>> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode >>> : >>> >>> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: >>> >>>> I prefer the horizontal layout in the Application Overview, but i thought >>>> I'd give the PB another try now that I'm working on a simpler project. It's >>>> too unweildy for multi-stack projects with lots of controls. >>>> >>> Sorry, dumb question time - what is the "Application Overview" ? >>> >>> Thanks >>> >>> Alex. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Dec 6 11:39:48 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 6 Dec 2021 11:39:48 -0500 Subject: Project browser docs In-Reply-To: <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: PB is broken in a lot of ways, especially when it comes to handling groups. There are several bug reports about it that go back a ways. On Mon, Dec 6, 2021 at 11:26 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > If you click the Layer header to view by layer order you'll see what > you're > looking for. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 6, 2021 7:10:29 AM Alex Tweedly via use-livecode > wrote: > > > Thanks Matthias - found it. > > > > It looks like it's not for me - I use too much nesting of groups and > > can't handle a non-hierarchical view:-) > > > > Alex. > > > > On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: > >> Before the Project Browser was introduced Application Overview was the > >> tool to get an overview of all loaded stacks, its substacks, cards and > all > >> objects on that cards. > >> You can now find it under Plugins->revApplicationOveriew. > >> > >> Regards, > >> Matthias > >>> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode > >>> : > >>> > >>> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > >>> > >>>> I prefer the horizontal layout in the Application Overview, but i > thought > >>>> I'd give the PB another try now that I'm working on a simpler > project. It's > >>>> too unweildy for multi-stack projects with lots of controls. > >>>> > >>> Sorry, dumb question time - what is the "Application Overview" ? > >>> > >>> Thanks > >>> > >>> Alex. > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Wed Dec 8 04:51:31 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 8 Dec 2021 11:51:31 +0200 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> References: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Message-ID: Hello Dan, I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature. Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license, JSONToArray() worked as expected. What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed. You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not. Hope this helps. Kind regards, Panos -- On Mon, 6 Dec 2021 at 17:48, Dan Friedman wrote: > Panos, > > Thank you for the reply. Sorry about the typo... the versions are: > > 9.6.4 -- WORKING > 9.6.5 -- NOT WORKING > > And, yes. I have "mergJSON" selected (as well as "JSON Library"). > > FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 > might be resolved in 9.6.5. ( > http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html) > > > - Dan > > > > On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Could you please confirm the working and non-working versions? There > is no > 9.5.6 or 9.5.4 version of LiveCode. > > Also, to use JSONToArray() you have to include "mergJSON" in the > Inclusions, not "JSON Library". The "JSON Library" is needed for > "JSONImport" and "JSONExport" functions. > > Hope this helps. > > Cheers, > Panos > > On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just built an app for Android in 9.5.6. I am finding that > JSONToArray() > > isn't working. I built the same app in 9.5.4, and JSONToArray() > works > > just fine. (Yes, I have "JSON Library" selected in the Inclusions > in the > > Standalone Application Settings). Is this a bug or is > JSONToArray() no > > longer supported in 9.5.6? > > > > Any advice or knowledge would be appreciated. > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 05:05:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 11:05:34 +0100 Subject: Android: Sign for development only In-Reply-To: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Message-ID: <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> Hi friends, > Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode : > > Hi friends, > > does it have any limitations if I "Sign for development only"? > > I mean, once the user defined the URL to the APK as "trustworthy" > in his security settings on his/her cellphone, he/she can download > and install the app without any problems and dialogs. > > I tried with a "selfsigning certificate", worked fine, but the user gets > two warning dialogs: > 1. Unknown developer... > 2. Upldoad app for checking to GOOGLE... > > Not as nice as an unsigned app, see above. :-) > > Too bad you can ONLY pay the developer fee via a CREDITCARD! > Big fun, Google! > > OK, any hints welcome! any takers or impossible to answer? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From preid at reidit.co.uk Wed Dec 8 09:05:11 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Wed, 8 Dec 2021 14:05:11 +0000 Subject: Ghost in the Machine? Message-ID: I'm trying to provide an upload facility for an existing on-line club membership app. This app has a bulk loading facility for initial set up and is designed for whole database configuration. In addition the app provides a manual on-line form with 20+ fields making up a member's record. Ideally my user would use a facility to upload 1 or more files with rows of details , each row containing a collection of all the inputs for my user to use. Sadly, there's no bulk loading facility, so the user has to type in most of the details from the membership form. So here comes the 'Ghost' bit, is it possible to make an LC app that mimics keyboard and mouse inputs as if the user was there interacting with the on-line form? If I can do this my user would have a file of inputs which they could send to the membership database, sit back and watch the ghostly app 'type' and 'mouse click' their way through completing the on-line form. Any suggestions please? Peter -- Peter Reid Loughborough, UK From keith.clarke at me.com Wed Dec 8 10:01:22 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 8 Dec 2021 15:01:22 +0000 Subject: PDF Viewer widget - how to enable interaction? Message-ID: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Hi folks, Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. Any clues gratefully received... Best, Keith From skiplondon at gmail.com Wed Dec 8 11:15:09 2021 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 8 Dec 2021 11:15:09 -0500 Subject: JSON to Datagrid Message-ID: I have been googling a solution for this but have not found a solid solution for this. Can anybody lead me in the right direction on this? SKIP From skiplondon at gmail.com Wed Dec 8 11:29:16 2021 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 8 Dec 2021 11:29:16 -0500 Subject: JSON to Datagrid In-Reply-To: References: Message-ID: To functions actually needed... need to be able to convert to a datagrid and I will be also pumping this data into a SQL server. SKIP On Wed, Dec 8, 2021 at 11:15 AM Skip Kimpel wrote: > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody lead me in the right direction on this? > > SKIP > From jacque at hyperactivesw.com Wed Dec 8 11:34:10 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2021 10:34:10 -0600 Subject: Android: Sign for development only In-Reply-To: <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> Message-ID: <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did answer but you may not have received it. I miss occasional posts too sometimes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 8, 2021 4:07:20 AM Klaus major-k via use-livecode wrote: > Hi friends, > >> Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode >> : >> >> Hi friends, >> >> does it have any limitations if I "Sign for development only"? >> >> I mean, once the user defined the URL to the APK as "trustworthy" >> in his security settings on his/her cellphone, he/she can download >> and install the app without any problems and dialogs. >> >> I tried with a "selfsigning certificate", worked fine, but the user gets >> two warning dialogs: >> 1. Unknown developer... >> 2. Upldoad app for checking to GOOGLE... >> >> Not as nice as an unsigned app, see above. :-) >> >> Too bad you can ONLY pay the developer fee via a CREDITCARD! >> Big fun, Google! >> >> OK, any hints welcome! > > any takers or impossible to answer? > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 8 11:37:38 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 17:37:38 +0100 Subject: Android: Sign for development only In-Reply-To: <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4BFB29F1-61AB-428A-923F-D1B4E212AF40@major-k.de> Hi Jaques, > Am 08.12.2021 um 17:34 schrieb J. Landman Gay via use-livecode : > > I did answer but you may not have received it. yes, didn't receive this one!? > I miss occasional posts too sometimes. > aha, OK, thank you! :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From keith.clarke at me.com Wed Dec 8 11:37:47 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 8 Dec 2021 16:37:47 +0000 Subject: JSON to Datagrid In-Reply-To: References: Message-ID: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Hi Skip, I don’t use Datagrids but have used a two-step process to get JSON into the Tree widget and a similar process may provide a direction of travel to test…? 1. JSON-to-array https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file 2. Setting the array data of datagrid… Good luck. Best, Keith > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode wrote: > > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody lead me in the right direction on this? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 12:56:37 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 Dec 2021 12:56:37 -0500 Subject: JSON to Datagrid In-Reply-To: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> References: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Message-ID: completely off the top of my head, so this might not be quite right jsonToArray set the dgData of group "datagrid 1" to On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Skip, > I don’t use Datagrids but have used a two-step process to get JSON into > the Tree widget and a similar process may provide a direction of travel to > test…? > > 1. JSON-to-array > https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file > 2. Setting the array data of datagrid… > > Good luck. > Best, > Keith > > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have been googling a solution for this but have not found a solid > > solution for this. > > > > Can anybody lead me in the right direction on this? > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Wed Dec 8 13:36:29 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Dec 2021 13:36:29 -0500 Subject: JSON to Datagrid In-Reply-To: References: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Message-ID: JSONToArray works well for me if your JSON is correct. Always use try when decoding from JSON to catch any errors. On Wed, Dec 8, 2021 at 12:58 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > completely off the top of my head, so this might not be quite right > jsonToArray > set the dgData of group "datagrid 1" to > > On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Skip, > > I don’t use Datagrids but have used a two-step process to get JSON into > > the Tree widget and a similar process may provide a direction of travel > to > > test…? > > > > 1. JSON-to-array > > > https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file > > 2. Setting the array data of datagrid… > > > > Good luck. > > Best, > > Keith > > > > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > I have been googling a solution for this but have not found a solid > > > solution for this. > > > > > > Can anybody lead me in the right direction on this? > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Wed Dec 8 13:38:30 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Dec 2021 13:38:30 -0500 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: I don't know about moving the mouse around ....but u can have a fake png of a cursor move around...and then send mouseUps to buttons..... and also u can put text into a field 1 character at a time to simulate typing. This is entirely doable in LC. On Wed, Dec 8, 2021 at 9:06 AM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to provide an upload facility for an existing on-line club > membership app. This app has a bulk loading facility for initial set up and > is designed for whole database configuration. In addition the app provides > a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows > of details , each row containing a collection of all the inputs for my user > to use. Sadly, there's no bulk loading facility, so the user has to type in > most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that > mimics keyboard and mouse inputs as if the user was there interacting with > the on-line form? If I can do this my user would have a file of inputs > which they could send to the membership database, sit back and watch the > ghostly app 'type' and 'mouse click' their way through completing the > on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Wed Dec 8 15:27:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 8 Dec 2021 20:27:56 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: Hi Peter, just checking if I have understood this right. I think you have a website / webpage which allows the user to view / update a single entry (i.e. "manual on-line form with 20+ fields"). If that is the case, I'd consider writing an app to take in the file of rows of details, and insert that using a browser widget. See https://forums.livecode.com/viewtopic.php?t=33074 or other similar discussions.  (Not done it myself, but looks reasonably straightforward). Alex. On 08/12/2021 14:05, Peter Reid via use-livecode wrote: > I'm trying to provide an upload facility for an existing on-line club membership app. This app has a bulk loading facility for initial set up and is designed for whole database configuration. In addition the app provides a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows of details , each row containing a collection of all the inputs for my user to use. Sadly, there's no bulk loading facility, so the user has to type in most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that mimics keyboard and mouse inputs as if the user was there interacting with the on-line form? If I can do this my user would have a file of inputs which they could send to the membership database, sit back and watch the ghostly app 'type' and 'mouse click' their way through completing the on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 15:33:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 14:33:49 -0600 Subject: Android SDK Message-ID: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app since I installed Big Sur. I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older installations still in place. In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for the entire SDK folder and all its contents. LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but now all my LC apps say the folder is invalid. So now what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Dec 8 15:44:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 21:44:25 +0100 Subject: APK and an idsig file? Message-ID: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> Hi all, I just created an APK with LC 9.6.5 and found another file beneath the actual APK file in the folder. Like this: Name of app.apk Name of app.apk.idsig -> ca. 160 KB Is this new? And what is it good for? Thanks for any hints! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dochawk at gmail.com Wed Dec 8 15:47:08 2021 From: dochawk at gmail.com (doc hawk) Date: Wed, 8 Dec 2021 12:47:08 -0800 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Message-ID: <0AC5C2E7-E41F-459F-A287-70998693CC74@gmail.com> keith kayaked, > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? I had great hopes and excitement. I rearranged my project to use it. All looked great on screen. And then I found that it turns its output of pdfs to 72dpi. And cried. From rdimola at evergreeninfo.net Wed Dec 8 15:58:33 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Dec 2021 15:58:33 -0500 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Message-ID: <004e01d7ec76$5fc103e0$1f430ba0$@net> Dan, Same problem with tsNet. The pro was the second license and as in previous version I just blew past the licensing dialog without reading. After I re-licensed and clicked the right arrow and selected the pro license(clearly marked) I was good to go. Although I assumed... Maybe the highest level of license should be the default? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis m via use-livecode Sent: Wednesday, December 08, 2021 4:52 AM To: Dan Friedman Cc: panagiotis m; How to use LiveCode Subject: Re: LC 9.5.6, Android and JSONToArray Hello Dan, I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature. Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license, JSONToArray() worked as expected. What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed. You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not. Hope this helps. Kind regards, Panos -- On Mon, 6 Dec 2021 at 17:48, Dan Friedman wrote: > Panos, > > Thank you for the reply. Sorry about the typo... the versions are: > > 9.6.4 -- WORKING > 9.6.5 -- NOT WORKING > > And, yes. I have "mergJSON" selected (as well as "JSON Library"). > > FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 > might be resolved in 9.6.5. ( > http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.htm > l) > > > - Dan > > > > On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Could you please confirm the working and non-working versions? > There is no > 9.5.6 or 9.5.4 version of LiveCode. > > Also, to use JSONToArray() you have to include "mergJSON" in the > Inclusions, not "JSON Library". The "JSON Library" is needed for > "JSONImport" and "JSONExport" functions. > > Hope this helps. > > Cheers, > Panos > > On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just built an app for Android in 9.5.6. I am finding that > JSONToArray() > > isn't working. I built the same app in 9.5.4, and JSONToArray() > works > > just fine. (Yes, I have "JSON Library" selected in the > Inclusions in the > > Standalone Application Settings). Is this a bug or is > JSONToArray() no > > longer supported in 9.5.6? > > > > Any advice or knowledge would be appreciated. > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 8 16:06:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:06:22 -0600 Subject: Android SDK In-Reply-To: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> References: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> Message-ID: <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my phone, which also worked yesterday. So I tried again to build an apk and that now works too, though the prefs still show red and report the SDK is invalid (LC 9.6.5.) There is something weird going on though. I can only build directly to my phone if I choose Test from the Development menu. If I just click the Test button in the toolbar I get a dialog that says "Android " which is the ID of my phone. Occasionally the menu item does the same, but usually it works. I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could you leave the RC versions up for a few weeks so we could backtrack if necessary? On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote: > I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app > since I installed Big Sur. > > I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 > (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older > installations still in place. > > In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for > the entire SDK folder and all its contents. > > LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but > now all my LC apps say the folder is invalid. > > So now what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 8 16:08:30 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:08:30 -0600 Subject: APK and an idsig file? In-Reply-To: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> References: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> Message-ID: <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote: > Hi all, > > I just created an APK with LC 9.6.5 and found > another file beneath the actual APK file in the folder. > > Like this: > Name of app.apk > Name of app.apk.idsig -> ca. 160 KB > > Is this new? And what is it good for? > Thanks for any hints! It's new since LC implemented app bundles. I looked it up, but aside from info about app signing, I didn't find a real use for it. I leave it in place in the folder and ignore it. You don't need to distribute it with the apk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Dec 8 16:13:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 22:13:25 +0100 Subject: APK and an idsig file? In-Reply-To: <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> References: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> Message-ID: Hi Jaqueline, > Am 08.12.2021 um 22:08 schrieb J. Landman Gay via use-livecode : > > On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote: >> Hi all, >> I just created an APK with LC 9.6.5 and found >> another file beneath the actual APK file in the folder. >> Like this: >> Name of app.apk >> Name of app.apk.idsig -> ca. 160 KB >> Is this new? And what is it good for? >> Thanks for any hints! > It's new since LC implemented app bundles. AHA! :-) > I looked it up, but aside from info about app signing, I didn't find a real use for it. > I leave it in place in the folder and ignore it. You don't need to distribute it with the apk. OK, thanks for the hints, much appreciated! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Dec 8 16:26:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:26:17 -0600 Subject: Android SDK In-Reply-To: <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> References: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> Message-ID: And...now I can't build a standalone again. No changes to the SDK config, just a warning that the SDK isn't valid. It hasn't been 20 minutes since I built the first one. On 12/8/21 3:06 PM, J. Landman Gay via use-livecode wrote: > Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my > phone, which also worked yesterday. So I tried again to build an apk and that now works too, > though the prefs still show red and report the SDK is invalid (LC 9.6.5.) > > There is something weird going on though. I can only build directly to my phone if I choose > Test from the Development menu. If I just click the Test button in the toolbar I get a dialog > that says "Android " which is the ID of my phone. Occasionally the menu item does > the same, but usually it works. > > I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could > you leave the RC versions up for a few weeks so we could backtrack if necessary? > > > On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote: >> I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app >> since I installed Big Sur. >> >> I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools >> 30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have >> some older installations still in place. >> >> In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for >> the entire SDK folder and all its contents. >> >> LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 >> but now all my LC apps say the folder is invalid. >> >> So now what? > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From danoldboy at gmail.com Wed Dec 8 16:46:13 2021 From: danoldboy at gmail.com (Dan Brown) Date: Wed, 8 Dec 2021 21:46:13 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: If it's a simple html form then you could POST the form data to the server directly from within livecode. There is a short guide for doing so here https://livecode.byu.edu/internet/aboutForms.php and here https://livecode.byu.edu/internet/postMethodSteps.php put urlEncode(fld "fullname") into tName put the hilitedButtonName of group "genderGrp" into tGndr put urlEncode(the label of btn "colorChoice") into tColor put fullname=" & tName & "&gender=" & tGndr & "&color=" & tColor into tArgList post tArgList to URL "http://my.web.site/sampleform.html" put it into tFormResults You may need to log in to the website from within livecode (using the above form method) to authenticate and retrieve a cookie or session token to include in the headers of your form request On Wed, Dec 8, 2021 at 2:06 PM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to provide an upload facility for an existing on-line club > membership app. This app has a bulk loading facility for initial set up and > is designed for whole database configuration. In addition the app provides > a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows > of details , each row containing a collection of all the inputs for my user > to use. Sadly, there's no bulk loading facility, so the user has to type in > most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that > mimics keyboard and mouse inputs as if the user was there interacting with > the on-line form? If I can do this my user would have a file of inputs > which they could send to the membership database, sit back and watch the > ghostly app 'type' and 'mouse click' their way through completing the > on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Wed Dec 8 21:43:50 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 9 Dec 2021 13:43:50 +1100 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Message-ID: <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> Hi Keith I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: on linkClicked pAction if pAction[“type”] is “goto” then set the currentDestination of me to pAction end if end linkClicked > On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode wrote: > > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? > > I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. > > The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. > > Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. > > Any clues gratefully received... > 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 keith.clarke at me.com Thu Dec 9 04:15:24 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 9 Dec 2021 09:15:24 +0000 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> Message-ID: Thanks Monte. I should have been more explicit in that I’d tried that technique to handle the linkClicked message - none of the links in my test PDFs (that work in Preview and Adobe) fire it. Assuming I’ve not missed any widget properties, it looks like there’s a problem with the underlying PDFium library not finding ‘clickables’ in the PDF documents - or the LC wrapping has a bug... If navigation is under script control the documentation suggests that every ‘clickable’ that works in any PDF viewer would need to be extracted into either the documentBookmarks or documentNamedDestinations arrays to be accessible for scripting - and both are empty for my ‘link-rich’ test PDFs. Maybe the premium subscription for this widget means that it’s not been accessible for beta-testing by the user community, as I see nothing in the QA centre. Best, Keith > On 9 Dec 2021, at 02:43, Monte Goulding via use-livecode wrote: > > Hi Keith > > I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: > > on linkClicked pAction > if pAction[“type”] is “goto” then > set the currentDestination of me to pAction > end if > end linkClicked > >> On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? >> >> I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. >> >> The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. >> >> Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. >> >> Any clues gratefully received... >> 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 craig at starfirelighting.com Thu Dec 9 10:11:47 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 9 Dec 2021 10:11:47 -0500 Subject: Forum Down? Message-ID: Could not connect as of last evening. Craig From klaus at major-k.de Thu Dec 9 10:14:33 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Dec 2021 16:14:33 +0100 Subject: Forum Down? In-Reply-To: References: Message-ID: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Hi Craig, > Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : > > Could not connect as of last evening. nope, alive and running! Just tested. > Craig Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From robeppich at epsi.ca Thu Dec 9 10:18:17 2021 From: robeppich at epsi.ca (RobEppich) Date: Thu, 9 Dec 2021 07:18:17 -0800 Subject: open socket on start up and can't close In-Reply-To: References: Message-ID: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? Thanks Rob Eppich From klaus at major-k.de Thu Dec 9 10:22:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Dec 2021 16:22:44 +0100 Subject: open socket on start up and can't close In-Reply-To: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> References: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> Message-ID: <7C328F86-AC7D-4271-A8F3-3796F0477191@major-k.de> Hi Rob, > Am 09.12.2021 um 16:18 schrieb RobEppich via use-livecode : > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? not on my machine: macOS 10.14.6, LC 9.6.5 > Thanks > Rob Eppich Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Thu Dec 9 11:00:24 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 9 Dec 2021 11:00:24 -0500 Subject: Forum Down? In-Reply-To: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> References: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Message-ID: Hmmm. Still cannot. Will wait a while and see… Craig > On Dec 9, 2021, at 10:14 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : >> >> Could not connect as of last evening. > > nope, alive and running! > Just tested. > >> Craig > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Dec 9 18:33:28 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 9 Dec 2021 18:33:28 -0500 Subject: How to in LC for Desktop and the Web? In-Reply-To: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> References: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> Message-ID: Following up (in case someone has an answer): I see in the description for SpecialFolderPath(), that under HTML5 (platform) the following are available: "temporary": A folder where temporary files can be placed "engine": The folder where the standalone initial file system is extracted "resources": The resources folder where files or folders specified in the Standalone Builder are located. But where do these point to: 1) When the HTML5 app is running from the local file system (say Windows) in a browser VS 2) When the HTML5 app is running from a server URL in a browser If no one knows the answers, I can always run a set of tests to determine the values. On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: > I have an LC application that currently runs on Window and macOS, that > I want to try to get running under LC 10 for the web. One > characteristic of the app is that it opens a number of external > stacks. On desktop platforms, these external stacks (outside the .EXE > (windows) or .app package (macOS) are found in a folder at the same > level as the installed application. > > So if the app is installed at C:\Program Files\MyApp\MyApp.exe > The the folder containing the external stacks is at C"\Program > Files\MyApp\FolderOfStacks\ > > I get the path of the mainstack and use it to construct the path to > the folder > > If I build for Web, is there some equivalent model for external stacks? > > I get that I may need to have a: > > switch platform() >   case "Win32" >   case "macOS" >      -- load external stacks the way I do now >      break >   case "web" >      -- load external stacks some other way >     break > end switch > > but what is the web best practice for that 'some other way"? And is it > different if I am testing locally vs hosting MyApp on a server? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Dec 9 18:47:38 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 9 Dec 2021 18:47:38 -0500 Subject: How to in LC for Desktop and the Web? In-Reply-To: References: Message-ID: As I understand it, #1 doesn’t really work… it needs to be served from a web server. When you test in the IDE, it actually serves it from a server instance that is started for that purpose. As for building the paths, I’m not exactly sure but do know that stuff in the “copy files” section ends up in the package and virtual file system that is used in the running app. Sent from my iPhone > On Dec 9, 2021, at 6:36 PM, Paul Dupuis via use-livecode wrote: > > Following up (in case someone has an answer): > > I see in the description for SpecialFolderPath(), that under HTML5 (platform) the following are available: > "temporary": A folder where temporary files can be placed > "engine": The folder where the standalone initial file system is extracted > "resources": The resources folder where files or folders specified in the Standalone Builder are located. > > But where do these point to: > > 1) When the HTML5 app is running from the local file system (say Windows) in a browser > > VS > > 2) When the HTML5 app is running from a server URL in a browser > > If no one knows the answers, I can always run a set of tests to determine the values. > > >> On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: >> I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package (macOS) are found in a folder at the same level as the installed application. >> >> So if the app is installed at C:\Program Files\MyApp\MyApp.exe >> The the folder containing the external stacks is at C"\Program Files\MyApp\FolderOfStacks\ >> >> I get the path of the mainstack and use it to construct the path to the folder >> >> If I build for Web, is there some equivalent model for external stacks? >> >> I get that I may need to have a: >> >> switch platform() >> case "Win32" >> case "macOS" >> -- load external stacks the way I do now >> break >> case "web" >> -- load external stacks some other way >> break >> end switch >> >> but what is the web best practice for that 'some other way"? And is it different if I am testing locally vs hosting MyApp on a server? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 10 08:02:08 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 14:02:08 +0100 Subject: Record audio on Mac Message-ID: Hi all, There is an entry in the dictionary -> record sound... But that obviously relies on Quicktime. And then there is this in the "Release Notes": ... 64-bit standalones for Mac OS X do not have support for audio recording. ... Does that mean we do not have a way to record a sound with LC? If yes, oh my.... :-/ Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Dec 10 09:03:56 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 10 Dec 2021 16:03:56 +0200 Subject: Record audio on Mac In-Reply-To: References: Message-ID: Hello Klaus, You can use the camera control: cameraControlDo tCamera, "startRecording", .... Cheers, Panos -- On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... > > Does that mean we do not have a way to record a sound with LC? > If yes, oh my.... :-/ > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Dec 10 09:10:31 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 15:10:31 +0100 Subject: Record audio on Mac In-Reply-To: References: Message-ID: <51880379-6D57-495F-BC73-4D25F70F9937@major-k.de> Hi Panos, > Am 10.12.2021 um 15:03 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > You can use the camera control: > cameraControlDo tCamera, "startRecording", .... thank you, so we can use it for recording audio only? Cool. Will have to read up that entry in the dictionary. But why on earth do you then write this in the release notes? -> 64-bit standalones for Mac OS X do not have support for audio recording. 8-) > Cheers, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From msiskin at andrew.cmu.edu Fri Dec 10 09:14:48 2021 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Fri, 10 Dec 2021 14:14:48 +0000 Subject: Record audio on Mac In-Reply-To: References: , Message-ID: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> I have been reasonably assured that in LC 10 there will be a simplified/unified way to record audio and/or video on most platforms. This has been in progress for several years. I am looking forward to this returned functionality. Marc Siskin Learning Engineer, Carnegie Mellon University Modern Language Resource Center ________________________________ From: use-livecode on behalf of panagiotis m via use-livecode Sent: Friday, December 10, 2021 9:03:56 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Record audio on Mac Hello Klaus, You can use the camera control: cameraControlDo tCamera, "startRecording", .... Cheers, Panos -- On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... > > Does that mean we do not have a way to record a sound with LC? > If yes, oh my.... :-/ > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 10 09:28:41 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 10 Dec 2021 09:28:41 -0500 Subject: Forum Down? In-Reply-To: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> References: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Message-ID: OK. All back to normal, Funny how annoyed I get when a modern miracle does not quite perform the way I want it to. Craig > On Dec 9, 2021, at 10:14 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : >> >> Could not connect as of last evening. > > nope, alive and running! > Just tested. > >> Craig > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Fri Dec 10 10:42:13 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 10 Dec 2021 15:42:13 +0000 Subject: OT Re: Record audio on Mac In-Reply-To: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> References: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> Message-ID: <1674af60-df27-b92c-4f15-fb718167255c@cogapp.com> Marc, we can tell you're not in the UK. Right now, the phrase that "I have been assured" has quite low credibility on this side of the Atlantic! Ben On 10/12/2021 14:14, Marc Siskin via use-livecode wrote: > I have been reasonably assured that in LC 10 there will be a simplified/unified way to record audio and/or video on most platforms. This has been in progress for several years. > > > I am looking forward to this returned functionality. > > > Marc Siskin > > Learning Engineer, Carnegie Mellon University > > Modern Language Resource Center > > ________________________________ > From: use-livecode on behalf of panagiotis m via use-livecode > Sent: Friday, December 10, 2021 9:03:56 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Record audio on Mac > > Hello Klaus, > > You can use the camera control: > > cameraControlDo tCamera, "startRecording", .... > > Cheers, > Panos > -- > > On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> There is an entry in the dictionary -> record sound... >> But that obviously relies on Quicktime. >> >> And then there is this in the "Release Notes": >> ... >> 64-bit standalones for Mac OS X do not have support for audio recording. >> ... >> >> Does that mean we do not have a way to record a sound with LC? >> If yes, oh my.... :-/ >> >> Thanks for any hint! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 10 14:29:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 20:29:34 +0100 Subject: Record audio on Mac In-Reply-To: References: Message-ID: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> Hi all, > Am 10.12.2021 um 14:02 schrieb Klaus major-k via use-livecode : > > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... almost forgot that we have all this wonderful MERG AV... and MERGmicrophone... stuff on the Mac! :-) So please remove that line from the Release Notes. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From torsten.holmer at web.de Fri Dec 10 16:46:42 2021 From: torsten.holmer at web.de (Torsten Holmer) Date: Fri, 10 Dec 2021 22:46:42 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? Message-ID: Hi, I have a PDF file with text and pictures, but I just want the text. I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. I have a business licence and want to use the PDF widget but I cannot find a way to do it. Can someone help me out? Cheers, Torsten From matthias_livecode_150811 at m-r-d.de Fri Dec 10 17:47:49 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 10 Dec 2021 23:47:49 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: Message-ID: <6FC606D4-7ADE-4082-8D72-D72644309B0D@m-r-d.de> Hi Torsten, i think the PDF widget does not support extracting text by code. At least the documentation does not show any information about this. You wrote, that you have a business license. That would mean, that you can use the Pro features of Livecode. There is an external included in the Pro Feature Pack called XPDF. That external supports extracting text. Have a look at the function XPDFVIEWER_text. Regards, Matthias > Am 10.12.2021 um 22:46 schrieb Torsten Holmer via use-livecode : > > Hi, > > I have a PDF file with text and pictures, but I just want the text. > > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > > Can someone help me out? > > Cheers, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 17:22:56 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Dec 2021 17:22:56 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: Message-ID: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. Monte? LC 10.0.0 Dictionary does not list a property for the page text. On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: > Hi, > > I have a PDF file with text and pictures, but I just want the text. > > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > > Can someone help me out? > > Cheers, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 19:05:49 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Dec 2021 01:05:49 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> Message-ID: <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Paul, here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). Btw. checking this showed me that this function seems to be deprecated and instead the command XPDFViewer_Unicode viewerName, pageNumber, variableName should be used. > Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : > > There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. > > Monte? LC 10.0.0 Dictionary does not list a property for the page text. > > > On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >> Hi, >> >> I have a PDF file with text and pictures, but I just want the text. >> >> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >> >> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >> >> Can someone help me out? >> >> Cheers, >> Torsten >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 20:01:59 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Dec 2021 20:01:59 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: > Paul, > > here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). > Btw. checking this showed me that this function seems to be deprecated and instead the command > XPDFViewer_Unicode viewerName, pageNumber, variableName > should be used. > > >> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >> >> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >> >> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >> >> >> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>> Hi, >>> >>> I have a PDF file with text and pictures, but I just want the text. >>> >>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>> >>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>> >>> Can someone help me out? >>> >>> Cheers, >>> Torsten >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 11 06:50:07 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Dec 2021 12:50:07 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: Ah, i thought you were referring only to XPDF. Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? Or am i missing something? Regards, Matthias > Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : > > Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. > > I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. > > > On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >> Paul, >> >> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >> Btw. checking this showed me that this function seems to be deprecated and instead the command >> XPDFViewer_Unicode viewerName, pageNumber, variableName >> should be used. >> >> >>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>> >>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>> >>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>> >>> >>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>> Hi, >>>> >>>> I have a PDF file with text and pictures, but I just want the text. >>>> >>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>> >>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>> >>>> Can someone help me out? >>>> >>>> Cheers, >>>> Torsten >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at mac.com Sat Dec 11 07:00:52 2021 From: yvescoppe at mac.com (Yves COPPE) Date: Sat, 11 Dec 2021 13:00:52 +0100 Subject: Command "Launch" Message-ID: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> Hello, On mac : I want to launch a document with application « TextEdit » The path to the document is ok but I cannot find a script with the path to « TextEdit » Can somebody help, me ? Thanks. Greetings. Yves COPPE yvescoppe at mac.com From klaus at major-k.de Sat Dec 11 07:08:04 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 11 Dec 2021 13:08:04 +0100 Subject: Command "Launch" In-Reply-To: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> References: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> Message-ID: <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> Bonjour Yves, > Am 11.12.2021 um 13:00 schrieb Yves COPPE via use-livecode : > > Hello, > > On mac : > I want to launch a document with application « TextEdit » > The path to the document is ok but I cannot find a script with the path to « TextEdit » > Can somebody help, me ? find it in -> specialfolderpath("apps") :-) Ken Ray has a nice list of many specialfolderpath() names on his website: > Thanks. > > Greetings. > > Yves COPPE > yvescoppe at mac.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Sat Dec 11 08:27:38 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 11 Dec 2021 08:27:38 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: I suspect it is for backward compatibility. When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: > Ah, i thought you were referring only to XPDF. > Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? > Or am i missing something? > > Regards, > Matthias > > >> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >> >> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >> >> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >> >> >> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>> Paul, >>> >>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>> should be used. >>> >>> >>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>> >>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>> >>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>> >>>> >>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>> Hi, >>>>> >>>>> I have a PDF file with text and pictures, but I just want the text. >>>>> >>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>> >>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>> >>>>> Can someone help me out? >>>>> >>>>> Cheers, >>>>> Torsten >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Sun Dec 12 02:28:32 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 12 Dec 2021 07:28:32 +0000 Subject: IOS 15.0 Message-ID: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> What’s the most stable release / configuration that works with IOS 15. Thanks Sent from my iPhone From dvglasgow at gmail.com Sun Dec 12 05:50:55 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 12 Dec 2021 10:50:55 +0000 Subject: Command "Launch" In-Reply-To: <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> References: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> Message-ID: <7894D8D4-6B8D-4949-A99A-2BCF2A0F405B@gmail.com> > On 11 Dec 2021, at 12:08 pm, Klaus major-k via use-livecode wrote: > > Ken Ray has a nice list of many specialfolderpath() names on his website: > > I can’t say how many times I have looked through that. Thank you, Ken. From stam66 at mac.com Sun Dec 12 08:59:50 2021 From: stam66 at mac.com (Stam Kapetanakis) Date: 12 Dec 2021 13:59:50 +0000 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: Message-ID: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Hi Torsten, i presume the pdf widget in pro is the opensource xpdfReader but don’t know for sure. I did post on how to extract text from PDF using the free xpdfReader and non-pro LC: https://forums.livecode.com/viewtopic.php?f=8&t=35280&p=201036&hilit=Xpdfreader#p201036 I presume that with Pro this is simpler still. hope that helps Stam > I have a PDF file with text and pictures, but I just want the text. > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS.  > > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > Can someone help me out? > Cheers, > Torsten > > > From preid at reidit.co.uk Sun Dec 12 13:29:03 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Sun, 12 Dec 2021 18:29:03 +0000 Subject: Ghost in the Machine? Message-ID: Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate… 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: +---------------------------------------------------------------------------------+ | Surname:[.............] Firstname(s):[...........] Initials:[......] | | | | Address:[.............] Town:[.............] Phone: [.............] | | [.............] Postcode:[.........] Mobile:[.............] | | | | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | +---------------------------------------------------------------------------------+ 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. So my query is really as follows: a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? b) has anyone done something like this? c) does anyone have any methods and/or code they can let me have for this? My overview of what's required is as follows (assuming no show-stoppers): - I make an overlay map, transparent everywhere except where there are input fields – this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles - we take the name of a field, 'Surname' say, and lookup its location on the screen - we position our virtual mouse to click into the location where the equivalent field can be found - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object Any idea whether this is possible and any code examples?! Thanks. Peter From ambassador at fourthworld.com Sun Dec 12 14:33:39 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2021 11:33:39 -0800 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: Stam Kapetanakis wrote: > i presume the pdf widget in pro is the opensource xpdfReader but > dont know for sure. If it is that would be problematic, as the open source edition of xpdfReader is licensed under GPL, and LC no longer has an edition compatible with GPL. -- 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 Sun Dec 12 14:38:20 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2021 11:38:20 -0800 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: Peter Reid wrote: > We want a way to upload a group of new members by 'driving' the input > fields, i.e. our app would click into each field, checkbox, radiobox > and 'type' in the details. If the goal is to submit new member info you can do that with a single POST command. Examine the source HTML. Look for the action URL. Look at the input names. Package up the input data as name-value pairs form-encoded, send it to the URL via POST, and you're done. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Dec 12 14:55:10 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Dec 2021 21:55:10 +0200 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: The consequences are endless. On 12.12.21 21:33, Richard Gaskin via use-livecode wrote: > Stam Kapetanakis wrote: > > > i presume the pdf widget in pro is the opensource xpdfReader but > > dont know for sure. > > If it is that would be problematic, as the open source edition of > xpdfReader is licensed under GPL, and LC no longer has an edition > compatible with GPL. > From paul at researchware.com Sun Dec 12 15:38:45 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Dec 2021 15:38:45 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: <5e366366-e3b2-e094-3f3c-498c2bd9ea0a@researchware.com> On 12/12/2021 8:59 AM, Stam Kapetanakis via use-livecode wrote: > Hi Torsten, > i presume the pdf widget in pro is the opensource xpdfReader but dont know for sure. It is not xpdfreader. The XPDF Erternal AND the PDF Wdiget with Licecode are based on the Google PDFium Library. The first is C++ code using the External template to call the PDFium library APIs and the second is using LCB to do the same. From monte at appisle.net Sun Dec 12 18:49:20 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Dec 2021 10:49:20 +1100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> Hi Folks Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. Cheers Monte > On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: > > I suspect it is for backward compatibility. > > When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. > > That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. > > I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. > > To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. > > > On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >> Ah, i thought you were referring only to XPDF. >> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >> Or am i missing something? >> >> Regards, >> Matthias >> >> >>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>> >>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>> >>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>> >>> >>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>> Paul, >>>> >>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>> should be used. >>>> >>>> >>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>> >>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>> >>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>> >>>>> >>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>> Hi, >>>>>> >>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>> >>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>> >>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>> >>>>>> Can someone help me out? >>>>>> >>>>>> Cheers, >>>>>> Torsten >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 19:17:39 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Dec 2021 19:17:39 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> Message-ID: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Thank you Monte, We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? Thanks in advance, On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldnt be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so its worthwhile anyone still using XPDF to take the time to audit their use and see if theres any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. > > Cheers > > Monte > >> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >> >> I suspect it is for backward compatibility. >> >> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >> >> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >> >> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >> >> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >> >> >> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>> Ah, i thought you were referring only to XPDF. >>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>> Or am i missing something? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>> >>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>> >>>> >>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>> Paul, >>>>> >>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>> should be used. >>>>> >>>>> >>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>> >>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>> >>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>> >>>>>> >>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>> >>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>> >>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>> >>>>>>> Can someone help me out? >>>>>>> >>>>>>> Cheers, >>>>>>> Torsten >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 12 20:36:51 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 Dec 2021 01:36:51 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: <0fc4be03-ba78-c5e8-deca-fe4aca6144bd@tweedly.net> Peter, I think the piece of info we are all missing (or guessing wrongly about) is: the existing club membership system - is it a web-based system, or an app that runs on your desktop. We're all kind of assuming it's a web page, but I now suspect maybe it isn't. If it is a web page - then the answers so far are all relevant, and should be straightforward to try out. [My suggestion re. the browser widget still feels like the "right official" way to do it - but personally I'd look at the html and see if I could POST the correct info - i.e. what Richard said :-) ] If it's a custom app, then it's a very different question - and I currently have no idea. If so, please say a little bit more about the custom app, or put up a screenshot / video somewhere. Alex. On 12/12/2021 18:29, Peter Reid via use-livecode wrote: > Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate > > 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. > > 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: > > +---------------------------------------------------------------------------------+ > | Surname:[.............] Firstname(s):[...........] Initials:[......] | > | | > | Address:[.............] Town:[.............] Phone: [.............] | > | [.............] Postcode:[.........] Mobile:[.............] | > | | > | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | > +---------------------------------------------------------------------------------+ > > 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. > > 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. > > So my query is really as follows: > a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? > b) has anyone done something like this? > c) does anyone have any methods and/or code they can let me have for this? > > My overview of what's required is as follows (assuming no show-stoppers): > - I make an overlay map, transparent everywhere except where there are input fields this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles > - we take the name of a field, 'Surname' say, and lookup its location on the screen > - we position our virtual mouse to click into the location where the equivalent field can be found > - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object > > Any idea whether this is possible and any code examples?! > > Thanks. > > Peter > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Dec 13 01:30:01 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Dec 2021 17:30:01 +1100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Message-ID: <320E4720-071E-4EBD-8397-F6A340681C26@appisle.net> Both the page and character index are clamped to the number of pages and characters on a page so you could set both to very high numbers. Adding character counts to the documentPages property might be useful here too. Cheers Monte > On 13 Dec 2021, at 11:17 am, Paul Dupuis via use-livecode wrote: > > Thank you Monte, > > We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. > > With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? > > Thanks in advance, > > > On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: >> Hi Folks >> >> Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. >> >> Cheers >> >> Monte >> >>> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >>> >>> I suspect it is for backward compatibility. >>> >>> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >>> >>> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >>> >>> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >>> >>> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >>> >>> >>> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>>> Ah, i thought you were referring only to XPDF. >>>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>>> Or am i missing something? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>>> >>>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>>> >>>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>>> >>>>> >>>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>>> Paul, >>>>>> >>>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>>> should be used. >>>>>> >>>>>> >>>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>>> >>>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>>> >>>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>>> >>>>>>> >>>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>>> >>>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>>> >>>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>>> >>>>>>>> Can someone help me out? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Torsten >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 12:46:08 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Dec 2021 09:46:08 -0800 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: Message-ID: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Richmond wrote: > On 12.12.21 21:33, Richard Gaskin wrote: >> Stam Kapetanakis wrote: >> > i presume the pdf widget in pro is the opensource xpdfReader but >> > dont know for sure. >> >> If it is that would be problematic, as the open source edition of >> xpdfReader is licensed under GPL, and LC no longer has an edition >> compatible with GPL. > > The consequences are endless. Note my "if". In the next message in this thread Paul clarified that the component is not derived from a GPL-governed work, so the rights and responsibilities of the GPL do not apply here: http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Mon Dec 13 13:39:55 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Dec 2021 13:39:55 -0500 Subject: IOS 15.0 In-Reply-To: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> References: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> Message-ID: I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios target devices (other than a bizarre issue with the remote debugger reporting incorrect color instead of showing the actual error). On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > What’s the most stable release / configuration that works with IOS 15. > > Thanks > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Dec 13 13:40:54 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Dec 2021 13:40:54 -0500 Subject: IOS 15.0 In-Reply-To: References: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> Message-ID: sorry, "unknown color". The fix is to insert a breakpoint before the suspect code executes. Then it finds its way. On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner wrote: > I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios > target devices (other than a bizarre issue with the remote debugger > reporting incorrect color instead of showing the actual error). > > On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> What’s the most stable release / configuration that works with IOS 15. >> >> Thanks >> >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From marksmithhfx at gmail.com Mon Dec 13 13:57:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 13 Dec 2021 18:57:00 +0000 Subject: IOS 15.0 In-Reply-To: References: Message-ID: Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Best, Mark Sent from my iPhone > On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: > > sorry, "unknown color". > The fix is to insert a breakpoint before the suspect code executes. Then it > finds its way. > >> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >> wrote: >> >> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios >> target devices (other than a bizarre issue with the remote debugger >> reporting incorrect color instead of showing the actual error). >> >> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> What’s the most stable release / configuration that works with IOS 15. >>> >>> Thanks >>> >>> 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 >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 13 14:17:27 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Dec 2021 14:17:27 -0500 Subject: IOS 15.0 In-Reply-To: References: Message-ID: <007201d7f056$14196020$3c4c2060$@net> Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the installation to complete. Then point your Xcode build tools to the 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up Xcode 15.0 to drag .app's to your devices for testing. I always rename all my Xcode versions with the version number so that it will not be updated. 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 Smith via use-livecode Sent: Monday, December 13, 2021 1:57 PM To: How to use LiveCode Cc: Mark Smith; Mike Kerner Subject: Re: IOS 15.0 Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Best, Mark Sent from my iPhone > On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: > > sorry, "unknown color". > The fix is to insert a breakpoint before the suspect code executes. > Then it finds its way. > >> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >> >> wrote: >> >> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the >> ios target devices (other than a bizarre issue with the remote >> debugger reporting incorrect color instead of showing the actual error). >> >> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> What’s the most stable release / configuration that works with IOS 15. >>> >>> Thanks >>> >>> 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 >>> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 13 15:22:06 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Dec 2021 15:22:06 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Message-ID: <007301d7f05f$1c5bda20$55138e60$@net> Sorry I could not get back to you on this until now. (-1)s don't work here. put 1 into tHilitedArray["from"]["page"] put 1 into tHilitedArray["from"]["index"] put 999999 into tHilitedArray["to"]["page"] put 999999 into tHilitedArray["to"]["index"] set the hilitedRange of control "PDF1" to tHilitedArray put the hilitedRangeText of control "PDF1" into tText This will work if you don't need to know the page number. If you do then cycle thru each page. (1 to the NumberOfPages of control "PDF1") 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 Paul Dupuis via use-livecode Sent: Sunday, December 12, 2021 7:18 PM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: How to extract whole text from a PDF file with the PDF widget? Thank you Monte, We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? Thanks in advance, On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. > > Cheers > > Monte > >> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >> >> I suspect it is for backward compatibility. >> >> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >> >> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >> >> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >> >> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >> >> >> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>> Ah, i thought you were referring only to XPDF. >>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>> Or am i missing something? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>> >>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>> >>>> >>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>> Paul, >>>>> >>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>> should be used. >>>>> >>>>> >>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>> >>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>> >>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>> >>>>>> >>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>> >>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>> >>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>> >>>>>>> Can someone help me out? >>>>>>> >>>>>>> Cheers, >>>>>>> Torsten >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Dec 13 15:34:21 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 13 Dec 2021 20:34:21 +0000 Subject: IOS 15.0 In-Reply-To: <007201d7f056$14196020$3c4c2060$@net> References: <007201d7f056$14196020$3c4c2060$@net> Message-ID: <6EBB42C6-93B8-4669-8803-32ABC3EA1972@gmail.com> Thanks guys, I’ll give that a try but heaven forbid I might need two different versions of Xcode. That’s probably a whopping 40GB of disk space right there. Mark Sent from my iPhone > On Dec 13, 2021, at 7:17 PM, Ralph DiMola via use-livecode wrote: > > Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the installation to complete. Then point your Xcode build tools to the 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up Xcode 15.0 to drag .app's to your devices for testing. > > I always rename all my Xcode versions with the version number so that it will not be updated. > > 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 Smith via use-livecode > Sent: Monday, December 13, 2021 1:57 PM > To: How to use LiveCode > Cc: Mark Smith; Mike Kerner > Subject: Re: IOS 15.0 > > Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). > > Best, > Mark > > Sent from my iPhone > >> On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: >> >> sorry, "unknown color". >> The fix is to insert a breakpoint before the suspect code executes. >> Then it finds its way. >> >>> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >>> >>> wrote: >>> >>> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the >>> ios target devices (other than a bizarre issue with the remote >>> debugger reporting incorrect color instead of showing the actual error). >>> >>> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> What’s the most stable release / configuration that works with IOS 15. >>>> >>>> Thanks >>>> >>>> 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 >>>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth On the second >>> day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 17:09:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2021 16:09:15 -0600 Subject: IOS 15.0 In-Reply-To: References: Message-ID: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: > Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Have you notarized and stapled the app? I thought that's what the error means. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 13 17:13:07 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2021 16:13:07 -0600 Subject: IOS 15.0 In-Reply-To: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> References: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> Message-ID: <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote: > On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: >> Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now >> all my builds have stopped working… (“developer of this app needs to upgrade it to work with >> this version of iOS). > > Have you notarized and stapled the app? I thought that's what the error means. > > Oops, notarization only applies to apps you are distributing outside the Mac App store. So, since you're doing iOS it doesn't apply. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tore.nilsen at me.com Tue Dec 14 06:41:51 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 14 Dec 2021 12:41:51 +0100 Subject: How to paste into a form element in the browser widget Message-ID: I have a problem pasting into a form element on a web page in the browser widget. This works well in the IDE, but not in a standalone application. The application has no menus, but I have included a pasteKey script to handle paste shortcuts. This does not seem to do the trick in the browser widget. I have tried to put the script in the stack script, the card script and even in the widget itself, although I wouldn’t expect the latter to work. Are there anyone who has run across this problem before and may offer a solution? Best regards Tore Nilsen From mark at livecode.com Tue Dec 14 07:04:38 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 Dec 2021 12:04:38 +0000 Subject: How to paste into a form element in the browser widget In-Reply-To: References: Message-ID: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: > I have a problem pasting into a form element on a web page in the > browser widget. This works well in the IDE, but not in a standalone > application. The application has no menus, but I have included a > pasteKey script to handle paste shortcuts. This does not seem to do > the trick in the browser widget. I have tried to put the script in the > stack script, the card script and even in the widget itself, although > I wouldnt expect the latter to work. Are there anyone who has run > across this problem before and may offer a solution? I think you'll need to include an Edit menu with the normal shortcuts (Cut/Copy/Paste) - make sure the tag of the items is correct as the engine uses those to map them to the internal (Cocoa) references. e.g. (Cu&t /X|cut (&Copy /C|copy (&Paste /V|paste Cocoa-based controls (which the browser widget uses the WebView variant of) don't respond to shortcuts directly, but only via menu item accelerators - so the browser widget needs the menu items present for such shortcuts to work. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tore.nilsen at me.com Tue Dec 14 07:07:39 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 14 Dec 2021 13:07:39 +0100 Subject: How to paste into a form element in the browser widget In-Reply-To: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> References: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> Message-ID: <3843B268-34E5-46B2-82AB-E024ACFA3135@me.com> Ah, I see! Wel,l back to redesigning the whole application to include the menus then. Thanks! Best Regards Tore > 14. des. 2021 kl. 13:04 skrev Mark Waddingham via use-livecode : > > On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: >> I have a problem pasting into a form element on a web page in the >> browser widget. This works well in the IDE, but not in a standalone >> application. The application has no menus, but I have included a >> pasteKey script to handle paste shortcuts. This does not seem to do >> the trick in the browser widget. I have tried to put the script in the >> stack script, the card script and even in the widget itself, although >> I wouldn’t expect the latter to work. Are there anyone who has run >> across this problem before and may offer a solution? > > I think you'll need to include an Edit menu with the normal shortcuts (Cut/Copy/Paste) - make sure the tag of the items is correct as the engine uses those to map them to the internal (Cocoa) references. e.g. > > (Cu&t /X|cut > (&Copy /C|copy > (&Paste /V|paste > > Cocoa-based controls (which the browser widget uses the WebView variant of) don't respond to shortcuts directly, but only via menu item accelerators - so the browser widget needs the menu items present for such shortcuts to work. > > 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 marksmithhfx at gmail.com Tue Dec 14 07:52:10 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 14 Dec 2021 12:52:10 +0000 Subject: IOS 15.0 In-Reply-To: <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> References: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> Message-ID: <968D6371-D7C9-45C0-A53B-F8E56704D3A6@gmail.com> Correct, in this case I think it’s complaining I don’t have the correct SDK in the build. The LC docs (including release notes for 9.6.5) only go up to 14.5 so rather than experiment I was hoping someone already had a tried and true formula for working with 15.0. I'm afraid this is entirely my own fault. It’s a newish iPhone and I forgot to turn off auto-update. Mark > On Dec 13, 2021, at 10:13 PM, J. Landman Gay via use-livecode wrote: > > On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote: >> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: >>> Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). >> Have you notarized and stapled the app? I thought that's what the error means. > > Oops, notarization only applies to apps you are distributing outside the Mac App store. So, since you're doing iOS it doesn't apply. > > -- > 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 rolf.kocherhans at uzh.ch Tue Dec 14 08:50:27 2021 From: rolf.kocherhans at uzh.ch (Rolf Kocherhans) Date: Tue, 14 Dec 2021 13:50:27 +0000 Subject: [ANN] Release 10.0.0 DP-1 Message-ID: First of all thanks for the WebAssembly HTML5 implementation. This is really great stuff ! I already played with it a lot and found that some things work better others don't. For instance all my URL stuff (loading a stack on same domain) is unfortunately not working anymore. Also, all the PHP scripts which I used to access, which downloaded stuff from other domains and then displayed the result in the Browser don't work anymore. Is this just me - or is it just not implemented yet ? And if it is not only me, is this something high on the list ? From mark at livecode.com Tue Dec 14 09:59:12 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 Dec 2021 14:59:12 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: > First of all thanks for the WebAssembly HTML5 implementation. This is > really great stuff ! > > For instance all my URL stuff (loading a stack on same domain) is > unfortunately not working anymore. > > Also, all the PHP scripts which I used to access, which downloaded > stuff from other domains and then displayed > the result in the Browser don't work anymore. > > > Is this just me - or is it just not implemented yet ? I don't think it is only you - at least one other person has mentioned on the forums that their URL operations are not working either. What url operations are you using? The reason I ask is because the engine only has built-in support for `load url` currently - the other syntax is implemented by a libURL 'driver' and I have a suspicion that the latter may be currently broken. Warmest Regards, Mark. P.S. And yes, this is high on the list to investigate in more depth and fix! -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paulmcclernan at gmail.com Tue Dec 14 10:33:05 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 14 Dec 2021 10:33:05 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Message-ID: I was fairly certain that XPDF external was/is based on this XPDF: https://en.m.wikipedia.org/wiki/Xpdf Which has both GPL and Proprietary Licensing options available. The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot project that spawned from Google’s Chromium project. I’m not sure about the licensing involved with that. If you’re running macOS I released a (semi-complete) library that uses Apple PDFKit (not to be confused with several other PDFKits that are out there, such as this JS PDFKit: https://pdfkit.org ). That can extract text from PDF, per-document or per-page. At some point I may update that library, adding the ability to extract RTF styled text and also make iso it can use UIView, which would make available on iOS devices too, but I’m really busy right now so that’s not likely to get attention from me anytime soon. On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Richmond wrote: > > > On 12.12.21 21:33, Richard Gaskin wrote: > >> Stam Kapetanakis wrote: > >> > i presume the pdf widget in pro is the opensource xpdfReader but > >> > don’t know for sure. > >> > >> If it is that would be problematic, as the open source edition of > >> xpdfReader is licensed under GPL, and LC no longer has an edition > >> compatible with GPL. > > > > The consequences are endless. > > Note my "if". > > In the next message in this thread Paul clarified that the component is > not derived from a GPL-governed work, so the rights and responsibilities > of the GPL do not apply here: > http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 14 10:58:18 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 14 Dec 2021 10:58:18 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Message-ID: <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: > I was fairly certain that XPDF external was/is based on this XPDF: > https://en.m.wikipedia.org/wiki/Xpdf > Which has both GPL and Proprietary Licensing options available. Nope. My company (Researchware) and I paid for the development of the XPDF External shipped with LiveCode. Monte did the code for us when he was an independent LiveCode developer, paid directly by Researchware. It is based on the C++ "external" API template, calling the Google PDFium library. Researchware then transferred the license to LiveCode when Monte went to work for them. I called it XPDF because it was an eXternal for PDFs. I was unaware (at the time) for anything else using the XPDF name. And yes, I am to blame (or credit) for the majority of the syntax for messages, commands, and functions of the XPDF external (with Monte correcting me when I had a really stupid syntax specified) > > The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot > project that spawned from Googles Chromium project. Im not sure about the > licensing involved with that. > > If youre running macOS I released a (semi-complete) library that uses > Apple PDFKit (not to be confused with several other PDFKits that are out > there, such as this JS PDFKit: https://pdfkit.org ). That can extract text > from PDF, per-document or per-page. > > At some point I may update that library, adding the ability to extract RTF > styled text and also make iso it can use UIView, which would make available > on iOS devices too, but Im really busy right now so thats not likely to > get attention from me anytime soon. > > > On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Richmond wrote: >> >> > On 12.12.21 21:33, Richard Gaskin wrote: >> >> Stam Kapetanakis wrote: >> >> > i presume the pdf widget in pro is the opensource xpdfReader but >> >> > dont know for sure. >> >> >> >> If it is that would be problematic, as the open source edition of >> >> xpdfReader is licensed under GPL, and LC no longer has an edition >> >> compatible with GPL. >> > >> > The consequences are endless. >> >> Note my "if". >> >> In the next message in this thread Paul clarified that the component is >> not derived from a GPL-governed work, so the rights and responsibilities >> of the GPL do not apply here: >> http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 14 15:09:17 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 14 Dec 2021 15:09:17 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> Message-ID: Ah, OK thanks for the clarification. I hadn’t realize PDFium has been around as long as it has been. I wouldn’t sweat the naming conflict, there’s at least three “PDFKit” libraries so you’re not alone. On Tue, Dec 14, 2021 at 11:01 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: > > I was fairly certain that XPDF external was/is based on this XPDF: > > https://en.m.wikipedia.org/wiki/Xpdf > > Which has both GPL and Proprietary Licensing options available. > > Nope. My company (Researchware) and I paid for the development of the > XPDF External shipped with LiveCode. Monte did the code for us when he > was an independent LiveCode developer, paid directly by Researchware. It > is based on the C++ "external" API template, calling the Google PDFium > library. Researchware then transferred the license to LiveCode when > Monte went to work for them. I called it XPDF because it was an eXternal > for PDFs. I was unaware (at the time) for anything else using the XPDF > name. And yes, I am to blame (or credit) for the majority of the syntax > for messages, commands, and functions of the XPDF external (with Monte > correcting me when I had a really stupid syntax specified) > > > > > The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot > > project that spawned from Google’s Chromium project. I’m not sure about > the > > licensing involved with that. > > > > If you’re running macOS I released a (semi-complete) library that uses > > Apple PDFKit (not to be confused with several other PDFKits that are out > > there, such as this JS PDFKit: https://pdfkit.org ). That can extract > text > > from PDF, per-document or per-page. > > > > At some point I may update that library, adding the ability to extract > RTF > > styled text and also make iso it can use UIView, which would make > available > > on iOS devices too, but I’m really busy right now so that’s not likely to > > get attention from me anytime soon. > > > > > > On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Richmond wrote: > >> > >> > On 12.12.21 21:33, Richard Gaskin wrote: > >> >> Stam Kapetanakis wrote: > >> >> > i presume the pdf widget in pro is the opensource xpdfReader but > >> >> > don’t know for sure. > >> >> > >> >> If it is that would be problematic, as the open source edition of > >> >> xpdfReader is licensed under GPL, and LC no longer has an edition > >> >> compatible with GPL. > >> > > >> > The consequences are endless. > >> > >> Note my "if". > >> > >> In the next message in this thread Paul clarified that the component is > >> not derived from a GPL-governed work, so the rights and responsibilities > >> of the GPL do not apply here: > >> > http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> Software Design and Development for the Desktop, Mobile, and the Web > >> ____________________________________________________________________ > >> Ambassador at FourthWorld.com http://www.FourthWorld.com > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Tue Dec 14 15:16:22 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Dec 2021 20:16:22 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> References: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> Message-ID: Double check if this is not CORS related. It is very easy to have a request fail because of wrong CORS headers. On Tue, 14 Dec 2021 at 15:00, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: > > First of all thanks for the WebAssembly HTML5 implementation. This is > > really great stuff ! > > > > For instance all my URL stuff (loading a stack on same domain) is > > unfortunately not working anymore. > > > > Also, all the PHP scripts which I used to access, which downloaded > > stuff from other domains and then displayed > > the result in the Browser don't work anymore. > > > > > > Is this just me - or is it just not implemented yet ? > > I don't think it is only you - at least one other person has mentioned > on the forums that their URL operations are not working either. > > What url operations are you using? > > The reason I ask is because the engine only has built-in support for > `load url` currently - the other syntax is implemented by a libURL > 'driver' and I have a suspicion that the latter may be currently broken. > > Warmest Regards, > > Mark. > > P.S. And yes, this is high on the list to investigate in more depth and > fix! > > -- > 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 > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From matthias_livecode_150811 at m-r-d.de Tue Dec 14 17:31:45 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 14 Dec 2021 23:31:45 +0100 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> References: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> Message-ID: Mark, i've just filed bug #23485 https://quality.livecode.com/show_bug.cgi?id=23485 I noticed that as soon as the keyword URL is in a script, even if the line is a comment, the remote access, for example to set the filename of an image to a remote url as Kevin showed in the Webcamp presentation, does not work anymore. Regards, Matthias > Am 14.12.2021 um 15:59 schrieb Mark Waddingham via use-livecode : > > On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: >> First of all thanks for the WebAssembly HTML5 implementation. This is >> really great stuff ! >> For instance all my URL stuff (loading a stack on same domain) is >> unfortunately not working anymore. >> Also, all the PHP scripts which I used to access, which downloaded >> stuff from other domains and then displayed >> the result in the Browser don't work anymore. >> Is this just me - or is it just not implemented yet ? > > I don't think it is only you - at least one other person has mentioned on the forums that their URL operations are not working either. > > What url operations are you using? > > The reason I ask is because the engine only has built-in support for `load url` currently - the other syntax is implemented by a libURL 'driver' and I have a suspicion that the latter may be currently broken. > > Warmest Regards, > > Mark. > > P.S. And yes, this is high on the list to investigate in more depth and fix! > > -- > 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 devin_asay at byu.edu Tue Dec 14 19:00:48 2021 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Dec 2021 00:00:48 +0000 Subject: regex backreferences Message-ID: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Tue Dec 14 22:41:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2021 21:41:17 -0600 Subject: regex backreferences In-Reply-To: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> Message-ID: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode wrote: > Hi all, > > Does the replaceText() function allow the use of backreferences to retain > groupings of text between matches. For example, if I have some text like this: > >

Good stuff here.

> > I want to end up something like this: > >

Good stuff here.

> > In BBedit I can search for

(.*)

and > replace it with

\1

and it preserves the run of text designated by > parentheses. > (I know, I can get more fancy on matching the runs of html tags, but Im > mainly interested in retaining the text, not in regex madness.) > > In LC this does not work: > > put replaceText(myText,"

style=cruft>(.*)

,

\1

) into myText > > I just end up with

\1

, when I want

Good stuff here.

> > Can replaceText even do this? > > - Devin > > > Devin Asay > 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 kaveh at rivervalleytechnologies.com Wed Dec 15 04:46:36 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 15 Dec 2021 09:46:36 +0000 Subject: regex backreferences In-Reply-To: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I wish it did, but replaceText doesn't support back references. The > parameters at the end are treated as literals, whether as actual quoted > literals or variables containing a value. > > If there isn't a feature request for it, there should be. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: > > > Hi all, > > > > Does the replaceText() function allow the use of backreferences to > retain > > groupings of text between matches. For example, if I have some text like > this: > > > >

Good stuff here.

> > > > I want to end up something like this: > > > >

Good stuff here.”

> > > > In BBedit I can search for

(.*)

and > > replace it with

\1

and it preserves the run of text designated > by > > parentheses. > > (I know, I can get more fancy on matching the runs of html tags, but I’m > > mainly interested in retaining the text, not in regex madness.) > > > > In LC this does not work: > > > > put replaceText(myText,"

> style=“cruft”>(.*)

”,”

\1

”) into myText > > > > I just end up with

\1

, when I want

Good stuff here.

> > > > Can replaceText even do this? > > > > - Devin > > > > > > Devin Asay > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From curry at pair.com Wed Dec 15 04:59:47 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 Dec 2021 04:59:47 -0500 Subject: Upcoming Changes for WordLib, WordReport, etc. Message-ID: <5f4bf193-2ba3-94d7-301c-d9b5f56705df@pair.com> For the Curry K. addons I'm happy to announce: backend, release flow, and pricing changes.... 1. MORE, FASTER, A FLURRY! Finally had a chance to update the backend for my LC addons. It's mucho ms way-more automated, so updates can be MORE FREQUENT! Planned this literally 10 years ago! But clients ALWAYS come first. (And improving health took a while.) -- 2. MINOR VERSIONS WILL BE PUBLIC. The backend will allow better overall flow.... Old way: Big wait ... ... major release. (Minor versions were usually dp/private, since public releases were a big process.) New way: Major, minor, minor, Major, etc. (Faster fixes, try new stuff sooner.) -- 3. REVISED PRICING TO MATCH. Also new pricing: $49 per major version. (Minor updates free for that version.) Aiming for 1 major version per year. (Versions will keep working as always; still version-based, not a subscription.) WordLib is still the lucky winner emerging first from the new chute! A Christmas-y release timeframe, maybe a coupon code to fit the season. (WordReport should be next; then we'll see.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jbv at souslelogo.com Wed Dec 15 05:02:56 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 15 Dec 2021 05:02:56 -0500 Subject: How to detect when the user moves a stack Message-ID: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> Hi list, How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack. At least this is happening in the IDE, I haven't built a standalone yet. Thanks in advance. jbv From klaus at major-k.de Wed Dec 15 05:17:07 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 15 Dec 2021 11:17:07 +0100 Subject: How to detect when the user moves a stack In-Reply-To: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> Message-ID: <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> Hi jbv, > Am 15.12.2021 um 11:02 schrieb jbv via use-livecode : > > Hi list, > How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? > Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack. > At least this is happening in the IDE, I haven't built a standalone yet. usually you could check the "movestack" message, but I'm not sure if the MODAL stack will not block any actions? Can't you use a "system window" instaed if that is the problem? > Thanks in advance. > jbv Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jbv at souslelogo.com Wed Dec 15 05:28:46 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 15 Dec 2021 05:28:46 -0500 Subject: How to detect when the user moves a stack In-Reply-To: <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> Message-ID: <921fab8fc8251856ec84e371890add05@souslelogo.com> Hi Klaus, Yes it works, thank you for the tip. Oddly I forgot about the "movestack" message, probably because it doesn't appear in the list of available messages when I open the stack script in LC 8... jbv Le 2021-12-15 05:17, Klaus major-k via use-livecode a crit : > Hi jbv, > >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode >> : >> >> Hi list, >> How can I detect when the user moves a stack around the screen by >> clicking on the top bar while leaving the mouse down ? >> Here's my problem : I have a main stack calling a modal stack that >> displays information in real time while some client / server dialog is >> running. When the modal stack opens, it is located at the loc of the >> main stack. But if the user moves the main stack, the modal stack >> stays at the same place, and I would like it to move accordingly and >> remain at the loc of the main stack, no matter where the user moves >> the main stack. >> At least this is happening in the IDE, I haven't built a standalone >> yet. > > usually you could check the "movestack" message, but I'm not sure if > the MODAL stack > will not block any actions? Can't you use a "system window" instaed if > that is the problem? > >> Thanks in advance. >> jbv > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Dec 15 05:31:34 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 15 Dec 2021 12:31:34 +0200 Subject: How to detect when the user moves a stack In-Reply-To: <921fab8fc8251856ec84e371890add05@souslelogo.com> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> <921fab8fc8251856ec84e371890add05@souslelogo.com> Message-ID: remember to 'toplevel' you substack. On Wed, 15 Dec 2021, 12:29 jbv via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi Klaus, > > Yes it works, thank you for the tip. > Oddly I forgot about the "movestack" message, probably because it > doesn't appear in the list of available messages when I open the stack > script in LC 8... > > jbv > > Le 2021-12-15 05:17, Klaus major-k via use-livecode a écrit : > > Hi jbv, > > > >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode > >> : > >> > >> Hi list, > >> How can I detect when the user moves a stack around the screen by > >> clicking on the top bar while leaving the mouse down ? > >> Here's my problem : I have a main stack calling a modal stack that > >> displays information in real time while some client / server dialog is > >> running. When the modal stack opens, it is located at the loc of the > >> main stack. But if the user moves the main stack, the modal stack > >> stays at the same place, and I would like it to move accordingly and > >> remain at the loc of the main stack, no matter where the user moves > >> the main stack. > >> At least this is happening in the IDE, I haven't built a standalone > >> yet. > > > > usually you could check the "movestack" message, but I'm not sure if > > the MODAL stack > > will not block any actions? Can't you use a "system window" instaed if > > that is the problem? > > > >> Thanks in advance. > >> jbv > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > https://www.major-k.de > > https://www.major-k.de/bass > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Dec 15 10:53:31 2021 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Dec 2021 15:53:31 +0000 Subject: regex backreferences In-Reply-To: References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can stop beating my head against it now! Now for a trip to workaround land! - Devin On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode > wrote: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay 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 -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From dougr at telus.net Wed Dec 15 11:36:36 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 15 Dec 2021 08:36:36 -0800 Subject: regex backreferences In-Reply-To: <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> Message-ID: <017601d7f1d1$eddcfa20$c996ee60$@telus.net> None of the links to acquire nor contact Thierry on his site () work. They just hang indefinitely... but the web site, itself, appears to be functrional. Can anyone provide an alternative means to contact this developer? Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Devin Asay via use-livecode Sent: Wednesday, December 15, 2021 7:54 AM To: How to use LiveCode Cc: Devin Asay Subject: Re: regex backreferences Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can stop beating my head against it now! Now for a trip to workaround land! - Devin On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode > wrote: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay 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 -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay 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 kaveh at rivervalleytechnologies.com Wed Dec 15 11:40:26 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 15 Dec 2021 16:40:26 +0000 Subject: regex backreferences In-Reply-To: <017601d7f1d1$eddcfa20$c996ee60$@telus.net> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> <017601d7f1d1$eddcfa20$c996ee60$@telus.net> Message-ID: It's two years since I have been in contact, but this is the email I had: th.douez at sunny-tdz.com Regards Kaveh On Wed, 15 Dec 2021 at 16:37, Douglas A. Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > None of the links to acquire nor contact Thierry on his site (< > https://sunny-tdz.com/livecode/sunnyrex>) work. They just hang > indefinitely... but the web site, itself, appears to be functrional. > > Can anyone provide an alternative means to contact this developer? > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Devin Asay via use-livecode > Sent: Wednesday, December 15, 2021 7:54 AM > To: How to use LiveCode > Cc: Devin Asay > Subject: Re: regex backreferences > > Thanks for confirming, Jacque and Kaveh. I figured that was the case. I > can stop beating my head against it now! > > Now for a trip to workaround land! > > - Devin > > On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > This is a major shortcoming and I have wanted this for years. Thierry has > filled the gap with his excellent SunnyRex library > . I have used it successfully, I > recommend it, and it works well. He has also supported me well after I > purchased SunnyRex. But it is a proprietary dependency and that is > something at the back of my mind. > > It would be great if LiveCode could add this feature. Or perhaps come to an > agreement with Thierry so that we reduce dependencies. > > Regards > Kaveh > > On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I wish it did, but replaceText doesn't support back references. The > parameters at the end are treated as literals, whether as actual quoted > literals or variables containing a value. > > If there isn't a feature request for it, there should be. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com jacque at hyperactivesw.com> > HyperActive Software | http://www.hyperactivesw.com > On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > > > wrote: > > Hi all, > > Does the replaceText() function allow the use of backreferences to > retain > groupings of text between matches. For example, if I have some text like > this: > >

Good stuff here.

> > I want to end up something like this: > >

Good stuff here.”

> > In BBedit I can search for

(.*)

and > replace it with

\1

and it preserves the run of text designated > by > parentheses. > (I know, I can get more fancy on matching the runs of html tags, but I’m > mainly interested in retaining the text, not in regex madness.) > > In LC this does not work: > > put replaceText(myText,"

style=“cruft”>(.*)

”,”

\1

”) into myText > > I just end up with

\1

, when I want

Good stuff here.

> > Can replaceText even do this? > > - Devin > > > Devin Asay > 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 > > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ● Twitter > ● LinkedIn > ● ORCID > > *Accelerating the Communication of Research* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From preid at reidit.co.uk Wed Dec 15 11:45:51 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Wed, 15 Dec 2021 16:45:51 +0000 Subject: Ghost in the Machine In-Reply-To: References: Message-ID: Thanks Richard and Alex. The membership system is web-based and the page I'm trying to interact with contains HTML, php and Javascript material. Therefore the POST construction approach seems to be promising. Unfortunately, the membership details features about 900 lines of LiveCode script, much like the following ...[snip]... class="start-tag">tr
><td style="width:900px">Where You Live</td></tr></table><table align="center" border="0" class="tableMain"><tr><td style="width:100px" class="middle">Address</td><td style="width:800px">No/Name <input type="text" name="ecHouse" id="ecHouse" size="10" maxlength="25" value="71" onChange="modified()" class="vAddress">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Street/Building <input ...[snip]... So I think I'll spend a bit of time looking at the ghost-in-the-machine method; see if it has any legs! Thanks again Peter -- Peter Reid Loughborough, UK > On 13 Dec 2021, at 5:00pm, use-livecode-request at lists.runrev.com wrote: > > Today's Topics: > > 1. Re: Ghost in the Machine? (preid at reidit.co.uk) > 3. Re: Ghost in the Machine? (Richard Gaskin) > 8. Re: Ghost in the Machine? (Alex Tweedly) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Dec 2021 18:29:03 +0000 > From: preid at reidit.co.uk > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: > Content-Type: text/plain; charset=utf-8 > > Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate? > > 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. > > 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: > > +---------------------------------------------------------------------------------+ > | Surname:[.............] Firstname(s):[...........] Initials:[......] | > | | > | Address:[.............] Town:[.............] Phone: [.............] | > | [.............] Postcode:[.........] Mobile:[.............] | > | | > | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | > +---------------------------------------------------------------------------------+ > > 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. > > 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. > > So my query is really as follows: > a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? > b) has anyone done something like this? > c) does anyone have any methods and/or code they can let me have for this? > > My overview of what's required is as follows (assuming no show-stoppers): > - I make an overlay map, transparent everywhere except where there are input fields ? this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles > - we take the name of a field, 'Surname' say, and lookup its location on the screen > - we position our virtual mouse to click into the location where the equivalent field can be found > - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object > > Any idea whether this is possible and any code examples?! > > Thanks. > > Peter > ------------------------------ > > Message: 3 > Date: Sun, 12 Dec 2021 11:38:20 -0800 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Peter Reid wrote: > >> We want a way to upload a group of new members by 'driving' the input >> fields, i.e. our app would click into each field, checkbox, radiobox >> and 'type' in the details. > > If the goal is to submit new member info you can do that with a single > POST command. > > Examine the source HTML. Look for the action URL. Look at the input > names. Package up the input data as name-value pairs form-encoded, send > it to the URL via POST, and you're done. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > ------------------------------ > > Message: 8 > Date: Mon, 13 Dec 2021 01:36:51 +0000 > From: Alex Tweedly > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: <0fc4be03-ba78-c5e8-deca-fe4aca6144bd at tweedly.net> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Peter, > > I think the piece of info we are all missing (or guessing wrongly about) is: > > the existing club membership system - is it a web-based system, or an app that runs on your desktop. > > We're all kind of assuming it's a web page, but I now suspect maybe it isn't. > > If it is a web page - then the answers so far are all relevant, and should be straightforward to try out. > > [My suggestion re. the browser widget still feels like the "right official" way to do it - but personally I'd look at the html and see if I could POST the correct info - i.e. what Richard said :-) ] > > If it's a custom app, then it's a very different question - and I currently have no idea. If so, please say a little bit more about the custom app, or put up a screenshot / video somewhere. > > Alex. > > On 12/12/2021 18:29, Peter Reid via use-livecode wrote: >> Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate? >> >> 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. >> >> 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: >> >> +---------------------------------------------------------------------------------+ >> | Surname:[.............] Firstname(s):[...........] Initials:[......] | >> | | >> | Address:[.............] Town:[.............] Phone: [.............] | >> | [.............] Postcode:[.........] Mobile:[.............] | >> | | >> | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | >> +---------------------------------------------------------------------------------+ >> >> 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. >> >> 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. >> >> So my query is really as follows: >> a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? >> b) has anyone done something like this? >> c) does anyone have any methods and/or code they can let me have for this? >> >> My overview of what's required is as follows (assuming no show-stoppers): >> - I make an overlay map, transparent everywhere except where there are input fields ? this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles >> - we take the name of a field, 'Surname' say, and lookup its location on the screen >> - we position our virtual mouse to click into the location where the equivalent field can be found >> - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object >> >> Any idea whether this is possible and any code examples?! >> >> Thanks. >> >> Peter From robeppich at epsi.ca Wed Dec 15 14:26:40 2021 From: robeppich at epsi.ca (RobEppich) Date: Wed, 15 Dec 2021 11:26:40 -0800 Subject: open socket on start up and can't close Message-ID: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? Also have checked 10.0 dp 1 and same issue is there. Thanks Rob Eppich From craig at starfirelighting.com Wed Dec 15 14:33:50 2021 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 15 Dec 2021 14:33:50 -0500 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: ROBERT EPPICH? If you are the person I think you are, do you know that I still manage a dozen OS9 Macs on a network using Hypercard and Epsitalk? Do you have other posts on either the LiveCode forums or this use-list? I have never seen your name... Craig Newman > On Dec 15, 2021, at 2:26 PM, RobEppich via use-livecode wrote: > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 15 14:41:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 15 Dec 2021 20:41:44 +0100 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <9DC51476-7849-4258-8876-FA1802B4E46F@major-k.de> Hi Rob déjà vue? :-D > Am 15.12.2021 um 20:26 schrieb RobEppich via use-livecode : > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? maOS 10.14.6 and LC 9.6.5, no opensockets on startup here! > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From alex at tweedly.net Wed Dec 15 19:58:15 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 00:58:15 +0000 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <10701601-9f33-9950-6423-5e5060162ec7@tweedly.net> Could it be remote debugging ? Which version / license are you using ? Alex. On 15/12/2021 19:26, RobEppich via use-livecode wrote: > Downloaded and run Livecode 9.6.5, type put the opensockets and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Dec 15 22:00:26 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 16 Dec 2021 14:00:26 +1100 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <221440BD-BE11-43B9-9A85-496F26076D18@appisle.net> Is there a reason you are trying to close it? This is the socket port the remote debugger is listening on and there is a loop ensuring its existence. Cheers Monte > On 16 Dec 2021, at 6:26 am, RobEppich via use-livecode wrote: > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 15 23:58:09 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 Dec 2021 23:58:09 -0500 Subject: open socket on start up and can't close In-Reply-To: References: Message-ID: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> Craig: > ROBERT EPPICH? More people read this list than anyone might assume. A few regulars - but many others who work/lurk! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From craig at starfirelighting.com Thu Dec 16 09:02:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 09:02:20 -0500 Subject: open socket on start up and can't close In-Reply-To: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> References: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> Message-ID: <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> Curry. "A few regulars - but many others who work/lurk! :)" I see that. Robert Eppich, back in the ’90’s, way before sockets, sold a product called “Epsitalk”. This was HC based, and essentially used the now deprecated “send message to program”. This was listed as a keyword, not a command, in the HC lexicon. I never understood that. Anyway, I still have a peer-to-peer collection of OS9 Macs that run part of my business, used daily. The only reason I have not migrated that stuff to LC is that I have played with sockets only just a little, and do not want to fix what is not broken. My LC world is rich and busy enough with the other things I do with it. So Robert, glad to see you still in the xTalk world... Craig > On Dec 15, 2021, at 11:58 PM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > ROBERT EPPICH? > > More people read this list than anyone might assume. > A few regulars - but many others who work/lurk! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 16 09:39:44 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 09:39:44 -0500 Subject: open socket on start up and can't close In-Reply-To: <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> References: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> Message-ID: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> > "A few regulars - but many others who work/lurk! :)" I have never understood how anyone working with LC, at any level of expertise, can lurk silently either here or on the Forum, and never ask a question, comment on something, complain or praise, whatever. Checking these two venues is the first thing I do in the morning. Craig > On Dec 16, 2021, at 9:02 AM, Craig Newman via use-livecode wrote: > > Curry. > > "A few regulars - but many others who work/lurk! :)" > > I see that. > > Robert Eppich, back in the ’90’s, way before sockets, sold a product called “Epsitalk”. This was HC based, and essentially used the now deprecated “send message to program”. This was listed as a keyword, not a command, in the HC lexicon. I never understood that. > > Anyway, I still have a peer-to-peer collection of OS9 Macs that run part of my business, used daily. The only reason I have not migrated that stuff to LC is that I have played with sockets only just a little, and do not want to fix what is not broken. My LC world is rich and busy enough with the other things I do with it. > > So Robert, glad to see you still in the xTalk world... > > Craig > >> On Dec 15, 2021, at 11:58 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Craig: >> >>> ROBERT EPPICH? >> >> More people read this list than anyone might assume. >> A few regulars - but many others who work/lurk! :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> Christian LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Dec 16 11:16:15 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 16 Dec 2021 11:16:15 -0500 Subject: open socket on start up and can't close In-Reply-To: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> References: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> Message-ID: Craig: > I have never understood how anyone working with LC, > at any level of expertise, can lurk silently either here > or on the Forum, and never ask a question, comment on something, > complain or praise, whatever. Understanding is a valuable commodity! Not everyone is extrovert/expulsive. Not all have the time or inclination. And the list goes on ... different strokes. None of which necessarily mean less interest or enthusiasm for LC. Many a quiet sage.... Interesting backstory too; thanks for sharing. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Thu Dec 16 11:23:49 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 16:23:49 +0000 Subject: Encrypting long text Message-ID: Hi all, I'm trying to use RSA to encrypt data from a text field like an address or notes. When I try to use the encrypt command I get a result 'message too long'. What is the method for encrypting long or large data? My current line of code: encrypt tData using rsa with public key tMyKey and passphrase tMyPass Thanks Sean From mark at livecode.com Thu Dec 16 11:45:38 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 16 Dec 2021 16:45:38 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: On 2021-12-16 16:23, Sean Cole via use-livecode wrote: > Hi all, > I'm trying to use RSA to encrypt data from a text field like an address > or > notes. When I try to use the encrypt command I get a result 'message > too > long'. What is the method for encrypting long or large data? > > My current line of code: > encrypt tData using rsa with public key tMyKey and > passphrase tMyPass RSA encryption can only encrypt data up to a certain length (I can't remember off the top of my head the exact relation, but it is related to the size of the key) so it isn't designed to be used on arbitrary length messages. Encrypting arbitrary length messages is the domain of symmetric encryption functions - like AES and friends. The solution, therefore, is to combine the two: 1) Generate a random (using randomBytes()) fixed length encryption key FixedKey 2) Encrypt the actual data using a symmetric algorithm with FixedKey as password 2) Use RSA to encrypt the (fixed length!) key FixedKey 4) Make you message the RSA-encrypted FixedKey followed by the encrypted data The RSA encrypted FixedKey will be a constant length, and thus you can just split that off of the combined data, decrypt it using RSA and then use the result to decrypt the payload. Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Thu Dec 16 12:09:01 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 17:09:01 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: Thanks Mark, New problem. Trying to use aes-256-ctr instead. I'm following the syntax in the dictionary but it throws a red cross on it: encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt What is wrong with this syntax that the auto language detector shows it as a mistake? Sean On Thu, 16 Dec 2021 at 16:45, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-16 16:23, Sean Cole via use-livecode wrote: > > Hi all, > > I'm trying to use RSA to encrypt data from a text field like an address > > or > > notes. When I try to use the encrypt command I get a result 'message > > too > > long'. What is the method for encrypting long or large data? > > > > My current line of code: > > encrypt tData using rsa with public key tMyKey and > > passphrase tMyPass > > RSA encryption can only encrypt data up to a certain length (I can't > remember off the top of my head the exact relation, but it is related to > the size of the key) so it isn't designed to be used on arbitrary length > messages. > > Encrypting arbitrary length messages is the domain of symmetric > encryption functions - like AES and friends. > > The solution, therefore, is to combine the two: > > 1) Generate a random (using randomBytes()) fixed length encryption key > FixedKey > > 2) Encrypt the actual data using a symmetric algorithm with FixedKey > as password > > 2) Use RSA to encrypt the (fixed length!) key FixedKey > > 4) Make you message the RSA-encrypted FixedKey followed by the > encrypted data > > The RSA encrypted FixedKey will be a constant length, and thus you can > just split that off of the combined data, decrypt it using RSA and then > use the result to decrypt the payload. > > Hope this helps! > > 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 craig at starfirelighting.com Thu Dec 16 12:25:42 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 12:25:42 -0500 Subject: open socket on start up and can't close In-Reply-To: References: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> Message-ID: <9006B4E5-84F7-4038-B8F5-33AAF989355A@starfirelighting.com> Curry. Surely you are right. I just remember when HC was on the ropes, and wish that the LC Forum was so full of posts that I never have to do my actual job. I can just kibitz there all day long. It would mean that the world finally gets what LC offers. Craig > On Dec 16, 2021, at 11:16 AM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > I have never understood how anyone working with LC, > > at any level of expertise, can lurk silently either here > > or on the Forum, and never ask a question, comment on something, > > complain or praise, whatever. > > Understanding is a valuable commodity! > > Not everyone is extrovert/expulsive. > Not all have the time or inclination. > And the list goes on ... different strokes. > > None of which necessarily mean less interest > or enthusiasm for LC. Many a quiet sage.... > > Interesting backstory too; thanks for sharing. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Dec 16 12:36:46 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 16 Dec 2021 17:36:46 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> On 2021-12-16 17:09, Sean Cole via use-livecode wrote: > Thanks Mark, > > New problem. Trying to use aes-256-ctr instead. I'm following the > syntax in > the dictionary but it throws a red cross on it: > > encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt I think you can either specify a key, or a password with an optional salt. If you specify a password it uses the provided salt (or a random one if one is not provided) to generate a key of the correct length (the bit length of the cipher). If you provide a key then it uses that verbatim to encrypt the data (in this case the key must be the correct number of bits as defined by the chosen cipher - 256 in this case). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From alex at tweedly.net Thu Dec 16 12:55:49 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 17:55:49 +0000 Subject: Smile for Christmas. Message-ID: I was just reading the dictionary entry for 'union'. Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! Alex. From harrison at all-auctions.com Thu Dec 16 13:25:39 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 16 Dec 2021 13:25:39 -0500 Subject: Smile for Christmas. In-Reply-To: References: Message-ID: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. > On Dec 16, 2021, at 12:55 PM, Alex Tweedly via use-livecode wrote: > > Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! From sean at pidigital.co.uk Thu Dec 16 14:08:57 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 19:08:57 +0000 Subject: Encrypting long text In-Reply-To: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> References: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> Message-ID: Hi Mark So it must be the auto-completes that have the wrong possible values added to its list. Type 'encrypt' into the script editor and go to the bottom, then right and there are every possible iteration based on the syntax given in the dictionary. This does not match up with your description so perhaps needs looking in to. Thanks for your help Sean On Thu, 16 Dec 2021 at 17:36, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-16 17:09, Sean Cole via use-livecode wrote: > > Thanks Mark, > > > > New problem. Trying to use aes-256-ctr instead. I'm following the > > syntax in > > the dictionary but it throws a red cross on it: > > > > encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt > > I think you can either specify a key, or a password with an optional > salt. > > If you specify a password it uses the provided salt (or a random one if > one is not provided) to generate a key of the correct length (the bit > length of the cipher). > > If you provide a key then it uses that verbatim to encrypt the data (in > this case the key must be the correct number of bits as defined by the > chosen cipher - 256 in this case). > > 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 monte at appisle.net Thu Dec 16 17:16:36 2021 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 Dec 2021 09:16:36 +1100 Subject: Encrypting long text In-Reply-To: References: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> Message-ID: I have opened this issue to correct the documentation. Autocomplete parses the syntax definitions in the docs to create a list of possible command variations. https://quality.livecode.com/show_bug.cgi?id=23489 > On 17 Dec 2021, at 6:08 am, Sean Cole via use-livecode wrote: > > Hi Mark > > So it must be the auto-completes that have the wrong possible values added > to its list. Type 'encrypt' into the script editor and go to the bottom, > then right and there are every possible iteration based on the syntax given > in the dictionary. This does not match up with your description so perhaps > needs looking in to. > > Thanks for your help > > Sean > > On Thu, 16 Dec 2021 at 17:36, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2021-12-16 17:09, Sean Cole via use-livecode wrote: >>> Thanks Mark, >>> >>> New problem. Trying to use aes-256-ctr instead. I'm following the >>> syntax in >>> the dictionary but it throws a red cross on it: >>> >>> encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt >> >> I think you can either specify a key, or a password with an optional >> salt. >> >> If you specify a password it uses the provided salt (or a random one if >> one is not provided) to generate a key of the correct length (the bit >> length of the cipher). >> >> If you provide a key then it uses that verbatim to encrypt the data (in >> this case the key must be the correct number of bits as defined by the >> chosen cipher - 256 in this case). >> >> 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 alex at tweedly.net Thu Dec 16 18:12:18 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 23:12:18 +0000 Subject: Smile for Christmas. In-Reply-To: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Message-ID: <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> On 16/12/2021 18:25, Rick Harrison via use-livecode wrote: > Combining two arrays is nice, but it really shouldnt spell correct color to colour. No, it doesn't Rick. It's just a typo in the example in the dictionary. I mentioned it because it made me smile when I noticed it - a tiny example of our not-so-common language between the two sides of the ocean :-) Alex. The example in question : > *local*tLeft, tRight* > put*"green"intotLeft["color"]* > put*"left"intotLeft["align"]* > put*"blue"intotRight["color"]* > put*"100"intotRight["width"] > > *union*tLeft withtRight > > *# RESULT** > # tLeft["colour"] = "green" > # tLeft["align"] = "left"** > # tLeft["width"] = "100"* > >> On Dec 16, 2021, at 12:55 PM, Alex Tweedly via use-livecode wrote: >> >> Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 16 20:24:33 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 16 Dec 2021 20:24:33 -0500 Subject: Smile for Christmas. In-Reply-To: <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> Message-ID: <3BE53960-4EB6-4F1D-A66C-654EF4BC1A79@all-auctions.com> Ok then. Thanks for clearing up the confusion. Rick > On Dec 16, 2021, at 6:12 PM, Alex Tweedly via use-livecode wrote: > > On 16/12/2021 18:25, Rick Harrison via use-livecode wrote: >> Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. > > No, it doesn't Rick. It's just a typo in the example in the dictionary. > > I mentioned it because it made me smile when I noticed it - a tiny example of our not-so-common language between the two sides of the ocean :-) > > Alex. From dochawk at gmail.com Thu Dec 16 21:04:17 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 16 Dec 2021 18:04:17 -0800 Subject: Smile for Christmas. In-Reply-To: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Message-ID: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> rick ruminated, >Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. Oh, dear I almost forgot. It’s time for my annual vowel drive! Please send all your excess “u” and other vowels (I’m looking at *you*, Britain!). I will package them, and send them to the vowel-starved folks in czch, srb, and so forth . . . :_) From terry.judd at unimelb.edu.au Thu Dec 16 21:25:39 2021 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 17 Dec 2021 02:25:39 +0000 Subject: Smile for Christmas. In-Reply-To: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> Message-ID: Surely we should be sending them straight to the US ;) Terry… From: use-livecode on behalf of doc hawk via use-livecode Date: Friday, 17 December 2021 at 1:05 pm To: How to use LiveCode Cc: doc hawk Subject: Re: Smile for Christmas. rick ruminated, >Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. Oh, dear I almost forgot. It’s time for my annual vowel drive! Please send all your excess “u” and other vowels (I’m looking at *you*, Britain!). I will package them, and send them to the vowel-starved folks in czch, srb, and so forth . . . :_) _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 17 00:11:01 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2021 23:11:01 -0600 Subject: Smile for Christmas. In-Reply-To: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> Message-ID: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I will donate "aluminium" for them. I don't know where they got that. Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 16, 2021 8:06:23 PM doc hawk via use-livecode wrote: > rick ruminated, > > >> Combining two arrays is nice, but it really shouldnt spell correct color >> to colour. > > Oh, dear I almost forgot. > > Its time for my annual vowel drive! > > Please send all your excess u and other vowels (Im looking at *you*, > Britain!). > > I will package them, and send them to the vowel-starved folks in czch, srb, > and so forth . . . > > :_) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 01:14:23 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 17 Dec 2021 06:14:23 +0000 Subject: Smile for Christmas. In-Reply-To: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: > I will donate "aluminium" for them. I don't know where they got that. Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. But I get that you were only jesting ;) From benr_mc at cogapp.com Fri Dec 17 06:34:07 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 17 Dec 2021 11:34:07 +0000 Subject: regex backreferences In-Reply-To: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > If there isn't a feature request for it, there should be. https://quality.livecode.com/show_bug.cgi?id=21534 From kaveh at rivervalleytechnologies.com Fri Dec 17 06:41:55 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Fri, 17 Dec 2021 11:41:55 +0000 Subject: regex backreferences In-Reply-To: <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> Message-ID: Great to know this is already in the wish list, Ben and thanks for adding it. Anything we can do to support this request and expedite it? On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > If there isn't a feature request for it, there should be. > > https://quality.livecode.com/show_bug.cgi?id=21534 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ● ORCID *Accelerating the Communication of Research* From benr_mc at cogapp.com Fri Dec 17 07:49:15 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 17 Dec 2021 12:49:15 +0000 Subject: regex backreferences In-Reply-To: References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> Message-ID: <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> Hi Kaveh, Thanks, but actually it wasn't me who made the original report - that was Bart Voorzanger. And you added a useful comment to it 18 months ago, before I found it! best, Ben On 17/12/2021 11:41, Kaveh wrote: > Great to know this is already in the wish list, Ben and thanks for adding it. > Anything we can do to support this request and expedite it? > > On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode > > wrote: > > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > If there isn't a feature request for it, there should be. > > https://quality.livecode.com/show_bug.cgi?id=21534 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 > ORCID > > *Accelerating the Communication of Research* From kaveh at rivervalleytechnologies.com Fri Dec 17 07:52:26 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Fri, 17 Dec 2021 12:52:26 +0000 Subject: regex backreferences In-Reply-To: <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> Message-ID: Hah. I read my own comment without checking the poster and thought this guy is a bit pushy but let's hope he succeeds! It really is a fundamental limitation that will allow so much more to be done in LiveCode, including a really good interactive tutorial on regex. Regards Kaveh On Fri, 17 Dec 2021 at 12:49, Ben Rubinstein wrote: > Hi Kaveh, > > Thanks, but actually it wasn't me who made the original report - that was > Bart > Voorzanger. And you added a useful comment to it 18 months ago, before I > found it! > > best, > > Ben > > > On 17/12/2021 11:41, Kaveh wrote: > > Great to know this is already in the wish list, Ben and thanks for > adding it. > > Anything we can do to support this request and expedite it? > > > > On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode > > > > wrote: > > > > > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > > If there isn't a feature request for it, there should be. > > > > https://quality.livecode.com/show_bug.cgi?id=21534 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > > ● ORCID > > > > *Accelerating the Communication of Research* > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From heather at livecode.com Fri Dec 17 07:57:17 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 17 Dec 2021 12:57:17 +0000 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. I love how the word for "vowels" is almost entirely made up of vowels. Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok so its colloquial and only used in the south valleys "Wenglish" but it's a great word. Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. Don't let my frivolous response to this thread draw you off the straight and narrow course of purely and only discussing LiveCode on this list. Or even cod byw. Nadolig Hapus! Heather Customer Services Manager LiveCode Ltd www.livecode.com > On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: > > >> I will donate "aluminium" for them. I don't know where they got that. > > Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > >> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. > They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. > > But I get that you were only jesting ;) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 17 09:08:50 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 09:08:50 -0500 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> I play a lot of scrabble. One of the most endearing short words (Scrabble is ALL about short words) in both the English and American lexicons is “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, E, I, O, U, and sometimes Y and W”. Craig > On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode wrote: > > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. > > I love how the word for "vowels" is almost entirely made up of vowels. > > Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok so its colloquial and only used in the south valleys "Wenglish" but it's a great word. > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. Don't let my frivolous response to this thread draw you off the straight and narrow course of purely and only discussing LiveCode on this list. Or even cod byw. > > Nadolig Hapus! > > Heather > > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: >> >> >>> I will donate "aluminium" for them. I don't know where they got that. >> >> Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. >> >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. >> They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. >> >> But I get that you were only jesting ;) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Fri Dec 17 09:30:28 2021 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 17 Dec 2021 14:30:28 +0000 Subject: Smile for Christmas. In-Reply-To: <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> Message-ID: Another super-useful and relevant scrabble word is EUOUAE, one of the charmingly monikered 'vowel dumps'. Unfortunately not available in TWL so only for UK scrabble play! On Fri, 17 Dec 2021 at 14:08, Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > I play a lot of scrabble. One of the most endearing short words (Scrabble > is ALL about short words) in both the English and American lexicons is > “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, > E, I, O, U, and sometimes Y and W”. > > Craig > > > On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. > Gyda dim ond y nifer cywir o lafariaid. > > > > I love how the word for "vowels" is almost entirely made up of vowels. > > > > Which brings me to my favourite Welsh word. For microwave. Popty ping. > Ok so its colloquial and only used in the south valleys "Wenglish" but it's > a great word. > > > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice > season. Don't let my frivolous response to this thread draw you off the > straight and narrow course of purely and only discussing LiveCode on this > list. Or even cod byw. > > > > Nadolig Hapus! > > > > Heather > > > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >>> I will donate "aluminium" for them. I don't know where they got that. > >> > >> Sir Humphry Davy, the same one responsible for the confusion in the > term/name. So, the same place as our American cousins. > >> > >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and > they make do with random consonants when they run short. > >> They use a, e, o, u and I. W and Y are also considered vowels. They > don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all > make consonant sounds. 29 ‘letters’ in total with 7 vowels. > >> > >> But I get that you were only jesting ;) > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Fri Dec 17 09:50:35 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 09:50:35 -0500 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> Message-ID: <078D907A-4A6C-49E1-8989-8106B233B9C7@starfirelighting.com> Ali. As I am fond of saying, "Americans expect everyone else in the world to learn our language, as we refuse to learn theirs”. Same with the Scrabble lexicon; CSW is rather larger. Two different dictionary suites between us and the planet. We are smug about that. Craig > On Dec 17, 2021, at 9:30 AM, Ali Lloyd via use-livecode wrote: > > Another super-useful and relevant scrabble word is EUOUAE, one of the > charmingly monikered 'vowel dumps'. Unfortunately not available in TWL so > only for UK scrabble play! > > On Fri, 17 Dec 2021 at 14:08, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I play a lot of scrabble. One of the most endearing short words (Scrabble >> is ALL about short words) in both the English and American lexicons is >> “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, >> E, I, O, U, and sometimes Y and W”. >> >> Craig >> >>> On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. >> Gyda dim ond y nifer cywir o lafariaid. >>> >>> I love how the word for "vowels" is almost entirely made up of vowels. >>> >>> Which brings me to my favourite Welsh word. For microwave. Popty ping. >> Ok so its colloquial and only used in the south valleys "Wenglish" but it's >> a great word. >>> >>> Have a wonderful Christmas/New Year/Solstice/Holiday of your choice >> season. Don't let my frivolous response to this thread draw you off the >> straight and narrow course of purely and only discussing LiveCode on this >> list. Or even cod byw. >>> >>> Nadolig Hapus! >>> >>> Heather >>> >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.com >>> >>> >>> >>>> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> >>>>> I will donate "aluminium" for them. I don't know where they got that. >>>> >>>> Sir Humphry Davy, the same one responsible for the confusion in the >> term/name. So, the same place as our American cousins. >>>> >>>>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and >> they make do with random consonants when they run short. >>>> They use a, e, o, u and I. W and Y are also considered vowels. They >> don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all >> make consonant sounds. 29 ‘letters’ in total with 7 vowels. >>>> >>>> But I get that you were only jesting ;) >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Dec 17 12:11:37 2021 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Dec 2021 17:11:37 +0000 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Pretty much OT, but Davy was a really interesting man: look him up in Wikipedia. Before I read that article, all I knew about him was the clerihew: Sir Humphry Davy Abominated gravy He lived in the odium Of having discovered Sodium Compliments of the season to all. Graham > On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: > > >> I will donate "aluminium" for them. I don't know where they got that. > > Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > >> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. > They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. > > But I get that you were only jesting ;) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 13:01:04 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2021 12:01:04 -0600 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Wow, Google Translate knows Welsh. It turns out that Heather's comment has nothing to do with Beth having an ugly chin which makes her dim and afraid. I somehow knew Heather would show up here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 17, 2021 6:58:36 AM Heather Laine via use-livecode wrote: > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda > dim ond y nifer cywir o lafariaid. > > I love how the word for "vowels" is almost entirely made up of vowels. > > Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok > so its colloquial and only used in the south valleys "Wenglish" but it's a > great word. > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. > Don't let my frivolous response to this thread draw you off the straight > and narrow course of purely and only discussing LiveCode on this list. Or > even cod byw. > > Nadolig Hapus! > > Heather > > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode >> wrote: >> >> >>> I will donate "aluminium" for them. I don't know where they got that. >> >> Sir Humphry Davy, the same one responsible for the confusion in the >> term/name. So, the same place as our American cousins. >> >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they >>> make do with random consonants when they run short. >> They use a, e, o, u and I. W and Y are also considered vowels. They dont >> use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make >> consonant sounds. 29 letters in total with 7 vowels. >> >> But I get that you were only jesting ;) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 17 13:39:21 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 13:39:21 -0500 Subject: Smile for Christmas. In-Reply-To: <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <12FF4505-1D8D-470E-8D0A-1262B8EE9258@starfirelighting.com> Welsh and Gaelic both translate the same. Heather. What is the difference? Is it a Scotland thing? Craig > On Dec 17, 2021, at 1:01 PM, J. Landman Gay via use-livecode wrote: > >> Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. From robeppich at epsi.ca Fri Dec 17 13:51:43 2021 From: robeppich at epsi.ca (RobEppich) Date: Fri, 17 Dec 2021 10:51:43 -0800 Subject: Open socket on start up and can't close Message-ID: Hi Craig, Klaus, Alex, Monte, Curry yes, that is me. Glad to hear that epsiTalk continues to be so useful for you. I have epsiTalk under Livecode. I say very little as the more I say the more distractions there are. During the Hypercard days I used xcmds. In the end HC was discontinued and I tried using Applescript for a year and then was going to use Supercard but I learned my lesson of the one platform trap and so I moved onto Revolution using sockets, then Livecode. Best long term decision I ever made. Runrev/Livecode are my heros! I am using macOS Monterey version 12.0.1 on iMac (24-inch, M1, 2021) and have recently moved from "Livecode Indy" to just plain “Livecode". I believe that this open socket must be the remote debugging feature, that I am not familiar with, though I suppose I will now. First question is how to turn off remote debugging as might would compete with the port that I use for epsiTalk inBusiness and if the remote debugging is still opening a socket in a standalone. Also, isn’t this open socket for rermote debugging a security risk? I shall study. It is true that I am a happy lurker. I live on an island with 1100 people and discovered that 900 are never anywhere to be seen or heard from, like me. I have discovered, as well, that the 80% are silent lurkers in most communities, and we are all mostly appreciative of all of you who are very active. I keep all the digests and use it to search for answers that you have all provided to our Livecode community, and often I find that all of you have answered my question, again, and now I wish to Thank You all for this great resource. Thanks to all of you Rob Eppich From craig at starfirelighting.com Fri Dec 17 16:35:34 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 16:35:34 -0500 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: Robert. "I have epsiTalk under Livecode.” Whaaat?? How much do you want for it? I would love to be able to talk to other running LC machines with a skillset that I already have. When I first picked up LC, I immediately tested “send to program” (a command in LC, as it ought to be, not a keyword(!)) to another Mac running LC. It did not work, as others have verified, even though it is still listed in the dictionary without comment. I played around with sockets about 8 years ago, and got the hang of them, but I miss the package of gadgetry that EpsiTalk offered. So, um, how much does EpsiTalk for LC cost?? Craig > On Dec 17, 2021, at 1:51 PM, RobEppich via use-livecode wrote: > > I have epsiTalk under Livecode. From jacque at hyperactivesw.com Fri Dec 17 17:55:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2021 16:55:49 -0600 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: <016b8cb8-8820-6276-0fc9-b9bcc125d4f3@hyperactivesw.com> On 12/17/21 12:51 PM, RobEppich via use-livecode wrote: > First question is how to turn off remote debugging as might would compete with the port that I use for epsiTalk inBusiness and if the remote debugging is still opening a socket in a standalone. Also, isn’t this open socket for rermote debugging a security risk? Remote debugging, by default, is only available if you have cabled your device to the computer and used the Test button to install an app. It is not included in standalones unless you specifically select it in the Inclusions pane in Standalone Settings. I don't think it's much of a security risk because unless you include it manually, no one but you and your computer has access to it. I have to say, I don't know how I ever got along without it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Dec 17 19:27:14 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Dec 2021 00:27:14 +0000 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: Sockets are pretty easy to implement. There is a good Livecode lesson on how to do so. I wrote a client server system that can be used for virtually any kind of application. My particular need was to send and receive SQL queries and data without having to go through the fuss of setting up a web server and maintaining SSL certs. I use my own algorithm with AES256 and some proprietary wizardry that makes the hash undecryptable Save by the client and server. Sent from my iPhone > On Dec 17, 2021, at 13:36, Craig Newman via use-livecode wrote: > > Robert. > > "I have epsiTalk under Livecode.” > > Whaaat?? How much do you want for it? I would love to be able to talk to other running LC machines with a skillset that I already have. > > When I first picked up LC, I immediately tested “send to program” (a command in LC, as it ought to be, not a keyword(!)) to another Mac running LC. It did not work, as others have verified, even though it is still listed in the dictionary without comment. I played around with sockets about 8 years ago, and got the hang of them, but I miss the package of gadgetry that EpsiTalk offered. > > So, um, how much does EpsiTalk for LC cost?? > > Craig > >> On Dec 17, 2021, at 1:51 PM, RobEppich via use-livecode wrote: >> >> I have epsiTalk under Livecode. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 18 22:37:17 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 19 Dec 2021 14:37:17 +1100 Subject: nsPropertyMapper revision 3 Message-ID: I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many more icons than the LC Image Chooser; you can save favorite images, view image metadata, facilitate scaling an image to fit given bounds, and check your stacks for duplicate image IDs and unloaded images referenced in icons and patterns which could go missing in a standalone. From bobsneidar at iotecdigital.com Sun Dec 19 03:07:59 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 19 Dec 2021 08:07:59 +0000 Subject: nsPropertyMapper revision 3 In-Reply-To: References: Message-ID: <9ECA255C-743B-430F-90DA-24645599533E@iotecdigital.com> Wow. That sounds great. Bob S > On Dec 18, 2021, at 7:37 PM, Neville Smythe via use-livecode wrote: > > I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many more icons than the LC Image Chooser; you can save favorite images, view image metadata, facilitate scaling an image to fit given bounds, and check your stacks for duplicate image IDs and unloaded images referenced in icons and patterns which could go missing in a standalone. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 19 13:05:46 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 19 Dec 2021 13:05:46 -0500 Subject: Windows VM's and LiveCode app's cursors Message-ID: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause it? From matthias_livecode_150811 at m-r-d.de Sun Dec 19 16:59:40 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 19 Dec 2021 22:59:40 +0100 Subject: Windows VM's and LiveCode app's cursors In-Reply-To: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> References: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> Message-ID: <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> Paul, are you sure that the user directly accesses the VM? Or is the user by any chance accessing that VM using some RemoteControl software like TeamViewer or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. Matthias > Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : > > We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. > > The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). > > I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. > > None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. > > I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause 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 Sun Dec 19 17:12:57 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 19 Dec 2021 17:12:57 -0500 Subject: Windows VM's and LiveCode app's cursors In-Reply-To: <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> References: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> Message-ID: <8c57e2b2-92c5-36eb-4f2e-dc897411f1d4@researchware.com> I am not sure and will check with the customer. Thank you for the tip! On 12/19/2021 4:59 PM, matthias rebbe via use-livecode wrote: > Paul, > > are you sure that the user directly accesses the VM? Or is the user by any chance accessing that VM using some RemoteControl software like TeamViewer or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. > > > Matthias > > >> Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : >> >> We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. >> >> The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). >> >> I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. >> >> None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. >> >> I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause 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 neville.smythe at optusnet.com.au Sun Dec 19 18:18:41 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 20 Dec 2021 10:18:41 +1100 Subject: nsPropertyMapper Revision 4 Message-ID: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. From scott at elementarysoftware.com Sun Dec 19 21:08:52 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 19 Dec 2021 18:08:52 -0800 Subject: nsPropertyMapper Revision 4 In-Reply-To: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> References: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> Message-ID: <9288BFE8-9521-432C-B63B-E63FCC8FE5D2@elementarysoftware.com> The one that is downloading from Sample Stacks still claims to be revision 3. Scott Morrow ----------------------------------------------------------------------------- “The ability to quote is a serviceable substitute for wit.” - William Somerset Maugham > On Dec 19, 2021, at 3:18 PM, Neville Smythe via use-livecode wrote: > > Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 20 12:11:40 2021 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 20 Dec 2021 17:11:40 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? Message-ID: Hi folks, I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. on hiliteChanged put the hilitedElement of me into tHilitedElement if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement replace comma with quote & "][" & quote in tHilitedElement put "[" & quote before tHilitedElement put quote & "]" after tHilitedElement put the arrayData of me into tTreeData put tTreeData & tHilitedElement end hiliteChanged I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? TIA. Best, Keith From jacque at hyperactivesw.com Mon Dec 20 15:46:25 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Dec 2021 14:46:25 -0600 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. What's the purpose of the concatenation, and what do you want to do with the selection? On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: > Hi folks, > I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. > > The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. > > However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. > > on hiliteChanged > > put the hilitedElement of me into tHilitedElement > > if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement > > replace comma with quote & "][" & quote in tHilitedElement > > put "[" & quote before tHilitedElement > > put quote & "]" after tHilitedElement > > put the arrayData of me into tTreeData > > put tTreeData & tHilitedElement > > end hiliteChanged > > I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? > > TIA. > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at me.com Mon Dec 20 16:13:47 2021 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 20 Dec 2021 21:13:47 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! Best, Keith > On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: > > I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. > > The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. > > What's the purpose of the concatenation, and what do you want to do with the selection? > > On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >> Hi folks, >> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >> on hiliteChanged >> put the hilitedElement of me into tHilitedElement >> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >> replace comma with quote & "][" & quote in tHilitedElement >> put "[" & quote before tHilitedElement >> put quote & "]" after tHilitedElement >> put the arrayData of me into tTreeData >> put tTreeData & tHilitedElement >> end hiliteChanged >> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >> TIA. >> 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 > > > -- > 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 paulmcclernan at gmail.com Mon Dec 20 22:31:52 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 20 Dec 2021 22:31:52 -0500 Subject: Record audio on Mac In-Reply-To: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> References: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> Message-ID: Yes and despite info to the contrary mergMicrophone does still work in a standalone on macOS, but as a “heads up”, entitlements may be an issue making a standalone that uses it because on newer macOS need user permission to use the microphone. I entirely removed the signature on a standalone and then it asked for pets mission as required. On Fri, Dec 10, 2021 at 2:30 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > > Am 10.12.2021 um 14:02 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi all, > > > > There is an entry in the dictionary -> record sound... > > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > > ... > > 64-bit standalones for Mac OS X do not have support for audio recording. > > ... > > almost forgot that we have all this wonderful MERG AV... and > MERGmicrophone... stuff on the Mac! :-) > So please remove that line from the Release Notes. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From eurolinkal at aol.com Mon Dec 20 23:33:22 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Mon, 20 Dec 2021 20:33:22 -0800 Subject: New user References: Message-ID: Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. From phil at pdslabs.net Mon Dec 20 23:47:32 2021 From: phil at pdslabs.net (Phil Davis) Date: Mon, 20 Dec 2021 20:47:32 -0800 Subject: New user In-Reply-To: References: Message-ID: <4b2fd460-d610-ea6b-a933-58267e36121a@pdslabs.net> Welcome to the list, Alex! There are people here who are a LOT more familiar with Windows <-> device communication than I am, but I can at least ask questions. Are you familiar with the "open driver" command and "serialControlString" property? They might give you some of what you need. I confess I haven't worked in a Windows environment in many years, so what I used to know may now be obsolete. Ahh, technology! Best regards - Phil Davis On 12/20/21 8:33 PM, Alex Hughson via use-livecode wrote: > Hello all. I am a beginner user of LiveCode. Ive managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From matthias_livecode_150811 at m-r-d.de Tue Dec 21 04:32:12 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Dec 2021 10:32:12 +0100 Subject: New user In-Reply-To: References: Message-ID: Hi Alex, does the developer of the I/O board provides an SDK? Best would be of course, that SDK would have support for Livecode, but i assume the latter is not the case. But if the developer of that board has an sdk for example with prebuilt .dll you could try to create a wrapper with Livecode Builder. How is the board detected on Windows? As a serial device? If so, you could communicate with it through Livecode. Please have a look at 'open driver' in the dictionary. Matthias > Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode : > > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Tue Dec 21 06:36:46 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 11:36:46 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> References: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> Message-ID: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Hi folks, For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... on hiliteChanged put the arrayData of control "Tree" into tTreeData put the hilitedElement of control "Tree" into tHilitedElement // Identify element depth put the number of items in tHilitedElement into tDepth put 0 into tLevelCount repeat for each item tKey in tHilitedElement add 1 to tLevelCount put tKey into tLevel[tLevelCount] put "[tLevel[" & tLevelCount & "]]" after tElement end repeat // Build array key to show element value in field switch tDepth case 1 put tTreeData[tLevel[1]] into field "Test" break case 2 put tTreeData[tLevel[1]][tLevel[2]] into field "Test" break case 3 put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" break end switch end hiliteChanged I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) Best, Keith > On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: > > I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. > > Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) > > I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. > > If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! > Best, > Keith > >> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >> >> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >> >> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >> >> What's the purpose of the concatenation, and what do you want to do with the selection? >> >> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>> Hi folks, >>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>> on hiliteChanged >>> put the hilitedElement of me into tHilitedElement >>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>> replace comma with quote & "][" & quote in tHilitedElement >>> put "[" & quote before tHilitedElement >>> put quote & "]" after tHilitedElement >>> put the arrayData of me into tTreeData >>> put tTreeData & tHilitedElement >>> end hiliteChanged >>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>> TIA. >>> 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 >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Dec 21 09:44:18 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 21 Dec 2021 16:44:18 +0200 Subject: [ANN] Release 9.6.6 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.6 RC-1. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of the bugs you requested in the recent survey: New Features: - iOS device safe area insets function An iphoneSafeAreaInsets function has been added to enable getting the safe area insets of the device the app is running on. These can be used to adjust your app's user interface elements to avoid areas that are covered by device furniture, e.g. the notch. - Android adaptive icons It is now possible to configure your Android apps to use adaptive icons. To use adaptive icons, generate them using the Image Asset Editor in Android Studio and then choose the resulting res folder in the android standalone settings pane. - Android app query whitelist Support has been added for specifying which other apps can be interacted with via the intent and other (custom) URL schemes. Since Android 11, by default, an app cannot interact with any others due to changes to package visibility. You must now specify which apps you need access to by adding their ids to the App ID Query Whitelist field in the Android standalone settings. Bug Fixes: - Opening HyperCard stacks will no longer cause a crash - Support for the system date and the system time has been added on Android - A stack's rect will no longer become out of sync with its actual position after being moved in the IDE on macOS - A wider range of TrueType font files will now work on Android and Web - Use of the term Tutorials have been replaced by the term Lessons throughout the IDE - When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently - Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. - The welcome tutorial can now be started on first run via the Start Interative Welcome button in the start center - Starting a new tutorial will now close the previous tutorial's stack, if present - The performance of the script editor while typing has been improved - Downloading large amounts of data using tsNet on Windows is now substantially faster - Invalid PDFs will no longer be generated when using the open printing to PDF command on Windows using the 64-bit engine - Script debugging will no longer fail to work intermittently when running the IDE with pro features - Scripts which run without locking the screen are no longer slower on macOS Big Sur and later - The drawing library now correctly handle gradients which are referred to using an id containing - or _ - Key events will now work correctly after a modal dialog is shown from a mouseUp handler in a grouped control - The iphoneDeviceModel function now returns the correct model string when run on an iOS/iPadOS simulator. - Default buttons and progress bars will no longer cause unnecessary CPU usage on macOS 10.10 (Yosemite) or later - The byteOffset function will no longer cause incorrect results in some cases nor cause a crash - Scripts containing accented characters will no longer incorrectly report being externally modified - Using the print link command when printing to PDF on Windows no longer causes a crash - The copyright notices in the engine app bundle (macOS) and exe (Windows) have been updated - A significant memory leak in the browser widget on macOS has been resolved - POST data larger than 64kb is now parsed correctly by the Windows server engine - Audio-only players no longer consume excessive CPU when in Edit Mode on macOS Big Sur - WebGL content now displays in the browser widget when running on macOS 12.x (Monterey) - The union (and other set operation) commands now throw an error if there is no into clause and the target is not a declared variable - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported - Local file and content access has been re-enabled in the browser widget and native control on Android - Touch events now occur at the correct location when handled by objects underneath a disabled Android scroller - SVG elements with a stroke-width of 0 are no longer drawn with a hairline stroke - There is no longer a delay when opening the IDE menus on macOS - Selecting a specific browser to test a web project against now works correctly - The overhead of using "do .." to evaluate long JavaScript scripts in the browser widget on Android has been greatly reduced For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 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 at http://forums.livecode.com Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Tue Dec 21 10:15:17 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Dec 2021 10:15:17 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: Things that made me say "WHAT?" - When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently WHAT? Who are you people? - Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. WHAT? HAHAHAHA. OK, that's funny. You got me. On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > Getting the Release > =================== > You can find the release in your LiveCode account area or get it via the > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > account, please scroll down to below the list of stable releases, to find > your available test releases. > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: > > New Features: > - iOS device safe area insets function > An iphoneSafeAreaInsets function has been added to enable getting the safe > area insets of the device the app is running on. These can be used to > adjust your app's user interface elements to avoid areas that are covered > by device furniture, e.g. the notch. > > - Android adaptive icons > It is now possible to configure your Android apps to use adaptive icons. > To use adaptive icons, generate them using the Image Asset Editor in > Android Studio and > then choose the resulting res folder in the android standalone settings > pane. > > - Android app query whitelist > Support has been added for specifying which other apps can be interacted > with via the intent and other (custom) URL schemes. > Since Android 11, by default, an app cannot interact with any others due to > changes to package visibility. You must now specify which apps you need > access to by adding their ids to the App ID Query Whitelist field in the > Android standalone settings. > > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash > - Support for the system date and the system time has been added on Android > - A stack's rect will no longer become out of sync with its actual position > after being moved in the IDE on macOS > - A wider range of TrueType font files will now work on Android and Web > - Use of the term Tutorials have been replaced by the term Lessons > throughout the IDE > - When a runtime error occurs in a context where the script debugger cannot > run, the error dialog will be displayed rather > than failing silently > - Conversions between global and local co-ordinates are now correct on > multi-screen macOS systems. > - The welcome tutorial can now be started on first run via the Start > Interative Welcome button in the start center > - Starting a new tutorial will now close the previous tutorial's stack, if > present > - The performance of the script editor while typing has been improved > - Downloading large amounts of data using tsNet on Windows is now > substantially faster > - Invalid PDFs will no longer be generated when using the open printing to > PDF command on Windows using the 64-bit engine > - Script debugging will no longer fail to work intermittently when running > the IDE with pro features > - Scripts which run without locking the screen are no longer slower on > macOS Big Sur and later > - The drawing library now correctly handle gradients which are referred to > using an id containing - or _ > - Key events will now work correctly after a modal dialog is shown from a > mouseUp handler in a grouped control > - The iphoneDeviceModel function now returns the correct model string when > run on an iOS/iPadOS simulator. > - Default buttons and progress bars will no longer cause unnecessary CPU > usage on macOS 10.10 (Yosemite) or later > - The byteOffset function will no longer cause incorrect results in some > cases nor cause a crash > - Scripts containing accented characters will no longer incorrectly report > being externally modified > - Using the print link command when printing to PDF on Windows no longer > causes a crash > - The copyright notices in the engine app bundle (macOS) and exe (Windows) > have been updated > - A significant memory leak in the browser widget on macOS has been > resolved > - POST data larger than 64kb is now parsed correctly by the Windows server > engine > - Audio-only players no longer consume excessive CPU when in Edit Mode on > macOS Big Sur > - WebGL content now displays in the browser widget when running on macOS > 12.x (Monterey) > - The union (and other set operation) commands now throw an error if there > is no into clause and the target is not a declared variable > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported > - Local file and content access has been re-enabled in the browser widget > and native control on Android > - Touch events now occur at the correct location when handled by objects > underneath a disabled Android scroller > - SVG elements with a stroke-width of 0 are no longer drawn with a hairline > stroke > - There is no longer a delay when opening the IDE menus on macOS > - Selecting a specific browser to test a web project against now works > correctly > - The overhead of using "do .." to evaluate long JavaScript scripts in the > browser widget on Android has been greatly reduced > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 > SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 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 at > http://forums.livecode.com > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 brian at milby7.com Tue Dec 21 10:19:18 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Dec 2021 10:19:18 -0500 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. It is part of a more involved stack, but the card with this widget may be helpful for your purposes. Thanks, Brian Sent from my iPhone > On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: > > Hi folks, > For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. > > The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... > on hiliteChanged > > put the arrayData of control "Tree" into tTreeData > > put the hilitedElement of control "Tree" into tHilitedElement > > // Identify element depth > > put the number of items in tHilitedElement into tDepth > > put 0 into tLevelCount > > repeat for each item tKey in tHilitedElement > > add 1 to tLevelCount > > put tKey into tLevel[tLevelCount] > > put "[tLevel[" & tLevelCount & "]]" after tElement > > end repeat > > // Build array key to show element value in field > > switch tDepth > > case 1 > > put tTreeData[tLevel[1]] into field "Test" > > break > > case 2 > > put tTreeData[tLevel[1]][tLevel[2]] into field "Test" > > break > > case 3 > > put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" > > break > > end switch > > end hiliteChanged > > I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) > > Best, > Keith > >> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >> >> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >> >> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >> >> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >> >> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >> Best, >> Keith >> >>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>> >>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>> >>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>> >>> What's the purpose of the concatenation, and what do you want to do with the selection? >>> >>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>> Hi folks, >>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>> on hiliteChanged >>>> put the hilitedElement of me into tHilitedElement >>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>> replace comma with quote & "][" & quote in tHilitedElement >>>> put "[" & quote before tHilitedElement >>>> put quote & "]" after tHilitedElement >>>> put the arrayData of me into tTreeData >>>> put tTreeData & tHilitedElement >>>> end hiliteChanged >>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>> TIA. >>>> 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 >>> >>> >>> -- >>> 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 From merakosp at gmail.com Tue Dec 21 10:27:48 2021 From: merakosp at gmail.com (panagiotis m) Date: Tue, 21 Dec 2021 17:27:48 +0200 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: Hello Mike, >>>> When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were ignored, because for some reasons deep in the engine, if they were not ignored, LC was freezing and eventually crashing. This behavior has now changed, and these errors are caught in an error dialog window, rather than failing silently. >>>> Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. In other words, LiveCode will now play nicely in a multi-monitor setup. Previously you had to make sure that the virtual tops of the 2 (or more) monitors were aligned, otherwise you were getting incorrect behavior in various cases. Now, you can arrange the monitors any way you want, and things will work as expected. Cheers, Panos -- On Tue, 21 Dec 2021 at 17:17, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Things that made me say "WHAT?" > - When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > WHAT? Who are you people? > - Conversions between global and local co-ordinates are now correct > on multi-screen macOS systems. > WHAT? HAHAHAHA. OK, that's funny. You got me. > > > On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > > > > Getting the Release > > =================== > > You can find the release in your LiveCode account area or get it via the > > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > > account, please scroll down to below the list of stable releases, to find > > your available test releases. > > > > Release Contents > > ================ > > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots > of > > the bugs you requested in the recent survey: > > > > New Features: > > - iOS device safe area insets function > > An iphoneSafeAreaInsets function has been added to enable getting the > safe > > area insets of the device the app is running on. These can be used to > > adjust your app's user interface elements to avoid areas that are covered > > by device furniture, e.g. the notch. > > > > - Android adaptive icons > > It is now possible to configure your Android apps to use adaptive icons. > > To use adaptive icons, generate them using the Image Asset Editor in > > Android Studio and > > then choose the resulting res folder in the android standalone settings > > pane. > > > > - Android app query whitelist > > Support has been added for specifying which other apps can be interacted > > with via the intent and other (custom) URL schemes. > > Since Android 11, by default, an app cannot interact with any others due > to > > changes to package visibility. You must now specify which apps you need > > access to by adding their ids to the App ID Query Whitelist field in the > > Android standalone settings. > > > > > > Bug Fixes: > > - Opening HyperCard stacks will no longer cause a crash > > - Support for the system date and the system time has been added on > Android > > - A stack's rect will no longer become out of sync with its actual > position > > after being moved in the IDE on macOS > > - A wider range of TrueType font files will now work on Android and Web > > - Use of the term Tutorials have been replaced by the term Lessons > > throughout the IDE > > - When a runtime error occurs in a context where the script debugger > cannot > > run, the error dialog will be displayed rather > > than failing silently > > - Conversions between global and local co-ordinates are now correct on > > multi-screen macOS systems. > > - The welcome tutorial can now be started on first run via the Start > > Interative Welcome button in the start center > > - Starting a new tutorial will now close the previous tutorial's stack, > if > > present > > - The performance of the script editor while typing has been improved > > - Downloading large amounts of data using tsNet on Windows is now > > substantially faster > > - Invalid PDFs will no longer be generated when using the open printing > to > > PDF command on Windows using the 64-bit engine > > - Script debugging will no longer fail to work intermittently when > running > > the IDE with pro features > > - Scripts which run without locking the screen are no longer slower on > > macOS Big Sur and later > > - The drawing library now correctly handle gradients which are referred > to > > using an id containing - or _ > > - Key events will now work correctly after a modal dialog is shown from a > > mouseUp handler in a grouped control > > - The iphoneDeviceModel function now returns the correct model string > when > > run on an iOS/iPadOS simulator. > > - Default buttons and progress bars will no longer cause unnecessary CPU > > usage on macOS 10.10 (Yosemite) or later > > - The byteOffset function will no longer cause incorrect results in some > > cases nor cause a crash > > - Scripts containing accented characters will no longer incorrectly > report > > being externally modified > > - Using the print link command when printing to PDF on Windows no longer > > causes a crash > > - The copyright notices in the engine app bundle (macOS) and exe > (Windows) > > have been updated > > - A significant memory leak in the browser widget on macOS has been > > resolved > > - POST data larger than 64kb is now parsed correctly by the Windows > server > > engine > > - Audio-only players no longer consume excessive CPU when in Edit Mode on > > macOS Big Sur > > - WebGL content now displays in the browser widget when running on macOS > > 12.x (Monterey) > > - The union (and other set operation) commands now throw an error if > there > > is no into clause and the target is not a declared variable > > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now > supported > > - Local file and content access has been re-enabled in the browser widget > > and native control on Android > > - Touch events now occur at the correct location when handled by objects > > underneath a disabled Android scroller > > - SVG elements with a stroke-width of 0 are no longer drawn with a > hairline > > stroke > > - There is no longer a delay when opening the IDE menus on macOS > > - Selecting a specific browser to test a web project against now works > > correctly > > - The overhead of using "do .." to evaluate long JavaScript scripts in > the > > browser widget on Android has been greatly reduced > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > > 14.4 SDK > > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS > 15.2 > > SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: From the start of April 2021, Apple is only accepting apps > built > > using iOS14.x SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.15 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 at > > http://forums.livecode.com > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at me.com Tue Dec 21 10:43:18 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 15:43:18 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: <8EA1D74C-BCA6-440F-B2CD-46E4AAE35270@me.com> Thanks for the response & resource link, Brian - much appreciated. It’s good to know that I wasn’t barking up the wrong tree (view!), regarding the need to handle the returned hilitedElement array comma-delimited keys list. I’m new to arrays (and indeed most development concepts), so it was a good learning experience to try to work this out - though the documentation for arrays could be more helpful regarding syntax and passing in variables, as much trial and error was needed. I like the mechanism you’ve used for generalising the array key to be independent of tree node depth - consider that learned and reused! :) Best, Keith > On 21 Dec 2021, at 15:19, Brian Milby via use-livecode > wrote: > > I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. > > https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript > > You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. > > It is part of a more involved stack, but the card with this widget may be helpful for your purposes. > > Thanks, > Brian > > Sent from my iPhone From benr_mc at cogapp.com Tue Dec 21 12:08:10 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 21 Dec 2021 17:08:10 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> Christmas is a time of gifts indeed! Thanks to everyone at LiveCode for all your hard work. best wishes, Ben On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > Getting the Release > =================== > You can find the release in your LiveCode account area or get it via the > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > account, please scroll down to below the list of stable releases, to find > your available test releases. > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: > > New Features: > - iOS device safe area insets function > An iphoneSafeAreaInsets function has been added to enable getting the safe > area insets of the device the app is running on. These can be used to > adjust your app's user interface elements to avoid areas that are covered > by device furniture, e.g. the notch. > > - Android adaptive icons > It is now possible to configure your Android apps to use adaptive icons. > To use adaptive icons, generate them using the Image Asset Editor in > Android Studio and > then choose the resulting res folder in the android standalone settings > pane. > > - Android app query whitelist > Support has been added for specifying which other apps can be interacted > with via the intent and other (custom) URL schemes. > Since Android 11, by default, an app cannot interact with any others due to > changes to package visibility. You must now specify which apps you need > access to by adding their ids to the App ID Query Whitelist field in the > Android standalone settings. > > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash > - Support for the system date and the system time has been added on Android > - A stack's rect will no longer become out of sync with its actual position > after being moved in the IDE on macOS > - A wider range of TrueType font files will now work on Android and Web > - Use of the term Tutorials have been replaced by the term Lessons > throughout the IDE > - When a runtime error occurs in a context where the script debugger cannot > run, the error dialog will be displayed rather > than failing silently > - Conversions between global and local co-ordinates are now correct on > multi-screen macOS systems. > - The welcome tutorial can now be started on first run via the Start > Interative Welcome button in the start center > - Starting a new tutorial will now close the previous tutorial's stack, if > present > - The performance of the script editor while typing has been improved > - Downloading large amounts of data using tsNet on Windows is now > substantially faster > - Invalid PDFs will no longer be generated when using the open printing to > PDF command on Windows using the 64-bit engine > - Script debugging will no longer fail to work intermittently when running > the IDE with pro features > - Scripts which run without locking the screen are no longer slower on > macOS Big Sur and later > - The drawing library now correctly handle gradients which are referred to > using an id containing - or _ > - Key events will now work correctly after a modal dialog is shown from a > mouseUp handler in a grouped control > - The iphoneDeviceModel function now returns the correct model string when > run on an iOS/iPadOS simulator. > - Default buttons and progress bars will no longer cause unnecessary CPU > usage on macOS 10.10 (Yosemite) or later > - The byteOffset function will no longer cause incorrect results in some > cases nor cause a crash > - Scripts containing accented characters will no longer incorrectly report > being externally modified > - Using the print link command when printing to PDF on Windows no longer > causes a crash > - The copyright notices in the engine app bundle (macOS) and exe (Windows) > have been updated > - A significant memory leak in the browser widget on macOS has been > resolved > - POST data larger than 64kb is now parsed correctly by the Windows server > engine > - Audio-only players no longer consume excessive CPU when in Edit Mode on > macOS Big Sur > - WebGL content now displays in the browser widget when running on macOS > 12.x (Monterey) > - The union (and other set operation) commands now throw an error if there > is no into clause and the target is not a declared variable > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported > - Local file and content access has been re-enabled in the browser widget > and native control on Android > - Touch events now occur at the correct location when handled by objects > underneath a disabled Android scroller > - SVG elements with a stroke-width of 0 are no longer drawn with a hairline > stroke > - There is no longer a delay when opening the IDE menus on macOS > - Selecting a specific browser to test a web project against now works > correctly > - The overhead of using "do .." to evaluate long JavaScript scripts in the > browser widget on Android has been greatly reduced > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 > SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 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 at > http://forums.livecode.com > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Dec 21 12:18:47 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Dec 2021 12:18:47 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> References: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> Message-ID: Panos, I didn't mean that I did not understand. I completely understand. It was like "WHAAAAAAAAAAAAT?" Both of those issues have annoyed the heck out of me for nearly a decade. I am hoping, if I am reading the silent fail correctly, that it won't just be for moveStack and resizeStack, but any time that there is a script fail on mobile, because that is (or maybe was) so unbelievably annoying. On Tue, Dec 21, 2021 at 12:09 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Christmas is a time of gifts indeed! > > Thanks to everyone at LiveCode for all your hard work. > > best wishes, > > Ben > > On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > > > > Getting the Release > > =================== > > You can find the release in your LiveCode account area or get it via the > > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > > account, please scroll down to below the list of stable releases, to find > > your available test releases. > > > > Release Contents > > ================ > > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots > of > > the bugs you requested in the recent survey: > > > > New Features: > > - iOS device safe area insets function > > An iphoneSafeAreaInsets function has been added to enable getting the > safe > > area insets of the device the app is running on. These can be used to > > adjust your app's user interface elements to avoid areas that are covered > > by device furniture, e.g. the notch. > > > > - Android adaptive icons > > It is now possible to configure your Android apps to use adaptive icons. > > To use adaptive icons, generate them using the Image Asset Editor in > > Android Studio and > > then choose the resulting res folder in the android standalone settings > > pane. > > > > - Android app query whitelist > > Support has been added for specifying which other apps can be interacted > > with via the intent and other (custom) URL schemes. > > Since Android 11, by default, an app cannot interact with any others due > to > > changes to package visibility. You must now specify which apps you need > > access to by adding their ids to the App ID Query Whitelist field in the > > Android standalone settings. > > > > > > Bug Fixes: > > - Opening HyperCard stacks will no longer cause a crash > > - Support for the system date and the system time has been added on > Android > > - A stack's rect will no longer become out of sync with its actual > position > > after being moved in the IDE on macOS > > - A wider range of TrueType font files will now work on Android and Web > > - Use of the term Tutorials have been replaced by the term Lessons > > throughout the IDE > > - When a runtime error occurs in a context where the script debugger > cannot > > run, the error dialog will be displayed rather > > than failing silently > > - Conversions between global and local co-ordinates are now correct on > > multi-screen macOS systems. > > - The welcome tutorial can now be started on first run via the Start > > Interative Welcome button in the start center > > - Starting a new tutorial will now close the previous tutorial's stack, > if > > present > > - The performance of the script editor while typing has been improved > > - Downloading large amounts of data using tsNet on Windows is now > > substantially faster > > - Invalid PDFs will no longer be generated when using the open printing > to > > PDF command on Windows using the 64-bit engine > > - Script debugging will no longer fail to work intermittently when > running > > the IDE with pro features > > - Scripts which run without locking the screen are no longer slower on > > macOS Big Sur and later > > - The drawing library now correctly handle gradients which are referred > to > > using an id containing - or _ > > - Key events will now work correctly after a modal dialog is shown from a > > mouseUp handler in a grouped control > > - The iphoneDeviceModel function now returns the correct model string > when > > run on an iOS/iPadOS simulator. > > - Default buttons and progress bars will no longer cause unnecessary CPU > > usage on macOS 10.10 (Yosemite) or later > > - The byteOffset function will no longer cause incorrect results in some > > cases nor cause a crash > > - Scripts containing accented characters will no longer incorrectly > report > > being externally modified > > - Using the print link command when printing to PDF on Windows no longer > > causes a crash > > - The copyright notices in the engine app bundle (macOS) and exe > (Windows) > > have been updated > > - A significant memory leak in the browser widget on macOS has been > > resolved > > - POST data larger than 64kb is now parsed correctly by the Windows > server > > engine > > - Audio-only players no longer consume excessive CPU when in Edit Mode on > > macOS Big Sur > > - WebGL content now displays in the browser widget when running on macOS > > 12.x (Monterey) > > - The union (and other set operation) commands now throw an error if > there > > is no into clause and the target is not a declared variable > > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now > supported > > - Local file and content access has been re-enabled in the browser widget > > and native control on Android > > - Touch events now occur at the correct location when handled by objects > > underneath a disabled Android scroller > > - SVG elements with a stroke-width of 0 are no longer drawn with a > hairline > > stroke > > - There is no longer a delay when opening the IDE menus on macOS > > - Selecting a specific browser to test a web project against now works > > correctly > > - The overhead of using "do .." to evaluate long JavaScript scripts in > the > > browser widget on Android has been greatly reduced > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > > 14.4 SDK > > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS > 15.2 > > SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: From the start of April 2021, Apple is only accepting apps > built > > using iOS14.x SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.15 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 at > > http://forums.livecode.com > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Tue Dec 21 12:33:30 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Dec 2021 17:33:30 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: Hmmm - maybe I'm missing something, but .... Can't you use the feature of "using a numeric-indexed array as key" ? (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: put "a,b,c" into tA split tA by comma -- now we have tA[1]="a", tA[2]="b", tA[3]="c" put "def" into tArray[tA] -- now tArray["a"]["b"]["c"] = "def" So, where Brian's code does > put the hilitedElement of the target into tElement > put 0 into tIndex > repeat for each item tItem in tElement >    add 1 to tIndex >    put tItem into tReference[tIndex] > end repeat > set the htmltext of field "ItemText" to tArray[tReference] that should be equivalent to put the hilitedElement of the target into tElement split tElement by comma set the htmltext of field "ItemText" to tArray[tElement] Alex. P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. On 21/12/2021 15:19, Brian Milby via use-livecode wrote: > I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isnt obvious. > > https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript > > You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. > > It is part of a more involved stack, but the card with this widget may be helpful for your purposes. > > Thanks, > Brian > > Sent from my iPhone > >> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data Im interested in. >> >> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >> on hiliteChanged >> >> put the arrayData of control "Tree" into tTreeData >> >> put the hilitedElement of control "Tree" into tHilitedElement >> >> // Identify element depth >> >> put the number of items in tHilitedElement into tDepth >> >> put 0 into tLevelCount >> >> repeat for each item tKey in tHilitedElement >> >> add 1 to tLevelCount >> >> put tKey into tLevel[tLevelCount] >> >> put "[tLevel[" & tLevelCount & "]]" after tElement >> >> end repeat >> >> // Build array key to show element value in field >> >> switch tDepth >> >> case 1 >> >> put tTreeData[tLevel[1]] into field "Test" >> >> break >> >> case 2 >> >> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >> >> break >> >> case 3 >> >> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >> >> break >> >> end switch >> >> end hiliteChanged >> >> Im sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >> >> Best, >> Keith >> >>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>> >>> Im using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>> >>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[Pages][1][text] - into a field to read the detail extracted. (Currently Im putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as Ive got!) >>> >>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesnt get immediate access to the elements value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, Im simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>> >>> If Ive missed a simple means to access the Tree View elements value directly on click', Ill gladly change course! >>> Best, >>> Keith >>> >>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>> >>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>> >>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>> >>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>> Hi folks, >>>>> Im struggling to access the value from a Tree View widgets data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>> The following test script (on the Tree widget) successfully gets the Trees arrayData into tTreeData and creates a correct-looking nested array key syntax for any changing tHilitedElement. >>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the elements value. >>>>> on hiliteChanged >>>>> put the hilitedElement of me into tHilitedElement >>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>> put "[" & quote before tHilitedElement >>>>> put quote & "]" after tHilitedElement >>>>> put the arrayData of me into tTreeData >>>>> put tTreeData & tHilitedElement >>>>> end hiliteChanged >>>>> Ive tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>> TIA. >>>>> 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 >>>> >>>> -- >>>> 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 From curry at pair.com Tue Dec 21 12:38:50 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 21 Dec 2021 12:38:50 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <461548a9-ddee-8fe2-c25b-fc16b6d88661@pair.com> Panos: > including fixes for lots of > the bugs you requested in the recent survey Nice! A great day for LiveCode.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From alex at tweedly.net Tue Dec 21 12:40:13 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Dec 2021 17:40:13 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: On 21/12/2021 15:27, panagiotis m via use-livecode wrote: > Hello Mike, > >>>>> When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were > ignored, because for some reasons deep in the engine, if they were not > ignored, LC was freezing and eventually crashing. This behavior has now > changed, and these errors are caught in an error dialog window, rather > than failing silently. Thank you, thank you, thank you. This hits me all the time, when I mess up something in a resizeStack handler. Of course, knowing that, I should test resizeStack handlers properly.  hmph. Alex. From keith.clarke at me.com Tue Dec 21 13:13:09 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 18:13:09 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: Ah, yes of course - split a list variable with comma to form an array, being the inverse of combine tArray with comma to create a list. "The Worm is the Spice! The Spice is the Worm!” - the Dune weird array thing! Thank you, Alex - another synapse is ignited by the enlightenment… for a while, anyway! :D Best, Keith > On 21 Dec 2021, at 17:33, Alex Tweedly via use-livecode wrote: > > Hmmm - maybe I'm missing something, but .... > > Can't you use the feature of "using a numeric-indexed array as key" ? > > (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: > > put "a,b,c" into tA > split tA by comma > -- now we have tA[1]="a", tA[2]="b", tA[3]="c" > put "def" into tArray[tA] > -- now tArray["a"]["b"]["c"] = "def" > > So, where Brian's code does > >> put the hilitedElement of the target into tElement >> put 0 into tIndex >> repeat for each item tItem in tElement >> add 1 to tIndex >> put tItem into tReference[tIndex] >> end repeat >> set the htmltext of field "ItemText" to tArray[tReference] > > that should be equivalent to > > put the hilitedElement of the target into tElement > split tElement by comma > set the htmltext of field "ItemText" to tArray[tElement] > > Alex. > > P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. > > > > On 21/12/2021 15:19, Brian Milby via use-livecode wrote: > >> I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. >> >> https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript >> >> You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. >> >> It is part of a more involved stack, but the card with this widget may be helpful for your purposes. >> >> Thanks, >> Brian >> >> Sent from my iPhone >> >>> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >>> >>> Hi folks, >>> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. >>> >>> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >>> on hiliteChanged >>> >>> put the arrayData of control "Tree" into tTreeData >>> >>> put the hilitedElement of control "Tree" into tHilitedElement >>> >>> // Identify element depth >>> >>> put the number of items in tHilitedElement into tDepth >>> >>> put 0 into tLevelCount >>> >>> repeat for each item tKey in tHilitedElement >>> >>> add 1 to tLevelCount >>> >>> put tKey into tLevel[tLevelCount] >>> >>> put "[tLevel[" & tLevelCount & "]]" after tElement >>> >>> end repeat >>> >>> // Build array key to show element value in field >>> >>> switch tDepth >>> >>> case 1 >>> >>> put tTreeData[tLevel[1]] into field "Test" >>> >>> break >>> >>> case 2 >>> >>> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >>> >>> break >>> >>> case 3 >>> >>> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >>> >>> break >>> >>> end switch >>> >>> end hiliteChanged >>> >>> I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >>> >>> Best, >>> Keith >>> >>>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>>> >>>> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>>> >>>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >>>> >>>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>>> >>>> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >>>> Best, >>>> Keith >>>> >>>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>>> >>>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>>> >>>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>>> >>>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>>> Hi folks, >>>>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>>>> on hiliteChanged >>>>>> put the hilitedElement of me into tHilitedElement >>>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>>> put "[" & quote before tHilitedElement >>>>>> put quote & "]" after tHilitedElement >>>>>> put the arrayData of me into tTreeData >>>>>> put tTreeData & tHilitedElement >>>>>> end hiliteChanged >>>>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>>> TIA. >>>>>> 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 >>>>> >>>>> -- >>>>> 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 brian at milby7.com Tue Dec 21 13:54:41 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Dec 2021 13:54:41 -0500 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: <799A276A-6BB0-4BB5-A199-82A67B524A53@milby7.com> I’ll admit that I modeled my code after code in the IDE somewhere (property editor). Now I wonder why they didn’t just use split. Sent from my iPhone > On Dec 21, 2021, at 1:14 PM, Keith Clarke via use-livecode wrote: > > Ah, yes of course - split a list variable with comma to form an array, being the inverse of combine tArray with comma to create a list. > > "The Worm is the Spice! The Spice is the Worm!” - the Dune weird array thing! > > Thank you, Alex - another synapse is ignited by the enlightenment… for a while, anyway! :D > Best, > Keith > >> On 21 Dec 2021, at 17:33, Alex Tweedly via use-livecode wrote: >> >> Hmmm - maybe I'm missing something, but .... >> >> Can't you use the feature of "using a numeric-indexed array as key" ? >> >> (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: >> >> put "a,b,c" into tA >> split tA by comma >> -- now we have tA[1]="a", tA[2]="b", tA[3]="c" >> put "def" into tArray[tA] >> -- now tArray["a"]["b"]["c"] = "def" >> >> So, where Brian's code does >> >>> put the hilitedElement of the target into tElement >>> put 0 into tIndex >>> repeat for each item tItem in tElement >>> add 1 to tIndex >>> put tItem into tReference[tIndex] >>> end repeat >>> set the htmltext of field "ItemText" to tArray[tReference] >> >> that should be equivalent to >> >> put the hilitedElement of the target into tElement >> split tElement by comma >> set the htmltext of field "ItemText" to tArray[tElement] >> >> Alex. >> >> P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. >> >> >> >> On 21/12/2021 15:19, Brian Milby via use-livecode wrote: >> >>> I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. >>> >>> https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript >>> >>> You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. >>> >>> It is part of a more involved stack, but the card with this widget may be helpful for your purposes. >>> >>> Thanks, >>> Brian >>> >>> Sent from my iPhone >>> >>>> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >>>> >>>> Hi folks, >>>> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. >>>> >>>> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >>>> on hiliteChanged >>>> >>>> put the arrayData of control "Tree" into tTreeData >>>> >>>> put the hilitedElement of control "Tree" into tHilitedElement >>>> >>>> // Identify element depth >>>> >>>> put the number of items in tHilitedElement into tDepth >>>> >>>> put 0 into tLevelCount >>>> >>>> repeat for each item tKey in tHilitedElement >>>> >>>> add 1 to tLevelCount >>>> >>>> put tKey into tLevel[tLevelCount] >>>> >>>> put "[tLevel[" & tLevelCount & "]]" after tElement >>>> >>>> end repeat >>>> >>>> // Build array key to show element value in field >>>> >>>> switch tDepth >>>> >>>> case 1 >>>> >>>> put tTreeData[tLevel[1]] into field "Test" >>>> >>>> break >>>> >>>> case 2 >>>> >>>> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >>>> >>>> break >>>> >>>> case 3 >>>> >>>> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >>>> >>>> break >>>> >>>> end switch >>>> >>>> end hiliteChanged >>>> >>>> I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >>>> >>>> Best, >>>> Keith >>>> >>>>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>>>> >>>>> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>>>> >>>>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >>>>> >>>>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>>>> >>>>> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >>>>> Best, >>>>> Keith >>>>> >>>>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>>>> >>>>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>>>> >>>>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>>>> >>>>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>>>> Hi folks, >>>>>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>>>>> on hiliteChanged >>>>>>> put the hilitedElement of me into tHilitedElement >>>>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>>>> put "[" & quote before tHilitedElement >>>>>>> put quote & "]" after tHilitedElement >>>>>>> put the arrayData of me into tTreeData >>>>>>> put tTreeData & tHilitedElement >>>>>>> end hiliteChanged >>>>>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>>>> TIA. >>>>>>> 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 >>>>>> >>>>>> -- >>>>>> 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 eurolinkal at aol.com Tue Dec 21 16:40:20 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Tue, 21 Dec 2021 13:40:20 -0800 Subject: New user In-Reply-To: References: Message-ID: Thanks Matthias. Quite a lot there for me to get my head around, but thanks for pointing me in the right direction and giving me hope! Much appreciated, Alex On December 21, 2021 at 1:33:44 AM, matthias rebbe via use-livecode (use-livecode at lists.runrev.com) wrote: Hi Alex, does the developer of the I/O board provides an SDK? Best would be of course, that SDK would have support for Livecode, but i assume the latter is not the case. But if the developer of that board has an sdk for example with prebuilt .dll you could try to create a wrapper with Livecode Builder. How is the board detected on Windows? As a serial device? If so, you could communicate with it through Livecode. Please have a look at 'open driver' in the dictionary. Matthias > Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode : > > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 21 17:54:35 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Dec 2021 23:54:35 +0100 Subject: Some questions about Livecode standalones / Livecode Server on Synology NAS with Intel cpu Message-ID: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Hi, is there someone on the list who is using Livecode Server on a Synology NAS with Intel cpu? If so, did you manage to get it working also with the webserver or only from command line? Today i installed Livecode Server on my Synology NAS with Intel cpu. I am able to run Livecode scripts from the command line. But i do not get it to work, that i can call LC script from my browser. I tried the .htaccess method to get Livecode Server running with Apache without success. I tried also to modify the httdp-conf file, but also without success. But that is due to a lack of knowledge. I would be really grateful if someone could help me getting Livecode Server to work with Apache and not only from command line. Or did someone already create a standalone with LC that could be run on the Synology desktop and not only on the command line? I am able to run 64but Unix LC standalones from the Commandline with the -ui switch. It was even possible to use the Synology scheduler to execute those standalones. Now i am wondering how complicate it would be to package LC standalones to get them installed so they can be run with a gui. Anyone out there who works with LC standalones / LC server on Synology with Intel cpu? Regards, Matthias From sean at pidigital.co.uk Tue Dec 21 20:35:37 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Wed, 22 Dec 2021 01:35:37 +0000 Subject: New user In-Reply-To: References: Message-ID: Hi Alex Welcome! I've done exactly and very similar to what you are describing about 6yrs ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For lighting up miniatures of housing estates and apartment blocks. And then for some film miniatures for toy commercials and so on. Once you've installed the driver for your adapter on Win10, go to the Device Manager, Ports and find out what COM port it's linked to (eg, COM2). Now in LiveCode, you don't need to know the driver name to write to. Just use the command: open driver "COM2:" for write This sets the plane for communication. Next, you need to set up the settings, eg: set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" These are actually the default settings, so do nothing if these are the settings you want. Now you just need to know the commands to send. https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 write "readall" & return to driver "COM2:" read from driver "COM2:" for 4 -- ie, 4 characters The read command immediately after the write allows it to accept the response from the GPIO, in this example, for 4 characters in length (to receive the 4 hex characters like 16AF) And that's it pretty much. It's super easy and fun. With Wifi modules you can use any device to communicate with them. We used iPad mini's which made it super flexible. Let us all know if you run into any issues and need help. All the best Sean Cole *Pi Digital Productions Ltd* On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way > through a project which I think I can complete. However the project has to > be able to communicate with an I/O board (Numato 16 channel USB GPIO Module > for example) from a Windows Standalone application. I have not been able to > find any guidance or samples for how to do this. This has led me to wonder > if it is even possible to creat some kind of serial communication using LC > or whether I should start over with a different platform. I am doing the LC > work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From General.2018 at outlook.com Wed Dec 22 05:24:01 2021 From: General.2018 at outlook.com (General 2018) Date: Wed, 22 Dec 2021 10:24:01 +0000 Subject: New user In-Reply-To: References: Message-ID: Just need this capability on Android - please Livecode Regards Camm > On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: > > Hi Alex > Welcome! > I've done exactly and very similar to what you are describing about 6yrs > ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For > lighting up miniatures of housing estates and apartment blocks. And then > for some film miniatures for toy commercials and so on. > > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > >> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >> through a project which I think I can complete. However the project has to >> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >> for example) from a Windows Standalone application. I have not been able to >> find any guidance or samples for how to do this. This has led me to wonder >> if it is even possible to creat some kind of serial communication using LC >> or whether I should start over with a different platform. I am doing the LC >> work using a Mac. Any help or advice would be much appreciated. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 05:50:49 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 22 Dec 2021 10:50:49 +0000 Subject: New user In-Reply-To: References: Message-ID: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> For Android and iOS, use WiFi and sockets. This is just as quick and easy. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: > > Just need this capability on Android - please Livecode > > Regards Camm > >> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >> >> Hi Alex >> Welcome! >> I've done exactly and very similar to what you are describing about 6yrs >> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >> lighting up miniatures of housing estates and apartment blocks. And then >> for some film miniatures for toy commercials and so on. >> >> Once you've installed the driver for your adapter on Win10, go to the >> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >> Now in LiveCode, you don't need to know the driver name to write to. Just >> use the command: >> open driver "COM2:" for write >> This sets the plane for communication. Next, you need to set up the >> settings, eg: >> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >> These are actually the default settings, so do nothing if these are the >> settings you want. >> Now you just need to know the commands to send. >> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >> write "readall" & return to driver "COM2:" >> read from driver "COM2:" for 4 -- ie, 4 characters >> The read command immediately after the write allows it to accept the >> response from the GPIO, in this example, for 4 characters in length (to >> receive the 4 hex characters like 16AF) >> >> And that's it pretty much. It's super easy and fun. With Wifi modules you >> can use any device to communicate with them. We used iPad mini's which made >> it super flexible. >> >> Let us all know if you run into any issues and need help. >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> >>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>> through a project which I think I can complete. However the project has to >>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>> for example) from a Windows Standalone application. I have not been able to >>> find any guidance or samples for how to do this. This has led me to wonder >>> if it is even possible to creat some kind of serial communication using LC >>> or whether I should start over with a different platform. I am doing the LC >>> work using a Mac. Any help or advice would be much appreciated. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Wed Dec 22 06:21:06 2021 From: General.2018 at outlook.com (General 2018) Date: Wed, 22 Dec 2021 11:21:06 +0000 Subject: New user In-Reply-To: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. Just Android needed to be cross platform in real world interfacing. Regards Camm > On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: > > For Android and iOS, use WiFi and sockets. This is just as quick and easy. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >> >> Just need this capability on Android - please Livecode >> >> Regards Camm >> >>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>> >>> Hi Alex >>> Welcome! >>> I've done exactly and very similar to what you are describing about 6yrs >>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>> lighting up miniatures of housing estates and apartment blocks. And then >>> for some film miniatures for toy commercials and so on. >>> >>> Once you've installed the driver for your adapter on Win10, go to the >>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>> Now in LiveCode, you don't need to know the driver name to write to. Just >>> use the command: >>> open driver "COM2:" for write >>> This sets the plane for communication. Next, you need to set up the >>> settings, eg: >>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>> These are actually the default settings, so do nothing if these are the >>> settings you want. >>> Now you just need to know the commands to send. >>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>> write "readall" & return to driver "COM2:" >>> read from driver "COM2:" for 4 -- ie, 4 characters >>> The read command immediately after the write allows it to accept the >>> response from the GPIO, in this example, for 4 characters in length (to >>> receive the 4 hex characters like 16AF) >>> >>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>> can use any device to communicate with them. We used iPad mini's which made >>> it super flexible. >>> >>> Let us all know if you run into any issues and need help. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>> through a project which I think I can complete. However the project has to >>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>> for example) from a Windows Standalone application. I have not been able to >>>> find any guidance or samples for how to do this. This has led me to wonder >>>> if it is even possible to creat some kind of serial communication using LC >>>> or whether I should start over with a different platform. I am doing the LC >>>> work using a Mac. Any help or advice would be much appreciated. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 22 06:29:36 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 22 Dec 2021 06:29:36 -0500 Subject: Serial Communication with an I/O board (New user) In-Reply-To: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Good topic; probably deserves a relevant subject line! :) (Easier to notice, both live and in the Archive.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ === Alex: > the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. Sean: > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* From dougr at telus.net Wed Dec 22 10:59:44 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 22 Dec 2021 07:59:44 -0800 Subject: New user In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: <0b6a01d7f74c$f0232810$d0697830$@telus.net> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: "... Livecode has Bluetooth for Windows via VCP ..." I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! Anyone? Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode Sent: Wednesday, December 22, 2021 3:21 AM To: How to use LiveCode Cc: General 2018 Subject: Re: New user Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. Just Android needed to be cross platform in real world interfacing. Regards Camm > On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: > > For Android and iOS, use WiFi and sockets. This is just as quick and easy. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >> >> Just need this capability on Android - please Livecode >> >> Regards Camm >> >>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>> >>> Hi Alex >>> Welcome! >>> I've done exactly and very similar to what you are describing about 6yrs >>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>> lighting up miniatures of housing estates and apartment blocks. And then >>> for some film miniatures for toy commercials and so on. >>> >>> Once you've installed the driver for your adapter on Win10, go to the >>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>> Now in LiveCode, you don't need to know the driver name to write to. Just >>> use the command: >>> open driver "COM2:" for write >>> This sets the plane for communication. Next, you need to set up the >>> settings, eg: >>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>> These are actually the default settings, so do nothing if these are the >>> settings you want. >>> Now you just need to know the commands to send. >>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>> write "readall" & return to driver "COM2:" >>> read from driver "COM2:" for 4 -- ie, 4 characters >>> The read command immediately after the write allows it to accept the >>> response from the GPIO, in this example, for 4 characters in length (to >>> receive the 4 hex characters like 16AF) >>> >>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>> can use any device to communicate with them. We used iPad mini's which made >>> it super flexible. >>> >>> Let us all know if you run into any issues and need help. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>> through a project which I think I can complete. However the project has to >>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>> for example) from a Windows Standalone application. I have not been able to >>>> find any guidance or samples for how to do this. This has led me to wonder >>>> if it is even possible to creat some kind of serial communication using LC >>>> or whether I should start over with a different platform. I am doing the LC >>>> work using a Mac. Any help or advice would be much appreciated. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 22 11:47:01 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 17:47:01 +0100 Subject: New user In-Reply-To: <0b6a01d7f74c$f0232810$d0697830$@telus.net> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> Message-ID: <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. HTH Matthias > Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : > > I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: > "... Livecode has Bluetooth for Windows via VCP ..." > > I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! > > Anyone? > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode > Sent: Wednesday, December 22, 2021 3:21 AM > To: How to use LiveCode > Cc: General 2018 > Subject: Re: New user > > Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. > > Just Android needed to be cross platform in real world interfacing. > > Regards Camm > >> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >> >> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >> >> Sean Cole >> Pi Digital Productions Ltd >> >> eMail Ts & Cs >> >> >>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>> >>> Just need this capability on Android - please Livecode >>> >>> Regards Camm >>> >>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>> >>>> Hi Alex >>>> Welcome! >>>> I've done exactly and very similar to what you are describing about 6yrs >>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>> lighting up miniatures of housing estates and apartment blocks. And then >>>> for some film miniatures for toy commercials and so on. >>>> >>>> Once you've installed the driver for your adapter on Win10, go to the >>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>> use the command: >>>> open driver "COM2:" for write >>>> This sets the plane for communication. Next, you need to set up the >>>> settings, eg: >>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>> These are actually the default settings, so do nothing if these are the >>>> settings you want. >>>> Now you just need to know the commands to send. >>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>> write "readall" & return to driver "COM2:" >>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>> The read command immediately after the write allows it to accept the >>>> response from the GPIO, in this example, for 4 characters in length (to >>>> receive the 4 hex characters like 16AF) >>>> >>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>> can use any device to communicate with them. We used iPad mini's which made >>>> it super flexible. >>>> >>>> Let us all know if you run into any issues and need help. >>>> >>>> All the best >>>> >>>> Sean Cole >>>> *Pi Digital Productions Ltd* >>>> >>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>> through a project which I think I can complete. However the project has to >>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>> for example) from a Windows Standalone application. I have not been able to >>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>> if it is even possible to creat some kind of serial communication using LC >>>>> or whether I should start over with a different platform. I am doing the LC >>>>> work using a Mac. Any help or advice would be much appreciated. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 11:54:44 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 17:54:44 +0100 Subject: New user In-Reply-To: <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> Message-ID: <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> What i forgot to mention: The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device. > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode : > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. > > In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. > > HTH > > Matthias > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : >> >> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: >> "... Livecode has Bluetooth for Windows via VCP ..." >> >> I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! >> >> Anyone? >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode >> Sent: Wednesday, December 22, 2021 3:21 AM >> To: How to use LiveCode >> Cc: General 2018 >> Subject: Re: New user >> >> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. >> >> Just Android needed to be cross platform in real world interfacing. >> >> Regards Camm >> >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >>> >>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >>> >>> Sean Cole >>> Pi Digital Productions Ltd >>> >>> eMail Ts & Cs >>> >>> >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>>> >>>> Just need this capability on Android - please Livecode >>>> >>>> Regards Camm >>>> >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>>> >>>>> Hi Alex >>>>> Welcome! >>>>> I've done exactly and very similar to what you are describing about 6yrs >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>>> lighting up miniatures of housing estates and apartment blocks. And then >>>>> for some film miniatures for toy commercials and so on. >>>>> >>>>> Once you've installed the driver for your adapter on Win10, go to the >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>>> use the command: >>>>> open driver "COM2:" for write >>>>> This sets the plane for communication. Next, you need to set up the >>>>> settings, eg: >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>>> These are actually the default settings, so do nothing if these are the >>>>> settings you want. >>>>> Now you just need to know the commands to send. >>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>>> write "readall" & return to driver "COM2:" >>>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>>> The read command immediately after the write allows it to accept the >>>>> response from the GPIO, in this example, for 4 characters in length (to >>>>> receive the 4 hex characters like 16AF) >>>>> >>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>>> can use any device to communicate with them. We used iPad mini's which made >>>>> it super flexible. >>>>> >>>>> Let us all know if you run into any issues and need help. >>>>> >>>>> All the best >>>>> >>>>> Sean Cole >>>>> *Pi Digital Productions Ltd* >>>>> >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>>> through a project which I think I can complete. However the project has to >>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>>> for example) from a Windows Standalone application. I have not been able to >>>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>>> if it is even possible to creat some kind of serial communication using LC >>>>>> or whether I should start over with a different platform. I am doing the LC >>>>>> work using a Mac. Any help or advice would be much appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Wed Dec 22 12:09:58 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 22 Dec 2021 09:09:58 -0800 Subject: New user In-Reply-To: <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> Message-ID: <0ba501d7f756$c0475f30$40d61d90$@telus.net> Much appreciated ... that's what I needed to explore this "feature" Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Wednesday, December 22, 2021 8:55 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: New user What i forgot to mention: The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device. > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode : > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. > > In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. > > HTH > > Matthias > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : >> >> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: >> "... Livecode has Bluetooth for Windows via VCP ..." >> >> I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! >> >> Anyone? >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode >> Sent: Wednesday, December 22, 2021 3:21 AM >> To: How to use LiveCode >> Cc: General 2018 >> Subject: Re: New user >> >> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. >> >> Just Android needed to be cross platform in real world interfacing. >> >> Regards Camm >> >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >>> >>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >>> >>> Sean Cole >>> Pi Digital Productions Ltd >>> >>> eMail Ts & Cs >>> >>> >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>>> >>>> Just need this capability on Android - please Livecode >>>> >>>> Regards Camm >>>> >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>>> >>>>> Hi Alex >>>>> Welcome! >>>>> I've done exactly and very similar to what you are describing about 6yrs >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>>> lighting up miniatures of housing estates and apartment blocks. And then >>>>> for some film miniatures for toy commercials and so on. >>>>> >>>>> Once you've installed the driver for your adapter on Win10, go to the >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>>> use the command: >>>>> open driver "COM2:" for write >>>>> This sets the plane for communication. Next, you need to set up the >>>>> settings, eg: >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>>> These are actually the default settings, so do nothing if these are the >>>>> settings you want. >>>>> Now you just need to know the commands to send. >>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>>> write "readall" & return to driver "COM2:" >>>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>>> The read command immediately after the write allows it to accept the >>>>> response from the GPIO, in this example, for 4 characters in length (to >>>>> receive the 4 hex characters like 16AF) >>>>> >>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>>> can use any device to communicate with them. We used iPad mini's which made >>>>> it super flexible. >>>>> >>>>> Let us all know if you run into any issues and need help. >>>>> >>>>> All the best >>>>> >>>>> Sean Cole >>>>> *Pi Digital Productions Ltd* >>>>> >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>>> through a project which I think I can complete. However the project has to >>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>>> for example) from a Windows Standalone application. I have not been able to >>>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>>> if it is even possible to creat some kind of serial communication using LC >>>>>> or whether I should start over with a different platform. I am doing the LC >>>>>> work using a Mac. Any help or advice would be much appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Wed Dec 22 12:16:05 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 12:16:05 -0500 Subject: Serial Communication with an I/O board (New user) In-Reply-To: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: Hi Curry Thanks. I thought this would be cool to play around with one day but I would never remember where I saw it. This will help an old brain. It would make also make a good LiveCode Lesson. Once Alex figures it all out and has it all working they can document the process and submit it as a LiveCode Lesson and thereby gain instant fame and fortune ... well at least the gratitude of those who follow afterward… maybe even themselves (see more in my next email “Communication with future you with a message board”.) Martin > On Dec 22, 2021, at 6:29 AM, Curry Kenworthy via use-livecode wrote: > > > Good topic; probably deserves a relevant subject line! :) > (Easier to notice, both live and in the Archive.) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > === > > Alex: > > > the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. > > Sean: > >> Once you've installed the driver for your adapter on Win10, go to the >> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >> Now in LiveCode, you don't need to know the driver name to write to. Just >> use the command: >> open driver "COM2:" for write >> This sets the plane for communication. Next, you need to set up the >> settings, eg: >> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >> These are actually the default settings, so do nothing if these are the >> settings you want. >> Now you just need to know the commands to send. >> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >> write "readall" & return to driver "COM2:" >> read from driver "COM2:" for 4 -- ie, 4 characters >> The read command immediately after the write allows it to accept the >> response from the GPIO, in this example, for 4 characters in length (to >> receive the 4 hex characters like 16AF) >> And that's it pretty much. It's super easy and fun. With Wifi modules you >> can use any device to communicate with them. We used iPad mini's which made >> it super flexible. >> Let us all know if you run into any issues and need help. >> All the best >> Sean Cole >> *Pi Digital Productions Ltd* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Dec 22 12:24:36 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 22 Dec 2021 17:24:36 +0000 Subject: PDF Viewer widget: expected experience from set the currentDestination? Message-ID: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Hi folks, Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” Perhaps I’ve missed some settings on the widget to allow it to respond to this message? TIA Best, Keith From mkoob at rogers.com Wed Dec 22 12:40:55 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 12:40:55 -0500 Subject: Communication with future you with a message board In-Reply-To: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: Hi all I have been reading Alex Hughson’s thread "New user” renamed "Serial Communication with an I/O board (New user)” by Curry Kenworthy to make it easier for future users to find. It makes me think of something that happened a few times with me. I am trying to do something in LiveCode and I come up against a blocker. I start searching the use-livecode list, the LiveCode Forums, and also general web searches. Finally I find my answer — exactly what I wanted. Then I look at the author asking the original question or answering… Martin Koob. 🤦🏻‍♂️😳 So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? Anyway now when I am typing a question or a suggested answer I think I should put the salutation “Dear Future me.”. In any case once the problem is solved I do a final email summarizing what the final solution was and I do make sure there are some good keywords in the text that I would probably search for in the future when I have forgotten ever even working on this problem this let alone how to solve it. Martin Koob From kaveh at rivervalleytechnologies.com Wed Dec 22 12:48:37 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 22 Dec 2021 17:48:37 +0000 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: I have done exactly the same thing several times where my past self has been the only one asking exactly the question I need. But this is not limited to LiveCode forums. Yesterday I was scratching my head regarding a regex pattern. I was overjoyed when I found someone asking precisely the question I needed around 2 years back on StackExchange. It was my former self! https://stackoverflow.com/questions/60025513/regex-to-extract-lookbehind-and-lookahead-from-a-regex-pattern On Wed, 22 Dec 2021 at 17:42, Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all > > I have been reading Alex Hughson’s thread "New user” renamed "Serial > Communication with an I/O board (New user)” by Curry Kenworthy to make it > easier for future users to find. > > It makes me think of something that happened a few times with me. I am > trying to do something in LiveCode and I come up against a blocker. I > start searching the use-livecode list, the LiveCode Forums, and also > general web searches. Finally I find my answer — exactly what I wanted. > Then I look at the author asking the original question or answering… > Martin Koob. > 🤦🏻‍♂️😳 > > So I am curious — am I the only one whose mind is going or have others run > this mental recursive documentation loop? > > Anyway now when I am typing a question or a suggested answer I think I > should put the salutation “Dear Future me.”. In any case once the problem > is solved I do a final email summarizing what the final solution was and I > do make sure there are some good keywords in the text that I would probably > search for in the future when I have forgotten ever even working on this > problem this let alone how to solve it. > > Martin Koob > _______________________________________________ > use-livecode mailing list > use-livecode 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 ● ORCID *Accelerating the Communication of Research* From mark at canelasoftware.com Wed Dec 22 13:54:51 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 22 Dec 2021 10:54:51 -0800 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> > On Dec 21, 2021, at 6:44 AM, panagiotis merakos via use-livecode wrote: > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: This is an incredible release. Big thanks to LiveCode! Happy Holidays. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com From mkoob at rogers.com Wed Dec 22 14:47:12 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 14:47:12 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: It is nice to know that HyperCard stacks can still be opened. I had opened a HyperCard stack of an application that I had created in LiveCode ~ 6.x and for the most part it worked, A few fixes were needed and I was good to go. That HyperCard stack was the basis for an LC application I am still updating. There is still HyperTalk scripts from long ago hidden in various objects in my application. I can usually tell by how I named my variables — no prefixes, that and using way too many unquoted literals. Martin Koob > On Dec 21, 2021, at 9:44 AM, panagiotis merakos via use-livecode wrote: > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash From waprothero at gmail.com Wed Dec 22 15:34:03 2021 From: waprothero at gmail.com (William Prothero) Date: Wed, 22 Dec 2021 12:34:03 -0800 Subject: Livecode downloads VERY slow References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> Message-ID: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Folks: When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. Best, Bill William Prothero waprothero at gmail.com From mkoob at rogers.com Wed Dec 22 15:41:54 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 15:41:54 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: <29A55AFC-F9B9-43E2-94EB-035F3D310A8A@rogers.com> Hi Bill Are you downloading directly from https://downloads.livecode.com or are you using the LiveCode Updater stack that pops up when ever there is a new update? I just tried https://downloads.livecode.com and got the RC1 of LC 9.6.6 downloaded in less than 30 seconds or so. I have given up on using the LiveCode Updater stack. The download goes on forever and never seems to finish. Martin > On Dec 22, 2021, at 3:34 PM, William Prothero via use-livecode wrote: > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 22 15:47:57 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 14:47:57 -0600 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: > So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? Yes, more than once. The only comforting thing is that most of the time it was a response from many years ago and I'm not the same person any more. Maybe that's scary... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Wed Dec 22 15:51:48 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Dec 2021 12:51:48 -0800 Subject: Livecode Server on Synology NAS with Intel cpu In-Reply-To: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> References: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Message-ID: On 12/21/21 2:54 PM, matthias rebbe via use-livecode wrote: > Hi, > > is there someone on the list who is using Livecode Server on a Synology NAS with Intel cpu? If so, did you manage to get it working also with the webserver or only from command line? > > Today i installed Livecode Server on my Synology NAS with Intel cpu. > I am able to run Livecode scripts from the command line. But i do not get it to work, that i can call LC script from my browser. I tried the .htaccess method to get Livecode Server running with Apache without success. I tried also to modify the httdp-conf file, but also without success. But that is due to a lack of knowledge. > > I would be really grateful if someone could help me getting Livecode Server to work with Apache and not only from command line. Sorry - my Synology server has an arm processor, and there has never been an arm build of the server. Plus now it appears that the server build requires a separate license. I take it you've already been through the docs at https://livecode.com/resources/guides/server/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Dec 22 15:54:18 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 14:54:18 -0600 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: > It is nice to know that HyperCard stacks can still be opened. Yes, and what good timing. I just got the first HC conversion request in years. And my old copy of LC 6 won't run on my current Mac. Another thing I'm ecstatic about is the built-in Android adaptive icons. Struggling with altered IDE files for the last year made me crazy and it had to be done for every new LC release. And I usually made mistakes and had to revise them multiple times. This release is hugely appreciated, there's so much to love in it. Thank you, team! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Wed Dec 22 16:00:04 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Dec 2021 13:00:04 -0800 Subject: Communication with future you with a message board In-Reply-To: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote: > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious am I the only one whose mind is going or have others >> run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the time > it was a response from many years ago and I'm not the same person any > more. Maybe that's scary... > If you write a response maybe you can help out your previous self. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Dec 22 16:02:13 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Dec 2021 16:02:13 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: <004d01d7f777$34765c60$9d631520$@net> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous 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 William Prothero via use-livecode Sent: Wednesday, December 22, 2021 3:34 PM To: JJS via use-livecode Cc: William Prothero Subject: Livecode downloads VERY slow Folks: When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. Best, Bill William Prothero waprothero 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 rdimola at evergreeninfo.net Wed Dec 22 16:07:44 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Dec 2021 16:07:44 -0500 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: <005401d7f777$f98a0560$ec9e1020$@net> POOF your gone (grandfather paradox) But on the good side I may be able to play the Bach piece without mistakes. 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, December 22, 2021 4:00 PM To: J. Landman Gay via use-livecode Cc: Mark Wieder Subject: Re: Communication with future you with a message board On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote: > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious — am I the only one whose mind is going or have >> others run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the > time it was a response from many years ago and I'm not the same person > any more. Maybe that's scary... > If you write a response maybe you can help out your previous self. -- 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 prothero at earthlearningsolutions.org Wed Dec 22 16:19:20 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 13:19:20 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <004d01d7f777$34765c60$9d631520$@net> References: <004d01d7f777$34765c60$9d631520$@net> Message-ID: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> Ralph, I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. Grads, don’t we get spoiled! Best, Bill Sent from my iPad > On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: > > I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. > > I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous > > 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 William Prothero via use-livecode > Sent: Wednesday, December 22, 2021 3:34 PM > To: JJS via use-livecode > Cc: William Prothero > Subject: Livecode downloads VERY slow > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero 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 prothero at earthlearningsolutions.org Wed Dec 22 16:26:13 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 13:26:13 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> References: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> Message-ID: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> Ralph, Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret feature of apple that auto-errors writing. I meant Zoomers, of course (who are Sooners, anyway?) Actually, the auto-correct tried again to make that change. Fool me once …… etc. Best, Bill Sent from my iPad > On Dec 22, 2021, at 1:20 PM, William Prothero wrote: > > Ralph, > I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. > > Grads, don’t we get spoiled! > > Best, > Bill > > Sent from my iPad > >> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: >> >> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >> >> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >> >> 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 William Prothero via use-livecode >> Sent: Wednesday, December 22, 2021 3:34 PM >> To: JJS via use-livecode >> Cc: William Prothero >> Subject: Livecode downloads VERY slow >> >> Folks: >> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >> >> Best, >> Bill >> >> William Prothero >> waprothero 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 dochawk at gmail.com Wed Dec 22 16:26:38 2021 From: dochawk at gmail.com (doc hawk) Date: Wed, 22 Dec 2021 13:26:38 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: I’ve been using “wget -c http://somewhere.com/somefile” for decades now. Just leave it open in a terminal, and if it bombs partway through, just up-arrow it and run again, so that it continues from where it left off. Dropped connections have always been a bigger issue than speed for me. From matthias_livecode_150811 at m-r-d.de Wed Dec 22 17:18:53 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 23:18:53 +0100 Subject: Livecode Server on Synology NAS with Intel cpu In-Reply-To: References: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Message-ID: > Am 22.12.2021 um 21:51 schrieb Mark Wieder via use-livecode : > > Sorry - my Synology server has an arm processor, and there has never been an arm build of the server. Plus now it appears that the server build requires a separate license. > > I take it you've already been through the docs at > https://livecode.com/resources/guides/server/ Yes, thanks Mark, i've checked the docs already Unfortunately the folder structure/ location of the configuration files for Apache on the Synology are different to the description in the docs. Anyway, it took me now the half day to get it working. So now LC server is working in the browser and on the command line and LC standalones can be run also from command line in ui mode. That's awesome. I will create a Livecode lesson for this, so others can get it working much quicker. Matthias From tom at makeshyft.com Wed Dec 22 17:34:53 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 Dec 2021 17:34:53 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: Its so lovely to see a big list of fixes, thats how thats done. Thank you Livecode team and all the best for the Christmas season to everyone. On Wed, Dec 22, 2021 at 3:55 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: > > It is nice to know that HyperCard stacks can still be opened. > > Yes, and what good timing. I just got the first HC conversion request in > years. And my old copy > of LC 6 won't run on my current Mac. > > Another thing I'm ecstatic about is the built-in Android adaptive icons. > Struggling with > altered IDE files for the last year made me crazy and it had to be done > for every new LC > release. And I usually made mistakes and had to revise them multiple times. > > This release is hugely appreciated, there's so much to love in it. Thank > you, 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Wed Dec 22 17:35:31 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 Dec 2021 17:35:31 -0500 Subject: New user In-Reply-To: <0ba501d7f756$c0475f30$40d61d90$@telus.net> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> <0ba501d7f756$c0475f30$40d61d90$@telus.net> Message-ID: Welcome Alex. On Wed, Dec 22, 2021 at 12:11 PM Douglas A. Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > Much appreciated ... that's what I needed to explore this "feature" > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of matthias rebbe via use-livecode > Sent: Wednesday, December 22, 2021 8:55 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: New user > > What i forgot to mention: > The bluetooth device needs to support this. If you have paired the Windows > PC with a device that supports a virtual com port, then you should be able > to add a com port in that settings and link it to that bluetooth device. > > > > > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth > settings" or something similar to that. I am working with a german version > of Windows, so i do not have the exact english expression of it. > > > > In this "additional settings" click on the tab 'Com devices' . There you > can add a virtual com port. > > > > HTH > > > > Matthias > > > > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I'm hopeful that General 2018 or anyone can expand on the reference to > General's statement of: > >> "... Livecode has Bluetooth for Windows via VCP ..." > >> > >> I've searched thru the forum and cannot find any references to this. > Virtual Com Port (VCP) is associated with USB and FTDI chips (or > emulations) and is used for Serial communications (common in Arduino > builds) but I've never heard it associated with Bluetooth. If there is > information regarding Livecode being able to use Bluetooth on a Windows > platform, I'd GREATLY appreciate knowing more about it! > >> > >> Anyone? > >> > >> Douglas Ruisaard > >> > >> Trilogy Software > >> (250) 573-3935 > >> > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of General 2018 via use-livecode > >> Sent: Wednesday, December 22, 2021 3:21 AM > >> To: How to use LiveCode > >> Cc: General 2018 > >> Subject: Re: New user > >> > >> Android Bluetooth / USB would be the ideal as seems to be the most used > interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS > via MergeBLE. > >> > >> Just Android needed to be cross platform in real world interfacing. > >> > >> Regards Camm > >> > >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> For Android and iOS, use WiFi and sockets. This is just as quick and > easy. > >>> > >>> Sean Cole > >>> Pi Digital Productions Ltd > >>> > >>> eMail Ts & Cs > >>> > >>> > >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Just need this capability on Android - please Livecode > >>>> > >>>> Regards Camm > >>>> > >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hi Alex > >>>>> Welcome! > >>>>> I've done exactly and very similar to what you are describing about > 6yrs > >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. > For > >>>>> lighting up miniatures of housing estates and apartment blocks. And > then > >>>>> for some film miniatures for toy commercials and so on. > >>>>> > >>>>> Once you've installed the driver for your adapter on Win10, go to the > >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, > COM2). > >>>>> Now in LiveCode, you don't need to know the driver name to write to. > Just > >>>>> use the command: > >>>>> open driver "COM2:" for write > >>>>> This sets the plane for communication. Next, you need to set up the > >>>>> settings, eg: > >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > >>>>> These are actually the default settings, so do nothing if these are > the > >>>>> settings you want. > >>>>> Now you just need to know the commands to send. > >>>>> > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > >>>>> write "readall" & return to driver "COM2:" > >>>>> read from driver "COM2:" for 4 -- ie, 4 characters > >>>>> The read command immediately after the write allows it to accept the > >>>>> response from the GPIO, in this example, for 4 characters in length > (to > >>>>> receive the 4 hex characters like 16AF) > >>>>> > >>>>> And that's it pretty much. It's super easy and fun. With Wifi > modules you > >>>>> can use any device to communicate with them. We used iPad mini's > which made > >>>>> it super flexible. > >>>>> > >>>>> Let us all know if you run into any issues and need help. > >>>>> > >>>>> All the best > >>>>> > >>>>> Sean Cole > >>>>> *Pi Digital Productions Ltd* > >>>>> > >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work > my way > >>>>>> through a project which I think I can complete. However the project > has to > >>>>>> be able to communicate with an I/O board (Numato 16 channel USB > GPIO Module > >>>>>> for example) from a Windows Standalone application. I have not been > able to > >>>>>> find any guidance or samples for how to do this. This has led me to > wonder > >>>>>> if it is even possible to creat some kind of serial communication > using LC > >>>>>> or whether I should start over with a different platform. I am > doing the LC > >>>>>> work using a Mac. Any help or advice would be much appreciated. > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mkoob at rogers.com Wed Dec 22 19:41:42 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 19:41:42 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <004d01d7f777$34765c60$9d631520$@net> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> Message-ID: <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> I must be in the really ancient fogey range. I remember 1200 baud modems. In the late ’80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort From the above article here are GeoPort speeds. GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) Martin > On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: > > I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. > > I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous > > 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 William Prothero via use-livecode > Sent: Wednesday, December 22, 2021 3:34 PM > To: JJS via use-livecode > Cc: William Prothero > Subject: Livecode downloads VERY slow > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero 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 alex at tweedly.net Wed Dec 22 20:14:23 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2021 01:14:23 +0000 Subject: Livecode downloads VERY slow In-Reply-To: <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> Message-ID: OK, memory lane time. Before we had 1200 baud modems, we used to use acoustic couplers. I often used one to call from the main office (England) to our US office, at a mind-blowing 300 baud. Problem was, in those days (1978 I think), even voice transatlantic calls were hit or miss. Often you got a undersea cable connection (slight delay and echo, but you could have an almost normal conversation), other times you got a satellite connection (usually little or no echo but very high latency, making conversation frustrating). The acoustic coupler call would fail if you got the wrong kind of connection, so we'd usually wait until the middle for the night to make it more likely we'd get a successful call. Ah fond memories of the days when I could stay up till 3am and still function the next day :-) Alex. On 23/12/2021 00:41, Martin Koob via use-livecode wrote: > I must be in the really ancient fogey range. > > I remember 1200 baud modems. In the late 80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. > Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html > > I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort > > From the above article here are GeoPort speeds. > GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) > GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) > GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) > > Martin > > >> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: >> >> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using SpeedTest, I get 110Mb/sec. >> >> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >> >> 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 William Prothero via use-livecode >> Sent: Wednesday, December 22, 2021 3:34 PM >> To: JJS via use-livecode >> Cc: William Prothero >> Subject: Livecode downloads VERY slow >> >> Folks: >> When I download an update to Livecode, it takes hours. Im wondering why. Locally, using SpeedTest, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >> >> Best, >> Bill >> >> William Prothero >> waprothero 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 prothero at earthlearningsolutions.org Wed Dec 22 22:39:40 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 19:39:40 -0800 Subject: Livecode downloads VERY slow In-Reply-To: References: Message-ID: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> I bet I got you all beat, for geezerdom. I learned to program Fortran on punch cards. 3 runs a day and output was delivered by a messenger, human that is. No freakin’ internet for me! If I remember right, our mainframe, a CDC 3600 had 512K of memory. Merry Christmas, fellow Livecoders. Bill Prothero Sent from my iPad > On Dec 22, 2021, at 5:14 PM, Alex Tweedly via use-livecode wrote: > > OK, memory lane time. > > Before we had 1200 baud modems, we used to use acoustic couplers. I often used one to call from the main office (England) to our US office, at a mind-blowing 300 baud. > > Problem was, in those days (1978 I think), even voice transatlantic calls were hit or miss. Often you got a undersea cable connection (slight delay and echo, but you could have an almost normal conversation), other times you got a satellite connection (usually little or no echo but very high latency, making conversation frustrating). > > The acoustic coupler call would fail if you got the wrong kind of connection, so we'd usually wait until the middle for the night to make it more likely we'd get a successful call. > > Ah fond memories of the days when I could stay up till 3am and still function the next day :-) > > Alex. > >> On 23/12/2021 00:41, Martin Koob via use-livecode wrote: >> I must be in the really ancient fogey range. >> >> I remember 1200 baud modems. In the late ’80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. >> Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html >> >> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort >> >> From the above article here are GeoPort speeds. >> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) >> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) >> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) >> >> Martin >> >> >>>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 monte at appisle.net Wed Dec 22 22:53:15 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 23 Dec 2021 14:53:15 +1100 Subject: PDF Viewer widget: expected experience from set the currentDestination? In-Reply-To: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> References: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Message-ID: Hi Keith Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 Here’s a simple example of using the currentDestination though: local tDest put "goto" into tDest["type”] put "Fit" into tDest["mode”] put 3 into tDest["page”] set the currentDestination of widget “pdf" to tDest Cheers Monte > On 23 Dec 2021, at 4:24 am, Keith Clarke via use-livecode wrote: > > Hi folks, > Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? > > I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? > > Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... > > "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” > > Perhaps I’ve missed some settings on the widget to allow it to respond to this message? > TIA > 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 jacque at hyperactivesw.com Thu Dec 23 00:51:34 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 23:51:34 -0600 Subject: Livecode downloads VERY slow In-Reply-To: References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> Message-ID: <17de5d83e70.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Back in the olden days I had a MacBook with a built-in modem, I think it was 1200 baud but maybe it was 14.4. We went up to the north shore of Lake Superior every year for a few days and back then it was about as remote as it gets. The cabin we stayed in had a ruidmentary phone line that went in and out depending on the satelite's mood and how cloudy it was, which was most of the time. I brought a 20 foot phone cable with me and stretched it from the tiny bedroom at the back, where the only phone outlet was, to the "living room" up front across from the wood burning stove, plugged it into the MacBook, and logged into AOL which was the only online service that hadn't yet folded at the time. A few years after that a coffee shop in the little town to the north got an internet connection and I gave up on the phone line. We drove 10 miles into town every day or so, bought a coffee and I logged in to get my email. (Bong bong screeeech bong bong, "YOU'VE GOT MAIL!") When my nephew was young he asked me why I didn't learn programming in high school. I told him there were no personal computers back then. The look on his face indicated he was surprised I hadn't yet mummified. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2021 7:15:55 PM Alex Tweedly via use-livecode wrote: > OK, memory lane time. > > Before we had 1200 baud modems, we used to use acoustic couplers. I > often used one to call from the main office (England) to our US office, > at a mind-blowing 300 baud. > > Problem was, in those days (1978 I think), even voice transatlantic > calls were hit or miss. Often you got a undersea cable connection > (slight delay and echo, but you could have an almost normal > conversation), other times you got a satellite connection (usually > little or no echo but very high latency, making conversation frustrating). > > The acoustic coupler call would fail if you got the wrong kind of > connection, so we'd usually wait until the middle for the night to make > it more likely we'd get a successful call. > > Ah fond memories of the days when I could stay up till 3am and still > function the next day :-) > > Alex. > > On 23/12/2021 00:41, Martin Koob via use-livecode wrote: >> I must be in the really ancient fogey range. >> >> I remember 1200 baud modems. In the late 80s a teacher at our high school >> in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our >> computer club at the school hooked it up to a Commodore PET 2001 and tried >> to connect to Compuserve. Long waits listening to modem squeals but we >> never managed to get connected then. We were in Wawa which is on the north >> shore of Lake Superior so maybe the phone connection was not good enough. >> Here is the state of the art then, >> http://www.technofileonline.com/texts/2400modem88.html >> >> >> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. >> https://apple.fandom.com/wiki/GeoPort >> >> From the above article here are GeoPort speeds. >> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud >> (kbps) >> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud >> (kbps) >> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud >> (kbps) >> >> Martin >> >> >>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode >>> wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download >>> page in about a minute. Using SpeedTest, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we >>> were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. Im wondering why. >>> Locally, using SpeedTest, I get 160Mb/sec internet speeds. Could it be >>> the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 dvglasgow at gmail.com Thu Dec 23 03:34:52 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 23 Dec 2021 08:34:52 +0000 Subject: OT Re: Livecode downloads VERY slow In-Reply-To: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> References: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> Message-ID: <3B6994B8-1DB1-4BB0-BDBD-8377F7F25578@gmail.com> > On 23 Dec 2021, at 3:39 am, William Prothero via use-livecode wrote: > > I bet I got you all beat, for geezerdom. I took the first National UK examinations in 'Computer Studies' in the early 70s. Part of the final exam was to read a short piece of punched tape. With your eyes. Mine said "Marilyn Monroe” Apologies if I have previously posted this. More than once. Now. What was I talking about again? From keith.clarke at me.com Thu Dec 23 04:13:06 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 23 Dec 2021 09:13:06 +0000 Subject: PDF Viewer widget: expected experience from set the currentDestination? In-Reply-To: References: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Message-ID: Thanks Monte - that code sorts the *calling* end of the recipe and the widget changes page to the one containing the currentDestination. However, what about the *receiving* end of the recipe? Nothing seems to be happening upon arrival at the page to get any closer to this particular destination amongst the many on the same page. Where should one look to understand the options and handlers for the specific destination upon arrival *after* the change of page, re scroll into view, zoom, focus, setting the associated hilited text, etc? Best, Keith > On 23 Dec 2021, at 03:53, Monte Goulding via use-livecode wrote: > > Hi Keith > > Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 > > Here’s a simple example of using the currentDestination though: > > local tDest > put "goto" into tDest["type”] > put "Fit" into tDest["mode”] > put 3 into tDest["page”] > set the currentDestination of widget “pdf" to tDest > > Cheers > > Monte > >> On 23 Dec 2021, at 4:24 am, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? >> >> I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? >> >> Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... >> >> "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” >> >> Perhaps I’ve missed some settings on the widget to allow it to respond to this message? >> TIA >> 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 mkoob at rogers.com Thu Dec 23 05:26:22 2021 From: mkoob at rogers.com (KOOB) Date: Thu, 23 Dec 2021 05:26:22 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> References: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> Message-ID: Sooners are people from the ‘Sooner State’ of Oklahoma. https://en.wikipedia.org/wiki/Sooners It is also the moniker of the sports teams of the Oklahoma University https://en.wikipedia.org/wiki/Sooners Martin Koob Sent from my iPad > On Dec 22, 2021, at 4:27 PM, William Prothero via use-livecode wrote: > > Ralph, > Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret feature of apple that auto-errors writing. > > I meant Zoomers, of course (who are Sooners, anyway?) Actually, the auto-correct tried again to make that change. Fool me once …… etc. > > Best, > Bill > > Sent from my iPad > >> On Dec 22, 2021, at 1:20 PM, William Prothero wrote: >> >> Ralph, >> I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. >> >> Grads, don’t we get spoiled! >> >> Best, >> Bill >> >> Sent from my iPad >> >>>> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 curry at pair.com Thu Dec 23 06:38:19 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 23 Dec 2021 06:38:19 -0500 Subject: WordLib 2.3.0.6 Update and Christmas 30% Coupon Code Message-ID: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> I'm happy to announce: WordLib 2.3.0.6. Get it here: http://livecodeaddons.com/wordlib.html Buy it now: https://sowl.co/s/n4Lh1 What is WordLib? Import Microsoft Word and OpenOffice documents right into your own LiveCode fields with the amazing and popular WordLib addon! (Images, tabs, hilites, tables, Unicode, the works.) Changes in this version: WordLib 2.3 fixes text after ordered lists, font/style formatting is more accurate, and you get much cleaner htmlText markup. The User Guide text is freshly-updated with modernized LC scripting samples. Plus, the Media Folder location keeps recent Mac OS versions happy. Most important of all are the backend changes: not only for WordLib but all Curry K. addons. That paves the way for faster updates* (!) and for greater things still to come. WordLib Revised Pricing: Kill inflation while you conquer documents! I've lowered the addon full price. Ho ho ho.... - Major versions (2.3, 2.4, 3.0) cost $49 USD. (Same price for everyone; new and upgrades.) - Any minor updates to a version are free. (2.3 License key works for all 2.3.x.x versions.) *New goal is 1 major update per year; we'll see. Christmas Coupon Code: Coupon: NOEL-2021 Discount: Extra 30% Off (Christmas Coupon active now through New Year. Be sure to enter the Coupon during checkout!) WordLib is tested primarily with LiveCode 9.6 on Windows 10 i5 and Mac Big Sur M1. (Still works on LC 6.7 too.) I'll post more info and plans tonight. This is the first step in a bigger effort.... Happy coding! Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From marksmithhfx at gmail.com Thu Dec 23 10:07:14 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 23 Dec 2021 15:07:14 +0000 Subject: Keyboard in iOS 15.x Message-ID: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> It seems the keyboard in iOS 15 has gained some height and that is causing a problem. Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next one added will cause the keyboard to cover the row. The previous solution has been to redraw the datagid so it occupies the space above the keyboard (and then scroll the new line into view). This worked fine as long as the KB always occupied a fixed amount of space (height). The new one in iOS 15 appears to be approximately 1 row of keys taller, this row being filled with blank slots for word guesses while you type (an option I would not even know how to make use of). Solutions: one option is to simply redraw the datagrid to be above the new keyboard height. Problem is I have been hard coding this (ie. changing the bottom of the keyboard from 452 (activated) to 613 (deactivated) as required). This is less than ideal because as I have now witnessed in iOS 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. the size/height of the keyboard is now dynamic. Ideally I would be able to query the height of the keyboard, or the amount of available screen space, so that I could adjust the bottom of my datagrid appropriately. Has anyone else been looking into this issue and how have you resolved it? Thanks Mark From merakosp at gmail.com Thu Dec 23 10:25:14 2021 From: merakosp at gmail.com (panagiotis m) Date: Thu, 23 Dec 2021 17:25:14 +0200 Subject: Keyboard in iOS 15.x In-Reply-To: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> Message-ID: Hello Mark, What about using: mobileSetKeyboardDisplay "pan" See the dictionary for more details. Cheers, Panos On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > It seems the keyboard in iOS 15 has gained some height and that is causing > a problem. > > Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next > one added will cause the keyboard to cover the row. The previous solution > has been to redraw the datagid so it occupies the space above the keyboard > (and then scroll the new line into view). This worked fine as long as the > KB always occupied a fixed amount of space (height). The new one in iOS 15 > appears to be approximately 1 row of keys taller, this row being filled > with blank slots for word guesses while you type (an option I would not > even know how to make use of). > > Solutions: one option is to simply redraw the datagrid to be above the new > keyboard height. Problem is I have been hard coding this (ie. changing the > bottom of the keyboard from 452 (activated) to 613 (deactivated) as > required). This is less than ideal because as I have now witnessed in iOS > 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. > the size/height of the keyboard is now dynamic. Ideally I would be able to > query the height of the keyboard, or the amount of available screen space, > so that I could adjust the bottom of my datagrid appropriately. > > Has anyone else been looking into this issue and how have you resolved it? > > Thanks > Mark > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Thu Dec 23 12:28:07 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 23 Dec 2021 17:28:07 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> Message-ID: <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. You should probably be on vacation now, so enjoy your well deserved time off!! Mark > On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: > > Hello Mark, > > What about using: > > mobileSetKeyboardDisplay "pan" > > See the dictionary for more details. > > Cheers, > Panos > > > > On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It seems the keyboard in iOS 15 has gained some height and that is causing >> a problem. >> >> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >> one added will cause the keyboard to cover the row. The previous solution >> has been to redraw the datagid so it occupies the space above the keyboard >> (and then scroll the new line into view). This worked fine as long as the >> KB always occupied a fixed amount of space (height). The new one in iOS 15 >> appears to be approximately 1 row of keys taller, this row being filled >> with blank slots for word guesses while you type (an option I would not >> even know how to make use of). >> >> Solutions: one option is to simply redraw the datagrid to be above the new >> keyboard height. Problem is I have been hard coding this (ie. changing the >> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >> required). This is less than ideal because as I have now witnessed in iOS >> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >> the size/height of the keyboard is now dynamic. Ideally I would be able to >> query the height of the keyboard, or the amount of available screen space, >> so that I could adjust the bottom of my datagrid appropriately. >> >> Has anyone else been looking into this issue and how have you resolved it? >> >> Thanks >> Mark >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Dec 23 22:03:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 23 Dec 2021 22:03:16 -0500 Subject: WordLib 2.3.0.6 Update and Christmas 30% Coupon Code In-Reply-To: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> References: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> Message-ID: <006ace73-bbb5-030a-088b-4ebb968368b4@pair.com> Continuing from this morning.... WordLib 2.3 store notes: It looks like the LiveCode Ltd store still has WordLib version 2.2 online; they'll have 2.3 set up eventually due to the holiday timing. Meantime, order 2.3 at Curry K./SendOwl; they are delivering WordLib keys instantly, and I've got 1,000 keys in stock there so the orders are flowing smoothly. (Don't forget your Coupon during checkout!) Christmas Coupon Code: Coupon: NOEL-2021 Discount: Extra 30% Off Get it here: http://livecodeaddons.com/wordlib.html Buy it now: https://sowl.co/s/n4Lh1 --- Curry K. backend notes: The backend is now about 5x more automated, not only for WordLib but all Curry K. addons. That's crucial for faster public updates. Originally I thought 5x would be perfect, but after this WordLib release (pant pant) I need to further double the automation! Then updates will be truly efficient. So, now that's on top of my addon to-do list. (Right after restoring SpreadLib ordering, which went offline when eSellerate choked. Alas eSellerate is no more; thus a new store.) Coming up next: 1. Restoring SpreadLib ordering (This week) 2. Further backend automation (Early January) 3. WordReport Update (End of January?) 4. SpreadLib/WordOut Updates (Schedule TBD) 5. The next big thing.... (and FT) :) Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From williamdesmet at gmail.com Fri Dec 24 06:33:48 2021 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 24 Dec 2021 12:33:48 +0100 Subject: Strange thing: older App Store app fullscreen shown on iOS 15.2 Message-ID: Hi there, I got a new iPad 2021 with iOS 15.2 (10.2 inch) and downloaded some of my own older apps on it from the App Store. These apps have been there for several years and the last update was from 2019. I noticed that these apps are shown fullscreen and that is strange because none of these apps contain fullscreen scripting. They were all made for the 9.7 inch iPads. When I put a test app on it with LC 9.9.6 and Xcode13.2 the app is not shown full screen. Is this Apple and iOS 15? Does iOS 15 show apps from the App Store fullscreen? greetings, William From klaus at major-k.de Fri Dec 24 07:48:27 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Dec 2021 13:48:27 +0100 Subject: add a "scale" option to the icongravity Message-ID: Hi all, I just added a feature request to the quality center. For ICONGRAVITY we now have the "resoie" option, which will scale the image unproportionally in the button, which is erm. not the best option... 8-) Maybe we can have a "scale" option, too, which will scale the image in the button, but always proportionally! That would make snse and remove some extra work! Fell free to add a comment: Have some nice holidays! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Fri Dec 24 08:30:13 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 24 Dec 2021 08:30:13 -0500 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. Merry Christmas everyone! Brian Sent from my iPhone > On Dec 24, 2021, at 7:49 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I just added a feature request to the quality center. > > For ICONGRAVITY we now have the "resoie" option, > which will scale the image unproportionally in the button, > which is erm. not the best option... 8-) > > Maybe we can have a "scale" option, too, which will scale the > image in the button, but always proportionally! > That would make snse and remove some extra work! > > Fell free to add a comment: > > > Have some nice holidays! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 24 08:36:46 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Dec 2021 14:36:46 +0100 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: <73822E95-8342-456A-A638-676CF93C16BE@major-k.de> Hi Brian, > Am 24.12.2021 um 14:30 schrieb Brian Milby via use-livecode : > > Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? no idea, please ask me something easier. :-D > I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. Whatever you need to to, I am only interested in the result, a proportionally sized icon in the button. ;-) > Merry Christmas everyone! > Brian Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From marksmithhfx at gmail.com Fri Dec 24 09:02:56 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 24 Dec 2021 14:02:56 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> Message-ID: <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> Hi Panos, I discovered the “extra” line at the top of the keyboard was called “predictive” in the keyboard settings. Turning predictive off removes the extra line, so that solved the immediate problem, but not the longer term one (which can only really be fixed by either “pinning" the header bar during a “pan” or knowing where the top of the keyboard is for appropriate DG resizing.) I'll make a feature request in the QCC. Merry Christmas and Happy Holidays to all, Mark > On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: > > Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. > > You should probably be on vacation now, so enjoy your well deserved time off!! > > Mark > > >> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: >> >> Hello Mark, >> >> What about using: >> >> mobileSetKeyboardDisplay "pan" >> >> See the dictionary for more details. >> >> Cheers, >> Panos >> >> >> >> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> It seems the keyboard in iOS 15 has gained some height and that is causing >>> a problem. >>> >>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>> one added will cause the keyboard to cover the row. The previous solution >>> has been to redraw the datagid so it occupies the space above the keyboard >>> (and then scroll the new line into view). This worked fine as long as the >>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>> appears to be approximately 1 row of keys taller, this row being filled >>> with blank slots for word guesses while you type (an option I would not >>> even know how to make use of). >>> >>> Solutions: one option is to simply redraw the datagrid to be above the new >>> keyboard height. Problem is I have been hard coding this (ie. changing the >>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>> required). This is less than ideal because as I have now witnessed in iOS >>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>> query the height of the keyboard, or the amount of available screen space, >>> so that I could adjust the bottom of my datagrid appropriately. >>> >>> Has anyone else been looking into this issue and how have you resolved it? >>> >>> Thanks >>> Mark >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 24 12:02:45 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2021 11:02:45 -0600 Subject: Keyboard in iOS 15.x In-Reply-To: <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> Message-ID: <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> "The working screenrect" should give you the area you have available when the keyboard is up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 24, 2021 8:05:08 AM Mark Smith via use-livecode wrote: > Hi Panos, > > I discovered the extra line at the top of the keyboard was called > predictive in the keyboard settings. Turning predictive off removes the > extra line, so that solved the immediate problem, but not the longer term > one (which can only really be fixed by either pinning" the header bar > during a pan or knowing where the top of the keyboard is for appropriate > DG resizing.) I'll make a feature request in the QCC. > > Merry Christmas and Happy Holidays to all, > > Mark > > >> On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: >> >> Thanks Panos, I appreciate the quick response. That works reasonably well >> except the card has a header bar and using the pan option moves the >> header bar off screen as well, which unfortunately hides some important >> header bar controls. If we could stick the header bar while panning the >> dg (so it visually looks like it is sliding underneath the header bar) that >> would be the best solution. I might try and see if there is a way to do >> that. Otherwise for now Ill just hard code a resize of the dg when the >> keyboard is activated and adjust the code using the new iPhoneDeviceModel >> function to fine tune it for different screen sizes. >> >> You should probably be on vacation now, so enjoy your well deserved time off!! >> >> Mark >> >> >>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode >>> wrote: >>> >>> Hello Mark, >>> >>> What about using: >>> >>> mobileSetKeyboardDisplay "pan" >>> >>> See the dictionary for more details. >>> >>> Cheers, >>> Panos >>> >>> >>> >>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> It seems the keyboard in iOS 15 has gained some height and that is causing >>>> a problem. >>>> >>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>>> one added will cause the keyboard to cover the row. The previous solution >>>> has been to redraw the datagid so it occupies the space above the keyboard >>>> (and then scroll the new line into view). This worked fine as long as the >>>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>>> appears to be approximately 1 row of keys taller, this row being filled >>>> with blank slots for word guesses while you type (an option I would not >>>> even know how to make use of). >>>> >>>> Solutions: one option is to simply redraw the datagrid to be above the new >>>> keyboard height. Problem is I have been hard coding this (ie. changing the >>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>>> required). This is less than ideal because as I have now witnessed in iOS >>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>>> query the height of the keyboard, or the amount of available screen space, >>>> so that I could adjust the bottom of my datagrid appropriately. >>>> >>>> Has anyone else been looking into this issue and how have you resolved it? >>>> >>>> Thanks >>>> Mark >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Fri Dec 24 13:01:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 24 Dec 2021 18:01:00 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I am so hoping you are right Jacky. Will have a chance to test on boxing day and will let you know. Best, and Merry Christmas. Mark > On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode wrote: > > "The working screenrect" should give you the area you have available when the keyboard is up. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 24, 2021 8:05:08 AM Mark Smith via use-livecode wrote: > >> Hi Panos, >> >> I discovered the “extra” line at the top of the keyboard was called “predictive” in the keyboard settings. Turning predictive off removes the extra line, so that solved the immediate problem, but not the longer term one (which can only really be fixed by either “pinning" the header bar during a “pan” or knowing where the top of the keyboard is for appropriate DG resizing.) I'll make a feature request in the QCC. >> >> Merry Christmas and Happy Holidays to all, >> >> Mark >> >> >>> On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: >>> >>> Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. >>> >>> You should probably be on vacation now, so enjoy your well deserved time off!! >>> >>> Mark >>> >>> >>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: >>>> >>>> Hello Mark, >>>> >>>> What about using: >>>> >>>> mobileSetKeyboardDisplay "pan" >>>> >>>> See the dictionary for more details. >>>> >>>> Cheers, >>>> Panos >>>> >>>> >>>> >>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> It seems the keyboard in iOS 15 has gained some height and that is causing >>>>> a problem. >>>>> >>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>>>> one added will cause the keyboard to cover the row. The previous solution >>>>> has been to redraw the datagid so it occupies the space above the keyboard >>>>> (and then scroll the new line into view). This worked fine as long as the >>>>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>>>> appears to be approximately 1 row of keys taller, this row being filled >>>>> with blank slots for word guesses while you type (an option I would not >>>>> even know how to make use of). >>>>> >>>>> Solutions: one option is to simply redraw the datagrid to be above the new >>>>> keyboard height. Problem is I have been hard coding this (ie. changing the >>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>>>> required). This is less than ideal because as I have now witnessed in iOS >>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>>>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>>>> query the height of the keyboard, or the amount of available screen space, >>>>> so that I could adjust the bottom of my datagrid appropriately. >>>>> >>>>> Has anyone else been looking into this issue and how have you resolved it? >>>>> >>>>> Thanks >>>>> Mark >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Dec 24 15:16:20 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Fri, 24 Dec 2021 20:16:20 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Mark, Just adding to what Jacquie wrote, there is also the effective working screenrect. Use both to work out which is best for your requirements. All the best in working it out. Sean On Fri, 24 Dec 2021 at 18:01, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > I am so hoping you are right Jacky. Will have a chance to test on boxing > day and will let you know. > > Best, and Merry Christmas. > > Mark > > > > On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > "The working screenrect" should give you the area you have available > when the keyboard is up. > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > On December 24, 2021 8:05:08 AM Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Hi Panos, > >> > >> I discovered the “extra” line at the top of the keyboard was called > “predictive” in the keyboard settings. Turning predictive off removes the > extra line, so that solved the immediate problem, but not the longer term > one (which can only really be fixed by either “pinning" the header bar > during a “pan” or knowing where the top of the keyboard is for appropriate > DG resizing.) I'll make a feature request in the QCC. > >> > >> Merry Christmas and Happy Holidays to all, > >> > >> Mark > >> > >> > >>> On Dec 23, 2021, at 5:28 PM, Mark Smith > wrote: > >>> > >>> Thanks Panos, I appreciate the quick response. That works reasonably > well except the card has a header bar and using the “pan” option moves the > header bar off screen as well, which unfortunately hides some important > header bar controls. If we could “stick” the header bar while panning the > dg (so it visually looks like it is sliding underneath the header bar) that > would be the best solution. I might try and see if there is a way to do > that. Otherwise for now I’ll just hard code a resize of the dg when the > keyboard is activated and adjust the code using the new iPhoneDeviceModel > function to fine tune it for different screen sizes. > >>> > >>> You should probably be on vacation now, so enjoy your well deserved > time off!! > >>> > >>> Mark > >>> > >>> > >>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Hello Mark, > >>>> > >>>> What about using: > >>>> > >>>> mobileSetKeyboardDisplay "pan" > >>>> > >>>> See the dictionary for more details. > >>>> > >>>> Cheers, > >>>> Panos > >>>> > >>>> > >>>> > >>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> It seems the keyboard in iOS 15 has gained some height and that is > causing > >>>>> a problem. > >>>>> > >>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and > the next > >>>>> one added will cause the keyboard to cover the row. The previous > solution > >>>>> has been to redraw the datagid so it occupies the space above the > keyboard > >>>>> (and then scroll the new line into view). This worked fine as long > as the > >>>>> KB always occupied a fixed amount of space (height). The new one in > iOS 15 > >>>>> appears to be approximately 1 row of keys taller, this row being > filled > >>>>> with blank slots for word guesses while you type (an option I would > not > >>>>> even know how to make use of). > >>>>> > >>>>> Solutions: one option is to simply redraw the datagrid to be above > the new > >>>>> keyboard height. Problem is I have been hard coding this (ie. > changing the > >>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as > >>>>> required). This is less than ideal because as I have now witnessed > in iOS > >>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the > keys. ie. > >>>>> the size/height of the keyboard is now dynamic. Ideally I would be > able to > >>>>> query the height of the keyboard, or the amount of available screen > space, > >>>>> so that I could adjust the bottom of my datagrid appropriately. > >>>>> > >>>>> Has anyone else been looking into this issue and how have you > resolved it? > >>>>> > >>>>> Thanks > >>>>> Mark > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Fri Dec 24 15:31:55 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 25 Dec 2021 07:31:55 +1100 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: <9BCFCBE6-2D05-458B-A8D4-3C1AE820AC42@optusnet.com.au> > Wouldn?t you really need another property like ?iconSizing? which would have values of ?none? or ?clip? (current behavior), ?resize? or ?fill? (the current iconGravity option), and ?scale? (your proposal)? I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. I think often the best option is “scale to fit” by which I mean scale the image down to fit the button keeping the same aspect ratio *if* it is too large, but leave the original image size as is if it will already fit, *do not* upscale, which can cause pixelation. It is neither the current ”resize” nor the usual “scale to fit" From eurolinkal at aol.com Fri Dec 24 15:41:06 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Fri, 24 Dec 2021 12:41:06 -0800 Subject: New user In-Reply-To: References: Message-ID: Thanks Sean for that help. I’m tangled up in Holiday Domestic Duties at the moment but will give it a try in the new year. Meantime questions rolling around my head; if I’m writing the LC prog on a Mac do I have to designate the (PC) com port in that code, which I’m thinking would mean it couldn’t be tested right there and then on the Mac? Also, I’m toying with the idea of using an Arduino as my I/O device. Does that sound healthy? Season’s greeting to all the list. best, Alex On December 21, 2021 at 5:37:14 PM, Sean Cole via use-livecode (use-livecode at lists.runrev.com) wrote: Hi Alex Welcome! I've done exactly and very similar to what you are describing about 6yrs ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For lighting up miniatures of housing estates and apartment blocks. And then for some film miniatures for toy commercials and so on. Once you've installed the driver for your adapter on Win10, go to the Device Manager, Ports and find out what COM port it's linked to (eg, COM2). Now in LiveCode, you don't need to know the driver name to write to. Just use the command: open driver "COM2:" for write This sets the plane for communication. Next, you need to set up the settings, eg: set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" These are actually the default settings, so do nothing if these are the settings you want. Now you just need to know the commands to send. https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 write "readall" & return to driver "COM2:" read from driver "COM2:" for 4 -- ie, 4 characters The read command immediately after the write allows it to accept the response from the GPIO, in this example, for 4 characters in length (to receive the 4 hex characters like 16AF) And that's it pretty much. It's super easy and fun. With Wifi modules you can use any device to communicate with them. We used iPad mini's which made it super flexible. Let us all know if you run into any issues and need help. All the best Sean Cole *Pi Digital Productions Ltd* On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way > through a project which I think I can complete. However the project has to > be able to communicate with an I/O board (Numato 16 channel USB GPIO Module > for example) from a Windows Standalone application. I have not been able to > find any guidance or samples for how to do this. This has led me to wonder > if it is even possible to creat some kind of serial communication using LC > or whether I should start over with a different platform. I am doing the LC > work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 24 15:44:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2021 14:44:38 -0600 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: > Just adding to what Jacquie wrote, there is also the effective working > screenrect. You're right, "effective" was added to account for the keyboard on mobile. I'd start with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Fri Dec 24 16:08:27 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 24 Dec 2021 21:08:27 +0000 Subject: New user In-Reply-To: References: Message-ID: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> I’m refitting the bathroom and laying new carpet in the upstairs hallway, so have Hol Dom Dues too ;) Arduino will be basically the same as any other IO with the added benefit that you have control over the controller by your own Arduino coding. There is a difference in approach for PC vs Mac. For some reason, I think because of one of the other replies, I got confusededed and thought you’d been developing from a PC. For Mac, you need to look in either the /dev folder or the /Library/extensions folder and find the path for the IO driver. See the LC documentation for ‘serialControlString’ and ‘open driver’. My son and I have been working on a physical Train Sim World controller which is basically the whole dashboard from a Class 365. It uses an Arduino board and a digital serial shunt to pick up all the buttons, switches and sliders and control lights and dials. This is then picked up by LiveCode and converted into XML for TSW to read from live and control the Sim and provide feedback for the gauges. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 24 Dec 2021, at 20:42, Alex Hughson wrote: > > Thanks Sean for that help. I’m tangled up in Holiday Domestic Duties at the moment but will give it a try in the new year. Meantime questions rolling around my head; if I’m writing the LC prog on a Mac do I have to designate the (PC) com port in that code, which I’m thinking would mean it couldn’t be tested right there and then on the Mac? Also, I’m toying with the idea of using an Arduino as my I/O device. Does that sound healthy? > > Season’s greeting to all the list. best, Alex > > > On December 21, 2021 at 5:37:14 PM, Sean Cole via use-livecode (use-livecode at lists.runrev.com) wrote: > > Hi Alex > Welcome! > I've done exactly and very similar to what you are describing about 6yrs > ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For > lighting up miniatures of housing estates and apartment blocks. And then > for some film miniatures for toy commercials and so on. > > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > >> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >> through a project which I think I can complete. However the project has to >> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >> for example) from a Windows Standalone application. I have not been able to >> find any guidance or samples for how to do this. This has led me to wonder >> if it is even possible to creat some kind of serial communication using LC >> or whether I should start over with a different platform. I am doing the LC >> work using a Mac. Any help or advice would be much appreciated. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 25 12:25:22 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Sat, 25 Dec 2021 17:25:22 +0000 Subject: (area used by) Keyboard in iOS 15.x In-Reply-To: <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> Message-ID: Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1, which has iphoneSafeAreaInsets for discerning the safe area from furniture like the notch and so on. I haven't tested this but that may also include things like the keyboard and predictive areas. I just thought it was worth a mention here. Regards Sean On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: > > Just adding to what Jacquie wrote, there is also the effective working > > screenrect. > > You're right, "effective" was added to account for the keyboard on mobile. > I'd start with that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Sun Dec 26 21:20:21 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 02:20:21 +0000 Subject: Communication with future you with a message board In-Reply-To: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: <051A4CB9-B975-4CB1-A2ED-DB3B436BC74E@iotecdigital.com> What would be scary, is if you WERE the same person… with a basket full on unmatching socks. Sent from my iPhone > On Dec 22, 2021, at 12:49, J. Landman Gay via use-livecode wrote: > > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the time it was a response from many years ago and I'm not the same person any more. Maybe that's scary... > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 26 22:16:06 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:16:06 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: This is brilliant, and likely fixes the creeping stack position in a multi-monitor environment. Sent from my iPhone > On Dec 21, 2021, at 07:29, panagiotis m via use-livecode wrote: > > Hello Mike, > >>>>> When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were > ignored, because for some reasons deep in the engine, if they were not > ignored, LC was freezing and eventually crashing. This behavior has now > changed, and these errors are caught in an error dialog window, rather > than failing silently. > >>>>> Conversions between global and local co-ordinates are now correct > on multi-screen macOS systems. > In other words, LiveCode will now play nicely in a multi-monitor setup. > Previously you had to make sure that the virtual tops of the 2 (or more) > monitors were aligned, otherwise you were getting incorrect behavior in > various cases. Now, you can arrange the monitors any way you want, and > things will work as expected. > > Cheers, > Panos > -- > > > >> On Tue, 21 Dec 2021 at 17:17, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Things that made me say "WHAT?" >> - When a runtime error occurs in a context where the script debugger >> cannot run, the error dialog will be displayed rather than failing silently >> WHAT? Who are you people? >> - Conversions between global and local co-ordinates are now correct >> on multi-screen macOS systems. >> WHAT? HAHAHAHA. OK, that's funny. You got me. >> >> >> On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.6 RC-1. >>> >>> >>> Getting the Release >>> =================== >>> You can find the release in your LiveCode account area or get it via the >>> automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode >>> account, please scroll down to below the list of stable releases, to find >>> your available test releases. >>> >>> Release Contents >>> ================ >>> LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots >> of >>> the bugs you requested in the recent survey: >>> >>> New Features: >>> - iOS device safe area insets function >>> An iphoneSafeAreaInsets function has been added to enable getting the >> safe >>> area insets of the device the app is running on. These can be used to >>> adjust your app's user interface elements to avoid areas that are covered >>> by device furniture, e.g. the notch. >>> >>> - Android adaptive icons >>> It is now possible to configure your Android apps to use adaptive icons. >>> To use adaptive icons, generate them using the Image Asset Editor in >>> Android Studio and >>> then choose the resulting res folder in the android standalone settings >>> pane. >>> >>> - Android app query whitelist >>> Support has been added for specifying which other apps can be interacted >>> with via the intent and other (custom) URL schemes. >>> Since Android 11, by default, an app cannot interact with any others due >> to >>> changes to package visibility. You must now specify which apps you need >>> access to by adding their ids to the App ID Query Whitelist field in the >>> Android standalone settings. >>> >>> >>> Bug Fixes: >>> - Opening HyperCard stacks will no longer cause a crash >>> - Support for the system date and the system time has been added on >> Android >>> - A stack's rect will no longer become out of sync with its actual >> position >>> after being moved in the IDE on macOS >>> - A wider range of TrueType font files will now work on Android and Web >>> - Use of the term Tutorials have been replaced by the term Lessons >>> throughout the IDE >>> - When a runtime error occurs in a context where the script debugger >> cannot >>> run, the error dialog will be displayed rather >>> than failing silently >>> - Conversions between global and local co-ordinates are now correct on >>> multi-screen macOS systems. >>> - The welcome tutorial can now be started on first run via the Start >>> Interative Welcome button in the start center >>> - Starting a new tutorial will now close the previous tutorial's stack, >> if >>> present >>> - The performance of the script editor while typing has been improved >>> - Downloading large amounts of data using tsNet on Windows is now >>> substantially faster >>> - Invalid PDFs will no longer be generated when using the open printing >> to >>> PDF command on Windows using the 64-bit engine >>> - Script debugging will no longer fail to work intermittently when >> running >>> the IDE with pro features >>> - Scripts which run without locking the screen are no longer slower on >>> macOS Big Sur and later >>> - The drawing library now correctly handle gradients which are referred >> to >>> using an id containing - or _ >>> - Key events will now work correctly after a modal dialog is shown from a >>> mouseUp handler in a grouped control >>> - The iphoneDeviceModel function now returns the correct model string >> when >>> run on an iOS/iPadOS simulator. >>> - Default buttons and progress bars will no longer cause unnecessary CPU >>> usage on macOS 10.10 (Yosemite) or later >>> - The byteOffset function will no longer cause incorrect results in some >>> cases nor cause a crash >>> - Scripts containing accented characters will no longer incorrectly >> report >>> being externally modified >>> - Using the print link command when printing to PDF on Windows no longer >>> causes a crash >>> - The copyright notices in the engine app bundle (macOS) and exe >> (Windows) >>> have been updated >>> - A significant memory leak in the browser widget on macOS has been >>> resolved >>> - POST data larger than 64kb is now parsed correctly by the Windows >> server >>> engine >>> - Audio-only players no longer consume excessive CPU when in Edit Mode on >>> macOS Big Sur >>> - WebGL content now displays in the browser widget when running on macOS >>> 12.x (Monterey) >>> - The union (and other set operation) commands now throw an error if >> there >>> is no into clause and the target is not a declared variable >>> - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now >> supported >>> - Local file and content access has been re-enabled in the browser widget >>> and native control on Android >>> - Touch events now occur at the correct location when handled by objects >>> underneath a disabled Android scroller >>> - SVG elements with a stroke-width of 0 are no longer drawn with a >> hairline >>> stroke >>> - There is no longer a delay when opening the IDE menus on macOS >>> - Selecting a specific browser to test a web project against now works >>> correctly >>> - The overhead of using "do .." to evaluate long JavaScript scripts in >> the >>> browser widget on Android has been greatly reduced >>> >>> For the full list of all fixes, updates and enhancements please see the >>> release notes: >>> >> http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf >>> >>> >>> Known issues >>> ============ >>> - The Browser widget's native layer is not shown in some Linux distros >> with >>> Cinnamon window manager. >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit >> LTS >>> yet. >>> >>> >>> Required Software >>> ================= >>> To build iOS apps with LiveCode you must have the appropriate versions of >>> Xcode as follows: >>> >>> - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS >> 12.1 >>> SDK >>> - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS >>> 13.2 SDK >>> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS >>> 14.4 SDK >>> - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS >> 15.2 >>> SDK >>> >>> There is a full list of working LiveCode/macOS/Xcode combinations here: >>> https://livecode.com/docs/9-5-0/faq/faq/ >>> >>> Note: Whilst we endeavour to release updated versions of LiveCode >>> supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly >>> recommend disabling automatic update of Xcode or downloading the specific >>> version of Xcode required directly from the Apple developer portal and >>> installing it separately. >>> >>> Important: From the start of April 2021, Apple is only accepting apps >> built >>> using iOS14.x SDKs. This means that, if you wish to submit apps to the >>> AppStore you will have to be running at least macOS 10.15 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 at >>> http://forums.livecode.com >>> >>> >>> Have fun! >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 26 22:18:05 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:18:05 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: <778E45FF-1080-4206-9C1E-2AEA1DB36D7A@iotecdigital.com> +1 Sent from my iPhone > On Dec 22, 2021, at 12:55, J. Landman Gay via use-livecode wrote: > > On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: >> It is nice to know that HyperCard stacks can still be opened. > > Yes, and what good timing. I just got the first HC conversion request in years. And my old copy of LC 6 won't run on my current Mac. > > Another thing I'm ecstatic about is the built-in Android adaptive icons. Struggling with altered IDE files for the last year made me crazy and it had to be done for every new LC release. And I usually made mistakes and had to revise them multiple times. > > This release is hugely appreciated, there's so much to love in it. Thank you, 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 bobsneidar at iotecdigital.com Sun Dec 26 22:19:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:19:36 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: <88021925-9699-4912-8377-15EF57B10C7D@iotecdigital.com> +1 Sent from my iPhone > On Dec 22, 2021, at 14:36, Tom Glod via use-livecode wrote: > > Its so lovely to see a big list of fixes, thats how thats done. > > Thank you Livecode team and all the best for the Christmas season to > everyone. > >> On Wed, Dec 22, 2021 at 3:55 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: >>> It is nice to know that HyperCard stacks can still be opened. >> >> Yes, and what good timing. I just got the first HC conversion request in >> years. And my old copy >> of LC 6 won't run on my current Mac. >> >> Another thing I'm ecstatic about is the built-in Android adaptive icons. >> Struggling with >> altered IDE files for the last year made me crazy and it had to be done >> for every new LC >> release. And I usually made mistakes and had to revise them multiple times. >> >> This release is hugely appreciated, there's so much to love in it. Thank >> you, 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Dec 27 07:05:05 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 27 Dec 2021 12:05:05 +0000 Subject: (area used by) Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> Message-ID: <038AC7C0-4693-4441-8565-FFC9322C545A@gmail.com> Thank you Sean and Jacque, I’ve not had a chance to work on a complete solution but thought I would make a test run to see what “the effective working screenrect” was returning and as the following indicates, it does in fact take into consideration the keyboard. I just coded up one line to run whenever the status of the keyboard changed and tried it both with and without the “predictive” option turned on. As you can see, it was very sensitive to this change… without predictive: 9:37:14 PM keyboardActivated 0,0,375,451 9:37:15 PM keyboardDeactivated 0,0,375,667 9:37:18 PM keyboardActivated 0,0,375,451 9:37:19 PM keyboardDeactivated 0,0,375,667 9:37:19 PM keyboardActivated 0,0,375,451 9:37:23 PM keyboardDeactivated 0,0,375,667 with predictive: 9:56:54 PM keyboardActivated 0,0,375,407 9:56:55 PM keyboardDeactivated 0,0,375,667 9:56:55 PM keyboardActivated 0,0,375,407 9:56:57 PM keyboardDeactivated 0,0,375,667 In my particular case not all 4 value are immediately useful. For example, I have a fixed header and footer that need to be accommodated so the correct “useable” rect for me is: 0,69, 377, 618 (for no predictive) 0,69,377,456 ( for predictive) but this can easily be accommodated since the header/footer values don’t change. The beauty is I now have a rect lower bound (ie. keyboard height) that actually reflects where the keyboard is. Brilliant!! Thank you both, Mark Sean, I tried iPhoneSafeAreaInsets() but it appears it returns a constant set of values regardless of keyboard position on my iPhone 12 11:51:22 AM keyboardActivated 0,47,0,34 11:51:22 AM keyboardDeactivated 0,47,0,34 11:51:26 AM keyboardActivated 0,47,0,34 11:51:26 AM keyboardDeactivated 0,47,0,34 And didn’t change when I added / subtracted “predictive”. So, just the available usable space at the top and bottom of the screen. I haven’t adjusted my app yet to fully take advantage of the larger screen on a 12 (it was developed on a 6S) but when I get to more response design this will be useful to know where the usable top and bottom are. Cheers!! > On Dec 25, 2021, at 5:25 PM, Sean Cole via use-livecode wrote: > > Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1, > which has iphoneSafeAreaInsets for discerning the safe area from furniture > like the notch and so on. I haven't tested this but that may also include > things like the keyboard and predictive areas. I just thought it was worth > a mention here. > > Regards > Sean > > On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: >>> Just adding to what Jacquie wrote, there is also the effective working >>> screenrect. >> >> You're right, "effective" was added to account for the keyboard on mobile. >> I'd start with that. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Dec 27 11:24:42 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 27 Dec 2021 11:24:42 -0500 Subject: tmc2 hacks Message-ID: tmc2 still gives me better ui's than native widgets do. i have been messing with it for a while, including experimenting with breaking it into SOS's to see if i can get it to play nicely with levure. today's conversation about keyboards on mobile reminded me that it would be good to add some of those properties. has anyone else been modding/hacking tmc2? From scott at elementarysoftware.com Tue Dec 28 05:27:45 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:27:45 -0800 Subject: chartsEngine bug with version 10 of LC Message-ID: I’ve encountered a problem with the third-party LiveCode product chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a high enough version number. (AnimationEngine was reporting a similar error which I was able to fix since the scripts are open.) ChartsEngine is, however, locked. Originally written by Malte Brill, the current owner is, I believe, Björnke von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else pondering this issue? I use chartsEngine in two commercial mobile apps so I’m hoping to work out a solution rather than rebuild the charting layout portion of these apps once building with 10.x versions of LC is required. And just for my own curiosity, (this is what I encountered in animationEngine so I’m assuming something similar in chartsEngine) I’m interested in an explanation (rather than my own guess) for why "9.6.6-rc-1” evaluates as not less than 5 but "10.0.0-dp-1” evaluates to less than 5 . -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From scott at elementarysoftware.com Tue Dec 28 05:35:30 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:35:30 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: <5E087A48-439E-4ECF-92A1-578DC22B60CD@elementarysoftware.com> I mistyped Björnke’s name; it is “Björnke von Gierke" > On Dec 28, 2021, at 2:27 AM, scott--- via use-livecode wrote: > > > I’ve encountered a problem with the third-party LiveCode product chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a high enough version number. (AnimationEngine was reporting a similar error which I was able to fix since the scripts are open.) ChartsEngine is, however, locked. Originally written by Malte Brill, the current owner is, I believe, Björnke von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else pondering this issue? I use chartsEngine in two commercial mobile apps so I’m hoping to work out a solution rather than rebuild the charting layout portion of these apps once building with 10.x versions of LC is required. > > And just for my own curiosity, (this is what I encountered in animationEngine so I’m assuming something similar in chartsEngine) I’m interested in an explanation (rather than my own guess) for why "9.6.6-rc-1” evaluates as not less than 5 but "10.0.0-dp-1” evaluates to less than 5 . > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 28 05:39:48 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:39:48 -0800 Subject: tmc2 hacks In-Reply-To: References: Message-ID: I have not been modding tmc2 but I do still use some of those slick objects. (I have modded a few of the gauges in Scott's older tmgauges project. :- ) > On Dec 27, 2021, at 8:24 AM, Mike Kerner via use-livecode wrote: > > tmc2 still gives me better ui's than native widgets do. > i have been messing with it for a while, including experimenting with > breaking it into SOS's to see if i can get it to play nicely with levure. > today's conversation about keyboards on mobile reminded me that it would be > good to add some of those properties. > has anyone else been modding/hacking tmc2? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Dec 28 12:27:06 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Dec 2021 12:27:06 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: Scott: > why "9.6.6-rc-1 evaluates as not less than 5 > but "10.0.0-dp-1 evaluates to less than 5. That's the tricky thing about dotted versions; easy to forget and set up a text comparison: "9" > "5" "1" < "5" Once you have two dots, or an rc/dp, it's a string. They seem to compare perfectly...until you pass 9. That's why I used integer versions for some libs. "10.0.0" < "5" (I should check my code too; thanks for this reminder!) Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From admin at FlexibleLearning.com Tue Dec 28 13:02:42 2021 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 28 Dec 2021 18:02:42 -0000 Subject: chartsEngine bug with version 10 of LC Message-ID: <005701d7fc15$1e27b330$5a771990$@FlexibleLearning.com> > I?ve encountered a problem with the third-party LiveCode product > chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a > high enough version number. (AnimationEngine was reporting a similar error > which I was able to fix since the scripts are open.) ChartsEngine is, however, > locked. Originally written by Malte Brill, the current owner is, I believe, > Bj?rnke von GierkeI. I?ve tried contacting him but haven?t heard anything. > Anyone else pondering this issue? I use chartsEngine in two commercial > mobile apps so I?m hoping to work out a solution rather than rebuild the > charting layout portion of these apps once building with 10.x versions of LC is > required. Has anyone encountered issues with ChartMaker in LC v10? Hugh Senior > And just for my own curiosity, (this is what I encountered in animationEngine > so I?m assuming something similar in chartsEngine) I?m interested in an > explanation (rather than my own guess) for why "9.6.6-rc-1? evaluates as > not less than 5 but "10.0.0-dp-1? evaluates to less than 5 . > > -- > Scott Morrow From scott at elementarysoftware.com Tue Dec 28 20:13:18 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 17:13:18 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> I’m still a little unclear about exactly what is going on here. put “foo” < 9 -- returns “false” put “foo” > 9 -- returns “true” put “9foo” < 9 -- returns “false” put “9foo” > 9 -- returns “true” put “9.foo” < 9 -- returns “false” put “7.foo” < 9 -- returns “true” put “77.foo” < 9 -- returns “true” put “9.foo” > 9 -- returns “true” put “7.foo” > 9 -- returns “false” put “77.foo” > 9 -- returns “false” -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ——————————————————————————— > On Dec 28, 2021, at 9:27 AM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > why "9.6.6-rc-1” evaluates as not less than 5 > > but "10.0.0-dp-1” evaluates to less than 5. > > That's the tricky thing about dotted versions; > easy to forget and set up a text comparison: > > "9" > "5" > "1" < "5" > > Once you have two dots, or an rc/dp, it's a string. > They seem to compare perfectly...until you pass 9. > That's why I used integer versions for some libs. > > "10.0.0" < "5" > > (I should check my code too; thanks for this reminder!) > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ From ahsoftware at sonic.net Tue Dec 28 20:40:15 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Dec 2021 17:40:15 -0800 Subject: New user In-Reply-To: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> References: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> Message-ID: On 12/24/21 1:08 PM, Pi Digital via use-livecode wrote: > My son and I have been working on a physical Train Sim World controller which is basically the whole dashboard from a Class 365. It uses an Arduino board and a digital serial shunt to pick up all the buttons, switches and sliders and control lights and dials. This is then picked up by LiveCode and converted into XML for TSW to read from live and control the Sim and provide feedback for the gauges. That sounds like an awesome project. Any chance of you writing this up with more details as a blog post or something in your copious free time? -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Tue Dec 28 22:37:35 2021 From: irog at mac.com (Roger Guay) Date: Tue, 28 Dec 2021 19:37:35 -0800 Subject: Infection Simulation In-Reply-To: References: Message-ID: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. Cheers, Roger From curry at pair.com Tue Dec 28 22:56:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Dec 2021 22:56:16 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> References: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> Message-ID: <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> Scott: > Im still a little unclear about exactly what is going on here. Because you are NOT comparing numbers. You are comparing (like sorting) text. That usually means: the FIRST CHAR of each string. (The ASCII/ANSI/etc values of those chars.) > put 7.foo < 9 -- returns true Because "7" < "9". > put 77.foo < 9 -- returns true Because "7" < "9". (FIRST CHAR) I just looked at WordLib's code: it's already coded correctly! Ready for LC version 10 or LC 1000. (Going way back, I was already cautious about these dotted-version comparisons.) Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From scott at elementarysoftware.com Wed Dec 29 00:41:55 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 21:41:55 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> References: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> Message-ID: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> Hello Curry, I’m still puzzled. So you are saying that if the first char of the string is a number then it uses the number but if the first char is not a number then it uses the ascii value of the first char? It seems like there is more to it than that. Obviously we wouldn’t expect “9foo” = 9 to evaluate to “true” and why then would “9foo" > 9 return “true” ? I’m not trying to solve any current programming issue with this question… just curious. Thanks > On Dec 28, 2021, at 7:56 PM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > I’m still a little unclear about exactly what is going on here. > > Because you are NOT comparing numbers. > You are comparing (like sorting) text. > > That usually means: the FIRST CHAR of each string. > (The ASCII/ANSI/etc values of those chars.) > > > put “7.foo” < 9 -- returns “true” > > Because "7" < "9". > > > put “77.foo” < 9 -- returns “true” > > Because "7" < "9". (FIRST CHAR) > > I just looked at WordLib's code: > it's already coded correctly! > Ready for LC version 10 or LC 1000. > > (Going way back, I was already cautious > about these dotted-version comparisons.) > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Dec 29 01:23:55 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 29 Dec 2021 01:23:55 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> References: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> Message-ID: <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> Scott: > So you are saying that if the first char of the string is a number No! There is no number. Don't think about numbers. :) Both sides are text in your comparison. > it uses the ascii value of the first char? Always! Because both sides are text. Two text strings. No numbers. LC compares the FIRST CHAR of each text. (If they are equal: then the 2nd chars, etc.) > 9foo > 9 Because "9" = "9" ... but "f" > "". If you want a numerical comparison, both sides must be numbers! Once you have two dots, or an "f" etc, it's a string. And if either side is text, the comparison is textual. Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From williamdesmet at gmail.com Wed Dec 29 04:57:12 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 29 Dec 2021 10:57:12 +0100 Subject: Is there a better way to check if images are the same? I now use imagedata Message-ID: Hi there, Is there a better way to check if images are the same? I now use imagadata. In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). These dots are important because by touching them their Loc is used (gStartLoc and gStartLoc) Two dots will be connected by setting the points of the last grc to gStartLoc & return & gStartLoc. No problem here. The idea is that the user copies my example on their matrix/geoboard by connecting the dots. To check if the made images (geoboards) are the same I make a snapshot of both and compare the imagadata of these images. Everything is fine as long as the user connects the same dots as the way (length between dots) it is done in the example. Then the imagadat is the same. The geoboards can look the same but the connected dots can be different in length so use imagadata to compare these is not the way to get it right. Any ideas for a better way? greetings, William From scott at elementarysoftware.com Wed Dec 29 06:31:21 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 29 Dec 2021 03:31:21 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> References: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> Message-ID: <6AFDF194-3BBB-4C67-AC05-990237E274E0@elementarysoftware.com> > (If they are equal: then the 2nd chars, etc.) Ah, that was the helpful piece of information I required. I didn’t realize it worked through the string one ASCII character at a time (with neither side being a “number” anymore.) (With the exception of upper and lower case characters having different ascii but evaluating as equivalent.) Whew! I knew I had both consumed coffee and taken a nap. I was about ready to ask you to use smaller words. :- ) One of the things that was throwing me (though I’m sure everyone else was rolling their eyes) was the > > “9foo” > 9 > > Because "9" = "9" ... but "f" > “” because, if I’m understanding this correctly, it is really evaluated as 59 = 59 …. 102 <> empty I like that "-1” < empty AND 1 > empty BUT 0 isn’t lesser/greater/equal to empty. I’m not sure why this whole string comparison issue hasn’t come up for me before but I’m sure that you will all be thankful that I’m ready to move on to my next question... why is it that the socks I put into the wash aren’t always equivalent to the socks that come out of the dryer. A rounding issue? — Scott > On Dec 28, 2021, at 10:23 PM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > So you are saying that if the first char of the string is a number > > No! There is no number. > Don't think about numbers. :) > Both sides are text in your comparison. > > > it uses the ascii value of the first char? > > Always! Because both sides are text. > Two text strings. No numbers. > > LC compares the FIRST CHAR of each text. > (If they are equal: then the 2nd chars, etc.) > > > “9foo” > 9 > > Because "9" = "9" ... but "f" > "". > > If you want a numerical comparison, > both sides must be numbers! > > Once you have two dots, or an "f" etc, it's a string. > And if either side is text, the comparison is textual. > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Dec 29 07:26:28 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 29 Dec 2021 12:26:28 +0000 Subject: Infection Simulation In-Reply-To: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: <935B5228-2042-4046-A20E-765103C1348B@gmail.com> Neat simulation Roger. I wonder if you could simulate the effect of a lock down where small groups form and individuals rarely move outside their bubble? That might show the benefit of lockdowns in helping to reduce the spread of disease. Also, I did not understand what the concept of “diversity” meant in this context. Mark > On Dec 29, 2021, at 3:37 AM, Roger Guay via use-livecode wrote: > > I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. > > Cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Dec 29 09:23:09 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Dec 2021 14:23:09 +0000 Subject: Infection Simulation In-Reply-To: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: That's really cool - thanks. Improvements ?   How much time do you have :-) 1. Visual display of contagion zone while running. 2. Recovery. After being infected for some length of time, an individual stops being infectious; either it dies, and becomes a static black dot, or recovers and becomes a white dot again. Probably different times for each of those to happen.  And obviously a control for the likelihood of recovery vs death. 3.  Probabilistic infection. Rather than always infect another which comes within reach, make that a probability of infection. 4. Viral load. Make the probability as above follow a bell curve over time, as the individual becomes more infected, then recovers. 5. Simulate superspreader events. Maybe introduce short-term "gravity" that attracts individuals within a range together - and hence if one is already infected they infects lots of others. And I could go on almost forever :-) Thinking of features is orders of magnitude easier and quicker than implementing them :-) Thanks again, Alex. On 29/12/2021 03:37, Roger Guay via use-livecode wrote: > I just uploaded a stack called Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. Its a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. > > Cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 29 11:41:02 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 29 Dec 2021 11:41:02 -0500 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: Message-ID: <03FA071D-F956-424B-A9C1-8319FF344007@all-auctions.com> Hi William, If you could provide a link to a photo example of what you are doing that would help us to understand the problem better. There may be a way to simplify your process so you don’t have to check every pixel. Rick > On Dec 29, 2021, at 4:57 AM, William de Smet via use-livecode wrote: > > Hi there, > > Is there a better way to check if images are the same? > I now use imagadata. > > In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). > These dots are important because by touching them their Loc is used > (gStartLoc and gStartLoc) > Two dots will be connected by setting the points of the last grc to > gStartLoc & return & gStartLoc. > No problem here. > > The idea is that the user copies my example on their matrix/geoboard by > connecting the dots. > To check if the made images (geoboards) are the same I make a snapshot of > both and compare the imagadata of these images. > Everything is fine as long as the user connects the same dots as the way > (length between dots) it is done in the example. > Then the imagadat is the same. > > The geoboards can look the same but the connected dots can be different in > length so use imagadata to compare these is not the way to get it right. > > Any ideas for a better way? > > > > 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 From prothero at earthlearningsolutions.org Wed Dec 29 11:41:03 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 29 Dec 2021 08:41:03 -0800 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: Message-ID: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> William, I understand that you want to see if the dots that are connected in one path are also connected in another path which may have them connected in a different order. Seems you could just loop through each dot in the reference path, then see if the same dots are included in the user’s path. You would need to include a name for each reference point, of course. That’s if I understand your problem correctly. Bill Sent from my iPad > On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode wrote: > > Hi there, > > Is there a better way to check if images are the same? > I now use imagadata. > > In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). > These dots are important because by touching them their Loc is used > (gStartLoc and gStartLoc) > Two dots will be connected by setting the points of the last grc to > gStartLoc & return & gStartLoc. > No problem here. > > The idea is that the user copies my example on their matrix/geoboard by > connecting the dots. > To check if the made images (geoboards) are the same I make a snapshot of > both and compare the imagadata of these images. > Everything is fine as long as the user connects the same dots as the way > (length between dots) it is done in the example. > Then the imagadat is the same. > > The geoboards can look the same but the connected dots can be different in > length so use imagadata to compare these is not the way to get it right. > > Any ideas for a better way? > > > > 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 From prothero at earthlearningsolutions.org Wed Dec 29 11:50:03 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 29 Dec 2021 08:50:03 -0800 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> Message-ID: <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> William, My basic suggestion is that you use the location data of each connected dot, rather than the image data. Good luck, Bill P Sent from my iPad > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode wrote: > > William, > I understand that you want to see if the dots that are connected in one path are also connected in another path which may have them connected in a different order. Seems you could just loop through each dot in the reference path, then see if the same dots are included in the user’s path. You would need to include a name for each reference point, of course. That’s if I understand your problem correctly. > > Bill > > > Sent from my iPad > >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode wrote: >> >> Hi there, >> >> Is there a better way to check if images are the same? >> I now use imagadata. >> >> In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). >> These dots are important because by touching them their Loc is used >> (gStartLoc and gStartLoc) >> Two dots will be connected by setting the points of the last grc to >> gStartLoc & return & gStartLoc. >> No problem here. >> >> The idea is that the user copies my example on their matrix/geoboard by >> connecting the dots. >> To check if the made images (geoboards) are the same I make a snapshot of >> both and compare the imagadata of these images. >> Everything is fine as long as the user connects the same dots as the way >> (length between dots) it is done in the example. >> Then the imagadat is the same. >> >> The geoboards can look the same but the connected dots can be different in >> length so use imagadata to compare these is not the way to get it right. >> >> Any ideas for a better way? >> >> >> >> 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 From irog at mac.com Wed Dec 29 12:09:00 2021 From: irog at mac.com (Roger Guay) Date: Wed, 29 Dec 2021 09:09:00 -0800 Subject: Infection Simulation In-Reply-To: References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: <8B1560A0-6834-49A2-9EBE-359044520669@mac.com> Thanks for the many great ideas, Alex. They will keep me busy for a while. Roger > On Dec 29, 2021, at 6:23 AM, Alex Tweedly via use-livecode wrote: > > That's really cool - thanks. > > Improvements ? How much time do you have :-) > > 1. Visual display of contagion zone while running. > > 2. Recovery. After being infected for some length of time, an individual stops being infectious; either it dies, and becomes a static black dot, or recovers and becomes a white dot again. Probably different times for each of those to happen. And obviously a control for the likelihood of recovery vs death. > > 3. Probabilistic infection. Rather than always infect another which comes within reach, make that a probability of infection. > > 4. Viral load. Make the probability as above follow a bell curve over time, as the individual becomes more infected, then recovers. > > 5. Simulate superspreader events. Maybe introduce short-term "gravity" that attracts individuals within a range together - and hence if one is already infected they infects lots of others. > > And I could go on almost forever :-) > Thinking of features is orders of magnitude easier and quicker than implementing them :-) > > Thanks again, > > Alex. > > > On 29/12/2021 03:37, Roger Guay via use-livecode wrote: >> I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. >> >> Cheers, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Wed Dec 29 12:13:13 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 29 Dec 2021 18:13:13 +0100 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> Message-ID: Thanks for the replies. I just put it on the forum as well and attached an image with it to get a better idea of what I want to do. https://forums.livecode.com/viewtopic.php?f=8&t=36585 greetings,, William Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode < use-livecode at lists.runrev.com>: > William, > My basic suggestion is that you use the location data of each connected > dot, rather than the image data. > Good luck, > Bill P > > Sent from my iPad > > > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > William, > > I understand that you want to see if the dots that are connected in one > path are also connected in another path which may have them connected in a > different order. Seems you could just loop through each dot in the > reference path, then see if the same dots are included in the user’s path. > You would need to include a name for each reference point, of course. > That’s if I understand your problem correctly. > > > > Bill > > > > > > Sent from my iPad > > > >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi there, > >> > >> Is there a better way to check if images are the same? > >> I now use imagadata. > >> > >> In my app I have an example drawn image (5x5 matrix with dots, a > Geoboard). > >> These dots are important because by touching them their Loc is used > >> (gStartLoc and gStartLoc) > >> Two dots will be connected by setting the points of the last grc to > >> gStartLoc & return & gStartLoc. > >> No problem here. > >> > >> The idea is that the user copies my example on their matrix/geoboard by > >> connecting the dots. > >> To check if the made images (geoboards) are the same I make a snapshot > of > >> both and compare the imagadata of these images. > >> Everything is fine as long as the user connects the same dots as the way > >> (length between dots) it is done in the example. > >> Then the imagadat is the same. > >> > >> The geoboards can look the same but the connected dots can be different > in > >> length so use imagadata to compare these is not the way to get it right. > >> > >> Any ideas for a better way? > >> > >> > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 29 12:27:10 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2021 11:27:10 -0600 Subject: Only kinda OT Message-ID: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's short: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 29 13:02:39 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2021 12:02:39 -0600 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> Message-ID: <17e075bba18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the intent is to copy the example exactly then I'd think the imageData would be the same. But I'd use location data as others have suggested. Get the end points of the line graphic and loop through a list of correct points to compare against. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 29, 2021 11:15:50 AM William de Smet via use-livecode wrote: > Thanks for the replies. > I just put it on the forum as well and attached an image with it to get a > better idea of what I want to do. > https://forums.livecode.com/viewtopic.php?f=8&t=36585 > > greetings,, > > William > > > > > Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode < > use-livecode at lists.runrev.com>: > >> William, >> My basic suggestion is that you use the location data of each connected >> dot, rather than the image data. >> Good luck, >> Bill P >> >> Sent from my iPad >> >> > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > William, >> > I understand that you want to see if the dots that are connected in one >> path are also connected in another path which may have them connected in a >> different order. Seems you could just loop through each dot in the >> reference path, then see if the same dots are included in the users path. >> You would need to include a name for each reference point, of course. >> Thats if I understand your problem correctly. >> > >> > Bill >> > >> > >> > Sent from my iPad >> > >> >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> >> >> Hi there, >> >> >> >> Is there a better way to check if images are the same? >> >> I now use imagadata. >> >> >> >> In my app I have an example drawn image (5x5 matrix with dots, a >> Geoboard). >> >> These dots are important because by touching them their Loc is used >> >> (gStartLoc and gStartLoc) >> >> Two dots will be connected by setting the points of the last grc to >> >> gStartLoc & return & gStartLoc. >> >> No problem here. >> >> >> >> The idea is that the user copies my example on their matrix/geoboard by >> >> connecting the dots. >> >> To check if the made images (geoboards) are the same I make a snapshot >> of >> >> both and compare the imagadata of these images. >> >> Everything is fine as long as the user connects the same dots as the way >> >> (length between dots) it is done in the example. >> >> Then the imagadat is the same. >> >> >> >> The geoboards can look the same but the connected dots can be different >> in >> >> length so use imagadata to compare these is not the way to get it right. >> >> >> >> Any ideas for a better way? >> >> >> >> >> >> >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Dec 29 16:54:39 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 29 Dec 2021 21:54:39 +0000 Subject: Only kinda OT In-Reply-To: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 Now, what was that original link about again? 😂 > On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: > > It's short: > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 30 01:41:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 00:41:17 -0600 Subject: Sorting cards Message-ID: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains the original sort and does a sub-sort. I don't want that. What's the best way to ignore the previous sort order? I've tried a number of things with no luck. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From curry at pair.com Thu Dec 30 05:13:01 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 30 Dec 2021 05:13:01 -0500 Subject: WordLib Christmas Coupon: Final Days to Save Message-ID: <4b31ae79-d81c-958d-fe62-49669c88d52c@pair.com> Ho ho - whoa - only one week to go? Yep, I'm honoring all 12 days of Christmas with a WordLib 2.3 Coupon for 30% Off. But we're already at the half-way point; after January 5, this deal is history. So get it while it's ... cold. And may your New Year be ... bold. Q: Can I use PayPal? A: Yes! That's the default. Q: Can I use a card? A: Yes! Just log OUT of PayPal beforehand, and you'll see "PayPal Guest Checkout" with credit/debit card options. Q: Will the LC Store have this Coupon? A: Very possibly! What I know for certain is that WordLib 2.3 and the Coupon are available right now at CurryK.... Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 Christmas Coupon: NOEL-2021 Discount: Extra 30% Off (Don't forget your Coupon during checkout!) Coming up next (revised): 1. Projects. (Clients ALWAYS come first!) 2. Further backend automation (Early January) 3. WordReport Update (End of January?) 4. Restoring SpreadLib ordering 5. SpreadLib/WordOut Updates (Schedule TBD) 6. The next big thing.... (and FT) :) Happy coding! More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mkoob at rogers.com Thu Dec 30 09:54:36 2021 From: mkoob at rogers.com (Martin Koob) Date: Thu, 30 Dec 2021 09:54:36 -0500 Subject: Only kinda OT In-Reply-To: References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <74D43A20-8560-45CD-822D-466D97C11A8B@rogers.com> a software developer walks into a bar and orders a list. Martin > On Dec 29, 2021, at 4:54 PM, Mark Smith via use-livecode wrote: > > Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 > > So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 > > Now, what was that original link about again? 😂 > >> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: >> >> It's short: >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Dec 30 10:25:33 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2021 15:25:33 +0000 Subject: Sorting cards In-Reply-To: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> You shouldn't need to ignore the previous sort. The second sort over-rides the first; it's only when looking at those cards which have the same value for the second field that the previous sorting applies. So if we have A2 B1 A1 C3 If we sort by char 2 of each, we would get    B1 A1 A2 C3 (nb - all with a 1, then all with a 2, ...) and THEN sort by char 1 of each, we get   A1 A2 B1 C3 (all A then all B then all ..., ) If we have A2 B1 A1 C3 and sort by char 1 of each, we get A2 A1 B1 C3 (all As before Bs, ...  and within the As they remain in the same order as they were). Hmmm - not sure if that's clear or not. Other way to think of it : a stable sort means that items which have matching keys remain in the same relative position. Alex (P.S. you're perhaps mixing up "first" and "second" - if want them "properly" sorted, you do the less important one (minor) first, then the major one. Hope that doesn't muddy it any more.) On 30/12/2021 06:41, J. Landman Gay via use-livecode wrote: > I am converting an old stack to LC and it needs to sort cards by one > of two fields. LC does stable sorts, so if I sort by field 1 it works, > and then if I sort later by field 2 it retains the original sort and > does a sub-sort. I don't want that. What's the best way to ignore the > previous sort order? > > I've tried a number of things with no luck. > From tom at makeshyft.com Thu Dec 30 14:12:25 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 14:12:25 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? Message-ID: Hi Folks, Today I found out that if I put a password on my stack, any code that sets the script of an object in that stack receives an execution error when running as standalone. Why is this so? And is there a workaround? Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Thu Dec 30 14:38:00 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 13:38:00 -0600 Subject: Sorting cards In-Reply-To: <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> Message-ID: <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> Thanks for the reply. I understand how it works, my question is how to make it not work that way. :) Basically, I don't want the sub-sort. On the other hand, something may have gone wrong when sorting by the first field because the order didn't change at all -- it was like I never executed the command. I need to investigate that. Details: two fields, named "title" and "category". Sort by field "category", works. Later on, sort by field "title" -- no change. I tried this: sort cards by random(10000) -- mix them up sort cards by field "title" also: sort cards numeric by the short ID of this card -- put them back in natural order sort cards by field "title" Nope, except for once. I don't know why it worked only once. I'll poke around, but the question still stands for reference: how do we avoid the sub-sort? Maybe one of the two examples above is the way. On 12/30/21 9:25 AM, Alex Tweedly via use-livecode wrote: > You shouldn't need to ignore the previous sort. The second sort over-rides the first; it's only > when looking at those cards which have the same value for the second field that the previous > sorting applies. > > So if we have > > A2 B1 A1 C3 > > If we sort by char 2 of each, we would get    B1 A1 A2 C3 (nb - all with a 1, then all with a > 2, ...) > > and THEN sort by char 1 of each, we get   A1 A2 B1 C3 (all A then all B then all ..., ) > > If we have A2 B1 A1 C3 and sort by char 1 of each, we get A2 A1 B1 C3 (all As before Bs, ... > and within the As they remain in the same order as they were). > > Hmmm - not sure if that's clear or not. > > Other way to think of it : a stable sort means that items which have matching keys remain in > the same relative position. > > Alex > > (P.S. you're perhaps mixing up "first" and "second" - if want them "properly" sorted, you do > the less important one (minor) first, then the major one. Hope that doesn't muddy it any more.) > > > On 30/12/2021 06:41, J. Landman Gay via use-livecode wrote: >> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it >> retains the original sort and does a sub-sort. I don't want that. What's the best way to >> ignore the previous sort order? >> >> I've tried a number of things with no luck. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Thu Dec 30 14:42:04 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 30 Dec 2021 14:42:04 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: I would hope that would be the behavior. It would also make it harder for your stack to get borked by someone else. If I was trying to break that behavior I would try to put the code into a variable, encrypt the variable using the password, then set the script of the object to the encrypted version, although I don't know what algorithm LC is using. On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Folks, > > Today I found out that if I put a password on my stack, any code that sets > the script of an object in that stack receives an execution error when > running as standalone. > > Why is this so? > > And is there a workaround? > > Thanks, > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 jacque at hyperactivesw.com Thu Dec 30 14:45:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 13:45:22 -0600 Subject: Only kinda OT In-Reply-To: References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8ca5e469-886f-62a5-2752-0be99cf4161c@hyperactivesw.com> You're supposed to put a piece of cardboard over the right side of the screen when viewing YouTube. Solves everything. It was funny, when I watched the video the first time my reaction was "huh??" And then I remembered the title and everything clicked into place and I thought it was hysterically funny. As you age you lose a synapse or two... Oh, and thanks just heaps for the other references, now I'll have to go look. :P On 12/29/21 3:54 PM, Mark Smith wrote: > Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 > > So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 > > Now, what was that original link about again? 😂 > >> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: >> >> It's short: >> >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu Dec 30 15:19:30 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 12:19:30 -0800 Subject: Sorting cards In-Reply-To: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: jacqui jagged, >What's the best way to ignore the previous sort order? I think what you’re looking at here isn’t even livecode itself. Just about any computer sort doesn’t change the order of two objects that “tie” during a sort—whichever was first, remains first. I think you’re going to need to store the original order. Or add a field or property of original_order, with the card number. Then you could sort by *that* to restore the order before going to your second field. From jerry at jhjensen.com Thu Dec 30 15:26:28 2021 From: jerry at jhjensen.com (Jerry Jensen) Date: Thu, 30 Dec 2021 12:26:28 -0800 Subject: Sorting cards In-Reply-To: References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: Behold the new keyword undoSort > On Dec 30, 2021, at 12:19 PM, doc hawk via use-livecode wrote: > > > jacqui jagged, > >> What's the best way to ignore the previous sort order? > > I think what you’re looking at here isn’t even livecode itself. > > Just about any computer sort doesn’t change the order of two objects that “tie” > during a sort—whichever was first, remains first. > > I think you’re going to need to store the original order. > > Or add a field or property of original_order, with the card number. Then you > could sort by *that* to restore the order before going to your second field. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 30 15:46:48 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 30 Dec 2021 15:46:48 -0500 Subject: apns/content-available Message-ID: Has anyone messed with using the content-available dictionary key with APNS to cause your app to wake up and process your payload? From cubist at aol.com Thu Dec 30 15:52:29 2021 From: cubist at aol.com (Quentin Long) Date: Thu, 30 Dec 2021 20:52:29 +0000 (UTC) Subject: Sorting cards In-Reply-To: References: Message-ID: <1755594361.226795.1640897549937@mail.yahoo.com> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does  > stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains  > the original sort and does a sub-sort. I don't want that. What's the best way to ignore the  > previous sort order? Hmmm… how about this? 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. From alex at tweedly.net Thu Dec 30 16:02:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2021 21:02:56 +0000 Subject: Sorting cards In-Reply-To: <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> Message-ID: <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> On 30/12/2021 19:38, J. Landman Gay via use-livecode wrote: > Thanks for the reply. I understand how it works, my question is how to > make it not work that way. :) Basically, I don't want the sub-sort. The 'sub-sort' will only have any effect if there are cards with identical values for the "title" field; if teh titles are unique, then previous sorts will be totally irrelevant. If there are duplicate values in the title field, then those cards will remain in the same relative orderas they were before that sort; if that's not desired, then you could do either of the versions you included below - either randomize or put back into original (ID) order first. > > On the other hand, something may have gone wrong when sorting by the > first field because the order didn't change at all -- it was like I > never executed the command. I need to investigate that. > Yeah, it sounds like that's the problem. > [ .... ] Nope, except for once. I don't know why it worked only once. > I'll poke around, but the question still stands for reference: how do > we avoid the sub-sort? Maybe one of the two examples above is the way. > Short answer: you don't, you can't. :-) When you "sort by field title" you are going to get stable order for those cards with identical titles. You can control the fine detail of that (obscure corner?) case by pre-sorting appropriately - either random, or short ID, or category, or .... Alex. From prothero at earthlearningsolutions.org Thu Dec 30 16:14:19 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 30 Dec 2021 13:14:19 -0800 Subject: Sorting cards In-Reply-To: <1755594361.226795.1640897549937@mail.yahoo.com> References: <1755594361.226795.1640897549937@mail.yahoo.com> Message-ID: It might be less work to just implement your own sorting code. I’ve found them pretty easy to implement. A bubble sort is very simple, but inefficient for a large number of items to sort. If you have a lot of cards, you would want to use a more efficient algorithm. Check out the link below if you are interested. https://en.wikipedia.org/wiki/Sorting_algorithm Good luck, Bill P Sent from my iPad > On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode wrote: > > sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains >> the original sort and does a sub-sort. I don't want that. What's the best way to ignore the >> previous sort order? > > Hmmm… how about this? > 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. > If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". > > "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Dec 30 16:25:46 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 30 Dec 2021 13:25:46 -0800 Subject: Sorting cards In-Reply-To: References: Message-ID: <34951B8A-0843-404C-9232-D3BE94C45810@earthlearningsolutions.org> Actually, I like Jackie’s idea better. Make an array for each of the parameters to be sorted on. Then sort each of the arrays. You can access each card in the sorted order by referring to the card ID in the sorted array. Or you could put each card identifier in a text line with commas between each item and sort on item # of the lines. Hope this makes sense. Bill P Easy peasy. Best, Bill P Sent from my iPad > On Dec 30, 2021, at 1:15 PM, William Prothero via use-livecode wrote: > > It might be less work to just implement your own sorting code. I’ve found them pretty easy to implement. A bubble sort is very simple, but inefficient for a large number of items to sort. If you have a lot of cards, you would want to use a more efficient algorithm. Check out the link below if you are interested. > > https://en.wikipedia.org/wiki/Sorting_algorithm > > Good luck, > Bill P > > Sent from my iPad > >>> On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode wrote: >>> >> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >>> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains >>> the original sort and does a sub-sort. I don't want that. What's the best way to ignore the >>> previous sort order? >> >> Hmmm… how about this? >> 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. >> If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". >> >> "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 30 16:33:35 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 16:33:35 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: Hmmm....I hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder for > your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code into a > variable, encrypt the variable using the password, then set the script of > the object to the encrypted version, although I don't know what algorithm > LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code that > sets > > the script of an object in that stack receives an execution error when > > running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From dochawk at gmail.com Thu Dec 30 16:41:53 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 13:41:53 -0800 Subject: Sorting cards In-Reply-To: <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> Message-ID: If you’re working on the original stack and not a duplicate, I suppose you could always kill -9 Livecode before it saves . . . From dochawk at gmail.com Thu Dec 30 16:44:33 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 13:44:33 -0800 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: <00B909A6-A7C7-4B19-A10D-AA51D23ED288@gmail.com> tom trilled, > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. Now I’m wondering . . . can you set the behavior of the object in the protected stack to a button in an unencrypted stack? From rdimola at evergreeninfo.net Thu Dec 30 16:54:24 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 30 Dec 2021 16:54:24 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: <003301d7fdc7$d2364450$76a2ccf0$@net> I thought for a standalone if you "set the passKey of stack "x" to "y" you will be able to modify scripts. This will only be in ram. If your standalone saves the stack then do "set the password of stack to "y" before saving. If someone is scraping ram memory then you have a problem, but if someone is scraping memory you have bigger problems. 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 Tom Glod via use-livecode Sent: Thursday, December 30, 2021 4:34 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: Is it normal to not be able to set script of objects in an encrypted stack? Hmmm....I hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder > for your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code > into a variable, encrypt the variable using the password, then set the > script of the object to the encrypted version, although I don't know > what algorithm LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code > > that > sets > > the script of an object in that stack receives an execution error > > when running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 30 18:18:45 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 18:18:45 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: <003301d7fdc7$d2364450$76a2ccf0$@net> References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Hey guys, while this is interesting to know and think about ..... i solved my problem by not needing to set the script. Thanks for taking time On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought for a standalone if you "set the passKey of stack "x" to "y" you > will be able to modify scripts. This will only be in ram. If your > standalone > saves the stack then do "set the password of stack to "y" before saving. If > someone is scraping ram memory then you have a problem, but if someone is > scraping memory you have bigger problems. > > 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 Tom Glod via use-livecode > Sent: Thursday, December 30, 2021 4:34 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Is it normal to not be able to set script of objects in an > encrypted stack? > > Hmmm....I hear you, that makes sense. > > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. > > Thanks MIke. > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I would hope that would be the behavior. It would also make it harder > > for your stack to get borked by someone else. > > If I was trying to break that behavior I would try to put the code > > into a variable, encrypt the variable using the password, then set the > > script of the object to the encrypted version, although I don't know > > what algorithm LC is using. > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Folks, > > > > > > Today I found out that if I put a password on my stack, any code > > > that > > sets > > > the script of an object in that stack receives an execution error > > > when running as standalone. > > > > > > Why is this so? > > > > > > And is there a workaround? > > > > > > Thanks, > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > 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 > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Fri Dec 31 01:05:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Dec 2021 00:05:40 -0600 Subject: Sorting cards In-Reply-To: References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: Thanks for all the ideas, guys. I seem to get the most consistent results if I sort by the short ID of each card and then follow that with the sort for category or title. Because the data was imported from a text file, the original order is the order of the card IDs. What threw me originally is that some cards don't sort in the order I expect. A category that starts with B is sorted before a category that starts with A. I assume the categories retain their original order when they collect matching cards. A few cards with blank categories sort to the front (good) but when sorted by title they remain at the front even though the titles all start with "The". That's okay because they are summary cards that should be at the front, but I'm not sure why they stay there during an alphabetical title sort instead of moving to the Ts. I didn't find any leading spaces or invisible characters. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andreas.bergendal at gmail.com Fri Dec 31 09:01:39 2021 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 31 Dec 2021 15:01:39 +0100 Subject: Invalid mac/ios standalone engine file Message-ID: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> Hi all, So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded my Mac to Monterey (12.1) and Xcode to 13.2.1. I now want to build an iOS15 version of my app and upload to AppStore, to prevent the crashing that has occurred for users with the iOS14 version. Everything works fine in the Simulator (iOS15.2), but when I try to build the standalone for upload, I get the error message: ”There was an error while saving the standalone application invalid mac/ios standalone engine file” It still actually builds the app, but I’m afraid of uploading it to AppStore after such an error message. I have so far done the following: - Using macOS Monterey 12.1 - Using Xcode 13.2.1 - Selected Xcode 13.2.1 in the Command Line Tools section in Xcode - Reinstalled the Command Line Tools just in case (following hint in the Forum) - Using LiveCode 9.6.6 rc1 (Pro) - Selected the correct path in LC to Xcode 13.2.1, green-lighted - Turned the Mac off, and on again... With a development provisioning profile everything works fine when deploying to the Simulator. With a development provisioning profile the error message appears and it doesn’t deploy to my physical device (iPhone X, iOS 15.2). With a distribution provisioning profile the error message appears when building a standalone. All certificates and provisioning profiles are valid. Why, oh why, does it not work? Hoping for a solution before the New Year! :) Wishing you all a Happy New Coding Year 2022! /Andreas From merakosp at gmail.com Fri Dec 31 10:33:16 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 31 Dec 2021 17:33:16 +0200 Subject: Invalid mac/ios standalone engine file In-Reply-To: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> References: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> Message-ID: Hello Andreas, What is the minimum deployment target in the iOS standalone settings? I suggest setting it to "9.0 or later". Kind regards, Panos -- On Fri, 31 Dec 2021 at 16:03, Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded > my Mac to Monterey (12.1) and Xcode to 13.2.1. > > I now want to build an iOS15 version of my app and upload to AppStore, to > prevent the crashing that has occurred for users with the iOS14 version. > > Everything works fine in the Simulator (iOS15.2), but when I try to build > the standalone for upload, I get the error message: > ”There was an error while saving the standalone application > invalid mac/ios standalone engine file” > > It still actually builds the app, but I’m afraid of uploading it to > AppStore after such an error message. > > I have so far done the following: > - Using macOS Monterey 12.1 > - Using Xcode 13.2.1 > - Selected Xcode 13.2.1 in the Command Line Tools section in Xcode > - Reinstalled the Command Line Tools just in case (following hint in the > Forum) > - Using LiveCode 9.6.6 rc1 (Pro) > - Selected the correct path in LC to Xcode 13.2.1, green-lighted > - Turned the Mac off, and on again... > > With a development provisioning profile everything works fine when > deploying to the Simulator. > With a development provisioning profile the error message appears and it > doesn’t deploy to my physical device (iPhone X, iOS 15.2). > With a distribution provisioning profile the error message appears when > building a standalone. > > All certificates and provisioning profiles are valid. > > Why, oh why, does it not work? > > Hoping for a solution before the New Year! :) > Wishing you all a Happy New Coding Year 2022! > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andreas.bergendal at gmail.com Fri Dec 31 11:10:00 2021 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 31 Dec 2021 17:10:00 +0100 Subject: Invalid mac/ios standalone engine file Message-ID: Hi Panos, I had set the minimum deployment target to 15.0 or later. Changing it to 9.0 or later solved the problem! The new standalone was successfully deployed to device, as well as submitted for review on AppStore. I got this warning feedback (on top of the traditional "ITMS-90078: Missing Push Notification Entitlement”): "ITMS-90683: Missing Purpose String in Info.plist” As the app does not "access sensitive user data” I hope that warning too can safely be ignored. Or should I always fill in the App Tracking Transparency field in the standalone settings, even if not relevant? Anyway, many thanks for you swift and helpful reply Panos - I wish an especially Happy New Year to you! /Andreas From merakosp at gmail.com Fri Dec 31 11:23:44 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 31 Dec 2021 18:23:44 +0200 Subject: Invalid mac/ios standalone engine file In-Reply-To: References: Message-ID: Hello Andreas, You're welcome. RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a warning, it can be ignored for now. >>>>*Or should I always fill in the App Tracking Transparency field in the standalone settings, even if not relevant?* Nope, you should fill in this field only if your app tracks user activity among other apps/websites. Have a happy new year :) Cheers, Panos -- On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > I had set the minimum deployment target to 15.0 or later. Changing it to > 9.0 or later solved the problem! > > The new standalone was successfully deployed to device, as well as > submitted for review on AppStore. > > I got this warning feedback (on top of the traditional "ITMS-90078: > Missing Push Notification Entitlement”): > "ITMS-90683: Missing Purpose String in Info.plist” > > As the app does not "access sensitive user data” I hope that warning too > can safely be ignored. > Or should I always fill in the App Tracking Transparency field in the > standalone settings, even if not relevant? > > Anyway, many thanks for you swift and helpful reply Panos - I wish an > especially Happy New Year to you! > > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jmac at consensustech.com Fri Dec 31 11:51:09 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Fri, 31 Dec 2021 08:51:09 -0800 Subject: Invalid mac/ios standalone engine file In-Reply-To: References: Message-ID: Andreas/Panos, So glad you asked/answered. I’ve been putting off the Monterey update as I was afraid I wouldn’t be able to successfully build and deploy. Sounds safe to do as at least 1 person has had success. Happy New Year. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Dec 31, 2021, at 8:25 AM, panagiotis m via use-livecode wrote: > > Hello Andreas, > > You're welcome. > > RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a > warning, it can be ignored for now. > >>>>> *Or should I always fill in the App Tracking Transparency field in the > standalone settings, even if not relevant?* > Nope, you should fill in this field only if your app tracks user activity > among other apps/websites. > > Have a happy new year :) > > Cheers, > Panos > -- > > > > >> On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hi Panos, >> >> I had set the minimum deployment target to 15.0 or later. Changing it to >> 9.0 or later solved the problem! >> >> The new standalone was successfully deployed to device, as well as >> submitted for review on AppStore. >> >> I got this warning feedback (on top of the traditional "ITMS-90078: >> Missing Push Notification Entitlement”): >> "ITMS-90683: Missing Purpose String in Info.plist” >> >> As the app does not "access sensitive user data” I hope that warning too >> can safely be ignored. >> Or should I always fill in the App Tracking Transparency field in the >> standalone settings, even if not relevant? >> >> Anyway, many thanks for you swift and helpful reply Panos - I wish an >> especially Happy New Year to you! >> >> /Andreas >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Dec 31 13:38:55 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 31 Dec 2021 13:38:55 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Glad you solved it, but as long as we're throwing ideas around, you should be able to have a script of a button use do, so you really can have it do anything. You would just put the script into a variable, make the variable global, and have the button do the variable. On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hey guys, while this is interesting to know and think about ..... i solved > my problem by not needing to set the script. > > Thanks for taking time > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > you > > will be able to modify scripts. This will only be in ram. If your > > standalone > > saves the stack then do "set the password of stack to "y" before saving. > If > > someone is scraping ram memory then you have a problem, but if someone is > > scraping memory you have bigger problems. > > > > 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 Tom Glod via use-livecode > > Sent: Thursday, December 30, 2021 4:34 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Re: Is it normal to not be able to set script of objects in an > > encrypted stack? > > > > Hmmm....I hear you, that makes sense. > > > > On the flip side, as soon as I want to set the script of a button, I'm > > doomed to have my code remain readable. I gotta think of a workaround for > > why I was setting the script to begin with. > > > > Thanks MIke. > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I would hope that would be the behavior. It would also make it harder > > > for your stack to get borked by someone else. > > > If I was trying to break that behavior I would try to put the code > > > into a variable, encrypt the variable using the password, then set the > > > script of the object to the encrypted version, although I don't know > > > what algorithm LC is using. > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > Hi Folks, > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > that > > > sets > > > > the script of an object in that stack receives an execution error > > > > when running as standalone. > > > > > > > > Why is this so? > > > > > > > > And is there a workaround? > > > > > > > > Thanks, > > > > > > > > -- > > > > Tom Glod > > > > Founder & Developer > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > Mobile:647.562.9411 > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Fri Dec 31 20:38:42 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 31 Dec 2021 20:38:42 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Hey Mike, Good thinking.... that is indeed a great idea for workaround for this problem. Thank you, will put that in my back pocket for the future. Happy New Year everyone!!! On Fri, Dec 31, 2021 at 1:40 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Glad you solved it, but as long as we're throwing ideas around, you should > be able to have a script of a button use do, so you really can have it do > anything. You would just put the script into a variable, make the variable > global, and have the button do the variable. > > On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hey guys, while this is interesting to know and think about ..... i > solved > > my problem by not needing to set the script. > > > > Thanks for taking time > > > > > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > > you > > > will be able to modify scripts. This will only be in ram. If your > > > standalone > > > saves the stack then do "set the password of stack to "y" before > saving. > > If > > > someone is scraping ram memory then you have a problem, but if someone > is > > > scraping memory you have bigger problems. > > > > > > 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 Tom Glod via use-livecode > > > Sent: Thursday, December 30, 2021 4:34 PM > > > To: How to use LiveCode > > > Cc: Tom Glod > > > Subject: Re: Is it normal to not be able to set script of objects in an > > > encrypted stack? > > > > > > Hmmm....I hear you, that makes sense. > > > > > > On the flip side, as soon as I want to set the script of a button, I'm > > > doomed to have my code remain readable. I gotta think of a workaround > for > > > why I was setting the script to begin with. > > > > > > Thanks MIke. > > > > > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > I would hope that would be the behavior. It would also make it harder > > > > for your stack to get borked by someone else. > > > > If I was trying to break that behavior I would try to put the code > > > > into a variable, encrypt the variable using the password, then set > the > > > > script of the object to the encrypted version, although I don't know > > > > what algorithm LC is using. > > > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > Hi Folks, > > > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > > that > > > > sets > > > > > the script of an object in that stack receives an execution error > > > > > when running as standalone. > > > > > > > > > > Why is this so? > > > > > > > > > > And is there a workaround? > > > > > > > > > > Thanks, > > > > > > > > > > -- > > > > > Tom Glod > > > > > Founder & Developer > > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > > Mobile:647.562.9411 > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > > > > > -- > > > > 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 > > > > > > > > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jiml at netrin.com Fri Dec 31 21:02:20 2021 From: jiml at netrin.com (Jim Lambert) Date: Fri, 31 Dec 2021 18:02:20 -0800 Subject: Happy New Year! In-Reply-To: References: Message-ID: <17012BDA-A77B-4D49-86F3-18E447A2FAC6@netrin.com> A very Happy, Prosperous and Safe 2022 to all! Jim Lambert From chipsm at themartinz.com Fri Dec 31 21:23:10 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Sat, 1 Jan 2022 02:23:10 +0000 Subject: I wish all a Happy & Prosperous New year Message-ID: Back at you Jim. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: (626)696-5561 From rjearp99 at gmail.com Wed Dec 1 14:06:28 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Wed, 1 Dec 2021 11:06:28 -0800 Subject: use-livecode Digest, Vol 219, Issue 1 In-Reply-To: References: Message-ID: <2BC90C53-7FF7-49E8-B5AA-2F8B5F685CC7@gmail.com> Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) Thanks again and kind regards, Bob... Robert (Bob) Earp White Rock British Columbia Canada > On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Yes it does. I use Apple Mail in this way and it works fine. > > Bob S > > > On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: > > I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > From dvglasgow at gmail.com Wed Dec 1 14:26:21 2021 From: dvglasgow at gmail.com (David Glasgow) Date: Wed, 1 Dec 2021 19:26:21 +0000 Subject: screen resolution and stack height Message-ID: Hi folks, I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) Best Wishes, David Glasgow From curry at pair.com Wed Dec 1 16:02:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 1 Dec 2021 16:02:41 -0500 Subject: December Archive, Where (4) art Thou? Message-ID: <7485bf52-834c-d61c-696f-6602f80c71b9@pair.com> In our last cliffhanging adventure, we saw the November use-lc Archive lurch back to life after a mid-month near-death experience. Yet today another symptom rises from the ashes, gentle reader, to threaten the free world: http://lists.runrev.com/pipermail/use-livecode/ Where's December? Will a hero rise to the occasion, or will an entire month be lost to history? That is the question. We'll find out, in this thrilling episode of the LC List Reality Show.... Meantime, here's an alternative: I'm keeping that bookmarked now as a backup. (Problem is that anyone else in digest mode won't see this email until tomorrow; but ah well.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ --- Mark: > Its a side-effect of deleting a recent post > which contained sensitive information From craig at starfirelighting.com Thu Dec 2 09:24:41 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:24:41 -0500 Subject: screen resolution and stack height In-Reply-To: References: Message-ID: Hi. The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. So what prevents you from making your card size whatever you want? In other words, why worry about this at all? Craig > On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: > > Hi folks, > > I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. > > Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? > > I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) > > > Best Wishes, > > David Glasgow > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 2 09:28:49 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:28:49 -0500 Subject: Fwd: screen resolution and stack height References: Message-ID: <1CB6A6DE-938D-4353-ACBC-CA17D38C6D0D@starfirelighting.com> Sloppy. My ratio is approx. 2:4 > Begin forwarded message: > > From: Craig Newman via use-livecode > Subject: Re: screen resolution and stack height > Date: December 2, 2021 at 9:24:41 AM EST > To: How to use LiveCode > Cc: Craig Newman > Reply-To: How to use LiveCode > > Hi. > > The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. > > So what prevents you from making your card size whatever you want? In other words, why worry about this at all? > > Craig > >> On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: >> >> Hi folks, >> >> I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. >> >> Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? >> >> I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) >> >> >> Best Wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 2 09:31:24 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 2 Dec 2021 09:31:24 -0500 Subject: Fwd: screen resolution and stack height References: Message-ID: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Here is a neat article: https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > Begin forwarded message: > > From: Craig Newman via use-livecode > Subject: Re: screen resolution and stack height > Date: December 2, 2021 at 9:24:41 AM EST > To: How to use LiveCode > Cc: Craig Newman > Reply-To: How to use LiveCode > > Hi. > > The 4:3 ratio, unless I completely do not understand any of this, is not pertinent to a desktop app. It was for viewing film and TV back in the day when there was much less flexibility in display screen technology. Much less. The monitors I see around me are all anything but 4:3. I have one rotated 90 degrees and it is about 4:2. > > So what prevents you from making your card size whatever you want? In other words, why worry about this at all? > > Craig > >> On Dec 1, 2021, at 2:26 PM, David Glasgow via use-livecode wrote: >> >> Hi folks, >> >> I have been developing a desktop stack at 1024×760 for a while. Vertical space is becoming increasingly cramped, and I need a bit more. I reckon 40 pixels would do it. >> >> Obviously that would break the 4:3 ratio. So am I better reconfiguring for a completely different screen ratio (if so, which), or just setting the stack height to what I need? I remember 1280×800 was common for quite a while, but is it still? >> >> I Googled about a bit, but the interweb was full of contradictory advice. (Imagine that!) >> >> >> Best Wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 2 09:51:25 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 2 Dec 2021 14:51:25 +0000 Subject: screen resolution and stack height In-Reply-To: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode wrote: > > Here is a neat article: > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > Interesting! I suppose my original point is that in the old days you could create at any intermediate ratio and it would match or scale nicely to fit the screen. Is there a larger ratio that works similarly?(I suspect not) Alternatively, I will take the recommended anarchists’ solution and make it the best dimensions for the task. Thanks for the advice folks. Cheers David G From sean at pidigital.co.uk Thu Dec 2 10:23:20 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 2 Dec 2021 15:23:20 +0000 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: I remember when 16:9 became the new 'standard'. That didn't last long. Nowhere near as long as 4:3. Soon after we started seeing 16:10 and 5:4. Now we are starting to see these Ultrawides at about 21:9. It won't stop. Do you remember when there were only 2 screen ratios for iPhone and iPad? Heady days! It's worth splitting your apps up into panels that are each width/height adjustable. Then have your app geometry adjust to the users desires and limitations. It's a lot of coding as the geometry controls aren't always perfect (even the 3rd party ones) but it gives the user greater freedom. Sean On Thu, 2 Dec 2021 at 14:51, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Here is a neat article: > > > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > > > > Interesting! I suppose my original point is that in the old days you > could create at any intermediate ratio and it would match or scale nicely > to fit the screen. > > Is there a larger ratio that works similarly?(I suspect not) > > Alternatively, I will take the recommended anarchists’ solution and make > it the best dimensions for the task. > > Thanks for the advice folks. > > Cheers > > David G > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Dec 2 10:41:22 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Thu, 2 Dec 2021 10:41:22 -0500 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: Alternatively you could add a magnification control that sets the stack’s scaleFactor properly, or sets the stack to fullscreen mode and stretches it to fit with fullScreenMode “exact fit”. On Thu, Dec 2, 2021 at 10:24 AM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > I remember when 16:9 became the new 'standard'. That didn't last long. > Nowhere near as long as 4:3. Soon after we started seeing 16:10 and 5:4. > Now we are starting to see these Ultrawides at about 21:9. It won't stop. > > Do you remember when there were only 2 screen ratios for iPhone and iPad? > Heady days! > > It's worth splitting your apps up into panels that are each width/height > adjustable. Then have your app geometry adjust to the users desires and > limitations. It's a lot of coding as the geometry controls aren't always > perfect (even the 3rd party ones) but it gives the user greater freedom. > > Sean > > On Thu, 2 Dec 2021 at 14:51, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > On 2 Dec 2021, at 2:31 pm, Craig Newman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Here is a neat article: > > > > > > https://www.studiobinder.com/blog/what-is-4-3-aspect-ratio/ > > > > > > > Interesting! I suppose my original point is that in the old days you > > could create at any intermediate ratio and it would match or scale nicely > > to fit the screen. > > > > Is there a larger ratio that works similarly?(I suspect not) > > > > Alternatively, I will take the recommended anarchists’ solution and make > > it the best dimensions for the task. > > > > Thanks for the advice folks. > > > > Cheers > > > > David G > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjearp99 at gmail.com Thu Dec 2 12:13:58 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Thu, 2 Dec 2021 09:13:58 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! ~~~~~~~~~~~~~~~~~~~~~~~~~ Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) Thanks again and kind regards, Bob... Robert (Bob) Earp White Rock British Columbia Canada > On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Yes it does. I use Apple Mail in this way and it works fine. > > Bob S > > > On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: > > I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > From dvglasgow at gmail.com Thu Dec 2 13:30:14 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 2 Dec 2021 18:30:14 +0000 Subject: screen resolution and stack height In-Reply-To: References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> Message-ID: <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> Thanks for more thoughts guys. I do have a scale factor button, but don’t want to stretch, so I use ‘letterbox' The cinematography web page inspired me to experiment more freely and I found that 3:2 seems to be a good compromise despite not matching any screen ’standard'. It scales on screens pretty well, and fits reasonably well printed onto a landscape A4 page, which is about 2.82:2 It is matches the aspect ratio of DSLR sensors and classic 35mm film, which to my eye at least, looks lovely. Perhaps because it is very close to the ‘golden rectangle’ (3:1.85). That could just be me being a bit bonkers, but it would be interesting to know if there is more widely felt appreciation of certain aspect ratios. So for now I am going with 1200x800 Cheers, & thanks again David G > On 2 Dec 2021, at 3:41 pm, Paul McClernan via use-livecode wrote: > > Alternatively you could add a magnification control that sets the stack’s > scaleFactor properly, or sets the stack to fullscreen mode and stretches it > to fit with fullScreenMode “exact fit”. From irog at mac.com Thu Dec 2 13:33:53 2021 From: irog at mac.com (Roger Guay) Date: Thu, 2 Dec 2021 10:33:53 -0800 Subject: Reading LC List Digests In-Reply-To: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: <60A80993-B3F7-44D0-B2F1-16B422B59665@mac.com> Yup, I read that those infected by Omicron tend to misspell it!! Roger > On Dec 2, 2021, at 9:13 AM, Robert Earp via use-livecode wrote: > > Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. > > Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) > > Thanks again and kind regards, Bob... > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > >> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >> >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: Reading LC List Digests >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" >> >> Yes it does. I use Apple Mail in this way and it works fine. >> >> Bob S >> >> >> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >> >> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 2 13:56:18 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Dec 2021 12:56:18 -0600 Subject: Reading LC List Digests In-Reply-To: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: I did a quick search and probably found the same things you did. It does seem to point to a font problem. I know you said you'd tried different fonts but maybe another one would work. In general, Arial and Helvetica are very complete but you may have others. You can use Font Book to examine them and see which ones have the most extensive set of glyphs. I'd think Courier would work though, and you tried that. Check to see if your Courier has a complete set of glyphs, I don't think the older original Courier did but Courier New does. If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but you'd think Mail would know how to deal with that. Also, I read that you need to restart Mail when you change the default font. On 12/2/21 11:13 AM, Robert Earp via use-livecode wrote: > Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~ > Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. > > Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) > > Thanks again and kind regards, Bob... > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > >> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >> >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: Reading LC List Digests >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" >> >> Yes it does. I use Apple Mail in this way and it works fine. >> >> Bob S >> >> >> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >> >> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >> >> -- >> Jacqueline Landman Gay | jacque at 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Dec 2 14:02:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Dec 2021 19:02:36 +0000 Subject: Reading LC List Digests In-Reply-To: References: <6FACA857-8AB4-4A99-9123-64AC966788A5@gmail.com> Message-ID: <20BF765A-E9C7-4E09-BF46-E55020700A7B@iotecdigital.com> This has come up before if memory serves. It was suggested then that this could be done in livecode fairly easily. Sent from my iPhone > On Dec 2, 2021, at 10:57, J. Landman Gay via use-livecode wrote: > > I did a quick search and probably found the same things you did. It does seem to point to a font problem. I know you said you'd tried different fonts but maybe another one would work. In general, Arial and Helvetica are very complete but you may have others. You can use Font Book to examine them and see which ones have the most extensive set of glyphs. I'd think Courier would work though, and you tried that. Check to see if your Courier has a complete set of glyphs, I don't think the older original Courier did but Courier New does. > > If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but you'd think Mail would know how to deal with that. > > Also, I read that you need to restart Mail when you change the default font. > >> On 12/2/21 11:13 AM, Robert Earp via use-livecode wrote: >> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! >> ~~~~~~~~~~~~~~~~~~~~~~~~~ >> Sorry Jacqueline and Curry, I should have sent an acknowledgement of your previous speedy response to my question. >> Jacqueline and Bob, in Apple Mail I can only find an option for plain text when composing mail, not receiving mail, but you can choose the font used to display a message. I normally use Lucida Sans as its cross platform (from what I understand), but I have tried many others such as Courier to no avail. Regardless, I don’t think mail clients are designed to handle mail lists in an intuitive manner, which is why I asked my original question looking for a “great” GUI hopefully in LC ;-) >> Thanks again and kind regards, Bob... >> Robert (Bob) Earp >> White Rock >> British Columbia >> Canada >>>> On Dec 1, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: >>> >>> From: Bob Sneidar > >>> To: How to use LiveCode > >>> Subject: Re: Reading LC List Digests >>> Message-ID: > >>> Content-Type: text/plain; charset="us-ascii" >>> >>> Yes it does. I use Apple Mail in this way and it works fine. >>> >>> Bob S >>> >>> >>>> On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode >> wrote: >>> >>> I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. >>> >>> -- >>> Jacqueline Landman Gay | jacque at 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 > > > -- > 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 bogdanoff at me.com Thu Dec 2 14:56:16 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 2 Dec 2021 11:56:16 -0800 Subject: screen resolution and stack height In-Reply-To: <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> References: <15B5B5AB-ADC1-4615-9EA3-B82BF4C022BC@starfirelighting.com> <9CB83E5B-5100-445F-8021-3A2762BB8D43@gmail.com> Message-ID: <7608F449-386C-468B-AA65-6BD005269663@me.com> As far as height, on desktop you might want to keep in mind the fixed elements of the window like the titlebar height which is different on Mac and Windows. Also menus at the top of the screen on Mac, and as part of the window on Windows. And then there’s the dock on Mac which may be at the bottom, and the taskbar in Windows which is definitely at the bottom. The dock and the taskbar can be hidden by Livecode. To maximize height, I use a 1024 x 728 window that automatically scales down on open when the screen is too small and also have an option for the user to scale to the full height available. The current screen pixel size is available in Livecode. Peter Bogdanoff > On Dec 2, 2021, at 10:30 AM, David V Glasgow via use-livecode wrote: > > Thanks for more thoughts guys. I do have a scale factor button, but don’t want to stretch, so I use ‘letterbox' > > The cinematography web page inspired me to experiment more freely and I found that 3:2 seems to be a good compromise despite not matching any screen ’standard'. It scales on screens pretty well, and fits reasonably well printed onto a landscape A4 page, which is about 2.82:2 > > It is matches the aspect ratio of DSLR sensors and classic 35mm film, which to my eye at least, looks lovely. Perhaps because it is very close to the ‘golden rectangle’ (3:1.85). That could just be me being a bit bonkers, but it would be interesting to know if there is more widely felt appreciation of certain aspect ratios. > > So for now I am going with 1200x800 > > Cheers, & thanks again > > David G > >> On 2 Dec 2021, at 3:41 pm, Paul McClernan via use-livecode wrote: >> >> Alternatively you could add a magnification control that sets the stack’s >> scaleFactor properly, or sets the stack to fullscreen mode and stretches it >> to fit with fullScreenMode “exact fit”. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Dec 3 05:37:32 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 Dec 2021 05:37:32 -0500 Subject: December Archive, Where (4) art Thou? Message-ID: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> The use-livecode Archive outage continues; still no December 2021 Archive page.... http://lists.runrev.com/pipermail/use-livecode/ Me: > Will a hero rise to the occasion, > or will an entire month be lost to history? > Meantime, here's an alternative: Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ --- Mark: > Its a side-effect of deleting a recent post > which contained sensitive information From curry at pair.com Fri Dec 3 05:42:29 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 3 Dec 2021 05:42:29 -0500 Subject: December Archive, Where (4) art Thou? In-Reply-To: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> References: <494936e6-7957-fa2b-c135-4d4bdf93100b@pair.com> Message-ID: <88c07888-6db6-d320-3f18-812bd85b2d21@pair.com> Woohoo, now it's back! Nice. (Thanks.) Me: > The use-livecode Archive outage continues; > still no December 2021 Archive page.... http://lists.runrev.com/pipermail/use-livecode/ Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From panos.merakos at livecode.com Fri Dec 3 06:48:26 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 3 Dec 2021 13:48:26 +0200 Subject: [ANN] Release 9.6.5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.5. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater Release Contents ================ LiveCode 9.6.5 comes with several changes, including: New Features - Android standalones can now be deployed as app bundles - The Android engine is now built using version 30 of the Android API - In-app purchases for Google Play Store now use v4 of the Google Billing Library Bug Fixes: - Fix browser widget on iOS not sending load events in response to user navigation - Fix library conflicts between maps and barcode widgets on Android - Improve speed of appending to large strings and encoding large arrays on Windows - Fix long engine exit time when many loaded fonts and objects/paragraphs are still in memory For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_5/LiveCodeNotes-9_6_5.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+ : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 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 http://forums.livecode.com/ Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Fri Dec 3 11:15:32 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Dec 2021 11:15:32 -0500 Subject: mobile debugger: unknown color? Message-ID: I'm getting an execution error at line n/a (Object: unknown color) the debugger then throws up the card script, but the pointer is not pointing at anything. -- 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 klaus at major-k.de Fri Dec 3 11:31:12 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 3 Dec 2021 17:31:12 +0100 Subject: Android: Sign for development only Message-ID: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Hi friends, does it have any limitations if I "Sign for development only"? I mean, once the user defined the URL to the APK as "trustworthy" in his security settings on his/her cellphone, he/she can download and install the app without any problems and dialogs. I tried with a "selfsigning certificate", worked fine, but the user gets two warning dialogs: 1. Unknown developer... 2. Upldoad app for checking to GOOGLE... Not as nice as an unsigned app, see above. :-) Too bad you can ONLY pay the developer fee via a CREDITCARD! Big fun, Google! OK, any hints welcome! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Fri Dec 3 12:16:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Dec 2021 12:16:25 -0500 Subject: mobile debugger: unknown color? In-Reply-To: References: Message-ID: Wow. This is even weirder. There was an error in the card script, but the debugger did not pop up for that, unless I put in a breakpoint statement, first. Once the breakpoint statement triggers, even if you just continue execution after, when the error occurs, the debugger will pop up. On Fri, Dec 3, 2021 at 11:15 AM Mike Kerner wrote: > I'm getting an execution error at line n/a (Object: unknown color) > the debugger then throws up the card script, but the pointer is not > pointing at anything. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Fri Dec 3 12:18:34 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Dec 2021 12:18:34 -0500 Subject: mobile debugger: unknown color? In-Reply-To: References: Message-ID: <003c01d7e869$d09ed800$71dc8800$@net> Mike, Did you try "Debug==>Show Next" in the SE? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Friday, December 03, 2021 11:16 AM To: How to use LiveCode Cc: Mike Kerner Subject: mobile debugger: unknown color? I'm getting an execution error at line n/a (Object: unknown color) the debugger then throws up the card script, but the pointer is not pointing at anything. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp99 at gmail.com Fri Dec 3 13:04:35 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 3 Dec 2021 10:04:35 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: <7A370640-8B3E-4075-93E5-693E88F8EC7E@gmail.com> I think we’ve had this discussion before Roger, all great nginears can’t spell, especially in Greek, which is why spell checkers were invented ;-) BTW, you’ve reminded me to add a spell checker to the list of features a digest-o-matic should have…. best, Bob... > On Dec 3, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > Date: Thu, 2 Dec 2021 10:33:53 -0800 > From: Roger Guay > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: <60A80993-B3F7-44D0-B2F1-16B422B59665 at mac.com > > Content-Type: text/plain; charset=utf-8 > > Yup, I read that those infected by Omicron tend to misspell it!! > > Roger > >> On Dec 2, 2021, at 9:13 AM, Robert Earp via use-livecode > wrote: >> >> Sorry about the bad header on my last post, but maybe that is yet another indication of the requirement for a decent list digests reader, at least for old dudes, or do I blame it on Omricon !! Robert (Bob) Earp White Rock British Columbia Canada From rjearp99 at gmail.com Fri Dec 3 13:17:47 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 3 Dec 2021 10:17:47 -0800 Subject: Reading LC List Digests In-Reply-To: References: Message-ID: Thanks for the great advice Jacqueline, it was the old Courier that I had tried. I’ve now changed to Helvetica Neu and we’ll see how that fairs. best, Bob... > On Dec 3, 2021, at 09:00, use-livecode-request at lists.runrev.com wrote: > > Date: Thu, 2 Dec 2021 12:56:18 -0600 > From: "J. Landman Gay" > > To: How to use LiveCode > > Subject: Re: Reading LC List Digests > Message-ID: > > Content-Type: text/plain; charset=UTF-8; format=flowed > > I did a quick search and probably found the same things you did. It does seem to point to a > font problem. I know you said you'd tried different fonts but maybe another one would work. In > general, Arial and Helvetica are very complete but you may have others. You can use Font Book > to examine them and see which ones have the most extensive set of glyphs. I'd think Courier > would work though, and you tried that. Check to see if your Courier has a complete set of > glyphs, I don't think the older original Courier did but Courier New does. > > If we were talking about LC I'd think it was a problem with 8-bit vs. 16-bit translations but > you'd think Mail would know how to deal with that. > > Also, I read that you need to restart Mail when you change the default font. Robert (Bob) Earp White Rock British Columbia Canada From MikeKerner at roadrunner.com Sat Dec 4 11:19:12 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 4 Dec 2021 11:19:12 -0500 Subject: mobile debugger: unknown color? In-Reply-To: <003c01d7e869$d09ed800$71dc8800$@net> References: <003c01d7e869$d09ed800$71dc8800$@net> Message-ID: that does not seem to do anything. the good news is that i can throw in a breakpoint and then continue execution to get the debugger to behave. On Fri, Dec 3, 2021 at 12:18 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > Did you try "Debug==>Show Next" in the SE? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Friday, December 03, 2021 11:16 AM > To: How to use LiveCode > Cc: Mike Kerner > Subject: mobile debugger: unknown color? > > I'm getting an execution error at line n/a (Object: unknown color) the > debugger then throws up the card script, but the pointer is not pointing at > anything. > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Dec 4 16:01:11 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 15:01:11 -0600 Subject: Project browser docs Message-ID: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> Where is the documentation for the project browser? There's nothing in the User Guides in the dictionary. There are several mentions in the User Guide under the Help menu but they all refer to managing datagrids. There is one mention "for more details, see the section on the project browser" but there is no such section. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 16:18:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 15:18:49 -0600 Subject: mobile debugger: unknown color? In-Reply-To: <003c01d7e869$d09ed800$71dc8800$@net> References: <003c01d7e869$d09ed800$71dc8800$@net> Message-ID: <5d38fb4b-3bf2-7ee8-9007-3e25be4fcaed@hyperactivesw.com> On 12/3/21 11:18 AM, Ralph DiMola via use-livecode wrote: > Did you try "Debug==>Show Next" in the SE? What's that supposed to do? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 4 17:14:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Dec 2021 16:14:38 -0600 Subject: Android: Sign for development only In-Reply-To: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Message-ID: <2c5fdae2-c0c4-bcae-19da-3be3b61f76ab@hyperactivesw.com> I think it depends on how much you trust the recipient. The debug key is not secure. The default password for a debug key is "android". I found this on stackoverflow : "release apks must be decompressed and manually modified and recompressed+resigned by debug certificate, to be debuggable by other people. Accessing code is always available for every user, the release is "obfuscated", not "blocked". You can't hide code from user, who must be able to run the code, at some stage the code must be available to user, and at that moment skilled user can copy the code and explore/reverse engineer." I think that means someone with the right skills could alter your app, since the default password is known. I couldn't find any info about verifying the signing key without a developer account, but you could post a message to Google and ask if there is a way to purchase a developer account without a credit card. They will accept a bank debit card if you have one. If you are quite sure that your client is the only one who will use your app, and that no other person will have access to it, then I think it's probably okay to sign for development only. But it isn't really very secure. On 12/3/21 10:31 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > does it have any limitations if I "Sign for development only"? > > I mean, once the user defined the URL to the APK as "trustworthy" > in his security settings on his/her cellphone, he/she can download > and install the app without any problems and dialogs. > > I tried with a "selfsigning certificate", worked fine, but the user gets > two warning dialogs: > 1. Unknown developer... > 2. Upldoad app for checking to GOOGLE... > > Not as nice as an unsigned app, see above. :-) > > Too bad you can ONLY pay the developer fee via a CREDITCARD! > Big fun, Google! > > OK, any hints welcome! > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Sun Dec 5 18:05:48 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 5 Dec 2021 23:05:48 +0000 Subject: LC 9.5.6, Android and JSONToArray Message-ID: I just built an app for Android in 9.5.6. I am finding that JSONToArray() isn't working. I built the same app in 9.5.4, and JSONToArray() works just fine. (Yes, I have "JSON Library" selected in the Inclusions in the Standalone Application Settings). Is this a bug or is JSONToArray() no longer supported in 9.5.6? Any advice or knowledge would be appreciated. -Dan From jacque at hyperactivesw.com Sun Dec 5 22:25:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Dec 2021 21:25:49 -0600 Subject: Project browser docs In-Reply-To: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> Message-ID: <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> So I take it there are no docs? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 4, 2021 3:03:35 PM "J. Landman Gay via use-livecode" wrote: > Where is the documentation for the project browser? There's nothing in the > User Guides in the > dictionary. There are several mentions in the User Guide under the Help > menu but they all refer > to managing datagrids. There is one mention "for more details, see the > section on the project > browser" but there is no such section. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Dec 5 23:14:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Dec 2021 22:14:15 -0600 Subject: Project browser docs In-Reply-To: <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I found a lesson on it but it doesn't say what the dotted outline around some cards means. A full explanation of the project browser should be in the user guide. I didn't think to check the lessons until today and newcomers may not even know the lessons exist. If the full documentation is too much to add to the guide, at least a link should be provided. Right now the guide only has a reference to a Project Browser section that doesn't exist. I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 5, 2021 9:28:05 PM "J. Landman Gay via use-livecode" wrote: > So I take it there are no docs? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 4, 2021 3:03:35 PM "J. Landman Gay via use-livecode" > wrote: > >> Where is the documentation for the project browser? There's nothing in the >> User Guides in the >> dictionary. There are several mentions in the User Guide under the Help >> menu but they all refer >> to managing datagrids. There is one mention "for more details, see the >> section on the project >> browser" but there is no such section. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From preid at reidit.co.uk Mon Dec 6 04:34:52 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Mon, 6 Dec 2021 09:34:52 +0000 Subject: Linux Speech Support? In-Reply-To: References: Message-ID: Has anyone managed to used text-to-speech for Linux? I'm using the latest LC 9.6.5 stable release, building for Mac, Win64 and Linux64. The Mac and Win build OK but I get the following warning for the Linux build: Linux x86-64, external No externals.txt config file found for Speech The Linux app builds and runs OK except that the text-to-speech doesn't work. I've tried manually selecting inclusions but there's nothing appropriate. I've tried including Android speech support inclusions, just in case it might work with Linux; it doesn't. So, general question - has anyone got text-to-speech (or speech-to-text) working with Linux? For speech in general there are the following inclusions: Android Speech-to-text (all platforms are listed) Speech Library (X, iOS, Android only) Speech (X, Win only) Any suggestions please? Peter -- Peter Reid Loughborough, UK From merakosp at gmail.com Mon Dec 6 06:07:27 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 6 Dec 2021 13:07:27 +0200 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: Message-ID: Hello Dan, Could you please confirm the working and non-working versions? There is no 9.5.6 or 9.5.4 version of LiveCode. Also, to use JSONToArray() you have to include "mergJSON" in the Inclusions, not "JSON Library". The "JSON Library" is needed for "JSONImport" and "JSONExport" functions. Hope this helps. Cheers, Panos On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I just built an app for Android in 9.5.6. I am finding that JSONToArray() > isn't working. I built the same app in 9.5.4, and JSONToArray() works > just fine. (Yes, I have "JSON Library" selected in the Inclusions in the > Standalone Application Settings). Is this a bug or is JSONToArray() no > longer supported in 9.5.6? > > Any advice or knowledge would be appreciated. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Dec 6 07:49:06 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Dec 2021 12:49:06 +0000 Subject: Project browser docs In-Reply-To: <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > I prefer the horizontal layout in the Application Overview, but i > thought I'd give the PB another try now that I'm working on a simpler > project. It's too unweildy for multi-stack projects with lots of > controls. > Sorry, dumb question time - what is the "Application Overview" ? Thanks Alex. From matthias_livecode_150811 at m-r-d.de Mon Dec 6 08:01:14 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Dec 2021 14:01:14 +0100 Subject: Project browser docs In-Reply-To: <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> Message-ID: <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> Before the Project Browser was introduced Application Overview was the tool to get an overview of all loaded stacks, its substacks, cards and all objects on that cards. You can now find it under Plugins->revApplicationOveriew. Regards, Matthias > Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode : > > On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > >> I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. >> > Sorry, dumb question time - what is the "Application Overview" ? > > Thanks > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Dec 6 08:08:59 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Dec 2021 13:08:59 +0000 Subject: Project browser docs In-Reply-To: <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> Message-ID: <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> Thanks Matthias - found it. It looks like it's not for me - I use too much nesting of groups and can't handle a non-hierarchical view:-) Alex. On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: > Before the Project Browser was introduced Application Overview was the tool to get an overview of all loaded stacks, its substacks, cards and all objects on that cards. > You can now find it under Plugins->revApplicationOveriew. > > Regards, > Matthias >> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode : >> >> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: >> >>> I prefer the horizontal layout in the Application Overview, but i thought I'd give the PB another try now that I'm working on a simpler project. It's too unweildy for multi-stack projects with lots of controls. >>> >> Sorry, dumb question time - what is the "Application Overview" ? >> >> Thanks >> >> Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Dec 6 08:34:11 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 6 Dec 2021 15:34:11 +0200 Subject: Linux Speech Support? In-Reply-To: References: Message-ID: Hello Peter, Unfortunately LC does not have a test-to-speech library that will work on Linux. The Android Speech-to-text library should only list "Android" in the supported platforms. Kind regards, Panos -- On Mon, 6 Dec 2021 at 11:36, Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > Has anyone managed to used text-to-speech for Linux? I'm using the latest > LC 9.6.5 stable release, building for Mac, Win64 and Linux64. The Mac and > Win build OK but I get the following warning for the Linux build: > > Linux x86-64, external No externals.txt config file found for > Speech > > The Linux app builds and runs OK except that the text-to-speech doesn't > work. I've tried manually selecting inclusions but there's nothing > appropriate. I've tried including Android speech support inclusions, just > in case it might work with Linux; it doesn't. > > So, general question - has anyone got text-to-speech (or speech-to-text) > working with Linux? For speech in general there are the following > inclusions: > > Android Speech-to-text (all platforms are listed) > Speech Library (X, iOS, Android only) > Speech (X, Win only) > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Mon Dec 6 10:48:22 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Dec 2021 15:48:22 +0000 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: Message-ID: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Panos, Thank you for the reply. Sorry about the typo... the versions are: 9.6.4 -- WORKING 9.6.5 -- NOT WORKING And, yes. I have "mergJSON" selected (as well as "JSON Library"). FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 might be resolved in 9.6.5. (http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html) - Dan On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via use-livecode" wrote: Hello Dan, Could you please confirm the working and non-working versions? There is no 9.5.6 or 9.5.4 version of LiveCode. Also, to use JSONToArray() you have to include "mergJSON" in the Inclusions, not "JSON Library". The "JSON Library" is needed for "JSONImport" and "JSONExport" functions. Hope this helps. Cheers, Panos On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > I just built an app for Android in 9.5.6. I am finding that JSONToArray() > isn't working. I built the same app in 9.5.4, and JSONToArray() works > just fine. (Yes, I have "JSON Library" selected in the Inclusions in the > Standalone Application Settings). Is this a bug or is JSONToArray() no > longer supported in 9.5.6? > > Any advice or knowledge would be appreciated. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 6 11:25:19 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Dec 2021 10:25:19 -0600 Subject: Project browser docs In-Reply-To: <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> Message-ID: <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If you click the Layer header to view by layer order you'll see what you're looking for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 6, 2021 7:10:29 AM Alex Tweedly via use-livecode wrote: > Thanks Matthias - found it. > > It looks like it's not for me - I use too much nesting of groups and > can't handle a non-hierarchical view:-) > > Alex. > > On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: >> Before the Project Browser was introduced Application Overview was the >> tool to get an overview of all loaded stacks, its substacks, cards and all >> objects on that cards. >> You can now find it under Plugins->revApplicationOveriew. >> >> Regards, >> Matthias >>> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode >>> : >>> >>> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: >>> >>>> I prefer the horizontal layout in the Application Overview, but i thought >>>> I'd give the PB another try now that I'm working on a simpler project. It's >>>> too unweildy for multi-stack projects with lots of controls. >>>> >>> Sorry, dumb question time - what is the "Application Overview" ? >>> >>> Thanks >>> >>> Alex. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Dec 6 11:39:48 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 6 Dec 2021 11:39:48 -0500 Subject: Project browser docs In-Reply-To: <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3e88828f-196d-b8b0-d0dc-e50f75794f43@hyperactivesw.com> <17d8dc6b248.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17d8df309d8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <04b60a00-5de9-e602-7802-38e917d2dfc1@tweedly.net> <4AB63281-3DCE-461F-9B30-8EF56EC4268C@m-r-d.de> <7bf03f7b-9a91-dac5-982a-0225dec0f3b0@tweedly.net> <17d90905998.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: PB is broken in a lot of ways, especially when it comes to handling groups. There are several bug reports about it that go back a ways. On Mon, Dec 6, 2021 at 11:26 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > If you click the Layer header to view by layer order you'll see what > you're > looking for. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 6, 2021 7:10:29 AM Alex Tweedly via use-livecode > wrote: > > > Thanks Matthias - found it. > > > > It looks like it's not for me - I use too much nesting of groups and > > can't handle a non-hierarchical view:-) > > > > Alex. > > > > On 06/12/2021 13:01, matthias rebbe via use-livecode wrote: > >> Before the Project Browser was introduced Application Overview was the > >> tool to get an overview of all loaded stacks, its substacks, cards and > all > >> objects on that cards. > >> You can now find it under Plugins->revApplicationOveriew. > >> > >> Regards, > >> Matthias > >>> Am 06.12.2021 um 13:49 schrieb Alex Tweedly via use-livecode > >>> : > >>> > >>> On 06/12/2021 04:14, J. Landman Gay via use-livecode wrote: > >>> > >>>> I prefer the horizontal layout in the Application Overview, but i > thought > >>>> I'd give the PB another try now that I'm working on a simpler > project. It's > >>>> too unweildy for multi-stack projects with lots of controls. > >>>> > >>> Sorry, dumb question time - what is the "Application Overview" ? > >>> > >>> Thanks > >>> > >>> Alex. > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Wed Dec 8 04:51:31 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 8 Dec 2021 11:51:31 +0200 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> References: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Message-ID: Hello Dan, I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature. Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license, JSONToArray() worked as expected. What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed. You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not. Hope this helps. Kind regards, Panos -- On Mon, 6 Dec 2021 at 17:48, Dan Friedman wrote: > Panos, > > Thank you for the reply. Sorry about the typo... the versions are: > > 9.6.4 -- WORKING > 9.6.5 -- NOT WORKING > > And, yes. I have "mergJSON" selected (as well as "JSON Library"). > > FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 > might be resolved in 9.6.5. ( > http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html) > > > - Dan > > > > On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Could you please confirm the working and non-working versions? There > is no > 9.5.6 or 9.5.4 version of LiveCode. > > Also, to use JSONToArray() you have to include "mergJSON" in the > Inclusions, not "JSON Library". The "JSON Library" is needed for > "JSONImport" and "JSONExport" functions. > > Hope this helps. > > Cheers, > Panos > > On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just built an app for Android in 9.5.6. I am finding that > JSONToArray() > > isn't working. I built the same app in 9.5.4, and JSONToArray() > works > > just fine. (Yes, I have "JSON Library" selected in the Inclusions > in the > > Standalone Application Settings). Is this a bug or is > JSONToArray() no > > longer supported in 9.5.6? > > > > Any advice or knowledge would be appreciated. > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 05:05:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 11:05:34 +0100 Subject: Android: Sign for development only In-Reply-To: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> Message-ID: <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> Hi friends, > Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode : > > Hi friends, > > does it have any limitations if I "Sign for development only"? > > I mean, once the user defined the URL to the APK as "trustworthy" > in his security settings on his/her cellphone, he/she can download > and install the app without any problems and dialogs. > > I tried with a "selfsigning certificate", worked fine, but the user gets > two warning dialogs: > 1. Unknown developer... > 2. Upldoad app for checking to GOOGLE... > > Not as nice as an unsigned app, see above. :-) > > Too bad you can ONLY pay the developer fee via a CREDITCARD! > Big fun, Google! > > OK, any hints welcome! any takers or impossible to answer? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From preid at reidit.co.uk Wed Dec 8 09:05:11 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Wed, 8 Dec 2021 14:05:11 +0000 Subject: Ghost in the Machine? Message-ID: I'm trying to provide an upload facility for an existing on-line club membership app. This app has a bulk loading facility for initial set up and is designed for whole database configuration. In addition the app provides a manual on-line form with 20+ fields making up a member's record. Ideally my user would use a facility to upload 1 or more files with rows of details , each row containing a collection of all the inputs for my user to use. Sadly, there's no bulk loading facility, so the user has to type in most of the details from the membership form. So here comes the 'Ghost' bit, is it possible to make an LC app that mimics keyboard and mouse inputs as if the user was there interacting with the on-line form? If I can do this my user would have a file of inputs which they could send to the membership database, sit back and watch the ghostly app 'type' and 'mouse click' their way through completing the on-line form. Any suggestions please? Peter -- Peter Reid Loughborough, UK From keith.clarke at me.com Wed Dec 8 10:01:22 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 8 Dec 2021 15:01:22 +0000 Subject: PDF Viewer widget - how to enable interaction? Message-ID: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Hi folks, Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. Any clues gratefully received... Best, Keith From skiplondon at gmail.com Wed Dec 8 11:15:09 2021 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 8 Dec 2021 11:15:09 -0500 Subject: JSON to Datagrid Message-ID: I have been googling a solution for this but have not found a solid solution for this. Can anybody lead me in the right direction on this? SKIP From skiplondon at gmail.com Wed Dec 8 11:29:16 2021 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 8 Dec 2021 11:29:16 -0500 Subject: JSON to Datagrid In-Reply-To: References: Message-ID: To functions actually needed... need to be able to convert to a datagrid and I will be also pumping this data into a SQL server. SKIP On Wed, Dec 8, 2021 at 11:15 AM Skip Kimpel wrote: > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody lead me in the right direction on this? > > SKIP > From jacque at hyperactivesw.com Wed Dec 8 11:34:10 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2021 10:34:10 -0600 Subject: Android: Sign for development only In-Reply-To: <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> Message-ID: <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did answer but you may not have received it. I miss occasional posts too sometimes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 8, 2021 4:07:20 AM Klaus major-k via use-livecode wrote: > Hi friends, > >> Am 03.12.2021 um 17:31 schrieb Klaus major-k via use-livecode >> : >> >> Hi friends, >> >> does it have any limitations if I "Sign for development only"? >> >> I mean, once the user defined the URL to the APK as "trustworthy" >> in his security settings on his/her cellphone, he/she can download >> and install the app without any problems and dialogs. >> >> I tried with a "selfsigning certificate", worked fine, but the user gets >> two warning dialogs: >> 1. Unknown developer... >> 2. Upldoad app for checking to GOOGLE... >> >> Not as nice as an unsigned app, see above. :-) >> >> Too bad you can ONLY pay the developer fee via a CREDITCARD! >> Big fun, Google! >> >> OK, any hints welcome! > > any takers or impossible to answer? > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 8 11:37:38 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 17:37:38 +0100 Subject: Android: Sign for development only In-Reply-To: <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <348C8E64-D320-4F0E-B37E-2D05B327BD26@major-k.de> <648B3E99-43ED-46DE-8B63-D8E3DB2D5ACE@major-k.de> <17d9ae52bd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4BFB29F1-61AB-428A-923F-D1B4E212AF40@major-k.de> Hi Jaques, > Am 08.12.2021 um 17:34 schrieb J. Landman Gay via use-livecode : > > I did answer but you may not have received it. yes, didn't receive this one!? > I miss occasional posts too sometimes. > aha, OK, thank you! :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From keith.clarke at me.com Wed Dec 8 11:37:47 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 8 Dec 2021 16:37:47 +0000 Subject: JSON to Datagrid In-Reply-To: References: Message-ID: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Hi Skip, I don’t use Datagrids but have used a two-step process to get JSON into the Tree widget and a similar process may provide a direction of travel to test…? 1. JSON-to-array https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file 2. Setting the array data of datagrid… Good luck. Best, Keith > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode wrote: > > I have been googling a solution for this but have not found a solid > solution for this. > > Can anybody lead me in the right direction on this? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 12:56:37 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 Dec 2021 12:56:37 -0500 Subject: JSON to Datagrid In-Reply-To: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> References: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Message-ID: completely off the top of my head, so this might not be quite right jsonToArray set the dgData of group "datagrid 1" to On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Skip, > I don’t use Datagrids but have used a two-step process to get JSON into > the Tree widget and a similar process may provide a direction of travel to > test…? > > 1. JSON-to-array > https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file > 2. Setting the array data of datagrid… > > Good luck. > Best, > Keith > > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have been googling a solution for this but have not found a solid > > solution for this. > > > > Can anybody lead me in the right direction on this? > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Wed Dec 8 13:36:29 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Dec 2021 13:36:29 -0500 Subject: JSON to Datagrid In-Reply-To: References: <95856584-2DC4-4D8A-A5CC-18E6FB799BE3@me.com> Message-ID: JSONToArray works well for me if your JSON is correct. Always use try when decoding from JSON to catch any errors. On Wed, Dec 8, 2021 at 12:58 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > completely off the top of my head, so this might not be quite right > jsonToArray > set the dgData of group "datagrid 1" to > > On Wed, Dec 8, 2021 at 11:39 AM Keith Clarke via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Skip, > > I don’t use Datagrids but have used a two-step process to get JSON into > > the Tree widget and a similar process may provide a direction of travel > to > > test…? > > > > 1. JSON-to-array > > > https://lessons.livecode.com/m/4071/l/1303394-how-to-read-in-data-from-a-json-file > > 2. Setting the array data of datagrid… > > > > Good luck. > > Best, > > Keith > > > > > On 8 Dec 2021, at 16:15, Skip Kimpel via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > I have been googling a solution for this but have not found a solid > > > solution for this. > > > > > > Can anybody lead me in the right direction on this? > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Wed Dec 8 13:38:30 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Dec 2021 13:38:30 -0500 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: I don't know about moving the mouse around ....but u can have a fake png of a cursor move around...and then send mouseUps to buttons..... and also u can put text into a field 1 character at a time to simulate typing. This is entirely doable in LC. On Wed, Dec 8, 2021 at 9:06 AM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to provide an upload facility for an existing on-line club > membership app. This app has a bulk loading facility for initial set up and > is designed for whole database configuration. In addition the app provides > a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows > of details , each row containing a collection of all the inputs for my user > to use. Sadly, there's no bulk loading facility, so the user has to type in > most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that > mimics keyboard and mouse inputs as if the user was there interacting with > the on-line form? If I can do this my user would have a file of inputs > which they could send to the membership database, sit back and watch the > ghostly app 'type' and 'mouse click' their way through completing the > on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Wed Dec 8 15:27:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 8 Dec 2021 20:27:56 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: Hi Peter, just checking if I have understood this right. I think you have a website / webpage which allows the user to view / update a single entry (i.e. "manual on-line form with 20+ fields"). If that is the case, I'd consider writing an app to take in the file of rows of details, and insert that using a browser widget. See https://forums.livecode.com/viewtopic.php?t=33074 or other similar discussions.  (Not done it myself, but looks reasonably straightforward). Alex. On 08/12/2021 14:05, Peter Reid via use-livecode wrote: > I'm trying to provide an upload facility for an existing on-line club membership app. This app has a bulk loading facility for initial set up and is designed for whole database configuration. In addition the app provides a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows of details , each row containing a collection of all the inputs for my user to use. Sadly, there's no bulk loading facility, so the user has to type in most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that mimics keyboard and mouse inputs as if the user was there interacting with the on-line form? If I can do this my user would have a file of inputs which they could send to the membership database, sit back and watch the ghostly app 'type' and 'mouse click' their way through completing the on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 8 15:33:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 14:33:49 -0600 Subject: Android SDK Message-ID: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app since I installed Big Sur. I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older installations still in place. In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for the entire SDK folder and all its contents. LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but now all my LC apps say the folder is invalid. So now what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Dec 8 15:44:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 21:44:25 +0100 Subject: APK and an idsig file? Message-ID: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> Hi all, I just created an APK with LC 9.6.5 and found another file beneath the actual APK file in the folder. Like this: Name of app.apk Name of app.apk.idsig -> ca. 160 KB Is this new? And what is it good for? Thanks for any hints! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dochawk at gmail.com Wed Dec 8 15:47:08 2021 From: dochawk at gmail.com (doc hawk) Date: Wed, 8 Dec 2021 12:47:08 -0800 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Message-ID: <0AC5C2E7-E41F-459F-A287-70998693CC74@gmail.com> keith kayaked, > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? I had great hopes and excitement. I rearranged my project to use it. All looked great on screen. And then I found that it turns its output of pdfs to 72dpi. And cried. From rdimola at evergreeninfo.net Wed Dec 8 15:58:33 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Dec 2021 15:58:33 -0500 Subject: LC 9.5.6, Android and JSONToArray In-Reply-To: References: <52F47CEE-9B4C-40CD-84CF-5122F72DD344@clearvisiontech.com> Message-ID: <004e01d7ec76$5fc103e0$1f430ba0$@net> Dan, Same problem with tsNet. The pro was the second license and as in previous version I just blew past the licensing dialog without reading. After I re-licensed and clicked the right arrow and selected the pro license(clearly marked) I was good to go. Although I assumed... Maybe the highest level of license should be the default? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis m via use-livecode Sent: Wednesday, December 08, 2021 4:52 AM To: Dan Friedman Cc: panagiotis m; How to use LiveCode Subject: Re: LC 9.5.6, Android and JSONToArray Hello Dan, I reply here so that other affected users can see it. So, the culprit was that Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated with a license that did not include this feature. Dan had another license that did include the "pro" features (i.e. remote debugger, pdf widget etc), and once he relicensed LC with this license, JSONToArray() worked as expected. What happened under the hood was that an error was thrown when the standalone was trying to load the Remote Debugger library on startup, and this error prevented all the other included libraries (including mergJSON) to load. This is a bug we should fix - i.e. the standalone builder should only include libraries that are licensed. You can check if your current license has the pro features using "put the editionType". If it returns "professional", you do have them. If it returns "commercial", you do not. Hope this helps. Kind regards, Panos -- On Mon, 6 Dec 2021 at 17:48, Dan Friedman wrote: > Panos, > > Thank you for the reply. Sorry about the typo... the versions are: > > 9.6.4 -- WORKING > 9.6.5 -- NOT WORKING > > And, yes. I have "mergJSON" selected (as well as "JSON Library"). > > FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 > might be resolved in 9.6.5. ( > http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.htm > l) > > > - Dan > > > > On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hello Dan, > > Could you please confirm the working and non-working versions? > There is no > 9.5.6 or 9.5.4 version of LiveCode. > > Also, to use JSONToArray() you have to include "mergJSON" in the > Inclusions, not "JSON Library". The "JSON Library" is needed for > "JSONImport" and "JSONExport" functions. > > Hope this helps. > > Cheers, > Panos > > On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just built an app for Android in 9.5.6. I am finding that > JSONToArray() > > isn't working. I built the same app in 9.5.4, and JSONToArray() > works > > just fine. (Yes, I have "JSON Library" selected in the > Inclusions in the > > Standalone Application Settings). Is this a bug or is > JSONToArray() no > > longer supported in 9.5.6? > > > > Any advice or knowledge would be appreciated. > > > > -Dan > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 8 16:06:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:06:22 -0600 Subject: Android SDK In-Reply-To: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> References: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> Message-ID: <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my phone, which also worked yesterday. So I tried again to build an apk and that now works too, though the prefs still show red and report the SDK is invalid (LC 9.6.5.) There is something weird going on though. I can only build directly to my phone if I choose Test from the Development menu. If I just click the Test button in the toolbar I get a dialog that says "Android " which is the ID of my phone. Occasionally the menu item does the same, but usually it works. I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could you leave the RC versions up for a few weeks so we could backtrack if necessary? On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote: > I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app > since I installed Big Sur. > > I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools 30.0.3 > (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have some older > installations still in place. > > In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for > the entire SDK folder and all its contents. > > LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 but > now all my LC apps say the folder is invalid. > > So now what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 8 16:08:30 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:08:30 -0600 Subject: APK and an idsig file? In-Reply-To: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> References: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> Message-ID: <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote: > Hi all, > > I just created an APK with LC 9.6.5 and found > another file beneath the actual APK file in the folder. > > Like this: > Name of app.apk > Name of app.apk.idsig -> ca. 160 KB > > Is this new? And what is it good for? > Thanks for any hints! It's new since LC implemented app bundles. I looked it up, but aside from info about app signing, I didn't find a real use for it. I leave it in place in the folder and ignore it. You don't need to distribute it with the apk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Dec 8 16:13:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Dec 2021 22:13:25 +0100 Subject: APK and an idsig file? In-Reply-To: <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> References: <3D1CD165-600F-454A-B22B-92A53F8555D1@major-k.de> <3fee7fec-22c3-a3d4-e8cb-c87614f52a56@hyperactivesw.com> Message-ID: Hi Jaqueline, > Am 08.12.2021 um 22:08 schrieb J. Landman Gay via use-livecode : > > On 12/8/21 2:44 PM, Klaus major-k via use-livecode wrote: >> Hi all, >> I just created an APK with LC 9.6.5 and found >> another file beneath the actual APK file in the folder. >> Like this: >> Name of app.apk >> Name of app.apk.idsig -> ca. 160 KB >> Is this new? And what is it good for? >> Thanks for any hints! > It's new since LC implemented app bundles. AHA! :-) > I looked it up, but aside from info about app signing, I didn't find a real use for it. > I leave it in place in the folder and ignore it. You don't need to distribute it with the apk. OK, thanks for the hints, much appreciated! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Wed Dec 8 16:26:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Dec 2021 15:26:17 -0600 Subject: Android SDK In-Reply-To: <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> References: <1fdd0be6-8bdd-2e2c-bff9-ca2eb4284aed@hyperactivesw.com> <6762155d-1977-f08c-be07-d41c16fd1f21@hyperactivesw.com> Message-ID: And...now I can't build a standalone again. No changes to the SDK config, just a warning that the SDK isn't valid. It hasn't been 20 minutes since I built the first one. On 12/8/21 3:06 PM, J. Landman Gay via use-livecode wrote: > Now I'm confused. LC Prefs still says the SDK is invalid but I can build okay directly to my > phone, which also worked yesterday. So I tried again to build an apk and that now works too, > though the prefs still show red and report the SDK is invalid (LC 9.6.5.) > > There is something weird going on though. I can only build directly to my phone if I choose > Test from the Development menu. If I just click the Test button in the toolbar I get a dialog > that says "Android " which is the ID of my phone. Occasionally the menu item does > the same, but usually it works. > > I wish I hadn't deleted my copy of 9.6.5 rc 2 because there was no problem there. Team: could > you leave the RC versions up for a few weeks so we could backtrack if necessary? > > > On 12/8/21 2:33 PM, J. Landman Gay via use-livecode wrote: >> I seem to have ruined my Android SDK setup. It all used to work but I haven't built an app >> since I installed Big Sur. >> >> I have installed Android 11 Platform 30, Sources for Android 30, Android SDK Build-Tools >> 30.0.3 (28.0.3 is still in there too) and Android SDK Command-line tools 3.0. I also have >> some older installations still in place. >> >> In case there was a permissions issue, I gave everyone "read-only" permissions in Finder for >> the entire SDK folder and all its contents. >> >> LC 9.6.5 says the SDK folder is invalid. The same folder used to work as far back as 9.6.1 >> but now all my LC apps say the folder is invalid. >> >> So now what? > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From danoldboy at gmail.com Wed Dec 8 16:46:13 2021 From: danoldboy at gmail.com (Dan Brown) Date: Wed, 8 Dec 2021 21:46:13 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: If it's a simple html form then you could POST the form data to the server directly from within livecode. There is a short guide for doing so here https://livecode.byu.edu/internet/aboutForms.php and here https://livecode.byu.edu/internet/postMethodSteps.php put urlEncode(fld "fullname") into tName put the hilitedButtonName of group "genderGrp" into tGndr put urlEncode(the label of btn "colorChoice") into tColor put fullname=" & tName & "&gender=" & tGndr & "&color=" & tColor into tArgList post tArgList to URL "http://my.web.site/sampleform.html" put it into tFormResults You may need to log in to the website from within livecode (using the above form method) to authenticate and retrieve a cookie or session token to include in the headers of your form request On Wed, Dec 8, 2021 at 2:06 PM Peter Reid via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm trying to provide an upload facility for an existing on-line club > membership app. This app has a bulk loading facility for initial set up and > is designed for whole database configuration. In addition the app provides > a manual on-line form with 20+ fields making up a member's record. > > Ideally my user would use a facility to upload 1 or more files with rows > of details , each row containing a collection of all the inputs for my user > to use. Sadly, there's no bulk loading facility, so the user has to type in > most of the details from the membership form. > > So here comes the 'Ghost' bit, is it possible to make an LC app that > mimics keyboard and mouse inputs as if the user was there interacting with > the on-line form? If I can do this my user would have a file of inputs > which they could send to the membership database, sit back and watch the > ghostly app 'type' and 'mouse click' their way through completing the > on-line form. > > Any suggestions please? > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Wed Dec 8 21:43:50 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 9 Dec 2021 13:43:50 +1100 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> Message-ID: <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> Hi Keith I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: on linkClicked pAction if pAction[“type”] is “goto” then set the currentDestination of me to pAction end if end linkClicked > On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode wrote: > > Hi folks, > Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? > > I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. > > The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. > > Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. > > Any clues gratefully received... > 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 keith.clarke at me.com Thu Dec 9 04:15:24 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 9 Dec 2021 09:15:24 +0000 Subject: PDF Viewer widget - how to enable interaction? In-Reply-To: <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> References: <053C16A0-2CE9-4AD5-9CAF-C61482B62DCB@me.com> <8614CCEA-9F85-40CB-82DB-0B7E72C73E04@appisle.net> Message-ID: Thanks Monte. I should have been more explicit in that I’d tried that technique to handle the linkClicked message - none of the links in my test PDFs (that work in Preview and Adobe) fire it. Assuming I’ve not missed any widget properties, it looks like there’s a problem with the underlying PDFium library not finding ‘clickables’ in the PDF documents - or the LC wrapping has a bug... If navigation is under script control the documentation suggests that every ‘clickable’ that works in any PDF viewer would need to be extracted into either the documentBookmarks or documentNamedDestinations arrays to be accessible for scripting - and both are empty for my ‘link-rich’ test PDFs. Maybe the premium subscription for this widget means that it’s not been accessible for beta-testing by the user community, as I see nothing in the QA centre. Best, Keith > On 9 Dec 2021, at 02:43, Monte Goulding via use-livecode wrote: > > Hi Keith > > I think you want the `linkClicked` message. Navigation via links is under script control so possibly what you want is: > > on linkClicked pAction > if pAction[“type”] is “goto” then > set the currentDestination of me to pAction > end if > end linkClicked > >> On 9 Dec 2021, at 2:01 am, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> Can anyone share any experiences with the PDF Viewer widget that’s available via the old Business Edition or Pro Pack subscription? >> >> I’m testing this on LC 9.6.5 with a Pro subscription on Mac 11.6. Following the PDF guide https://livecode.com/resources/guide/ I’ve been able to load various PDF documents into the viewer widget and view, paginate, scroll, etc. I can select text, as per the example code in the guide and this ability to select toggles with the autoHighlight property on the widget - as expected. However, I’m struggling to get much else. >> >> The widget seems to be rendering the PDF documents in a passive ‘preview’ mode, in that they seem to lack any of the interactive behaviour available when opened in Preview or Adobe reader. There are no hovers or navigation on obvious links or bookmarks. Furthermore, other than documentPages and documentMetadata, all of the arrays that should handle these navigation elements are empty - documentBookmarks, documentNamedDestination, linkStyles. >> >> Maybe I’ve missed another property that needs to be set to enable interaction? I don’t see any obvious setting to change in the dictionary, the LC guide doc, LC forums or online sources of documentation. >> >> Any clues gratefully received... >> 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 craig at starfirelighting.com Thu Dec 9 10:11:47 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 9 Dec 2021 10:11:47 -0500 Subject: Forum Down? Message-ID: Could not connect as of last evening. Craig From klaus at major-k.de Thu Dec 9 10:14:33 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Dec 2021 16:14:33 +0100 Subject: Forum Down? In-Reply-To: References: Message-ID: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Hi Craig, > Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : > > Could not connect as of last evening. nope, alive and running! Just tested. > Craig Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From robeppich at epsi.ca Thu Dec 9 10:18:17 2021 From: robeppich at epsi.ca (RobEppich) Date: Thu, 9 Dec 2021 07:18:17 -0800 Subject: open socket on start up and can't close In-Reply-To: References: Message-ID: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? Thanks Rob Eppich From klaus at major-k.de Thu Dec 9 10:22:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Dec 2021 16:22:44 +0100 Subject: open socket on start up and can't close In-Reply-To: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> References: <0B0AB188-7480-4203-BF21-EFC6428EA5D7@epsi.ca> Message-ID: <7C328F86-AC7D-4271-A8F3-3796F0477191@major-k.de> Hi Rob, > Am 09.12.2021 um 16:18 schrieb RobEppich via use-livecode : > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? not on my machine: macOS 10.14.6, LC 9.6.5 > Thanks > Rob Eppich Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Thu Dec 9 11:00:24 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 9 Dec 2021 11:00:24 -0500 Subject: Forum Down? In-Reply-To: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> References: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Message-ID: Hmmm. Still cannot. Will wait a while and see… Craig > On Dec 9, 2021, at 10:14 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : >> >> Could not connect as of last evening. > > nope, alive and running! > Just tested. > >> Craig > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Dec 9 18:33:28 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 9 Dec 2021 18:33:28 -0500 Subject: How to in LC for Desktop and the Web? In-Reply-To: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> References: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> Message-ID: Following up (in case someone has an answer): I see in the description for SpecialFolderPath(), that under HTML5 (platform) the following are available: "temporary": A folder where temporary files can be placed "engine": The folder where the standalone initial file system is extracted "resources": The resources folder where files or folders specified in the Standalone Builder are located. But where do these point to: 1) When the HTML5 app is running from the local file system (say Windows) in a browser VS 2) When the HTML5 app is running from a server URL in a browser If no one knows the answers, I can always run a set of tests to determine the values. On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: > I have an LC application that currently runs on Window and macOS, that > I want to try to get running under LC 10 for the web. One > characteristic of the app is that it opens a number of external > stacks. On desktop platforms, these external stacks (outside the .EXE > (windows) or .app package (macOS) are found in a folder at the same > level as the installed application. > > So if the app is installed at C:\Program Files\MyApp\MyApp.exe > The the folder containing the external stacks is at C"\Program > Files\MyApp\FolderOfStacks\ > > I get the path of the mainstack and use it to construct the path to > the folder > > If I build for Web, is there some equivalent model for external stacks? > > I get that I may need to have a: > > switch platform() >   case "Win32" >   case "macOS" >      -- load external stacks the way I do now >      break >   case "web" >      -- load external stacks some other way >     break > end switch > > but what is the web best practice for that 'some other way"? And is it > different if I am testing locally vs hosting MyApp on a server? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Dec 9 18:47:38 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 9 Dec 2021 18:47:38 -0500 Subject: How to in LC for Desktop and the Web? In-Reply-To: References: Message-ID: As I understand it, #1 doesn’t really work… it needs to be served from a web server. When you test in the IDE, it actually serves it from a server instance that is started for that purpose. As for building the paths, I’m not exactly sure but do know that stuff in the “copy files” section ends up in the package and virtual file system that is used in the running app. Sent from my iPhone > On Dec 9, 2021, at 6:36 PM, Paul Dupuis via use-livecode wrote: > > Following up (in case someone has an answer): > > I see in the description for SpecialFolderPath(), that under HTML5 (platform) the following are available: > "temporary": A folder where temporary files can be placed > "engine": The folder where the standalone initial file system is extracted > "resources": The resources folder where files or folders specified in the Standalone Builder are located. > > But where do these point to: > > 1) When the HTML5 app is running from the local file system (say Windows) in a browser > > VS > > 2) When the HTML5 app is running from a server URL in a browser > > If no one knows the answers, I can always run a set of tests to determine the values. > > >> On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: >> I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package (macOS) are found in a folder at the same level as the installed application. >> >> So if the app is installed at C:\Program Files\MyApp\MyApp.exe >> The the folder containing the external stacks is at C"\Program Files\MyApp\FolderOfStacks\ >> >> I get the path of the mainstack and use it to construct the path to the folder >> >> If I build for Web, is there some equivalent model for external stacks? >> >> I get that I may need to have a: >> >> switch platform() >> case "Win32" >> case "macOS" >> -- load external stacks the way I do now >> break >> case "web" >> -- load external stacks some other way >> break >> end switch >> >> but what is the web best practice for that 'some other way"? And is it different if I am testing locally vs hosting MyApp on a server? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 10 08:02:08 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 14:02:08 +0100 Subject: Record audio on Mac Message-ID: Hi all, There is an entry in the dictionary -> record sound... But that obviously relies on Quicktime. And then there is this in the "Release Notes": ... 64-bit standalones for Mac OS X do not have support for audio recording. ... Does that mean we do not have a way to record a sound with LC? If yes, oh my.... :-/ Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Dec 10 09:03:56 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 10 Dec 2021 16:03:56 +0200 Subject: Record audio on Mac In-Reply-To: References: Message-ID: Hello Klaus, You can use the camera control: cameraControlDo tCamera, "startRecording", .... Cheers, Panos -- On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... > > Does that mean we do not have a way to record a sound with LC? > If yes, oh my.... :-/ > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Dec 10 09:10:31 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 15:10:31 +0100 Subject: Record audio on Mac In-Reply-To: References: Message-ID: <51880379-6D57-495F-BC73-4D25F70F9937@major-k.de> Hi Panos, > Am 10.12.2021 um 15:03 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > You can use the camera control: > cameraControlDo tCamera, "startRecording", .... thank you, so we can use it for recording audio only? Cool. Will have to read up that entry in the dictionary. But why on earth do you then write this in the release notes? -> 64-bit standalones for Mac OS X do not have support for audio recording. 8-) > Cheers, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From msiskin at andrew.cmu.edu Fri Dec 10 09:14:48 2021 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Fri, 10 Dec 2021 14:14:48 +0000 Subject: Record audio on Mac In-Reply-To: References: , Message-ID: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> I have been reasonably assured that in LC 10 there will be a simplified/unified way to record audio and/or video on most platforms. This has been in progress for several years. I am looking forward to this returned functionality. Marc Siskin Learning Engineer, Carnegie Mellon University Modern Language Resource Center ________________________________ From: use-livecode on behalf of panagiotis m via use-livecode Sent: Friday, December 10, 2021 9:03:56 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Record audio on Mac Hello Klaus, You can use the camera control: cameraControlDo tCamera, "startRecording", .... Cheers, Panos -- On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... > > Does that mean we do not have a way to record a sound with LC? > If yes, oh my.... :-/ > > Thanks for any hint! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 10 09:28:41 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 10 Dec 2021 09:28:41 -0500 Subject: Forum Down? In-Reply-To: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> References: <684D70FD-F189-45E0-BFE5-3730F6AF7751@major-k.de> Message-ID: OK. All back to normal, Funny how annoyed I get when a modern miracle does not quite perform the way I want it to. Craig > On Dec 9, 2021, at 10:14 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 09.12.2021 um 16:11 schrieb Craig Newman via use-livecode : >> >> Could not connect as of last evening. > > nope, alive and running! > Just tested. > >> Craig > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Fri Dec 10 10:42:13 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 10 Dec 2021 15:42:13 +0000 Subject: OT Re: Record audio on Mac In-Reply-To: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> References: <3f62489889954a7a90416878582492d0@andrew.cmu.edu> Message-ID: <1674af60-df27-b92c-4f15-fb718167255c@cogapp.com> Marc, we can tell you're not in the UK. Right now, the phrase that "I have been assured" has quite low credibility on this side of the Atlantic! Ben On 10/12/2021 14:14, Marc Siskin via use-livecode wrote: > I have been reasonably assured that in LC 10 there will be a simplified/unified way to record audio and/or video on most platforms. This has been in progress for several years. > > > I am looking forward to this returned functionality. > > > Marc Siskin > > Learning Engineer, Carnegie Mellon University > > Modern Language Resource Center > > ________________________________ > From: use-livecode on behalf of panagiotis m via use-livecode > Sent: Friday, December 10, 2021 9:03:56 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Record audio on Mac > > Hello Klaus, > > You can use the camera control: > > cameraControlDo tCamera, "startRecording", .... > > Cheers, > Panos > -- > > On Fri, 10 Dec 2021 at 15:02, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> There is an entry in the dictionary -> record sound... >> But that obviously relies on Quicktime. >> >> And then there is this in the "Release Notes": >> ... >> 64-bit standalones for Mac OS X do not have support for audio recording. >> ... >> >> Does that mean we do not have a way to record a sound with LC? >> If yes, oh my.... :-/ >> >> Thanks for any hint! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 10 14:29:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Dec 2021 20:29:34 +0100 Subject: Record audio on Mac In-Reply-To: References: Message-ID: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> Hi all, > Am 10.12.2021 um 14:02 schrieb Klaus major-k via use-livecode : > > Hi all, > > There is an entry in the dictionary -> record sound... > But that obviously relies on Quicktime. > And then there is this in the "Release Notes": > ... > 64-bit standalones for Mac OS X do not have support for audio recording. > ... almost forgot that we have all this wonderful MERG AV... and MERGmicrophone... stuff on the Mac! :-) So please remove that line from the Release Notes. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From torsten.holmer at web.de Fri Dec 10 16:46:42 2021 From: torsten.holmer at web.de (Torsten Holmer) Date: Fri, 10 Dec 2021 22:46:42 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? Message-ID: Hi, I have a PDF file with text and pictures, but I just want the text. I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. I have a business licence and want to use the PDF widget but I cannot find a way to do it. Can someone help me out? Cheers, Torsten From matthias_livecode_150811 at m-r-d.de Fri Dec 10 17:47:49 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 10 Dec 2021 23:47:49 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: Message-ID: <6FC606D4-7ADE-4082-8D72-D72644309B0D@m-r-d.de> Hi Torsten, i think the PDF widget does not support extracting text by code. At least the documentation does not show any information about this. You wrote, that you have a business license. That would mean, that you can use the Pro features of Livecode. There is an external included in the Pro Feature Pack called XPDF. That external supports extracting text. Have a look at the function XPDFVIEWER_text. Regards, Matthias > Am 10.12.2021 um 22:46 schrieb Torsten Holmer via use-livecode : > > Hi, > > I have a PDF file with text and pictures, but I just want the text. > > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > > Can someone help me out? > > Cheers, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 17:22:56 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Dec 2021 17:22:56 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: Message-ID: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. Monte? LC 10.0.0 Dictionary does not list a property for the page text. On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: > Hi, > > I have a PDF file with text and pictures, but I just want the text. > > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > > Can someone help me out? > > Cheers, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 19:05:49 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Dec 2021 01:05:49 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> Message-ID: <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Paul, here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). Btw. checking this showed me that this function seems to be deprecated and instead the command XPDFViewer_Unicode viewerName, pageNumber, variableName should be used. > Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : > > There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. > > Monte? LC 10.0.0 Dictionary does not list a property for the page text. > > > On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >> Hi, >> >> I have a PDF file with text and pictures, but I just want the text. >> >> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >> >> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >> >> Can someone help me out? >> >> Cheers, >> Torsten >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 10 20:01:59 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Dec 2021 20:01:59 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: > Paul, > > here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). > Btw. checking this showed me that this function seems to be deprecated and instead the command > XPDFViewer_Unicode viewerName, pageNumber, variableName > should be used. > > >> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >> >> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >> >> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >> >> >> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>> Hi, >>> >>> I have a PDF file with text and pictures, but I just want the text. >>> >>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>> >>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>> >>> Can someone help me out? >>> >>> Cheers, >>> Torsten >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 11 06:50:07 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Dec 2021 12:50:07 +0100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: Ah, i thought you were referring only to XPDF. Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? Or am i missing something? Regards, Matthias > Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : > > Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. > > I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. > > > On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >> Paul, >> >> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >> Btw. checking this showed me that this function seems to be deprecated and instead the command >> XPDFViewer_Unicode viewerName, pageNumber, variableName >> should be used. >> >> >>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>> >>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>> >>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>> >>> >>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>> Hi, >>>> >>>> I have a PDF file with text and pictures, but I just want the text. >>>> >>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>> >>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>> >>>> Can someone help me out? >>>> >>>> Cheers, >>>> Torsten >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at mac.com Sat Dec 11 07:00:52 2021 From: yvescoppe at mac.com (Yves COPPE) Date: Sat, 11 Dec 2021 13:00:52 +0100 Subject: Command "Launch" Message-ID: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> Hello, On mac : I want to launch a document with application « TextEdit » The path to the document is ok but I cannot find a script with the path to « TextEdit » Can somebody help, me ? Thanks. Greetings. Yves COPPE yvescoppe at mac.com From klaus at major-k.de Sat Dec 11 07:08:04 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 11 Dec 2021 13:08:04 +0100 Subject: Command "Launch" In-Reply-To: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> References: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> Message-ID: <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> Bonjour Yves, > Am 11.12.2021 um 13:00 schrieb Yves COPPE via use-livecode : > > Hello, > > On mac : > I want to launch a document with application « TextEdit » > The path to the document is ok but I cannot find a script with the path to « TextEdit » > Can somebody help, me ? find it in -> specialfolderpath("apps") :-) Ken Ray has a nice list of many specialfolderpath() names on his website: > Thanks. > > Greetings. > > Yves COPPE > yvescoppe at mac.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Sat Dec 11 08:27:38 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 11 Dec 2021 08:27:38 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: I suspect it is for backward compatibility. When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: > Ah, i thought you were referring only to XPDF. > Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? > Or am i missing something? > > Regards, > Matthias > > >> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >> >> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >> >> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >> >> >> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>> Paul, >>> >>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>> should be used. >>> >>> >>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>> >>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>> >>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>> >>>> >>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>> Hi, >>>>> >>>>> I have a PDF file with text and pictures, but I just want the text. >>>>> >>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>> >>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>> >>>>> Can someone help me out? >>>>> >>>>> Cheers, >>>>> Torsten >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Sun Dec 12 02:28:32 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 12 Dec 2021 07:28:32 +0000 Subject: IOS 15.0 Message-ID: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> What’s the most stable release / configuration that works with IOS 15. Thanks Sent from my iPhone From dvglasgow at gmail.com Sun Dec 12 05:50:55 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 12 Dec 2021 10:50:55 +0000 Subject: Command "Launch" In-Reply-To: <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> References: <40C49A6B-73A0-43FE-A771-3321018AC797@mac.com> <3D94BFA3-70F8-4588-99FD-90F6F7D5193A@major-k.de> Message-ID: <7894D8D4-6B8D-4949-A99A-2BCF2A0F405B@gmail.com> > On 11 Dec 2021, at 12:08 pm, Klaus major-k via use-livecode wrote: > > Ken Ray has a nice list of many specialfolderpath() names on his website: > > I can’t say how many times I have looked through that. Thank you, Ken. From stam66 at mac.com Sun Dec 12 08:59:50 2021 From: stam66 at mac.com (Stam Kapetanakis) Date: 12 Dec 2021 13:59:50 +0000 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: Message-ID: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Hi Torsten, i presume the pdf widget in pro is the opensource xpdfReader but don’t know for sure. I did post on how to extract text from PDF using the free xpdfReader and non-pro LC: https://forums.livecode.com/viewtopic.php?f=8&t=35280&p=201036&hilit=Xpdfreader#p201036 I presume that with Pro this is simpler still. hope that helps Stam > I have a PDF file with text and pictures, but I just want the text. > I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS.  > > > I have a business licence and want to use the PDF widget but I cannot find a way to do it. > Can someone help me out? > Cheers, > Torsten > > > From preid at reidit.co.uk Sun Dec 12 13:29:03 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Sun, 12 Dec 2021 18:29:03 +0000 Subject: Ghost in the Machine? Message-ID: Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate… 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: +---------------------------------------------------------------------------------+ | Surname:[.............] Firstname(s):[...........] Initials:[......] | | | | Address:[.............] Town:[.............] Phone: [.............] | | [.............] Postcode:[.........] Mobile:[.............] | | | | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | +---------------------------------------------------------------------------------+ 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. So my query is really as follows: a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? b) has anyone done something like this? c) does anyone have any methods and/or code they can let me have for this? My overview of what's required is as follows (assuming no show-stoppers): - I make an overlay map, transparent everywhere except where there are input fields – this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles - we take the name of a field, 'Surname' say, and lookup its location on the screen - we position our virtual mouse to click into the location where the equivalent field can be found - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object Any idea whether this is possible and any code examples?! Thanks. Peter From ambassador at fourthworld.com Sun Dec 12 14:33:39 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2021 11:33:39 -0800 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: Stam Kapetanakis wrote: > i presume the pdf widget in pro is the opensource xpdfReader but > dont know for sure. If it is that would be problematic, as the open source edition of xpdfReader is licensed under GPL, and LC no longer has an edition compatible with GPL. -- 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 Sun Dec 12 14:38:20 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2021 11:38:20 -0800 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: Peter Reid wrote: > We want a way to upload a group of new members by 'driving' the input > fields, i.e. our app would click into each field, checkbox, radiobox > and 'type' in the details. If the goal is to submit new member info you can do that with a single POST command. Examine the source HTML. Look for the action URL. Look at the input names. Package up the input data as name-value pairs form-encoded, send it to the URL via POST, and you're done. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Dec 12 14:55:10 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Dec 2021 21:55:10 +0200 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: The consequences are endless. On 12.12.21 21:33, Richard Gaskin via use-livecode wrote: > Stam Kapetanakis wrote: > > > i presume the pdf widget in pro is the opensource xpdfReader but > > dont know for sure. > > If it is that would be problematic, as the open source edition of > xpdfReader is licensed under GPL, and LC no longer has an edition > compatible with GPL. > From paul at researchware.com Sun Dec 12 15:38:45 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Dec 2021 15:38:45 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> References: <03A0CEAE-D5B2-4EE0-9D24-D3BA87FBCC78@mac.com> Message-ID: <5e366366-e3b2-e094-3f3c-498c2bd9ea0a@researchware.com> On 12/12/2021 8:59 AM, Stam Kapetanakis via use-livecode wrote: > Hi Torsten, > i presume the pdf widget in pro is the opensource xpdfReader but dont know for sure. It is not xpdfreader. The XPDF Erternal AND the PDF Wdiget with Licecode are based on the Google PDFium Library. The first is C++ code using the External template to call the PDFium library APIs and the second is using LCB to do the same. From monte at appisle.net Sun Dec 12 18:49:20 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Dec 2021 10:49:20 +1100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> Message-ID: <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> Hi Folks Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. Cheers Monte > On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: > > I suspect it is for backward compatibility. > > When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. > > That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. > > I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. > > To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. > > > On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >> Ah, i thought you were referring only to XPDF. >> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >> Or am i missing something? >> >> Regards, >> Matthias >> >> >>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>> >>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>> >>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>> >>> >>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>> Paul, >>>> >>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>> should be used. >>>> >>>> >>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>> >>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>> >>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>> >>>>> >>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>> Hi, >>>>>> >>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>> >>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>> >>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>> >>>>>> Can someone help me out? >>>>>> >>>>>> Cheers, >>>>>> Torsten >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 12 19:17:39 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 12 Dec 2021 19:17:39 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> Message-ID: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Thank you Monte, We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? Thanks in advance, On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldnt be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so its worthwhile anyone still using XPDF to take the time to audit their use and see if theres any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. > > Cheers > > Monte > >> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >> >> I suspect it is for backward compatibility. >> >> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >> >> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >> >> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >> >> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >> >> >> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>> Ah, i thought you were referring only to XPDF. >>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>> Or am i missing something? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>> >>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>> >>>> >>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>> Paul, >>>>> >>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>> should be used. >>>>> >>>>> >>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>> >>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>> >>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>> >>>>>> >>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>> >>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>> >>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>> >>>>>>> Can someone help me out? >>>>>>> >>>>>>> Cheers, >>>>>>> Torsten >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Dec 12 20:36:51 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 Dec 2021 01:36:51 +0000 Subject: Ghost in the Machine? In-Reply-To: References: Message-ID: <0fc4be03-ba78-c5e8-deca-fe4aca6144bd@tweedly.net> Peter, I think the piece of info we are all missing (or guessing wrongly about) is: the existing club membership system - is it a web-based system, or an app that runs on your desktop. We're all kind of assuming it's a web page, but I now suspect maybe it isn't. If it is a web page - then the answers so far are all relevant, and should be straightforward to try out. [My suggestion re. the browser widget still feels like the "right official" way to do it - but personally I'd look at the html and see if I could POST the correct info - i.e. what Richard said :-) ] If it's a custom app, then it's a very different question - and I currently have no idea. If so, please say a little bit more about the custom app, or put up a screenshot / video somewhere. Alex. On 12/12/2021 18:29, Peter Reid via use-livecode wrote: > Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate > > 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. > > 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: > > +---------------------------------------------------------------------------------+ > | Surname:[.............] Firstname(s):[...........] Initials:[......] | > | | > | Address:[.............] Town:[.............] Phone: [.............] | > | [.............] Postcode:[.........] Mobile:[.............] | > | | > | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | > +---------------------------------------------------------------------------------+ > > 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. > > 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. > > So my query is really as follows: > a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? > b) has anyone done something like this? > c) does anyone have any methods and/or code they can let me have for this? > > My overview of what's required is as follows (assuming no show-stoppers): > - I make an overlay map, transparent everywhere except where there are input fields this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles > - we take the name of a field, 'Surname' say, and lookup its location on the screen > - we position our virtual mouse to click into the location where the equivalent field can be found > - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object > > Any idea whether this is possible and any code examples?! > > Thanks. > > Peter > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Dec 13 01:30:01 2021 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Dec 2021 17:30:01 +1100 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Message-ID: <320E4720-071E-4EBD-8397-F6A340681C26@appisle.net> Both the page and character index are clamped to the number of pages and characters on a page so you could set both to very high numbers. Adding character counts to the documentPages property might be useful here too. Cheers Monte > On 13 Dec 2021, at 11:17 am, Paul Dupuis via use-livecode wrote: > > Thank you Monte, > > We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. > > With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? > > Thanks in advance, > > > On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: >> Hi Folks >> >> Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. >> >> Cheers >> >> Monte >> >>> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >>> >>> I suspect it is for backward compatibility. >>> >>> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >>> >>> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >>> >>> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >>> >>> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >>> >>> >>> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>>> Ah, i thought you were referring only to XPDF. >>>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>>> Or am i missing something? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>>> >>>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>>> >>>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>>> >>>>> >>>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>>> Paul, >>>>>> >>>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>>> should be used. >>>>>> >>>>>> >>>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>>> >>>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>>> >>>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>>> >>>>>>> >>>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>>> >>>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>>> >>>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>>> >>>>>>>> Can someone help me out? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Torsten >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 12:46:08 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Dec 2021 09:46:08 -0800 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: Message-ID: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Richmond wrote: > On 12.12.21 21:33, Richard Gaskin wrote: >> Stam Kapetanakis wrote: >> > i presume the pdf widget in pro is the opensource xpdfReader but >> > dont know for sure. >> >> If it is that would be problematic, as the open source edition of >> xpdfReader is licensed under GPL, and LC no longer has an edition >> compatible with GPL. > > The consequences are endless. Note my "if". In the next message in this thread Paul clarified that the component is not derived from a GPL-governed work, so the rights and responsibilities of the GPL do not apply here: http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Mon Dec 13 13:39:55 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Dec 2021 13:39:55 -0500 Subject: IOS 15.0 In-Reply-To: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> References: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> Message-ID: I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios target devices (other than a bizarre issue with the remote debugger reporting incorrect color instead of showing the actual error). On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > What’s the most stable release / configuration that works with IOS 15. > > Thanks > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Dec 13 13:40:54 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Dec 2021 13:40:54 -0500 Subject: IOS 15.0 In-Reply-To: References: <04F159FB-5695-49E5-B3CE-8CD25D2A125F@gmail.com> Message-ID: sorry, "unknown color". The fix is to insert a breakpoint before the suspect code executes. Then it finds its way. On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner wrote: > I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios > target devices (other than a bizarre issue with the remote debugger > reporting incorrect color instead of showing the actual error). > > On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> What’s the most stable release / configuration that works with IOS 15. >> >> Thanks >> >> 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 >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From marksmithhfx at gmail.com Mon Dec 13 13:57:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 13 Dec 2021 18:57:00 +0000 Subject: IOS 15.0 In-Reply-To: References: Message-ID: Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Best, Mark Sent from my iPhone > On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: > > sorry, "unknown color". > The fix is to insert a breakpoint before the suspect code executes. Then it > finds its way. > >> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >> wrote: >> >> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the ios >> target devices (other than a bizarre issue with the remote debugger >> reporting incorrect color instead of showing the actual error). >> >> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> What’s the most stable release / configuration that works with IOS 15. >>> >>> Thanks >>> >>> 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 >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 13 14:17:27 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Dec 2021 14:17:27 -0500 Subject: IOS 15.0 In-Reply-To: References: Message-ID: <007201d7f056$14196020$3c4c2060$@net> Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the installation to complete. Then point your Xcode build tools to the 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up Xcode 15.0 to drag .app's to your devices for testing. I always rename all my Xcode versions with the version number so that it will not be updated. 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 Smith via use-livecode Sent: Monday, December 13, 2021 1:57 PM To: How to use LiveCode Cc: Mark Smith; Mike Kerner Subject: Re: IOS 15.0 Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Best, Mark Sent from my iPhone > On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: > > sorry, "unknown color". > The fix is to insert a breakpoint before the suspect code executes. > Then it finds its way. > >> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >> >> wrote: >> >> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the >> ios target devices (other than a bizarre issue with the remote >> debugger reporting incorrect color instead of showing the actual error). >> >> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> What’s the most stable release / configuration that works with IOS 15. >>> >>> Thanks >>> >>> 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 >>> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 13 15:22:06 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Dec 2021 15:22:06 -0500 Subject: How to extract whole text from a PDF file with the PDF widget? In-Reply-To: <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> References: <78dc31ae-3268-7f19-6a4f-f538bb8add6a@researchware.com> <229235D0-D9E2-479D-9B53-96C007D80600@m-r-d.de> <8D1324F0-BA91-4E12-AE85-FEBB35F6C552@appisle.net> <669730c8-ca22-15f9-e777-3c58f771f582@researchware.com> Message-ID: <007301d7f05f$1c5bda20$55138e60$@net> Sorry I could not get back to you on this until now. (-1)s don't work here. put 1 into tHilitedArray["from"]["page"] put 1 into tHilitedArray["from"]["index"] put 999999 into tHilitedArray["to"]["page"] put 999999 into tHilitedArray["to"]["index"] set the hilitedRange of control "PDF1" to tHilitedArray put the hilitedRangeText of control "PDF1" into tText This will work if you don't need to know the page number. If you do then cycle thru each page. (1 to the NumberOfPages of control "PDF1") 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 Paul Dupuis via use-livecode Sent: Sunday, December 12, 2021 7:18 PM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: How to extract whole text from a PDF file with the PDF widget? Thank you Monte, We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll make sure that gets done soon and add any missing capabilities as requests to the LC Quality Center. With regard to the hilitedRange and hilitedRangeText properties, can you just advise on the correct use to get a PDF's text? i.e can you use a range of 1 to -1 to get the whole document text or would that just be the current page text? Thanks in advance, On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > Currently you can extract text in the widget by setting the hilitedRange and getting the hilitedRangeText. It wouldn’t be that hard to add extracted text to the documentPages property. The PDF widget was built to meet the requirements for a client rather than to match the features of XPDF so it’s worthwhile anyone still using XPDF to take the time to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. > > Cheers > > Monte > >> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: >> >> I suspect it is for backward compatibility. >> >> When I turned over the XPDF external to Livecode, I asked that they maintain it for a couple years. I had expected we'd migrate out apps to the PDF widget by then, but business factors mean we're only now just starting a migration. >> >> That's why I jumped in on this thread - we HAVE to have the ability to extract text and images from the PDF widget (as you can with the External) - to migrate to the Widget. >> >> I suspect many other commercial developers who used the External still have active code using it that they have not migrated yet OR the issue of the undocumented (or, even worse, missing) properties of the widget most likely would have been raised before now. >> >> To migrate, all the command and functions of the External need to be mapped to the properties of the Widget. We have probably a couple hundred calls to the External in our code all of which need to be mapped, updated, and tested - so no trivial task. >> >> >> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote: >>> Ah, i thought you were referring only to XPDF. >>> Btw. do you have an idea why both, XPDF external and PDF widget, are maintained? Wouldn't it make sense to have only one pdf solution included? >>> Or am i missing something? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over to LiveCode. >>>> >>>> I was referring to the PDF Widget (also based on Google's PDFium), which should have a comparable property for fetching the text of a page. The LC dictionary does not list any property for returning the page text, so I assume that is a Dictionary/Documentation error and that Monte can tell us the correct property of the PDF widget that will return the text of a page. >>>> >>>> >>>> On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote: >>>>> Paul, >>>>> >>>>> here on mac OS the dictionary of LC 10 DP1 definitely lists the function XPDFViewer_Text(viewerName, pageNumber). >>>>> Btw. checking this showed me that this function seems to be deprecated and instead the command >>>>> XPDFViewer_Unicode viewerName, pageNumber, variableName >>>>> should be used. >>>>> >>>>> >>>>>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : >>>>>> >>>>>> There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. >>>>>> >>>>>> Monte? LC 10.0.0 Dictionary does not list a property for the page text. >>>>>> >>>>>> >>>>>> On 12/10/2021 4:46 PM, Torsten Holmer via use-livecode wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I have a PDF file with text and pictures, but I just want the text. >>>>>>> >>>>>>> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. >>>>>>> >>>>>>> I have a business licence and want to use the PDF widget but I cannot find a way to do it. >>>>>>> >>>>>>> Can someone help me out? >>>>>>> >>>>>>> Cheers, >>>>>>> Torsten >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Dec 13 15:34:21 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 13 Dec 2021 20:34:21 +0000 Subject: IOS 15.0 In-Reply-To: <007201d7f056$14196020$3c4c2060$@net> References: <007201d7f056$14196020$3c4c2060$@net> Message-ID: <6EBB42C6-93B8-4669-8803-32ABC3EA1972@gmail.com> Thanks guys, I’ll give that a try but heaven forbid I might need two different versions of Xcode. That’s probably a whopping 40GB of disk space right there. Mark Sent from my iPhone > On Dec 13, 2021, at 7:17 PM, Ralph DiMola via use-livecode wrote: > > Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the installation to complete. Then point your Xcode build tools to the 14.5.x. In LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up Xcode 15.0 to drag .app's to your devices for testing. > > I always rename all my Xcode versions with the version number so that it will not be updated. > > 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 Smith via use-livecode > Sent: Monday, December 13, 2021 1:57 PM > To: How to use LiveCode > Cc: Mark Smith; Mike Kerner > Subject: Re: IOS 15.0 > > Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). > > Best, > Mark > > Sent from my iPhone > >> On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode wrote: >> >> sorry, "unknown color". >> The fix is to insert a breakpoint before the suspect code executes. >> Then it finds its way. >> >>> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner >>> >>> wrote: >>> >>> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the >>> ios target devices (other than a bizarre issue with the remote >>> debugger reporting incorrect color instead of showing the actual error). >>> >>> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> What’s the most stable release / configuration that works with IOS 15. >>>> >>>> Thanks >>>> >>>> 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 >>>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth On the second >>> day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 13 17:09:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2021 16:09:15 -0600 Subject: IOS 15.0 In-Reply-To: References: Message-ID: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: > Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). Have you notarized and stapled the app? I thought that's what the error means. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 13 17:13:07 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2021 16:13:07 -0600 Subject: IOS 15.0 In-Reply-To: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> References: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> Message-ID: <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote: > On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: >> Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now >> all my builds have stopped working… (“developer of this app needs to upgrade it to work with >> this version of iOS). > > Have you notarized and stapled the app? I thought that's what the error means. > > Oops, notarization only applies to apps you are distributing outside the Mac App store. So, since you're doing iOS it doesn't apply. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tore.nilsen at me.com Tue Dec 14 06:41:51 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 14 Dec 2021 12:41:51 +0100 Subject: How to paste into a form element in the browser widget Message-ID: I have a problem pasting into a form element on a web page in the browser widget. This works well in the IDE, but not in a standalone application. The application has no menus, but I have included a pasteKey script to handle paste shortcuts. This does not seem to do the trick in the browser widget. I have tried to put the script in the stack script, the card script and even in the widget itself, although I wouldn’t expect the latter to work. Are there anyone who has run across this problem before and may offer a solution? Best regards Tore Nilsen From mark at livecode.com Tue Dec 14 07:04:38 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 Dec 2021 12:04:38 +0000 Subject: How to paste into a form element in the browser widget In-Reply-To: References: Message-ID: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: > I have a problem pasting into a form element on a web page in the > browser widget. This works well in the IDE, but not in a standalone > application. The application has no menus, but I have included a > pasteKey script to handle paste shortcuts. This does not seem to do > the trick in the browser widget. I have tried to put the script in the > stack script, the card script and even in the widget itself, although > I wouldnt expect the latter to work. Are there anyone who has run > across this problem before and may offer a solution? I think you'll need to include an Edit menu with the normal shortcuts (Cut/Copy/Paste) - make sure the tag of the items is correct as the engine uses those to map them to the internal (Cocoa) references. e.g. (Cu&t /X|cut (&Copy /C|copy (&Paste /V|paste Cocoa-based controls (which the browser widget uses the WebView variant of) don't respond to shortcuts directly, but only via menu item accelerators - so the browser widget needs the menu items present for such shortcuts to work. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tore.nilsen at me.com Tue Dec 14 07:07:39 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 14 Dec 2021 13:07:39 +0100 Subject: How to paste into a form element in the browser widget In-Reply-To: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> References: <7f1614ab7f0b430a7cf6cbfcca743473@livecode.com> Message-ID: <3843B268-34E5-46B2-82AB-E024ACFA3135@me.com> Ah, I see! Wel,l back to redesigning the whole application to include the menus then. Thanks! Best Regards Tore > 14. des. 2021 kl. 13:04 skrev Mark Waddingham via use-livecode : > > On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: >> I have a problem pasting into a form element on a web page in the >> browser widget. This works well in the IDE, but not in a standalone >> application. The application has no menus, but I have included a >> pasteKey script to handle paste shortcuts. This does not seem to do >> the trick in the browser widget. I have tried to put the script in the >> stack script, the card script and even in the widget itself, although >> I wouldn’t expect the latter to work. Are there anyone who has run >> across this problem before and may offer a solution? > > I think you'll need to include an Edit menu with the normal shortcuts (Cut/Copy/Paste) - make sure the tag of the items is correct as the engine uses those to map them to the internal (Cocoa) references. e.g. > > (Cu&t /X|cut > (&Copy /C|copy > (&Paste /V|paste > > Cocoa-based controls (which the browser widget uses the WebView variant of) don't respond to shortcuts directly, but only via menu item accelerators - so the browser widget needs the menu items present for such shortcuts to work. > > 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 marksmithhfx at gmail.com Tue Dec 14 07:52:10 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 14 Dec 2021 12:52:10 +0000 Subject: IOS 15.0 In-Reply-To: <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> References: <6154a6ac-93be-566b-01c2-81bb0c32b6ae@hyperactivesw.com> <56df9549-446d-5237-67c3-72762680417d@hyperactivesw.com> Message-ID: <968D6371-D7C9-45C0-A53B-F8E56704D3A6@gmail.com> Correct, in this case I think it’s complaining I don’t have the correct SDK in the build. The LC docs (including release notes for 9.6.5) only go up to 14.5 so rather than experiment I was hoping someone already had a tried and true formula for working with 15.0. I'm afraid this is entirely my own fault. It’s a newish iPhone and I forgot to turn off auto-update. Mark > On Dec 13, 2021, at 10:13 PM, J. Landman Gay via use-livecode wrote: > > On 12/13/21 4:09 PM, J. Landman Gay via use-livecode wrote: >> On 12/13/21 12:57 PM, Mark Smith via use-livecode wrote: >>> Thanks Mike. What macOS and Xcode have you been using? Apple upgraded my iOS to 15.0 and now all my builds have stopped working… (“developer of this app needs to upgrade it to work with this version of iOS). >> Have you notarized and stapled the app? I thought that's what the error means. > > Oops, notarization only applies to apps you are distributing outside the Mac App store. So, since you're doing iOS it doesn't apply. > > -- > 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 rolf.kocherhans at uzh.ch Tue Dec 14 08:50:27 2021 From: rolf.kocherhans at uzh.ch (Rolf Kocherhans) Date: Tue, 14 Dec 2021 13:50:27 +0000 Subject: [ANN] Release 10.0.0 DP-1 Message-ID: First of all thanks for the WebAssembly HTML5 implementation. This is really great stuff ! I already played with it a lot and found that some things work better others don't. For instance all my URL stuff (loading a stack on same domain) is unfortunately not working anymore. Also, all the PHP scripts which I used to access, which downloaded stuff from other domains and then displayed the result in the Browser don't work anymore. Is this just me - or is it just not implemented yet ? And if it is not only me, is this something high on the list ? From mark at livecode.com Tue Dec 14 09:59:12 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 14 Dec 2021 14:59:12 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: > First of all thanks for the WebAssembly HTML5 implementation. This is > really great stuff ! > > For instance all my URL stuff (loading a stack on same domain) is > unfortunately not working anymore. > > Also, all the PHP scripts which I used to access, which downloaded > stuff from other domains and then displayed > the result in the Browser don't work anymore. > > > Is this just me - or is it just not implemented yet ? I don't think it is only you - at least one other person has mentioned on the forums that their URL operations are not working either. What url operations are you using? The reason I ask is because the engine only has built-in support for `load url` currently - the other syntax is implemented by a libURL 'driver' and I have a suspicion that the latter may be currently broken. Warmest Regards, Mark. P.S. And yes, this is high on the list to investigate in more depth and fix! -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paulmcclernan at gmail.com Tue Dec 14 10:33:05 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 14 Dec 2021 10:33:05 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Message-ID: I was fairly certain that XPDF external was/is based on this XPDF: https://en.m.wikipedia.org/wiki/Xpdf Which has both GPL and Proprietary Licensing options available. The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot project that spawned from Google’s Chromium project. I’m not sure about the licensing involved with that. If you’re running macOS I released a (semi-complete) library that uses Apple PDFKit (not to be confused with several other PDFKits that are out there, such as this JS PDFKit: https://pdfkit.org ). That can extract text from PDF, per-document or per-page. At some point I may update that library, adding the ability to extract RTF styled text and also make iso it can use UIView, which would make available on iOS devices too, but I’m really busy right now so that’s not likely to get attention from me anytime soon. On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Richmond wrote: > > > On 12.12.21 21:33, Richard Gaskin wrote: > >> Stam Kapetanakis wrote: > >> > i presume the pdf widget in pro is the opensource xpdfReader but > >> > don’t know for sure. > >> > >> If it is that would be problematic, as the open source edition of > >> xpdfReader is licensed under GPL, and LC no longer has an edition > >> compatible with GPL. > > > > The consequences are endless. > > Note my "if". > > In the next message in this thread Paul clarified that the component is > not derived from a GPL-governed work, so the rights and responsibilities > of the GPL do not apply here: > http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 14 10:58:18 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 14 Dec 2021 10:58:18 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> Message-ID: <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: > I was fairly certain that XPDF external was/is based on this XPDF: > https://en.m.wikipedia.org/wiki/Xpdf > Which has both GPL and Proprietary Licensing options available. Nope. My company (Researchware) and I paid for the development of the XPDF External shipped with LiveCode. Monte did the code for us when he was an independent LiveCode developer, paid directly by Researchware. It is based on the C++ "external" API template, calling the Google PDFium library. Researchware then transferred the license to LiveCode when Monte went to work for them. I called it XPDF because it was an eXternal for PDFs. I was unaware (at the time) for anything else using the XPDF name. And yes, I am to blame (or credit) for the majority of the syntax for messages, commands, and functions of the XPDF external (with Monte correcting me when I had a really stupid syntax specified) > > The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot > project that spawned from Googles Chromium project. Im not sure about the > licensing involved with that. > > If youre running macOS I released a (semi-complete) library that uses > Apple PDFKit (not to be confused with several other PDFKits that are out > there, such as this JS PDFKit: https://pdfkit.org ). That can extract text > from PDF, per-document or per-page. > > At some point I may update that library, adding the ability to extract RTF > styled text and also make iso it can use UIView, which would make available > on iOS devices too, but Im really busy right now so thats not likely to > get attention from me anytime soon. > > > On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Richmond wrote: >> >> > On 12.12.21 21:33, Richard Gaskin wrote: >> >> Stam Kapetanakis wrote: >> >> > i presume the pdf widget in pro is the opensource xpdfReader but >> >> > dont know for sure. >> >> >> >> If it is that would be problematic, as the open source edition of >> >> xpdfReader is licensed under GPL, and LC no longer has an edition >> >> compatible with GPL. >> > >> > The consequences are endless. >> >> Note my "if". >> >> In the next message in this thread Paul clarified that the component is >> not derived from a GPL-governed work, so the rights and responsibilities >> of the GPL do not apply here: >> http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 14 15:09:17 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 14 Dec 2021 15:09:17 -0500 Subject: How to extract whole text from a PDF file with the PDF In-Reply-To: <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> References: <806856b4-d88e-2b5f-764e-e0ea55eaf2fb@fourthworld.com> <34cbefe6-fa05-1b6b-c6f5-aff81c474d32@researchware.com> Message-ID: Ah, OK thanks for the clarification. I hadn’t realize PDFium has been around as long as it has been. I wouldn’t sweat the naming conflict, there’s at least three “PDFKit” libraries so you’re not alone. On Tue, Dec 14, 2021 at 11:01 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: > > I was fairly certain that XPDF external was/is based on this XPDF: > > https://en.m.wikipedia.org/wiki/Xpdf > > Which has both GPL and Proprietary Licensing options available. > > Nope. My company (Researchware) and I paid for the development of the > XPDF External shipped with LiveCode. Monte did the code for us when he > was an independent LiveCode developer, paid directly by Researchware. It > is based on the C++ "external" API template, calling the Google PDFium > library. Researchware then transferred the license to LiveCode when > Monte went to work for them. I called it XPDF because it was an eXternal > for PDFs. I was unaware (at the time) for anything else using the XPDF > name. And yes, I am to blame (or credit) for the majority of the syntax > for messages, commands, and functions of the XPDF external (with Monte > correcting me when I had a really stupid syntax specified) > > > > > The newer (> 9.6.3) PDF Widget is based on PDFium which is an offshoot > > project that spawned from Google’s Chromium project. I’m not sure about > the > > licensing involved with that. > > > > If you’re running macOS I released a (semi-complete) library that uses > > Apple PDFKit (not to be confused with several other PDFKits that are out > > there, such as this JS PDFKit: https://pdfkit.org ). That can extract > text > > from PDF, per-document or per-page. > > > > At some point I may update that library, adding the ability to extract > RTF > > styled text and also make iso it can use UIView, which would make > available > > on iOS devices too, but I’m really busy right now so that’s not likely to > > get attention from me anytime soon. > > > > > > On Mon, Dec 13, 2021 at 12:47 PM Richard Gaskin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Richmond wrote: > >> > >> > On 12.12.21 21:33, Richard Gaskin wrote: > >> >> Stam Kapetanakis wrote: > >> >> > i presume the pdf widget in pro is the opensource xpdfReader but > >> >> > don’t know for sure. > >> >> > >> >> If it is that would be problematic, as the open source edition of > >> >> xpdfReader is licensed under GPL, and LC no longer has an edition > >> >> compatible with GPL. > >> > > >> > The consequences are endless. > >> > >> Note my "if". > >> > >> In the next message in this thread Paul clarified that the component is > >> not derived from a GPL-governed work, so the rights and responsibilities > >> of the GPL do not apply here: > >> > http://lists.runrev.com/pipermail/use-livecode/2021-December/266435.html > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> Software Design and Development for the Desktop, Mobile, and the Web > >> ____________________________________________________________________ > >> Ambassador at FourthWorld.com http://www.FourthWorld.com > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Tue Dec 14 15:16:22 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Dec 2021 20:16:22 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> References: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> Message-ID: Double check if this is not CORS related. It is very easy to have a request fail because of wrong CORS headers. On Tue, 14 Dec 2021 at 15:00, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: > > First of all thanks for the WebAssembly HTML5 implementation. This is > > really great stuff ! > > > > For instance all my URL stuff (loading a stack on same domain) is > > unfortunately not working anymore. > > > > Also, all the PHP scripts which I used to access, which downloaded > > stuff from other domains and then displayed > > the result in the Browser don't work anymore. > > > > > > Is this just me - or is it just not implemented yet ? > > I don't think it is only you - at least one other person has mentioned > on the forums that their URL operations are not working either. > > What url operations are you using? > > The reason I ask is because the engine only has built-in support for > `load url` currently - the other syntax is implemented by a libURL > 'driver' and I have a suspicion that the latter may be currently broken. > > Warmest Regards, > > Mark. > > P.S. And yes, this is high on the list to investigate in more depth and > fix! > > -- > 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 > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From matthias_livecode_150811 at m-r-d.de Tue Dec 14 17:31:45 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 14 Dec 2021 23:31:45 +0100 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> References: <8d96544051a0adb5a2de7efb18e9076f@livecode.com> Message-ID: Mark, i've just filed bug #23485 https://quality.livecode.com/show_bug.cgi?id=23485 I noticed that as soon as the keyword URL is in a script, even if the line is a comment, the remote access, for example to set the filename of an image to a remote url as Kevin showed in the Webcamp presentation, does not work anymore. Regards, Matthias > Am 14.12.2021 um 15:59 schrieb Mark Waddingham via use-livecode : > > On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: >> First of all thanks for the WebAssembly HTML5 implementation. This is >> really great stuff ! >> For instance all my URL stuff (loading a stack on same domain) is >> unfortunately not working anymore. >> Also, all the PHP scripts which I used to access, which downloaded >> stuff from other domains and then displayed >> the result in the Browser don't work anymore. >> Is this just me - or is it just not implemented yet ? > > I don't think it is only you - at least one other person has mentioned on the forums that their URL operations are not working either. > > What url operations are you using? > > The reason I ask is because the engine only has built-in support for `load url` currently - the other syntax is implemented by a libURL 'driver' and I have a suspicion that the latter may be currently broken. > > Warmest Regards, > > Mark. > > P.S. And yes, this is high on the list to investigate in more depth and fix! > > -- > 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 devin_asay at byu.edu Tue Dec 14 19:00:48 2021 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Dec 2021 00:00:48 +0000 Subject: regex backreferences Message-ID: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Tue Dec 14 22:41:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2021 21:41:17 -0600 Subject: regex backreferences In-Reply-To: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> Message-ID: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode wrote: > Hi all, > > Does the replaceText() function allow the use of backreferences to retain > groupings of text between matches. For example, if I have some text like this: > >

Good stuff here.

> > I want to end up something like this: > >

Good stuff here.

> > In BBedit I can search for

(.*)

and > replace it with

\1

and it preserves the run of text designated by > parentheses. > (I know, I can get more fancy on matching the runs of html tags, but Im > mainly interested in retaining the text, not in regex madness.) > > In LC this does not work: > > put replaceText(myText,"

style=cruft>(.*)

,

\1

) into myText > > I just end up with

\1

, when I want

Good stuff here.

> > Can replaceText even do this? > > - Devin > > > Devin Asay > 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 kaveh at rivervalleytechnologies.com Wed Dec 15 04:46:36 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 15 Dec 2021 09:46:36 +0000 Subject: regex backreferences In-Reply-To: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I wish it did, but replaceText doesn't support back references. The > parameters at the end are treated as literals, whether as actual quoted > literals or variables containing a value. > > If there isn't a feature request for it, there should be. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: > > > Hi all, > > > > Does the replaceText() function allow the use of backreferences to > retain > > groupings of text between matches. For example, if I have some text like > this: > > > >

Good stuff here.

> > > > I want to end up something like this: > > > >

Good stuff here.”

> > > > In BBedit I can search for

(.*)

and > > replace it with

\1

and it preserves the run of text designated > by > > parentheses. > > (I know, I can get more fancy on matching the runs of html tags, but I’m > > mainly interested in retaining the text, not in regex madness.) > > > > In LC this does not work: > > > > put replaceText(myText,"

> style=“cruft”>(.*)

”,”

\1

”) into myText > > > > I just end up with

\1

, when I want

Good stuff here.

> > > > Can replaceText even do this? > > > > - Devin > > > > > > Devin Asay > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From curry at pair.com Wed Dec 15 04:59:47 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 Dec 2021 04:59:47 -0500 Subject: Upcoming Changes for WordLib, WordReport, etc. Message-ID: <5f4bf193-2ba3-94d7-301c-d9b5f56705df@pair.com> For the Curry K. addons I'm happy to announce: backend, release flow, and pricing changes.... 1. MORE, FASTER, A FLURRY! Finally had a chance to update the backend for my LC addons. It's mucho ms way-more automated, so updates can be MORE FREQUENT! Planned this literally 10 years ago! But clients ALWAYS come first. (And improving health took a while.) -- 2. MINOR VERSIONS WILL BE PUBLIC. The backend will allow better overall flow.... Old way: Big wait ... ... major release. (Minor versions were usually dp/private, since public releases were a big process.) New way: Major, minor, minor, Major, etc. (Faster fixes, try new stuff sooner.) -- 3. REVISED PRICING TO MATCH. Also new pricing: $49 per major version. (Minor updates free for that version.) Aiming for 1 major version per year. (Versions will keep working as always; still version-based, not a subscription.) WordLib is still the lucky winner emerging first from the new chute! A Christmas-y release timeframe, maybe a coupon code to fit the season. (WordReport should be next; then we'll see.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jbv at souslelogo.com Wed Dec 15 05:02:56 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 15 Dec 2021 05:02:56 -0500 Subject: How to detect when the user moves a stack Message-ID: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> Hi list, How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack. At least this is happening in the IDE, I haven't built a standalone yet. Thanks in advance. jbv From klaus at major-k.de Wed Dec 15 05:17:07 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 15 Dec 2021 11:17:07 +0100 Subject: How to detect when the user moves a stack In-Reply-To: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> Message-ID: <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> Hi jbv, > Am 15.12.2021 um 11:02 schrieb jbv via use-livecode : > > Hi list, > How can I detect when the user moves a stack around the screen by clicking on the top bar while leaving the mouse down ? > Here's my problem : I have a main stack calling a modal stack that displays information in real time while some client / server dialog is running. When the modal stack opens, it is located at the loc of the main stack. But if the user moves the main stack, the modal stack stays at the same place, and I would like it to move accordingly and remain at the loc of the main stack, no matter where the user moves the main stack. > At least this is happening in the IDE, I haven't built a standalone yet. usually you could check the "movestack" message, but I'm not sure if the MODAL stack will not block any actions? Can't you use a "system window" instaed if that is the problem? > Thanks in advance. > jbv Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jbv at souslelogo.com Wed Dec 15 05:28:46 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 15 Dec 2021 05:28:46 -0500 Subject: How to detect when the user moves a stack In-Reply-To: <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> Message-ID: <921fab8fc8251856ec84e371890add05@souslelogo.com> Hi Klaus, Yes it works, thank you for the tip. Oddly I forgot about the "movestack" message, probably because it doesn't appear in the list of available messages when I open the stack script in LC 8... jbv Le 2021-12-15 05:17, Klaus major-k via use-livecode a crit : > Hi jbv, > >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode >> : >> >> Hi list, >> How can I detect when the user moves a stack around the screen by >> clicking on the top bar while leaving the mouse down ? >> Here's my problem : I have a main stack calling a modal stack that >> displays information in real time while some client / server dialog is >> running. When the modal stack opens, it is located at the loc of the >> main stack. But if the user moves the main stack, the modal stack >> stays at the same place, and I would like it to move accordingly and >> remain at the loc of the main stack, no matter where the user moves >> the main stack. >> At least this is happening in the IDE, I haven't built a standalone >> yet. > > usually you could check the "movestack" message, but I'm not sure if > the MODAL stack > will not block any actions? Can't you use a "system window" instaed if > that is the problem? > >> Thanks in advance. >> jbv > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Dec 15 05:31:34 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 15 Dec 2021 12:31:34 +0200 Subject: How to detect when the user moves a stack In-Reply-To: <921fab8fc8251856ec84e371890add05@souslelogo.com> References: <8f65817bb1f974da47efefdd310fa7cd@souslelogo.com> <682DBE14-2B89-4F53-8E93-6C105DCC2210@major-k.de> <921fab8fc8251856ec84e371890add05@souslelogo.com> Message-ID: remember to 'toplevel' you substack. On Wed, 15 Dec 2021, 12:29 jbv via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi Klaus, > > Yes it works, thank you for the tip. > Oddly I forgot about the "movestack" message, probably because it > doesn't appear in the list of available messages when I open the stack > script in LC 8... > > jbv > > Le 2021-12-15 05:17, Klaus major-k via use-livecode a écrit : > > Hi jbv, > > > >> Am 15.12.2021 um 11:02 schrieb jbv via use-livecode > >> : > >> > >> Hi list, > >> How can I detect when the user moves a stack around the screen by > >> clicking on the top bar while leaving the mouse down ? > >> Here's my problem : I have a main stack calling a modal stack that > >> displays information in real time while some client / server dialog is > >> running. When the modal stack opens, it is located at the loc of the > >> main stack. But if the user moves the main stack, the modal stack > >> stays at the same place, and I would like it to move accordingly and > >> remain at the loc of the main stack, no matter where the user moves > >> the main stack. > >> At least this is happening in the IDE, I haven't built a standalone > >> yet. > > > > usually you could check the "movestack" message, but I'm not sure if > > the MODAL stack > > will not block any actions? Can't you use a "system window" instaed if > > that is the problem? > > > >> Thanks in advance. > >> jbv > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > https://www.major-k.de > > https://www.major-k.de/bass > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Dec 15 10:53:31 2021 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 15 Dec 2021 15:53:31 +0000 Subject: regex backreferences In-Reply-To: References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can stop beating my head against it now! Now for a trip to workaround land! - Devin On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode > wrote: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay 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 -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From dougr at telus.net Wed Dec 15 11:36:36 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 15 Dec 2021 08:36:36 -0800 Subject: regex backreferences In-Reply-To: <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> Message-ID: <017601d7f1d1$eddcfa20$c996ee60$@telus.net> None of the links to acquire nor contact Thierry on his site () work. They just hang indefinitely... but the web site, itself, appears to be functrional. Can anyone provide an alternative means to contact this developer? Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Devin Asay via use-livecode Sent: Wednesday, December 15, 2021 7:54 AM To: How to use LiveCode Cc: Devin Asay Subject: Re: regex backreferences Thanks for confirming, Jacque and Kaveh. I figured that was the case. I can stop beating my head against it now! Now for a trip to workaround land! - Devin On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode > wrote: This is a major shortcoming and I have wanted this for years. Thierry has filled the gap with his excellent SunnyRex library . I have used it successfully, I recommend it, and it works well. He has also supported me well after I purchased SunnyRex. But it is a proprietary dependency and that is something at the back of my mind. It would be great if LiveCode could add this feature. Or perhaps come to an agreement with Thierry so that we reduce dependencies. Regards Kaveh On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: I wish it did, but replaceText doesn't support back references. The parameters at the end are treated as literals, whether as actual quoted literals or variables containing a value. If there isn't a feature request for it, there should be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > wrote: Hi all, Does the replaceText() function allow the use of backreferences to retain groupings of text between matches. For example, if I have some text like this:

Good stuff here.

I want to end up something like this:

Good stuff here.”

In BBedit I can search for

(.*)

and replace it with

\1

and it preserves the run of text designated by parentheses. (I know, I can get more fancy on matching the runs of html tags, but I’m mainly interested in retaining the text, not in regex madness.) In LC this does not work: put replaceText(myText,"

(.*)

”,”

\1

”) into myText I just end up with

\1

, when I want

Good stuff here.

Can replaceText even do this? - Devin Devin Asay 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 -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay 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 kaveh at rivervalleytechnologies.com Wed Dec 15 11:40:26 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 15 Dec 2021 16:40:26 +0000 Subject: regex backreferences In-Reply-To: <017601d7f1d1$eddcfa20$c996ee60$@telus.net> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <209A7370-73E0-471F-8A0D-8C23F1F256E0@byu.edu> <017601d7f1d1$eddcfa20$c996ee60$@telus.net> Message-ID: It's two years since I have been in contact, but this is the email I had: th.douez at sunny-tdz.com Regards Kaveh On Wed, 15 Dec 2021 at 16:37, Douglas A. Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > None of the links to acquire nor contact Thierry on his site (< > https://sunny-tdz.com/livecode/sunnyrex>) work. They just hang > indefinitely... but the web site, itself, appears to be functrional. > > Can anyone provide an alternative means to contact this developer? > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Devin Asay via use-livecode > Sent: Wednesday, December 15, 2021 7:54 AM > To: How to use LiveCode > Cc: Devin Asay > Subject: Re: regex backreferences > > Thanks for confirming, Jacque and Kaveh. I figured that was the case. I > can stop beating my head against it now! > > Now for a trip to workaround land! > > - Devin > > On Dec 15, 2021, at 2:46 AM, Kaveh via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > This is a major shortcoming and I have wanted this for years. Thierry has > filled the gap with his excellent SunnyRex library > . I have used it successfully, I > recommend it, and it works well. He has also supported me well after I > purchased SunnyRex. But it is a proprietary dependency and that is > something at the back of my mind. > > It would be great if LiveCode could add this feature. Or perhaps come to an > agreement with Thierry so that we reduce dependencies. > > Regards > Kaveh > > On Wed, 15 Dec 2021 at 03:42, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I wish it did, but replaceText doesn't support back references. The > parameters at the end are treated as literals, whether as actual quoted > literals or variables containing a value. > > If there isn't a feature request for it, there should be. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com jacque at hyperactivesw.com> > HyperActive Software | http://www.hyperactivesw.com > On December 14, 2021 6:03:12 PM Devin Asay via use-livecode > > > wrote: > > Hi all, > > Does the replaceText() function allow the use of backreferences to > retain > groupings of text between matches. For example, if I have some text like > this: > >

Good stuff here.

> > I want to end up something like this: > >

Good stuff here.”

> > In BBedit I can search for

(.*)

and > replace it with

\1

and it preserves the run of text designated > by > parentheses. > (I know, I can get more fancy on matching the runs of html tags, but I’m > mainly interested in retaining the text, not in regex madness.) > > In LC this does not work: > > put replaceText(myText,"

style=“cruft”>(.*)

”,”

\1

”) into myText > > I just end up with

\1

, when I want

Good stuff here.

> > Can replaceText even do this? > > - Devin > > > Devin Asay > 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 > > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ● Twitter > ● LinkedIn > ● ORCID > > *Accelerating the Communication of Research* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From preid at reidit.co.uk Wed Dec 15 11:45:51 2021 From: preid at reidit.co.uk (preid at reidit.co.uk) Date: Wed, 15 Dec 2021 16:45:51 +0000 Subject: Ghost in the Machine In-Reply-To: References: Message-ID: Thanks Richard and Alex. The membership system is web-based and the page I'm trying to interact with contains HTML, php and Javascript material. Therefore the POST construction approach seems to be promising. Unfortunately, the membership details features about 900 lines of LiveCode script, much like the following ...[snip]... class="start-tag">tr
><td style="width:900px">Where You Live</td></tr></table><table align="center" border="0" class="tableMain"><tr><td style="width:100px" class="middle">Address</td><td style="width:800px">No/Name <input type="text" name="ecHouse" id="ecHouse" size="10" maxlength="25" value="71" onChange="modified()" class="vAddress">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Street/Building <input ...[snip]... So I think I'll spend a bit of time looking at the ghost-in-the-machine method; see if it has any legs! Thanks again Peter -- Peter Reid Loughborough, UK > On 13 Dec 2021, at 5:00pm, use-livecode-request at lists.runrev.com wrote: > > Today's Topics: > > 1. Re: Ghost in the Machine? (preid at reidit.co.uk) > 3. Re: Ghost in the Machine? (Richard Gaskin) > 8. Re: Ghost in the Machine? (Alex Tweedly) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Dec 2021 18:29:03 +0000 > From: preid at reidit.co.uk > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: > Content-Type: text/plain; charset=utf-8 > > Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate? > > 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. > > 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: > > +---------------------------------------------------------------------------------+ > | Surname:[.............] Firstname(s):[...........] Initials:[......] | > | | > | Address:[.............] Town:[.............] Phone: [.............] | > | [.............] Postcode:[.........] Mobile:[.............] | > | | > | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | > +---------------------------------------------------------------------------------+ > > 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. > > 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. > > So my query is really as follows: > a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? > b) has anyone done something like this? > c) does anyone have any methods and/or code they can let me have for this? > > My overview of what's required is as follows (assuming no show-stoppers): > - I make an overlay map, transparent everywhere except where there are input fields ? this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles > - we take the name of a field, 'Surname' say, and lookup its location on the screen > - we position our virtual mouse to click into the location where the equivalent field can be found > - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object > > Any idea whether this is possible and any code examples?! > > Thanks. > > Peter > ------------------------------ > > Message: 3 > Date: Sun, 12 Dec 2021 11:38:20 -0800 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Peter Reid wrote: > >> We want a way to upload a group of new members by 'driving' the input >> fields, i.e. our app would click into each field, checkbox, radiobox >> and 'type' in the details. > > If the goal is to submit new member info you can do that with a single > POST command. > > Examine the source HTML. Look for the action URL. Look at the input > names. Package up the input data as name-value pairs form-encoded, send > it to the URL via POST, and you're done. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > ------------------------------ > > Message: 8 > Date: Mon, 13 Dec 2021 01:36:51 +0000 > From: Alex Tweedly > To: use-livecode at lists.runrev.com > Subject: Re: Ghost in the Machine? > Message-ID: <0fc4be03-ba78-c5e8-deca-fe4aca6144bd at tweedly.net> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Peter, > > I think the piece of info we are all missing (or guessing wrongly about) is: > > the existing club membership system - is it a web-based system, or an app that runs on your desktop. > > We're all kind of assuming it's a web page, but I now suspect maybe it isn't. > > If it is a web page - then the answers so far are all relevant, and should be straightforward to try out. > > [My suggestion re. the browser widget still feels like the "right official" way to do it - but personally I'd look at the html and see if I could POST the correct info - i.e. what Richard said :-) ] > > If it's a custom app, then it's a very different question - and I currently have no idea. If so, please say a little bit more about the custom app, or put up a screenshot / video somewhere. > > Alex. > > On 12/12/2021 18:29, Peter Reid via use-livecode wrote: >> Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate? >> >> 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. >> >> 2. However, the existing club membership system doesn't have a batch load facility only an on-screen form (such as the following) to be typed in: >> >> +---------------------------------------------------------------------------------+ >> | Surname:[.............] Firstname(s):[...........] Initials:[......] | >> | | >> | Address:[.............] Town:[.............] Phone: [.............] | >> | [.............] Postcode:[.........] Mobile:[.............] | >> | | >> | Email:[....................] GiftAid:[x] Payment:(o)Bank ( )Chq | >> +---------------------------------------------------------------------------------+ >> >> 3. We want a way to upload a group of new members by 'driving' the input fields, i.e. our app would click into each field, checkbox, radiobox and 'type' in the details. >> >> 4. We don't have access to the membership system's coding, it's one off the shelf. We just want do what we might have attempted some years ago, during the terminal/command line days! In those old days, we'd redirect the stdin, stdout, stderror. >> >> So my query is really as follows: >> a) is this kind of 'channel' redirection possible, can we send mouse clicks, type keys to enter text into fields etc? >> b) has anyone done something like this? >> c) does anyone have any methods and/or code they can let me have for this? >> >> My overview of what's required is as follows (assuming no show-stoppers): >> - I make an overlay map, transparent everywhere except where there are input fields ? this could be an actual map with "X"s over entry fields, spaces elsewhere, but might simply be a list of objects expressed as coordinate rectangles >> - we take the name of a field, 'Surname' say, and lookup its location on the screen >> - we position our virtual mouse to click into the location where the equivalent field can be found >> - we enter its value as virtual keystrokes and click the 'tab' key to move to the next input object >> >> Any idea whether this is possible and any code examples?! >> >> Thanks. >> >> Peter From robeppich at epsi.ca Wed Dec 15 14:26:40 2021 From: robeppich at epsi.ca (RobEppich) Date: Wed, 15 Dec 2021 11:26:40 -0800 Subject: open socket on start up and can't close Message-ID: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? Also have checked 10.0 dp 1 and same issue is there. Thanks Rob Eppich From craig at starfirelighting.com Wed Dec 15 14:33:50 2021 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 15 Dec 2021 14:33:50 -0500 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: ROBERT EPPICH? If you are the person I think you are, do you know that I still manage a dozen OS9 Macs on a network using Hypercard and Epsitalk? Do you have other posts on either the LiveCode forums or this use-list? I have never seen your name... Craig Newman > On Dec 15, 2021, at 2:26 PM, RobEppich via use-livecode wrote: > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 15 14:41:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 15 Dec 2021 20:41:44 +0100 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <9DC51476-7849-4258-8876-FA1802B4E46F@major-k.de> Hi Rob déjà vue? :-D > Am 15.12.2021 um 20:26 schrieb RobEppich via use-livecode : > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? maOS 10.14.6 and LC 9.6.5, no opensockets on startup here! > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From alex at tweedly.net Wed Dec 15 19:58:15 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 00:58:15 +0000 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <10701601-9f33-9950-6423-5e5060162ec7@tweedly.net> Could it be remote debugging ? Which version / license are you using ? Alex. On 15/12/2021 19:26, RobEppich via use-livecode wrote: > Downloaded and run Livecode 9.6.5, type put the opensockets and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Dec 15 22:00:26 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 16 Dec 2021 14:00:26 +1100 Subject: open socket on start up and can't close In-Reply-To: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> References: <3D818B7B-C68F-4BD9-B843-23342682FA74@epsi.ca> Message-ID: <221440BD-BE11-43B9-9A85-496F26076D18@appisle.net> Is there a reason you are trying to close it? This is the socket port the remote debugger is listening on and there is a loop ensuring its existence. Cheers Monte > On 16 Dec 2021, at 6:26 am, RobEppich via use-livecode wrote: > > Downloaded and run Livecode 9.6.5, type “put the opensockets” and a socket is open, 65463. Close socket 65463 and put the opensockets again and result is 65466. > > Close the socket that is opened on startup always results in another socket being opened. This was not the case in 9.6.3 and previous versions. Can someone verify this? > > Also have checked 10.0 dp 1 and same issue is there. > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 15 23:58:09 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 15 Dec 2021 23:58:09 -0500 Subject: open socket on start up and can't close In-Reply-To: References: Message-ID: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> Craig: > ROBERT EPPICH? More people read this list than anyone might assume. A few regulars - but many others who work/lurk! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From craig at starfirelighting.com Thu Dec 16 09:02:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 09:02:20 -0500 Subject: open socket on start up and can't close In-Reply-To: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> References: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> Message-ID: <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> Curry. "A few regulars - but many others who work/lurk! :)" I see that. Robert Eppich, back in the ’90’s, way before sockets, sold a product called “Epsitalk”. This was HC based, and essentially used the now deprecated “send message to program”. This was listed as a keyword, not a command, in the HC lexicon. I never understood that. Anyway, I still have a peer-to-peer collection of OS9 Macs that run part of my business, used daily. The only reason I have not migrated that stuff to LC is that I have played with sockets only just a little, and do not want to fix what is not broken. My LC world is rich and busy enough with the other things I do with it. So Robert, glad to see you still in the xTalk world... Craig > On Dec 15, 2021, at 11:58 PM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > ROBERT EPPICH? > > More people read this list than anyone might assume. > A few regulars - but many others who work/lurk! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Dec 16 09:39:44 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 09:39:44 -0500 Subject: open socket on start up and can't close In-Reply-To: <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> References: <5ca5fc13-eb0d-24c4-c893-1d7235f1b481@pair.com> <7B6C5AD0-4E5C-4877-8E4C-56A0500D423F@starfirelighting.com> Message-ID: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> > "A few regulars - but many others who work/lurk! :)" I have never understood how anyone working with LC, at any level of expertise, can lurk silently either here or on the Forum, and never ask a question, comment on something, complain or praise, whatever. Checking these two venues is the first thing I do in the morning. Craig > On Dec 16, 2021, at 9:02 AM, Craig Newman via use-livecode wrote: > > Curry. > > "A few regulars - but many others who work/lurk! :)" > > I see that. > > Robert Eppich, back in the ’90’s, way before sockets, sold a product called “Epsitalk”. This was HC based, and essentially used the now deprecated “send message to program”. This was listed as a keyword, not a command, in the HC lexicon. I never understood that. > > Anyway, I still have a peer-to-peer collection of OS9 Macs that run part of my business, used daily. The only reason I have not migrated that stuff to LC is that I have played with sockets only just a little, and do not want to fix what is not broken. My LC world is rich and busy enough with the other things I do with it. > > So Robert, glad to see you still in the xTalk world... > > Craig > >> On Dec 15, 2021, at 11:58 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Craig: >> >>> ROBERT EPPICH? >> >> More people read this list than anyone might assume. >> A few regulars - but many others who work/lurk! :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> Christian LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Dec 16 11:16:15 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 16 Dec 2021 11:16:15 -0500 Subject: open socket on start up and can't close In-Reply-To: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> References: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> Message-ID: Craig: > I have never understood how anyone working with LC, > at any level of expertise, can lurk silently either here > or on the Forum, and never ask a question, comment on something, > complain or praise, whatever. Understanding is a valuable commodity! Not everyone is extrovert/expulsive. Not all have the time or inclination. And the list goes on ... different strokes. None of which necessarily mean less interest or enthusiasm for LC. Many a quiet sage.... Interesting backstory too; thanks for sharing. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Thu Dec 16 11:23:49 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 16:23:49 +0000 Subject: Encrypting long text Message-ID: Hi all, I'm trying to use RSA to encrypt data from a text field like an address or notes. When I try to use the encrypt command I get a result 'message too long'. What is the method for encrypting long or large data? My current line of code: encrypt tData using rsa with public key tMyKey and passphrase tMyPass Thanks Sean From mark at livecode.com Thu Dec 16 11:45:38 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 16 Dec 2021 16:45:38 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: On 2021-12-16 16:23, Sean Cole via use-livecode wrote: > Hi all, > I'm trying to use RSA to encrypt data from a text field like an address > or > notes. When I try to use the encrypt command I get a result 'message > too > long'. What is the method for encrypting long or large data? > > My current line of code: > encrypt tData using rsa with public key tMyKey and > passphrase tMyPass RSA encryption can only encrypt data up to a certain length (I can't remember off the top of my head the exact relation, but it is related to the size of the key) so it isn't designed to be used on arbitrary length messages. Encrypting arbitrary length messages is the domain of symmetric encryption functions - like AES and friends. The solution, therefore, is to combine the two: 1) Generate a random (using randomBytes()) fixed length encryption key FixedKey 2) Encrypt the actual data using a symmetric algorithm with FixedKey as password 2) Use RSA to encrypt the (fixed length!) key FixedKey 4) Make you message the RSA-encrypted FixedKey followed by the encrypted data The RSA encrypted FixedKey will be a constant length, and thus you can just split that off of the combined data, decrypt it using RSA and then use the result to decrypt the payload. Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sean at pidigital.co.uk Thu Dec 16 12:09:01 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 17:09:01 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: Thanks Mark, New problem. Trying to use aes-256-ctr instead. I'm following the syntax in the dictionary but it throws a red cross on it: encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt What is wrong with this syntax that the auto language detector shows it as a mistake? Sean On Thu, 16 Dec 2021 at 16:45, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-16 16:23, Sean Cole via use-livecode wrote: > > Hi all, > > I'm trying to use RSA to encrypt data from a text field like an address > > or > > notes. When I try to use the encrypt command I get a result 'message > > too > > long'. What is the method for encrypting long or large data? > > > > My current line of code: > > encrypt tData using rsa with public key tMyKey and > > passphrase tMyPass > > RSA encryption can only encrypt data up to a certain length (I can't > remember off the top of my head the exact relation, but it is related to > the size of the key) so it isn't designed to be used on arbitrary length > messages. > > Encrypting arbitrary length messages is the domain of symmetric > encryption functions - like AES and friends. > > The solution, therefore, is to combine the two: > > 1) Generate a random (using randomBytes()) fixed length encryption key > FixedKey > > 2) Encrypt the actual data using a symmetric algorithm with FixedKey > as password > > 2) Use RSA to encrypt the (fixed length!) key FixedKey > > 4) Make you message the RSA-encrypted FixedKey followed by the > encrypted data > > The RSA encrypted FixedKey will be a constant length, and thus you can > just split that off of the combined data, decrypt it using RSA and then > use the result to decrypt the payload. > > Hope this helps! > > 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 craig at starfirelighting.com Thu Dec 16 12:25:42 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 16 Dec 2021 12:25:42 -0500 Subject: open socket on start up and can't close In-Reply-To: References: <8F651EB0-A621-4E92-8981-398F2F4DAC61@starfirelighting.com> Message-ID: <9006B4E5-84F7-4038-B8F5-33AAF989355A@starfirelighting.com> Curry. Surely you are right. I just remember when HC was on the ropes, and wish that the LC Forum was so full of posts that I never have to do my actual job. I can just kibitz there all day long. It would mean that the world finally gets what LC offers. Craig > On Dec 16, 2021, at 11:16 AM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > I have never understood how anyone working with LC, > > at any level of expertise, can lurk silently either here > > or on the Forum, and never ask a question, comment on something, > > complain or praise, whatever. > > Understanding is a valuable commodity! > > Not everyone is extrovert/expulsive. > Not all have the time or inclination. > And the list goes on ... different strokes. > > None of which necessarily mean less interest > or enthusiasm for LC. Many a quiet sage.... > > Interesting backstory too; thanks for sharing. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Dec 16 12:36:46 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 16 Dec 2021 17:36:46 +0000 Subject: Encrypting long text In-Reply-To: References: Message-ID: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> On 2021-12-16 17:09, Sean Cole via use-livecode wrote: > Thanks Mark, > > New problem. Trying to use aes-256-ctr instead. I'm following the > syntax in > the dictionary but it throws a red cross on it: > > encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt I think you can either specify a key, or a password with an optional salt. If you specify a password it uses the provided salt (or a random one if one is not provided) to generate a key of the correct length (the bit length of the cipher). If you provide a key then it uses that verbatim to encrypt the data (in this case the key must be the correct number of bits as defined by the chosen cipher - 256 in this case). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From alex at tweedly.net Thu Dec 16 12:55:49 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 17:55:49 +0000 Subject: Smile for Christmas. Message-ID: I was just reading the dictionary entry for 'union'. Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! Alex. From harrison at all-auctions.com Thu Dec 16 13:25:39 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 16 Dec 2021 13:25:39 -0500 Subject: Smile for Christmas. In-Reply-To: References: Message-ID: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. > On Dec 16, 2021, at 12:55 PM, Alex Tweedly via use-livecode wrote: > > Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! From sean at pidigital.co.uk Thu Dec 16 14:08:57 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Thu, 16 Dec 2021 19:08:57 +0000 Subject: Encrypting long text In-Reply-To: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> References: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> Message-ID: Hi Mark So it must be the auto-completes that have the wrong possible values added to its list. Type 'encrypt' into the script editor and go to the bottom, then right and there are every possible iteration based on the syntax given in the dictionary. This does not match up with your description so perhaps needs looking in to. Thanks for your help Sean On Thu, 16 Dec 2021 at 17:36, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2021-12-16 17:09, Sean Cole via use-livecode wrote: > > Thanks Mark, > > > > New problem. Trying to use aes-256-ctr instead. I'm following the > > syntax in > > the dictionary but it throws a red cross on it: > > > > encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt > > I think you can either specify a key, or a password with an optional > salt. > > If you specify a password it uses the provided salt (or a random one if > one is not provided) to generate a key of the correct length (the bit > length of the cipher). > > If you provide a key then it uses that verbatim to encrypt the data (in > this case the key must be the correct number of bits as defined by the > chosen cipher - 256 in this case). > > 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 monte at appisle.net Thu Dec 16 17:16:36 2021 From: monte at appisle.net (Monte Goulding) Date: Fri, 17 Dec 2021 09:16:36 +1100 Subject: Encrypting long text In-Reply-To: References: <94c4e5e6ca4d82cf94c5a9f73a87b90b@livecode.com> Message-ID: I have opened this issue to correct the documentation. Autocomplete parses the syntax definitions in the docs to create a list of possible command variations. https://quality.livecode.com/show_bug.cgi?id=23489 > On 17 Dec 2021, at 6:08 am, Sean Cole via use-livecode wrote: > > Hi Mark > > So it must be the auto-completes that have the wrong possible values added > to its list. Type 'encrypt' into the script editor and go to the bottom, > then right and there are every possible iteration based on the syntax given > in the dictionary. This does not match up with your description so perhaps > needs looking in to. > > Thanks for your help > > Sean > > On Thu, 16 Dec 2021 at 17:36, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2021-12-16 17:09, Sean Cole via use-livecode wrote: >>> Thanks Mark, >>> >>> New problem. Trying to use aes-256-ctr instead. I'm following the >>> syntax in >>> the dictionary but it throws a red cross on it: >>> >>> encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt >> >> I think you can either specify a key, or a password with an optional >> salt. >> >> If you specify a password it uses the provided salt (or a random one if >> one is not provided) to generate a key of the correct length (the bit >> length of the cipher). >> >> If you provide a key then it uses that verbatim to encrypt the data (in >> this case the key must be the correct number of bits as defined by the >> chosen cipher - 256 in this case). >> >> 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 alex at tweedly.net Thu Dec 16 18:12:18 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 16 Dec 2021 23:12:18 +0000 Subject: Smile for Christmas. In-Reply-To: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Message-ID: <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> On 16/12/2021 18:25, Rick Harrison via use-livecode wrote: > Combining two arrays is nice, but it really shouldnt spell correct color to colour. No, it doesn't Rick. It's just a typo in the example in the dictionary. I mentioned it because it made me smile when I noticed it - a tiny example of our not-so-common language between the two sides of the ocean :-) Alex. The example in question : > *local*tLeft, tRight* > put*"green"intotLeft["color"]* > put*"left"intotLeft["align"]* > put*"blue"intotRight["color"]* > put*"100"intotRight["width"] > > *union*tLeft withtRight > > *# RESULT** > # tLeft["colour"] = "green" > # tLeft["align"] = "left"** > # tLeft["width"] = "100"* > >> On Dec 16, 2021, at 12:55 PM, Alex Tweedly via use-livecode wrote: >> >> Not only does it combine two arrays, but apparently it also spell-corrects "color" to "colour" !! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 16 20:24:33 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 16 Dec 2021 20:24:33 -0500 Subject: Smile for Christmas. In-Reply-To: <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <89c53ebd-3e9e-5ba7-6556-514433bc2ae7@tweedly.net> Message-ID: <3BE53960-4EB6-4F1D-A66C-654EF4BC1A79@all-auctions.com> Ok then. Thanks for clearing up the confusion. Rick > On Dec 16, 2021, at 6:12 PM, Alex Tweedly via use-livecode wrote: > > On 16/12/2021 18:25, Rick Harrison via use-livecode wrote: >> Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. > > No, it doesn't Rick. It's just a typo in the example in the dictionary. > > I mentioned it because it made me smile when I noticed it - a tiny example of our not-so-common language between the two sides of the ocean :-) > > Alex. From dochawk at gmail.com Thu Dec 16 21:04:17 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 16 Dec 2021 18:04:17 -0800 Subject: Smile for Christmas. In-Reply-To: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> Message-ID: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> rick ruminated, >Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. Oh, dear I almost forgot. It’s time for my annual vowel drive! Please send all your excess “u” and other vowels (I’m looking at *you*, Britain!). I will package them, and send them to the vowel-starved folks in czch, srb, and so forth . . . :_) From terry.judd at unimelb.edu.au Thu Dec 16 21:25:39 2021 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 17 Dec 2021 02:25:39 +0000 Subject: Smile for Christmas. In-Reply-To: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> Message-ID: Surely we should be sending them straight to the US ;) Terry… From: use-livecode on behalf of doc hawk via use-livecode Date: Friday, 17 December 2021 at 1:05 pm To: How to use LiveCode Cc: doc hawk Subject: Re: Smile for Christmas. rick ruminated, >Combining two arrays is nice, but it really shouldn’t spell correct “color” to “colour”. Oh, dear I almost forgot. It’s time for my annual vowel drive! Please send all your excess “u” and other vowels (I’m looking at *you*, Britain!). I will package them, and send them to the vowel-starved folks in czch, srb, and so forth . . . :_) _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 17 00:11:01 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2021 23:11:01 -0600 Subject: Smile for Christmas. In-Reply-To: <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> References: <7022BF0D-A8C5-4DF1-AD28-724DA23E9F2B@all-auctions.com> <9F14BFF9-2CB1-43E7-9913-2B40971B159C@gmail.com> Message-ID: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I will donate "aluminium" for them. I don't know where they got that. Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 16, 2021 8:06:23 PM doc hawk via use-livecode wrote: > rick ruminated, > > >> Combining two arrays is nice, but it really shouldnt spell correct color >> to colour. > > Oh, dear I almost forgot. > > Its time for my annual vowel drive! > > Please send all your excess u and other vowels (Im looking at *you*, > Britain!). > > I will package them, and send them to the vowel-starved folks in czch, srb, > and so forth . . . > > :_) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 01:14:23 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 17 Dec 2021 06:14:23 +0000 Subject: Smile for Christmas. In-Reply-To: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: > I will donate "aluminium" for them. I don't know where they got that. Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. But I get that you were only jesting ;) From benr_mc at cogapp.com Fri Dec 17 06:34:07 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 17 Dec 2021 11:34:07 +0000 Subject: regex backreferences In-Reply-To: <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > If there isn't a feature request for it, there should be. https://quality.livecode.com/show_bug.cgi?id=21534 From kaveh at rivervalleytechnologies.com Fri Dec 17 06:41:55 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Fri, 17 Dec 2021 11:41:55 +0000 Subject: regex backreferences In-Reply-To: <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> Message-ID: Great to know this is already in the wish list, Ben and thanks for adding it. Anything we can do to support this request and expedite it? On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > If there isn't a feature request for it, there should be. > > https://quality.livecode.com/show_bug.cgi?id=21534 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ● ORCID *Accelerating the Communication of Research* From benr_mc at cogapp.com Fri Dec 17 07:49:15 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 17 Dec 2021 12:49:15 +0000 Subject: regex backreferences In-Reply-To: References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> Message-ID: <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> Hi Kaveh, Thanks, but actually it wasn't me who made the original report - that was Bart Voorzanger. And you added a useful comment to it 18 months ago, before I found it! best, Ben On 17/12/2021 11:41, Kaveh wrote: > Great to know this is already in the wish list, Ben and thanks for adding it. > Anything we can do to support this request and expedite it? > > On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode > > wrote: > > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > If there isn't a feature request for it, there should be. > > https://quality.livecode.com/show_bug.cgi?id=21534 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 > ORCID > > *Accelerating the Communication of Research* From kaveh at rivervalleytechnologies.com Fri Dec 17 07:52:26 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Fri, 17 Dec 2021 12:52:26 +0000 Subject: regex backreferences In-Reply-To: <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> References: <3C2EAAE8-D2E5-49FE-ADB7-03810E26DCE2@byu.edu> <17dbc2e1748.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7fdac4f5-9f44-c610-5a26-26693f0d8ec0@cogapp.com> <8bd319eb-ba1b-c6af-1d7a-de5c982b212a@cogapp.com> Message-ID: Hah. I read my own comment without checking the poster and thought this guy is a bit pushy but let's hope he succeeds! It really is a fundamental limitation that will allow so much more to be done in LiveCode, including a really good interactive tutorial on regex. Regards Kaveh On Fri, 17 Dec 2021 at 12:49, Ben Rubinstein wrote: > Hi Kaveh, > > Thanks, but actually it wasn't me who made the original report - that was > Bart > Voorzanger. And you added a useful comment to it 18 months ago, before I > found it! > > best, > > Ben > > > On 17/12/2021 11:41, Kaveh wrote: > > Great to know this is already in the wish list, Ben and thanks for > adding it. > > Anything we can do to support this request and expedite it? > > > > On Fri, 17 Dec 2021 at 11:35, Ben Rubinstein via use-livecode > > > > wrote: > > > > > > On 15/12/2021 03:41, J. Landman Gay via use-livecode wrote: > > > If there isn't a feature request for it, there should be. > > > > https://quality.livecode.com/show_bug.cgi?id=21534 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > > ● ORCID > > > > *Accelerating the Communication of Research* > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID *Accelerating the Communication of Research* From heather at livecode.com Fri Dec 17 07:57:17 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 17 Dec 2021 12:57:17 +0000 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. I love how the word for "vowels" is almost entirely made up of vowels. Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok so its colloquial and only used in the south valleys "Wenglish" but it's a great word. Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. Don't let my frivolous response to this thread draw you off the straight and narrow course of purely and only discussing LiveCode on this list. Or even cod byw. Nadolig Hapus! Heather Customer Services Manager LiveCode Ltd www.livecode.com > On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: > > >> I will donate "aluminium" for them. I don't know where they got that. > > Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > >> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. > They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. > > But I get that you were only jesting ;) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 17 09:08:50 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 09:08:50 -0500 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> I play a lot of scrabble. One of the most endearing short words (Scrabble is ALL about short words) in both the English and American lexicons is “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, E, I, O, U, and sometimes Y and W”. Craig > On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode wrote: > > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. > > I love how the word for "vowels" is almost entirely made up of vowels. > > Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok so its colloquial and only used in the south valleys "Wenglish" but it's a great word. > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. Don't let my frivolous response to this thread draw you off the straight and narrow course of purely and only discussing LiveCode on this list. Or even cod byw. > > Nadolig Hapus! > > Heather > > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: >> >> >>> I will donate "aluminium" for them. I don't know where they got that. >> >> Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. >> >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. >> They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. >> >> But I get that you were only jesting ;) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Fri Dec 17 09:30:28 2021 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 17 Dec 2021 14:30:28 +0000 Subject: Smile for Christmas. In-Reply-To: <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> Message-ID: Another super-useful and relevant scrabble word is EUOUAE, one of the charmingly monikered 'vowel dumps'. Unfortunately not available in TWL so only for UK scrabble play! On Fri, 17 Dec 2021 at 14:08, Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > I play a lot of scrabble. One of the most endearing short words (Scrabble > is ALL about short words) in both the English and American lexicons is > “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, > E, I, O, U, and sometimes Y and W”. > > Craig > > > On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. > Gyda dim ond y nifer cywir o lafariaid. > > > > I love how the word for "vowels" is almost entirely made up of vowels. > > > > Which brings me to my favourite Welsh word. For microwave. Popty ping. > Ok so its colloquial and only used in the south valleys "Wenglish" but it's > a great word. > > > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice > season. Don't let my frivolous response to this thread draw you off the > straight and narrow course of purely and only discussing LiveCode on this > list. Or even cod byw. > > > > Nadolig Hapus! > > > > Heather > > > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >>> I will donate "aluminium" for them. I don't know where they got that. > >> > >> Sir Humphry Davy, the same one responsible for the confusion in the > term/name. So, the same place as our American cousins. > >> > >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and > they make do with random consonants when they run short. > >> They use a, e, o, u and I. W and Y are also considered vowels. They > don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all > make consonant sounds. 29 ‘letters’ in total with 7 vowels. > >> > >> But I get that you were only jesting ;) > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Fri Dec 17 09:50:35 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 09:50:35 -0500 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <02029257-CDB1-4220-B04E-0B976DBED9CD@starfirelighting.com> Message-ID: <078D907A-4A6C-49E1-8989-8106B233B9C7@starfirelighting.com> Ali. As I am fond of saying, "Americans expect everyone else in the world to learn our language, as we refuse to learn theirs”. Same with the Scrabble lexicon; CSW is rather larger. Two different dictionary suites between us and the planet. We are smug about that. Craig > On Dec 17, 2021, at 9:30 AM, Ali Lloyd via use-livecode wrote: > > Another super-useful and relevant scrabble word is EUOUAE, one of the > charmingly monikered 'vowel dumps'. Unfortunately not available in TWL so > only for UK scrabble play! > > On Fri, 17 Dec 2021 at 14:08, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I play a lot of scrabble. One of the most endearing short words (Scrabble >> is ALL about short words) in both the English and American lexicons is >> “CWM”, which is a forest hollow, is Welsh, and validates the old saw: “A, >> E, I, O, U, and sometimes Y and W”. >> >> Craig >> >>> On Dec 17, 2021, at 7:57 AM, Heather Laine via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. >> Gyda dim ond y nifer cywir o lafariaid. >>> >>> I love how the word for "vowels" is almost entirely made up of vowels. >>> >>> Which brings me to my favourite Welsh word. For microwave. Popty ping. >> Ok so its colloquial and only used in the south valleys "Wenglish" but it's >> a great word. >>> >>> Have a wonderful Christmas/New Year/Solstice/Holiday of your choice >> season. Don't let my frivolous response to this thread draw you off the >> straight and narrow course of purely and only discussing LiveCode on this >> list. Or even cod byw. >>> >>> Nadolig Hapus! >>> >>> Heather >>> >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.com >>> >>> >>> >>>> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> >>>>> I will donate "aluminium" for them. I don't know where they got that. >>>> >>>> Sir Humphry Davy, the same one responsible for the confusion in the >> term/name. So, the same place as our American cousins. >>>> >>>>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and >> they make do with random consonants when they run short. >>>> They use a, e, o, u and I. W and Y are also considered vowels. They >> don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all >> make consonant sounds. 29 ‘letters’ in total with 7 vowels. >>>> >>>> But I get that you were only jesting ;) >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Dec 17 12:11:37 2021 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Dec 2021 17:11:37 +0000 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Pretty much OT, but Davy was a really interesting man: look him up in Wikipedia. Before I read that article, all I knew about him was the clerihew: Sir Humphry Davy Abominated gravy He lived in the odium Of having discovered Sodium Compliments of the season to all. Graham > On 17 Dec 2021, at 06:14, Pi Digital via use-livecode wrote: > > >> I will donate "aluminium" for them. I don't know where they got that. > > Sir Humphry Davy, the same one responsible for the confusion in the term/name. So, the same place as our American cousins. > >> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they make do with random consonants when they run short. > They use a, e, o, u and I. W and Y are also considered vowels. They don’t use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make consonant sounds. 29 ‘letters’ in total with 7 vowels. > > But I get that you were only jesting ;) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 17 13:01:04 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2021 12:01:04 -0600 Subject: Smile for Christmas. In-Reply-To: References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Wow, Google Translate knows Welsh. It turns out that Heather's comment has nothing to do with Beth having an ugly chin which makes her dim and afraid. I somehow knew Heather would show up here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 17, 2021 6:58:36 AM Heather Laine via use-livecode wrote: > Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda > dim ond y nifer cywir o lafariaid. > > I love how the word for "vowels" is almost entirely made up of vowels. > > Which brings me to my favourite Welsh word. For microwave. Popty ping. Ok > so its colloquial and only used in the south valleys "Wenglish" but it's a > great word. > > Have a wonderful Christmas/New Year/Solstice/Holiday of your choice season. > Don't let my frivolous response to this thread draw you off the straight > and narrow course of purely and only discussing LiveCode on this list. Or > even cod byw. > > Nadolig Hapus! > > Heather > > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 17 Dec 2021, at 06:14, Pi Digital via use-livecode >> wrote: >> >> >>> I will donate "aluminium" for them. I don't know where they got that. >> >> Sir Humphry Davy, the same one responsible for the confusion in the >> term/name. So, the same place as our American cousins. >> >>> Oh, and don't forget Wales. They only have one sorta vowel, "y", and they >>> make do with random consonants when they run short. >> They use a, e, o, u and I. W and Y are also considered vowels. They dont >> use K, Q, V or Z Double L, D, F as well as ch, ph, rh, th and ng all make >> consonant sounds. 29 letters in total with 7 vowels. >> >> But I get that you were only jesting ;) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Dec 17 13:39:21 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 13:39:21 -0500 Subject: Smile for Christmas. In-Reply-To: <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17dc6ccf688.27ee.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <17dc98df318.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <12FF4505-1D8D-470E-8D0A-1262B8EE9258@starfirelighting.com> Welsh and Gaelic both translate the same. Heather. What is the difference? Is it a Scotland thing? Craig > On Dec 17, 2021, at 1:01 PM, J. Landman Gay via use-livecode wrote: > >> Beth ydych chi'n ei olygu, fy ffrind? mae'r Gymraeg yn iaith hyfryd. Gyda dim ond y nifer cywir o lafariaid. From robeppich at epsi.ca Fri Dec 17 13:51:43 2021 From: robeppich at epsi.ca (RobEppich) Date: Fri, 17 Dec 2021 10:51:43 -0800 Subject: Open socket on start up and can't close Message-ID: Hi Craig, Klaus, Alex, Monte, Curry yes, that is me. Glad to hear that epsiTalk continues to be so useful for you. I have epsiTalk under Livecode. I say very little as the more I say the more distractions there are. During the Hypercard days I used xcmds. In the end HC was discontinued and I tried using Applescript for a year and then was going to use Supercard but I learned my lesson of the one platform trap and so I moved onto Revolution using sockets, then Livecode. Best long term decision I ever made. Runrev/Livecode are my heros! I am using macOS Monterey version 12.0.1 on iMac (24-inch, M1, 2021) and have recently moved from "Livecode Indy" to just plain “Livecode". I believe that this open socket must be the remote debugging feature, that I am not familiar with, though I suppose I will now. First question is how to turn off remote debugging as might would compete with the port that I use for epsiTalk inBusiness and if the remote debugging is still opening a socket in a standalone. Also, isn’t this open socket for rermote debugging a security risk? I shall study. It is true that I am a happy lurker. I live on an island with 1100 people and discovered that 900 are never anywhere to be seen or heard from, like me. I have discovered, as well, that the 80% are silent lurkers in most communities, and we are all mostly appreciative of all of you who are very active. I keep all the digests and use it to search for answers that you have all provided to our Livecode community, and often I find that all of you have answered my question, again, and now I wish to Thank You all for this great resource. Thanks to all of you Rob Eppich From craig at starfirelighting.com Fri Dec 17 16:35:34 2021 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 17 Dec 2021 16:35:34 -0500 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: Robert. "I have epsiTalk under Livecode.” Whaaat?? How much do you want for it? I would love to be able to talk to other running LC machines with a skillset that I already have. When I first picked up LC, I immediately tested “send to program” (a command in LC, as it ought to be, not a keyword(!)) to another Mac running LC. It did not work, as others have verified, even though it is still listed in the dictionary without comment. I played around with sockets about 8 years ago, and got the hang of them, but I miss the package of gadgetry that EpsiTalk offered. So, um, how much does EpsiTalk for LC cost?? Craig > On Dec 17, 2021, at 1:51 PM, RobEppich via use-livecode wrote: > > I have epsiTalk under Livecode. From jacque at hyperactivesw.com Fri Dec 17 17:55:49 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2021 16:55:49 -0600 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: <016b8cb8-8820-6276-0fc9-b9bcc125d4f3@hyperactivesw.com> On 12/17/21 12:51 PM, RobEppich via use-livecode wrote: > First question is how to turn off remote debugging as might would compete with the port that I use for epsiTalk inBusiness and if the remote debugging is still opening a socket in a standalone. Also, isn’t this open socket for rermote debugging a security risk? Remote debugging, by default, is only available if you have cabled your device to the computer and used the Test button to install an app. It is not included in standalones unless you specifically select it in the Inclusions pane in Standalone Settings. I don't think it's much of a security risk because unless you include it manually, no one but you and your computer has access to it. I have to say, I don't know how I ever got along without it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Dec 17 19:27:14 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Dec 2021 00:27:14 +0000 Subject: Open socket on start up and can't close In-Reply-To: References: Message-ID: Sockets are pretty easy to implement. There is a good Livecode lesson on how to do so. I wrote a client server system that can be used for virtually any kind of application. My particular need was to send and receive SQL queries and data without having to go through the fuss of setting up a web server and maintaining SSL certs. I use my own algorithm with AES256 and some proprietary wizardry that makes the hash undecryptable Save by the client and server. Sent from my iPhone > On Dec 17, 2021, at 13:36, Craig Newman via use-livecode wrote: > > Robert. > > "I have epsiTalk under Livecode.” > > Whaaat?? How much do you want for it? I would love to be able to talk to other running LC machines with a skillset that I already have. > > When I first picked up LC, I immediately tested “send to program” (a command in LC, as it ought to be, not a keyword(!)) to another Mac running LC. It did not work, as others have verified, even though it is still listed in the dictionary without comment. I played around with sockets about 8 years ago, and got the hang of them, but I miss the package of gadgetry that EpsiTalk offered. > > So, um, how much does EpsiTalk for LC cost?? > > Craig > >> On Dec 17, 2021, at 1:51 PM, RobEppich via use-livecode wrote: >> >> I have epsiTalk under Livecode. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 18 22:37:17 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 19 Dec 2021 14:37:17 +1100 Subject: nsPropertyMapper revision 3 Message-ID: I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many more icons than the LC Image Chooser; you can save favorite images, view image metadata, facilitate scaling an image to fit given bounds, and check your stacks for duplicate image IDs and unloaded images referenced in icons and patterns which could go missing in a standalone. From bobsneidar at iotecdigital.com Sun Dec 19 03:07:59 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 19 Dec 2021 08:07:59 +0000 Subject: nsPropertyMapper revision 3 In-Reply-To: References: Message-ID: <9ECA255C-743B-430F-90DA-24645599533E@iotecdigital.com> Wow. That sounds great. Bob S > On Dec 18, 2021, at 7:37 PM, Neville Smythe via use-livecode wrote: > > I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many more icons than the LC Image Chooser; you can save favorite images, view image metadata, facilitate scaling an image to fit given bounds, and check your stacks for duplicate image IDs and unloaded images referenced in icons and patterns which could go missing in a standalone. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 19 13:05:46 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 19 Dec 2021 13:05:46 -0500 Subject: Windows VM's and LiveCode app's cursors Message-ID: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause it? From matthias_livecode_150811 at m-r-d.de Sun Dec 19 16:59:40 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 19 Dec 2021 22:59:40 +0100 Subject: Windows VM's and LiveCode app's cursors In-Reply-To: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> References: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> Message-ID: <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> Paul, are you sure that the user directly accesses the VM? Or is the user by any chance accessing that VM using some RemoteControl software like TeamViewer or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. Matthias > Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : > > We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. > > The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). > > I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. > > None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. > > I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause 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 Sun Dec 19 17:12:57 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 19 Dec 2021 17:12:57 -0500 Subject: Windows VM's and LiveCode app's cursors In-Reply-To: <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> References: <15770a89-baa6-f154-4842-eb408b68009c@researchware.com> <300A7368-B57D-4D87-94FA-BBBFEF222471@m-r-d.de> Message-ID: <8c57e2b2-92c5-36eb-4f2e-dc897411f1d4@researchware.com> I am not sure and will check with the customer. Thank you for the tip! On 12/19/2021 4:59 PM, matthias rebbe via use-livecode wrote: > Paul, > > are you sure that the user directly accesses the VM? Or is the user by any chance accessing that VM using some RemoteControl software like TeamViewer or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. > > > Matthias > > >> Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : >> >> We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. >> >> The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). >> >> I build a simple text app under LC 10.0.0dp1 that is just a window with a Quit button. Built 32 and 64 bit versions with and without High DPI check box checked and the customer tested them. All 4 display a double cursor. >> >> None of the 4 test apps display a double cursor when running in Window 10 Native or a Windows 10 VirtualBox VM under Windows 10 - just under Linux. >> >> I know - a fringe configuration for sure - but has anyone encountered anything like this or have any idea what might cause 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 neville.smythe at optusnet.com.au Sun Dec 19 18:18:41 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 20 Dec 2021 10:18:41 +1100 Subject: nsPropertyMapper Revision 4 Message-ID: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. From scott at elementarysoftware.com Sun Dec 19 21:08:52 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 19 Dec 2021 18:08:52 -0800 Subject: nsPropertyMapper Revision 4 In-Reply-To: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> References: <4177F587-1EAA-4E1E-9C6C-F38D1A6A6A31@optusnet.com.au> Message-ID: <9288BFE8-9521-432C-B63B-E63FCC8FE5D2@elementarysoftware.com> The one that is downloading from Sample Stacks still claims to be revision 3. Scott Morrow ----------------------------------------------------------------------------- “The ability to quote is a serviceable substitute for wit.” - William Somerset Maugham > On Dec 19, 2021, at 3:18 PM, Neville Smythe via use-livecode wrote: > > Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Dec 20 12:11:40 2021 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 20 Dec 2021 17:11:40 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? Message-ID: Hi folks, I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. on hiliteChanged put the hilitedElement of me into tHilitedElement if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement replace comma with quote & "][" & quote in tHilitedElement put "[" & quote before tHilitedElement put quote & "]" after tHilitedElement put the arrayData of me into tTreeData put tTreeData & tHilitedElement end hiliteChanged I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? TIA. Best, Keith From jacque at hyperactivesw.com Mon Dec 20 15:46:25 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Dec 2021 14:46:25 -0600 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. What's the purpose of the concatenation, and what do you want to do with the selection? On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: > Hi folks, > I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. > > The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. > > However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. > > on hiliteChanged > > put the hilitedElement of me into tHilitedElement > > if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement > > replace comma with quote & "][" & quote in tHilitedElement > > put "[" & quote before tHilitedElement > > put quote & "]" after tHilitedElement > > put the arrayData of me into tTreeData > > put tTreeData & tHilitedElement > > end hiliteChanged > > I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? > > TIA. > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at me.com Mon Dec 20 16:13:47 2021 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 20 Dec 2021 21:13:47 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! Best, Keith > On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: > > I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. > > The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. > > What's the purpose of the concatenation, and what do you want to do with the selection? > > On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >> Hi folks, >> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >> on hiliteChanged >> put the hilitedElement of me into tHilitedElement >> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >> replace comma with quote & "][" & quote in tHilitedElement >> put "[" & quote before tHilitedElement >> put quote & "]" after tHilitedElement >> put the arrayData of me into tTreeData >> put tTreeData & tHilitedElement >> end hiliteChanged >> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >> TIA. >> 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 > > > -- > 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 paulmcclernan at gmail.com Mon Dec 20 22:31:52 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 20 Dec 2021 22:31:52 -0500 Subject: Record audio on Mac In-Reply-To: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> References: <92367400-5AEC-45BA-A56E-5E08326119C1@major-k.de> Message-ID: Yes and despite info to the contrary mergMicrophone does still work in a standalone on macOS, but as a “heads up”, entitlements may be an issue making a standalone that uses it because on newer macOS need user permission to use the microphone. I entirely removed the signature on a standalone and then it asked for pets mission as required. On Fri, Dec 10, 2021 at 2:30 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > > Am 10.12.2021 um 14:02 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi all, > > > > There is an entry in the dictionary -> record sound... > > But that obviously relies on Quicktime. > > And then there is this in the "Release Notes": > > ... > > 64-bit standalones for Mac OS X do not have support for audio recording. > > ... > > almost forgot that we have all this wonderful MERG AV... and > MERGmicrophone... stuff on the Mac! :-) > So please remove that line from the Release Notes. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From eurolinkal at aol.com Mon Dec 20 23:33:22 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Mon, 20 Dec 2021 20:33:22 -0800 Subject: New user References: Message-ID: Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. From phil at pdslabs.net Mon Dec 20 23:47:32 2021 From: phil at pdslabs.net (Phil Davis) Date: Mon, 20 Dec 2021 20:47:32 -0800 Subject: New user In-Reply-To: References: Message-ID: <4b2fd460-d610-ea6b-a933-58267e36121a@pdslabs.net> Welcome to the list, Alex! There are people here who are a LOT more familiar with Windows <-> device communication than I am, but I can at least ask questions. Are you familiar with the "open driver" command and "serialControlString" property? They might give you some of what you need. I confess I haven't worked in a Windows environment in many years, so what I used to know may now be obsolete. Ahh, technology! Best regards - Phil Davis On 12/20/21 8:33 PM, Alex Hughson via use-livecode wrote: > Hello all. I am a beginner user of LiveCode. Ive managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From matthias_livecode_150811 at m-r-d.de Tue Dec 21 04:32:12 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Dec 2021 10:32:12 +0100 Subject: New user In-Reply-To: References: Message-ID: Hi Alex, does the developer of the I/O board provides an SDK? Best would be of course, that SDK would have support for Livecode, but i assume the latter is not the case. But if the developer of that board has an sdk for example with prebuilt .dll you could try to create a wrapper with Livecode Builder. How is the board detected on Windows? As a serial device? If so, you could communicate with it through Livecode. Please have a look at 'open driver' in the dictionary. Matthias > Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode : > > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Tue Dec 21 06:36:46 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 11:36:46 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> References: <1216ACE0-C59E-4EF4-8FCE-4363AD5778BF@me.com> Message-ID: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Hi folks, For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... on hiliteChanged put the arrayData of control "Tree" into tTreeData put the hilitedElement of control "Tree" into tHilitedElement // Identify element depth put the number of items in tHilitedElement into tDepth put 0 into tLevelCount repeat for each item tKey in tHilitedElement add 1 to tLevelCount put tKey into tLevel[tLevelCount] put "[tLevel[" & tLevelCount & "]]" after tElement end repeat // Build array key to show element value in field switch tDepth case 1 put tTreeData[tLevel[1]] into field "Test" break case 2 put tTreeData[tLevel[1]][tLevel[2]] into field "Test" break case 3 put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" break end switch end hiliteChanged I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) Best, Keith > On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: > > I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. > > Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) > > I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. > > If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! > Best, > Keith > >> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >> >> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >> >> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >> >> What's the purpose of the concatenation, and what do you want to do with the selection? >> >> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>> Hi folks, >>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>> on hiliteChanged >>> put the hilitedElement of me into tHilitedElement >>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>> replace comma with quote & "][" & quote in tHilitedElement >>> put "[" & quote before tHilitedElement >>> put quote & "]" after tHilitedElement >>> put the arrayData of me into tTreeData >>> put tTreeData & tHilitedElement >>> end hiliteChanged >>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>> TIA. >>> 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 >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Dec 21 09:44:18 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 21 Dec 2021 16:44:18 +0200 Subject: [ANN] Release 9.6.6 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.6 RC-1. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of the bugs you requested in the recent survey: New Features: - iOS device safe area insets function An iphoneSafeAreaInsets function has been added to enable getting the safe area insets of the device the app is running on. These can be used to adjust your app's user interface elements to avoid areas that are covered by device furniture, e.g. the notch. - Android adaptive icons It is now possible to configure your Android apps to use adaptive icons. To use adaptive icons, generate them using the Image Asset Editor in Android Studio and then choose the resulting res folder in the android standalone settings pane. - Android app query whitelist Support has been added for specifying which other apps can be interacted with via the intent and other (custom) URL schemes. Since Android 11, by default, an app cannot interact with any others due to changes to package visibility. You must now specify which apps you need access to by adding their ids to the App ID Query Whitelist field in the Android standalone settings. Bug Fixes: - Opening HyperCard stacks will no longer cause a crash - Support for the system date and the system time has been added on Android - A stack's rect will no longer become out of sync with its actual position after being moved in the IDE on macOS - A wider range of TrueType font files will now work on Android and Web - Use of the term Tutorials have been replaced by the term Lessons throughout the IDE - When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently - Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. - The welcome tutorial can now be started on first run via the Start Interative Welcome button in the start center - Starting a new tutorial will now close the previous tutorial's stack, if present - The performance of the script editor while typing has been improved - Downloading large amounts of data using tsNet on Windows is now substantially faster - Invalid PDFs will no longer be generated when using the open printing to PDF command on Windows using the 64-bit engine - Script debugging will no longer fail to work intermittently when running the IDE with pro features - Scripts which run without locking the screen are no longer slower on macOS Big Sur and later - The drawing library now correctly handle gradients which are referred to using an id containing - or _ - Key events will now work correctly after a modal dialog is shown from a mouseUp handler in a grouped control - The iphoneDeviceModel function now returns the correct model string when run on an iOS/iPadOS simulator. - Default buttons and progress bars will no longer cause unnecessary CPU usage on macOS 10.10 (Yosemite) or later - The byteOffset function will no longer cause incorrect results in some cases nor cause a crash - Scripts containing accented characters will no longer incorrectly report being externally modified - Using the print link command when printing to PDF on Windows no longer causes a crash - The copyright notices in the engine app bundle (macOS) and exe (Windows) have been updated - A significant memory leak in the browser widget on macOS has been resolved - POST data larger than 64kb is now parsed correctly by the Windows server engine - Audio-only players no longer consume excessive CPU when in Edit Mode on macOS Big Sur - WebGL content now displays in the browser widget when running on macOS 12.x (Monterey) - The union (and other set operation) commands now throw an error if there is no into clause and the target is not a declared variable - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported - Local file and content access has been re-enabled in the browser widget and native control on Android - Touch events now occur at the correct location when handled by objects underneath a disabled Android scroller - SVG elements with a stroke-width of 0 are no longer drawn with a hairline stroke - There is no longer a delay when opening the IDE menus on macOS - Selecting a specific browser to test a web project against now works correctly - The overhead of using "do .." to evaluate long JavaScript scripts in the browser widget on Android has been greatly reduced For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 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 at http://forums.livecode.com Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Tue Dec 21 10:15:17 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Dec 2021 10:15:17 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: Things that made me say "WHAT?" - When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently WHAT? Who are you people? - Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. WHAT? HAHAHAHA. OK, that's funny. You got me. On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > Getting the Release > =================== > You can find the release in your LiveCode account area or get it via the > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > account, please scroll down to below the list of stable releases, to find > your available test releases. > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: > > New Features: > - iOS device safe area insets function > An iphoneSafeAreaInsets function has been added to enable getting the safe > area insets of the device the app is running on. These can be used to > adjust your app's user interface elements to avoid areas that are covered > by device furniture, e.g. the notch. > > - Android adaptive icons > It is now possible to configure your Android apps to use adaptive icons. > To use adaptive icons, generate them using the Image Asset Editor in > Android Studio and > then choose the resulting res folder in the android standalone settings > pane. > > - Android app query whitelist > Support has been added for specifying which other apps can be interacted > with via the intent and other (custom) URL schemes. > Since Android 11, by default, an app cannot interact with any others due to > changes to package visibility. You must now specify which apps you need > access to by adding their ids to the App ID Query Whitelist field in the > Android standalone settings. > > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash > - Support for the system date and the system time has been added on Android > - A stack's rect will no longer become out of sync with its actual position > after being moved in the IDE on macOS > - A wider range of TrueType font files will now work on Android and Web > - Use of the term Tutorials have been replaced by the term Lessons > throughout the IDE > - When a runtime error occurs in a context where the script debugger cannot > run, the error dialog will be displayed rather > than failing silently > - Conversions between global and local co-ordinates are now correct on > multi-screen macOS systems. > - The welcome tutorial can now be started on first run via the Start > Interative Welcome button in the start center > - Starting a new tutorial will now close the previous tutorial's stack, if > present > - The performance of the script editor while typing has been improved > - Downloading large amounts of data using tsNet on Windows is now > substantially faster > - Invalid PDFs will no longer be generated when using the open printing to > PDF command on Windows using the 64-bit engine > - Script debugging will no longer fail to work intermittently when running > the IDE with pro features > - Scripts which run without locking the screen are no longer slower on > macOS Big Sur and later > - The drawing library now correctly handle gradients which are referred to > using an id containing - or _ > - Key events will now work correctly after a modal dialog is shown from a > mouseUp handler in a grouped control > - The iphoneDeviceModel function now returns the correct model string when > run on an iOS/iPadOS simulator. > - Default buttons and progress bars will no longer cause unnecessary CPU > usage on macOS 10.10 (Yosemite) or later > - The byteOffset function will no longer cause incorrect results in some > cases nor cause a crash > - Scripts containing accented characters will no longer incorrectly report > being externally modified > - Using the print link command when printing to PDF on Windows no longer > causes a crash > - The copyright notices in the engine app bundle (macOS) and exe (Windows) > have been updated > - A significant memory leak in the browser widget on macOS has been > resolved > - POST data larger than 64kb is now parsed correctly by the Windows server > engine > - Audio-only players no longer consume excessive CPU when in Edit Mode on > macOS Big Sur > - WebGL content now displays in the browser widget when running on macOS > 12.x (Monterey) > - The union (and other set operation) commands now throw an error if there > is no into clause and the target is not a declared variable > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported > - Local file and content access has been re-enabled in the browser widget > and native control on Android > - Touch events now occur at the correct location when handled by objects > underneath a disabled Android scroller > - SVG elements with a stroke-width of 0 are no longer drawn with a hairline > stroke > - There is no longer a delay when opening the IDE menus on macOS > - Selecting a specific browser to test a web project against now works > correctly > - The overhead of using "do .." to evaluate long JavaScript scripts in the > browser widget on Android has been greatly reduced > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 > SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 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 at > http://forums.livecode.com > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 brian at milby7.com Tue Dec 21 10:19:18 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Dec 2021 10:19:18 -0500 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. It is part of a more involved stack, but the card with this widget may be helpful for your purposes. Thanks, Brian Sent from my iPhone > On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: > > Hi folks, > For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. > > The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... > on hiliteChanged > > put the arrayData of control "Tree" into tTreeData > > put the hilitedElement of control "Tree" into tHilitedElement > > // Identify element depth > > put the number of items in tHilitedElement into tDepth > > put 0 into tLevelCount > > repeat for each item tKey in tHilitedElement > > add 1 to tLevelCount > > put tKey into tLevel[tLevelCount] > > put "[tLevel[" & tLevelCount & "]]" after tElement > > end repeat > > // Build array key to show element value in field > > switch tDepth > > case 1 > > put tTreeData[tLevel[1]] into field "Test" > > break > > case 2 > > put tTreeData[tLevel[1]][tLevel[2]] into field "Test" > > break > > case 3 > > put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" > > break > > end switch > > end hiliteChanged > > I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) > > Best, > Keith > >> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >> >> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >> >> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >> >> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >> >> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >> Best, >> Keith >> >>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>> >>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>> >>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>> >>> What's the purpose of the concatenation, and what do you want to do with the selection? >>> >>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>> Hi folks, >>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>> on hiliteChanged >>>> put the hilitedElement of me into tHilitedElement >>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>> replace comma with quote & "][" & quote in tHilitedElement >>>> put "[" & quote before tHilitedElement >>>> put quote & "]" after tHilitedElement >>>> put the arrayData of me into tTreeData >>>> put tTreeData & tHilitedElement >>>> end hiliteChanged >>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>> TIA. >>>> 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 >>> >>> >>> -- >>> 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 From merakosp at gmail.com Tue Dec 21 10:27:48 2021 From: merakosp at gmail.com (panagiotis m) Date: Tue, 21 Dec 2021 17:27:48 +0200 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: Hello Mike, >>>> When a runtime error occurs in a context where the script debugger cannot run, the error dialog will be displayed rather than failing silently Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were ignored, because for some reasons deep in the engine, if they were not ignored, LC was freezing and eventually crashing. This behavior has now changed, and these errors are caught in an error dialog window, rather than failing silently. >>>> Conversions between global and local co-ordinates are now correct on multi-screen macOS systems. In other words, LiveCode will now play nicely in a multi-monitor setup. Previously you had to make sure that the virtual tops of the 2 (or more) monitors were aligned, otherwise you were getting incorrect behavior in various cases. Now, you can arrange the monitors any way you want, and things will work as expected. Cheers, Panos -- On Tue, 21 Dec 2021 at 17:17, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Things that made me say "WHAT?" > - When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > WHAT? Who are you people? > - Conversions between global and local co-ordinates are now correct > on multi-screen macOS systems. > WHAT? HAHAHAHA. OK, that's funny. You got me. > > > On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > > > > Getting the Release > > =================== > > You can find the release in your LiveCode account area or get it via the > > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > > account, please scroll down to below the list of stable releases, to find > > your available test releases. > > > > Release Contents > > ================ > > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots > of > > the bugs you requested in the recent survey: > > > > New Features: > > - iOS device safe area insets function > > An iphoneSafeAreaInsets function has been added to enable getting the > safe > > area insets of the device the app is running on. These can be used to > > adjust your app's user interface elements to avoid areas that are covered > > by device furniture, e.g. the notch. > > > > - Android adaptive icons > > It is now possible to configure your Android apps to use adaptive icons. > > To use adaptive icons, generate them using the Image Asset Editor in > > Android Studio and > > then choose the resulting res folder in the android standalone settings > > pane. > > > > - Android app query whitelist > > Support has been added for specifying which other apps can be interacted > > with via the intent and other (custom) URL schemes. > > Since Android 11, by default, an app cannot interact with any others due > to > > changes to package visibility. You must now specify which apps you need > > access to by adding their ids to the App ID Query Whitelist field in the > > Android standalone settings. > > > > > > Bug Fixes: > > - Opening HyperCard stacks will no longer cause a crash > > - Support for the system date and the system time has been added on > Android > > - A stack's rect will no longer become out of sync with its actual > position > > after being moved in the IDE on macOS > > - A wider range of TrueType font files will now work on Android and Web > > - Use of the term Tutorials have been replaced by the term Lessons > > throughout the IDE > > - When a runtime error occurs in a context where the script debugger > cannot > > run, the error dialog will be displayed rather > > than failing silently > > - Conversions between global and local co-ordinates are now correct on > > multi-screen macOS systems. > > - The welcome tutorial can now be started on first run via the Start > > Interative Welcome button in the start center > > - Starting a new tutorial will now close the previous tutorial's stack, > if > > present > > - The performance of the script editor while typing has been improved > > - Downloading large amounts of data using tsNet on Windows is now > > substantially faster > > - Invalid PDFs will no longer be generated when using the open printing > to > > PDF command on Windows using the 64-bit engine > > - Script debugging will no longer fail to work intermittently when > running > > the IDE with pro features > > - Scripts which run without locking the screen are no longer slower on > > macOS Big Sur and later > > - The drawing library now correctly handle gradients which are referred > to > > using an id containing - or _ > > - Key events will now work correctly after a modal dialog is shown from a > > mouseUp handler in a grouped control > > - The iphoneDeviceModel function now returns the correct model string > when > > run on an iOS/iPadOS simulator. > > - Default buttons and progress bars will no longer cause unnecessary CPU > > usage on macOS 10.10 (Yosemite) or later > > - The byteOffset function will no longer cause incorrect results in some > > cases nor cause a crash > > - Scripts containing accented characters will no longer incorrectly > report > > being externally modified > > - Using the print link command when printing to PDF on Windows no longer > > causes a crash > > - The copyright notices in the engine app bundle (macOS) and exe > (Windows) > > have been updated > > - A significant memory leak in the browser widget on macOS has been > > resolved > > - POST data larger than 64kb is now parsed correctly by the Windows > server > > engine > > - Audio-only players no longer consume excessive CPU when in Edit Mode on > > macOS Big Sur > > - WebGL content now displays in the browser widget when running on macOS > > 12.x (Monterey) > > - The union (and other set operation) commands now throw an error if > there > > is no into clause and the target is not a declared variable > > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now > supported > > - Local file and content access has been re-enabled in the browser widget > > and native control on Android > > - Touch events now occur at the correct location when handled by objects > > underneath a disabled Android scroller > > - SVG elements with a stroke-width of 0 are no longer drawn with a > hairline > > stroke > > - There is no longer a delay when opening the IDE menus on macOS > > - Selecting a specific browser to test a web project against now works > > correctly > > - The overhead of using "do .." to evaluate long JavaScript scripts in > the > > browser widget on Android has been greatly reduced > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > > 14.4 SDK > > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS > 15.2 > > SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: From the start of April 2021, Apple is only accepting apps > built > > using iOS14.x SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.15 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 at > > http://forums.livecode.com > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at me.com Tue Dec 21 10:43:18 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 15:43:18 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: <8EA1D74C-BCA6-440F-B2CD-46E4AAE35270@me.com> Thanks for the response & resource link, Brian - much appreciated. It’s good to know that I wasn’t barking up the wrong tree (view!), regarding the need to handle the returned hilitedElement array comma-delimited keys list. I’m new to arrays (and indeed most development concepts), so it was a good learning experience to try to work this out - though the documentation for arrays could be more helpful regarding syntax and passing in variables, as much trial and error was needed. I like the mechanism you’ve used for generalising the array key to be independent of tree node depth - consider that learned and reused! :) Best, Keith > On 21 Dec 2021, at 15:19, Brian Milby via use-livecode > wrote: > > I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. > > https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript > > You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. > > It is part of a more involved stack, but the card with this widget may be helpful for your purposes. > > Thanks, > Brian > > Sent from my iPhone From benr_mc at cogapp.com Tue Dec 21 12:08:10 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 21 Dec 2021 17:08:10 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> Christmas is a time of gifts indeed! Thanks to everyone at LiveCode for all your hard work. best wishes, Ben On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > Getting the Release > =================== > You can find the release in your LiveCode account area or get it via the > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > account, please scroll down to below the list of stable releases, to find > your available test releases. > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: > > New Features: > - iOS device safe area insets function > An iphoneSafeAreaInsets function has been added to enable getting the safe > area insets of the device the app is running on. These can be used to > adjust your app's user interface elements to avoid areas that are covered > by device furniture, e.g. the notch. > > - Android adaptive icons > It is now possible to configure your Android apps to use adaptive icons. > To use adaptive icons, generate them using the Image Asset Editor in > Android Studio and > then choose the resulting res folder in the android standalone settings > pane. > > - Android app query whitelist > Support has been added for specifying which other apps can be interacted > with via the intent and other (custom) URL schemes. > Since Android 11, by default, an app cannot interact with any others due to > changes to package visibility. You must now specify which apps you need > access to by adding their ids to the App ID Query Whitelist field in the > Android standalone settings. > > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash > - Support for the system date and the system time has been added on Android > - A stack's rect will no longer become out of sync with its actual position > after being moved in the IDE on macOS > - A wider range of TrueType font files will now work on Android and Web > - Use of the term Tutorials have been replaced by the term Lessons > throughout the IDE > - When a runtime error occurs in a context where the script debugger cannot > run, the error dialog will be displayed rather > than failing silently > - Conversions between global and local co-ordinates are now correct on > multi-screen macOS systems. > - The welcome tutorial can now be started on first run via the Start > Interative Welcome button in the start center > - Starting a new tutorial will now close the previous tutorial's stack, if > present > - The performance of the script editor while typing has been improved > - Downloading large amounts of data using tsNet on Windows is now > substantially faster > - Invalid PDFs will no longer be generated when using the open printing to > PDF command on Windows using the 64-bit engine > - Script debugging will no longer fail to work intermittently when running > the IDE with pro features > - Scripts which run without locking the screen are no longer slower on > macOS Big Sur and later > - The drawing library now correctly handle gradients which are referred to > using an id containing - or _ > - Key events will now work correctly after a modal dialog is shown from a > mouseUp handler in a grouped control > - The iphoneDeviceModel function now returns the correct model string when > run on an iOS/iPadOS simulator. > - Default buttons and progress bars will no longer cause unnecessary CPU > usage on macOS 10.10 (Yosemite) or later > - The byteOffset function will no longer cause incorrect results in some > cases nor cause a crash > - Scripts containing accented characters will no longer incorrectly report > being externally modified > - Using the print link command when printing to PDF on Windows no longer > causes a crash > - The copyright notices in the engine app bundle (macOS) and exe (Windows) > have been updated > - A significant memory leak in the browser widget on macOS has been > resolved > - POST data larger than 64kb is now parsed correctly by the Windows server > engine > - Audio-only players no longer consume excessive CPU when in Edit Mode on > macOS Big Sur > - WebGL content now displays in the browser widget when running on macOS > 12.x (Monterey) > - The union (and other set operation) commands now throw an error if there > is no into clause and the target is not a declared variable > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now supported > - Local file and content access has been re-enabled in the browser widget > and native control on Android > - Touch events now occur at the correct location when handled by objects > underneath a disabled Android scroller > - SVG elements with a stroke-width of 0 are no longer drawn with a hairline > stroke > - There is no longer a delay when opening the IDE menus on macOS > - Selecting a specific browser to test a web project against now works > correctly > - The overhead of using "do .." to evaluate long JavaScript scripts in the > browser widget on Android has been greatly reduced > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS 15.2 > SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 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 at > http://forums.livecode.com > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Dec 21 12:18:47 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Dec 2021 12:18:47 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> References: <8d03c527-520a-fea3-7fda-f32b6089cbcb@cogapp.com> Message-ID: Panos, I didn't mean that I did not understand. I completely understand. It was like "WHAAAAAAAAAAAAT?" Both of those issues have annoyed the heck out of me for nearly a decade. I am hoping, if I am reading the silent fail correctly, that it won't just be for moveStack and resizeStack, but any time that there is a script fail on mobile, because that is (or maybe was) so unbelievably annoying. On Tue, Dec 21, 2021 at 12:09 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Christmas is a time of gifts indeed! > > Thanks to everyone at LiveCode for all your hard work. > > best wishes, > > Ben > > On 21/12/2021 14:44, panagiotis merakos via use-livecode wrote: > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.6 RC-1. > > > > > > Getting the Release > > =================== > > You can find the release in your LiveCode account area or get it via the > > automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode > > account, please scroll down to below the list of stable releases, to find > > your available test releases. > > > > Release Contents > > ================ > > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots > of > > the bugs you requested in the recent survey: > > > > New Features: > > - iOS device safe area insets function > > An iphoneSafeAreaInsets function has been added to enable getting the > safe > > area insets of the device the app is running on. These can be used to > > adjust your app's user interface elements to avoid areas that are covered > > by device furniture, e.g. the notch. > > > > - Android adaptive icons > > It is now possible to configure your Android apps to use adaptive icons. > > To use adaptive icons, generate them using the Image Asset Editor in > > Android Studio and > > then choose the resulting res folder in the android standalone settings > > pane. > > > > - Android app query whitelist > > Support has been added for specifying which other apps can be interacted > > with via the intent and other (custom) URL schemes. > > Since Android 11, by default, an app cannot interact with any others due > to > > changes to package visibility. You must now specify which apps you need > > access to by adding their ids to the App ID Query Whitelist field in the > > Android standalone settings. > > > > > > Bug Fixes: > > - Opening HyperCard stacks will no longer cause a crash > > - Support for the system date and the system time has been added on > Android > > - A stack's rect will no longer become out of sync with its actual > position > > after being moved in the IDE on macOS > > - A wider range of TrueType font files will now work on Android and Web > > - Use of the term Tutorials have been replaced by the term Lessons > > throughout the IDE > > - When a runtime error occurs in a context where the script debugger > cannot > > run, the error dialog will be displayed rather > > than failing silently > > - Conversions between global and local co-ordinates are now correct on > > multi-screen macOS systems. > > - The welcome tutorial can now be started on first run via the Start > > Interative Welcome button in the start center > > - Starting a new tutorial will now close the previous tutorial's stack, > if > > present > > - The performance of the script editor while typing has been improved > > - Downloading large amounts of data using tsNet on Windows is now > > substantially faster > > - Invalid PDFs will no longer be generated when using the open printing > to > > PDF command on Windows using the 64-bit engine > > - Script debugging will no longer fail to work intermittently when > running > > the IDE with pro features > > - Scripts which run without locking the screen are no longer slower on > > macOS Big Sur and later > > - The drawing library now correctly handle gradients which are referred > to > > using an id containing - or _ > > - Key events will now work correctly after a modal dialog is shown from a > > mouseUp handler in a grouped control > > - The iphoneDeviceModel function now returns the correct model string > when > > run on an iOS/iPadOS simulator. > > - Default buttons and progress bars will no longer cause unnecessary CPU > > usage on macOS 10.10 (Yosemite) or later > > - The byteOffset function will no longer cause incorrect results in some > > cases nor cause a crash > > - Scripts containing accented characters will no longer incorrectly > report > > being externally modified > > - Using the print link command when printing to PDF on Windows no longer > > causes a crash > > - The copyright notices in the engine app bundle (macOS) and exe > (Windows) > > have been updated > > - A significant memory leak in the browser widget on macOS has been > > resolved > > - POST data larger than 64kb is now parsed correctly by the Windows > server > > engine > > - Audio-only players no longer consume excessive CPU when in Edit Mode on > > macOS Big Sur > > - WebGL content now displays in the browser widget when running on macOS > > 12.x (Monterey) > > - The union (and other set operation) commands now throw an error if > there > > is no into clause and the target is not a declared variable > > - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now > supported > > - Local file and content access has been re-enabled in the browser widget > > and native control on Android > > - Touch events now occur at the correct location when handled by objects > > underneath a disabled Android scroller > > - SVG elements with a stroke-width of 0 are no longer drawn with a > hairline > > stroke > > - There is no longer a delay when opening the IDE menus on macOS > > - Selecting a specific browser to test a web project against now works > > correctly > > - The overhead of using "do .." to evaluate long JavaScript scripts in > the > > browser widget on Android has been greatly reduced > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > > 14.4 SDK > > - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS > 15.2 > > SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: From the start of April 2021, Apple is only accepting apps > built > > using iOS14.x SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.15 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 at > > http://forums.livecode.com > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 alex at tweedly.net Tue Dec 21 12:33:30 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Dec 2021 17:33:30 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: Hmmm - maybe I'm missing something, but .... Can't you use the feature of "using a numeric-indexed array as key" ? (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: put "a,b,c" into tA split tA by comma -- now we have tA[1]="a", tA[2]="b", tA[3]="c" put "def" into tArray[tA] -- now tArray["a"]["b"]["c"] = "def" So, where Brian's code does > put the hilitedElement of the target into tElement > put 0 into tIndex > repeat for each item tItem in tElement >    add 1 to tIndex >    put tItem into tReference[tIndex] > end repeat > set the htmltext of field "ItemText" to tArray[tReference] that should be equivalent to put the hilitedElement of the target into tElement split tElement by comma set the htmltext of field "ItemText" to tArray[tElement] Alex. P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. On 21/12/2021 15:19, Brian Milby via use-livecode wrote: > I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isnt obvious. > > https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript > > You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. > > It is part of a more involved stack, but the card with this widget may be helpful for your purposes. > > Thanks, > Brian > > Sent from my iPhone > >> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data Im interested in. >> >> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >> on hiliteChanged >> >> put the arrayData of control "Tree" into tTreeData >> >> put the hilitedElement of control "Tree" into tHilitedElement >> >> // Identify element depth >> >> put the number of items in tHilitedElement into tDepth >> >> put 0 into tLevelCount >> >> repeat for each item tKey in tHilitedElement >> >> add 1 to tLevelCount >> >> put tKey into tLevel[tLevelCount] >> >> put "[tLevel[" & tLevelCount & "]]" after tElement >> >> end repeat >> >> // Build array key to show element value in field >> >> switch tDepth >> >> case 1 >> >> put tTreeData[tLevel[1]] into field "Test" >> >> break >> >> case 2 >> >> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >> >> break >> >> case 3 >> >> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >> >> break >> >> end switch >> >> end hiliteChanged >> >> Im sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >> >> Best, >> Keith >> >>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>> >>> Im using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>> >>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[Pages][1][text] - into a field to read the detail extracted. (Currently Im putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as Ive got!) >>> >>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesnt get immediate access to the elements value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, Im simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>> >>> If Ive missed a simple means to access the Tree View elements value directly on click', Ill gladly change course! >>> Best, >>> Keith >>> >>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>> >>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>> >>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>> >>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>> Hi folks, >>>>> Im struggling to access the value from a Tree View widgets data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>> The following test script (on the Tree widget) successfully gets the Trees arrayData into tTreeData and creates a correct-looking nested array key syntax for any changing tHilitedElement. >>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the elements value. >>>>> on hiliteChanged >>>>> put the hilitedElement of me into tHilitedElement >>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>> put "[" & quote before tHilitedElement >>>>> put quote & "]" after tHilitedElement >>>>> put the arrayData of me into tTreeData >>>>> put tTreeData & tHilitedElement >>>>> end hiliteChanged >>>>> Ive tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>> TIA. >>>>> 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 >>>> >>>> -- >>>> 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 From curry at pair.com Tue Dec 21 12:38:50 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 21 Dec 2021 12:38:50 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <461548a9-ddee-8fe2-c25b-fc16b6d88661@pair.com> Panos: > including fixes for lots of > the bugs you requested in the recent survey Nice! A great day for LiveCode.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From alex at tweedly.net Tue Dec 21 12:40:13 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 21 Dec 2021 17:40:13 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: On 21/12/2021 15:27, panagiotis m via use-livecode wrote: > Hello Mike, > >>>>> When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were > ignored, because for some reasons deep in the engine, if they were not > ignored, LC was freezing and eventually crashing. This behavior has now > changed, and these errors are caught in an error dialog window, rather > than failing silently. Thank you, thank you, thank you. This hits me all the time, when I mess up something in a resizeStack handler. Of course, knowing that, I should test resizeStack handlers properly.  hmph. Alex. From keith.clarke at me.com Tue Dec 21 13:13:09 2021 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 21 Dec 2021 18:13:09 +0000 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: <69E530DD-2D6B-4D50-BDF0-74DE1647637E@me.com> Message-ID: Ah, yes of course - split a list variable with comma to form an array, being the inverse of combine tArray with comma to create a list. "The Worm is the Spice! The Spice is the Worm!” - the Dune weird array thing! Thank you, Alex - another synapse is ignited by the enlightenment… for a while, anyway! :D Best, Keith > On 21 Dec 2021, at 17:33, Alex Tweedly via use-livecode wrote: > > Hmmm - maybe I'm missing something, but .... > > Can't you use the feature of "using a numeric-indexed array as key" ? > > (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: > > put "a,b,c" into tA > split tA by comma > -- now we have tA[1]="a", tA[2]="b", tA[3]="c" > put "def" into tArray[tA] > -- now tArray["a"]["b"]["c"] = "def" > > So, where Brian's code does > >> put the hilitedElement of the target into tElement >> put 0 into tIndex >> repeat for each item tItem in tElement >> add 1 to tIndex >> put tItem into tReference[tIndex] >> end repeat >> set the htmltext of field "ItemText" to tArray[tReference] > > that should be equivalent to > > put the hilitedElement of the target into tElement > split tElement by comma > set the htmltext of field "ItemText" to tArray[tElement] > > Alex. > > P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. > > > > On 21/12/2021 15:19, Brian Milby via use-livecode wrote: > >> I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. >> >> https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript >> >> You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. >> >> It is part of a more involved stack, but the card with this widget may be helpful for your purposes. >> >> Thanks, >> Brian >> >> Sent from my iPhone >> >>> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >>> >>> Hi folks, >>> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. >>> >>> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >>> on hiliteChanged >>> >>> put the arrayData of control "Tree" into tTreeData >>> >>> put the hilitedElement of control "Tree" into tHilitedElement >>> >>> // Identify element depth >>> >>> put the number of items in tHilitedElement into tDepth >>> >>> put 0 into tLevelCount >>> >>> repeat for each item tKey in tHilitedElement >>> >>> add 1 to tLevelCount >>> >>> put tKey into tLevel[tLevelCount] >>> >>> put "[tLevel[" & tLevelCount & "]]" after tElement >>> >>> end repeat >>> >>> // Build array key to show element value in field >>> >>> switch tDepth >>> >>> case 1 >>> >>> put tTreeData[tLevel[1]] into field "Test" >>> >>> break >>> >>> case 2 >>> >>> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >>> >>> break >>> >>> case 3 >>> >>> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >>> >>> break >>> >>> end switch >>> >>> end hiliteChanged >>> >>> I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >>> >>> Best, >>> Keith >>> >>>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>>> >>>> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>>> >>>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >>>> >>>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>>> >>>> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >>>> Best, >>>> Keith >>>> >>>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>>> >>>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>>> >>>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>>> >>>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>>> Hi folks, >>>>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>>>> on hiliteChanged >>>>>> put the hilitedElement of me into tHilitedElement >>>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>>> put "[" & quote before tHilitedElement >>>>>> put quote & "]" after tHilitedElement >>>>>> put the arrayData of me into tTreeData >>>>>> put tTreeData & tHilitedElement >>>>>> end hiliteChanged >>>>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>>> TIA. >>>>>> 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 >>>>> >>>>> -- >>>>> 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 brian at milby7.com Tue Dec 21 13:54:41 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Dec 2021 13:54:41 -0500 Subject: How to get a hilitedElement value from a Tree View's arrayData? In-Reply-To: References: Message-ID: <799A276A-6BB0-4BB5-A199-82A67B524A53@milby7.com> I’ll admit that I modeled my code after code in the IDE somewhere (property editor). Now I wonder why they didn’t just use split. Sent from my iPhone > On Dec 21, 2021, at 1:14 PM, Keith Clarke via use-livecode wrote: > > Ah, yes of course - split a list variable with comma to form an array, being the inverse of combine tArray with comma to create a list. > > "The Worm is the Spice! The Spice is the Worm!” - the Dune weird array thing! > > Thank you, Alex - another synapse is ignited by the enlightenment… for a while, anyway! :D > Best, > Keith > >> On 21 Dec 2021, at 17:33, Alex Tweedly via use-livecode wrote: >> >> Hmmm - maybe I'm missing something, but .... >> >> Can't you use the feature of "using a numeric-indexed array as key" ? >> >> (AFAIK it's an undocumented feature, except in the original release notes for 5.x, which are no longer on the downloads site, and which I can't find my copy of - so if anyone has them, could they re-post somewhere. This feature allows you to use a numeric-indexed array as a key, equivalent to presenting a set of keys: >> >> put "a,b,c" into tA >> split tA by comma >> -- now we have tA[1]="a", tA[2]="b", tA[3]="c" >> put "def" into tArray[tA] >> -- now tArray["a"]["b"]["c"] = "def" >> >> So, where Brian's code does >> >>> put the hilitedElement of the target into tElement >>> put 0 into tIndex >>> repeat for each item tItem in tElement >>> add 1 to tIndex >>> put tItem into tReference[tIndex] >>> end repeat >>> set the htmltext of field "ItemText" to tArray[tReference] >> >> that should be equivalent to >> >> put the hilitedElement of the target into tElement >> split tElement by comma >> set the htmltext of field "ItemText" to tArray[tElement] >> >> Alex. >> >> P.S. I also apologise for not looking at this earlier; I saw an earlier email and thought to myself "Hmmm. I bet that's a case for that weird array feature :-), and went looking for my copy of the release notes; when I failed to find them, I forgot to look further into it. >> >> >> >> On 21/12/2021 15:19, Brian Milby via use-livecode wrote: >> >>> I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. >>> >>> https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_DocEditorPlus_widget_id_1008.livecodescript >>> >>> You should not need to use a case statement. In my case the value was HTML in one case but plain text otherwise. >>> >>> It is part of a more involved stack, but the card with this widget may be helpful for your purposes. >>> >>> Thanks, >>> Brian >>> >>> Sent from my iPhone >>> >>>> On Dec 21, 2021, at 6:38 AM, Keith Clarke via use-livecode wrote: >>>> >>>> Hi folks, >>>> For future reference, below is how I managed to get this sorted. The solution seems rather ugly, but it works for the fixed depth of Tree View data I’m interested in. >>>> >>>> The root cause seems to be down to the way LiveCode handles array keys passed in from variables. It doesn't seem possible to define a complete multidimensional array in as a text string (as one might build URLs with parameters). Rather, variables seem to be recognised and processed only if passed in for each individual array key, within its square brackets. Furthermore, the square brackets seem to need to be present in the markup of the array access call - hence the ugly switch statement with explicit cases for each level of Tree View depth rather than something more dynamic & generic... >>>> on hiliteChanged >>>> >>>> put the arrayData of control "Tree" into tTreeData >>>> >>>> put the hilitedElement of control "Tree" into tHilitedElement >>>> >>>> // Identify element depth >>>> >>>> put the number of items in tHilitedElement into tDepth >>>> >>>> put 0 into tLevelCount >>>> >>>> repeat for each item tKey in tHilitedElement >>>> >>>> add 1 to tLevelCount >>>> >>>> put tKey into tLevel[tLevelCount] >>>> >>>> put "[tLevel[" & tLevelCount & "]]" after tElement >>>> >>>> end repeat >>>> >>>> // Build array key to show element value in field >>>> >>>> switch tDepth >>>> >>>> case 1 >>>> >>>> put tTreeData[tLevel[1]] into field "Test" >>>> >>>> break >>>> >>>> case 2 >>>> >>>> put tTreeData[tLevel[1]][tLevel[2]] into field "Test" >>>> >>>> break >>>> >>>> case 3 >>>> >>>> put tTreeData[tLevel[1]][tLevel[2]][tLevel[3]] into field "Test" >>>> >>>> break >>>> >>>> end switch >>>> >>>> end hiliteChanged >>>> >>>> I’m sure the experienced developers here would find cleaner ways to achieve this but this hack works and I can get back to evaluating the data accessible from the PDF widget! :) >>>> >>>> Best, >>>> Keith >>>> >>>>> On 20 Dec 2021, at 21:13, Keith Clarke via use-livecode wrote: >>>>> >>>>> I’m using the Tree View widget to provide a quick and dirty read-only display of the various arrays of information that can be extracted from the PDF Widget. >>>>> >>>>> Each PDF page contains too much text to read & understand within the constraints of a single line in a Tree View control. So, on highlighting an element in the Tree View, I want to display its value - such as arrayData[“Pages”][“1”][“text”] - into a field to read the detail extracted. (Currently I’m putting it into the message box as an interim step, as I tend to build & debug my scripts line by line and this is as far as I’ve got!) >>>>> >>>>> I may have misread the docs but it seems that when a Tree View element is hilited, one doesn’t get immediate access to the element’s value. Instead, one has to jump through hoops, by handling the hilitedElement, which returns the nested keys of the element. So, I’m simply trying to convert this comma-separated list to an array reference, so that I can get the value associated with this key. >>>>> >>>>> If I’ve missed a simple means to access the Tree View element’s value directly ‘on click', I’ll gladly change course! >>>>> Best, >>>>> Keith >>>>> >>>>>>> On 20 Dec 2021, at 20:46, J. Landman Gay via use-livecode wrote: >>>>>> I'm confused about what the goal is. The hilitedElement contains the text of the selection. The array is already in place, so you don't really need to add to it. >>>>>> >>>>>> The reason you're seeing text in the message box is because the last line contains an unspecified "put". Without a destination for the "put" it will go automatically to the message box. If you want to work with it, you'd need to put the value into a variable. >>>>>> >>>>>> What's the purpose of the concatenation, and what do you want to do with the selection? >>>>>> >>>>>> On 12/20/21 11:11 AM, Keith Clarke via use-livecode wrote: >>>>>>> Hi folks, >>>>>>> I’m struggling to access the value from a Tree View widget’s data array as the hilitedElement changes - though I think my issue is more about working with arrays than the Tree View widget. >>>>>>> The following test script (on the Tree widget) successfully gets the Tree’s arrayData into tTreeData and creates a ‘correct-looking’ nested array key syntax for any changing tHilitedElement. >>>>>>> However, the last line displays the tHilitedElement variable string in the message box rather than concatenating it to tTreeData as the nested key to return the element’s value. >>>>>>> on hiliteChanged >>>>>>> put the hilitedElement of me into tHilitedElement >>>>>>> if char -1 of tHilitedElement is comma then delete char -1 of tHilitedElement >>>>>>> replace comma with quote & "][" & quote in tHilitedElement >>>>>>> put "[" & quote before tHilitedElement >>>>>>> put quote & "]" after tHilitedElement >>>>>>> put the arrayData of me into tTreeData >>>>>>> put tTreeData & tHilitedElement >>>>>>> end hiliteChanged >>>>>>> I’ve tried various forms of brackets around the tHilitedElement variable containing the nested key string with no success - what am I doing wrong? >>>>>>> TIA. >>>>>>> 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 >>>>>> >>>>>> -- >>>>>> 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 eurolinkal at aol.com Tue Dec 21 16:40:20 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Tue, 21 Dec 2021 13:40:20 -0800 Subject: New user In-Reply-To: References: Message-ID: Thanks Matthias. Quite a lot there for me to get my head around, but thanks for pointing me in the right direction and giving me hope! Much appreciated, Alex On December 21, 2021 at 1:33:44 AM, matthias rebbe via use-livecode (use-livecode at lists.runrev.com) wrote: Hi Alex, does the developer of the I/O board provides an SDK? Best would be of course, that SDK would have support for Livecode, but i assume the latter is not the case. But if the developer of that board has an sdk for example with prebuilt .dll you could try to create a wrapper with Livecode Builder. How is the board detected on Windows? As a serial device? If so, you could communicate with it through Livecode. Please have a look at 'open driver' in the dictionary. Matthias > Am 21.12.2021 um 05:33 schrieb Alex Hughson via use-livecode : > > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way through a project which I think I can complete. However the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. I have not been able to find any guidance or samples for how to do this. This has led me to wonder if it is even possible to creat some kind of serial communication using LC or whether I should start over with a different platform. I am doing the LC work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 21 17:54:35 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Dec 2021 23:54:35 +0100 Subject: Some questions about Livecode standalones / Livecode Server on Synology NAS with Intel cpu Message-ID: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Hi, is there someone on the list who is using Livecode Server on a Synology NAS with Intel cpu? If so, did you manage to get it working also with the webserver or only from command line? Today i installed Livecode Server on my Synology NAS with Intel cpu. I am able to run Livecode scripts from the command line. But i do not get it to work, that i can call LC script from my browser. I tried the .htaccess method to get Livecode Server running with Apache without success. I tried also to modify the httdp-conf file, but also without success. But that is due to a lack of knowledge. I would be really grateful if someone could help me getting Livecode Server to work with Apache and not only from command line. Or did someone already create a standalone with LC that could be run on the Synology desktop and not only on the command line? I am able to run 64but Unix LC standalones from the Commandline with the -ui switch. It was even possible to use the Synology scheduler to execute those standalones. Now i am wondering how complicate it would be to package LC standalones to get them installed so they can be run with a gui. Anyone out there who works with LC standalones / LC server on Synology with Intel cpu? Regards, Matthias From sean at pidigital.co.uk Tue Dec 21 20:35:37 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Wed, 22 Dec 2021 01:35:37 +0000 Subject: New user In-Reply-To: References: Message-ID: Hi Alex Welcome! I've done exactly and very similar to what you are describing about 6yrs ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For lighting up miniatures of housing estates and apartment blocks. And then for some film miniatures for toy commercials and so on. Once you've installed the driver for your adapter on Win10, go to the Device Manager, Ports and find out what COM port it's linked to (eg, COM2). Now in LiveCode, you don't need to know the driver name to write to. Just use the command: open driver "COM2:" for write This sets the plane for communication. Next, you need to set up the settings, eg: set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" These are actually the default settings, so do nothing if these are the settings you want. Now you just need to know the commands to send. https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 write "readall" & return to driver "COM2:" read from driver "COM2:" for 4 -- ie, 4 characters The read command immediately after the write allows it to accept the response from the GPIO, in this example, for 4 characters in length (to receive the 4 hex characters like 16AF) And that's it pretty much. It's super easy and fun. With Wifi modules you can use any device to communicate with them. We used iPad mini's which made it super flexible. Let us all know if you run into any issues and need help. All the best Sean Cole *Pi Digital Productions Ltd* On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way > through a project which I think I can complete. However the project has to > be able to communicate with an I/O board (Numato 16 channel USB GPIO Module > for example) from a Windows Standalone application. I have not been able to > find any guidance or samples for how to do this. This has led me to wonder > if it is even possible to creat some kind of serial communication using LC > or whether I should start over with a different platform. I am doing the LC > work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From General.2018 at outlook.com Wed Dec 22 05:24:01 2021 From: General.2018 at outlook.com (General 2018) Date: Wed, 22 Dec 2021 10:24:01 +0000 Subject: New user In-Reply-To: References: Message-ID: Just need this capability on Android - please Livecode Regards Camm > On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: > > Hi Alex > Welcome! > I've done exactly and very similar to what you are describing about 6yrs > ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For > lighting up miniatures of housing estates and apartment blocks. And then > for some film miniatures for toy commercials and so on. > > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > >> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >> through a project which I think I can complete. However the project has to >> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >> for example) from a Windows Standalone application. I have not been able to >> find any guidance or samples for how to do this. This has led me to wonder >> if it is even possible to creat some kind of serial communication using LC >> or whether I should start over with a different platform. I am doing the LC >> work using a Mac. Any help or advice would be much appreciated. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 05:50:49 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 22 Dec 2021 10:50:49 +0000 Subject: New user In-Reply-To: References: Message-ID: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> For Android and iOS, use WiFi and sockets. This is just as quick and easy. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: > > Just need this capability on Android - please Livecode > > Regards Camm > >> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >> >> Hi Alex >> Welcome! >> I've done exactly and very similar to what you are describing about 6yrs >> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >> lighting up miniatures of housing estates and apartment blocks. And then >> for some film miniatures for toy commercials and so on. >> >> Once you've installed the driver for your adapter on Win10, go to the >> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >> Now in LiveCode, you don't need to know the driver name to write to. Just >> use the command: >> open driver "COM2:" for write >> This sets the plane for communication. Next, you need to set up the >> settings, eg: >> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >> These are actually the default settings, so do nothing if these are the >> settings you want. >> Now you just need to know the commands to send. >> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >> write "readall" & return to driver "COM2:" >> read from driver "COM2:" for 4 -- ie, 4 characters >> The read command immediately after the write allows it to accept the >> response from the GPIO, in this example, for 4 characters in length (to >> receive the 4 hex characters like 16AF) >> >> And that's it pretty much. It's super easy and fun. With Wifi modules you >> can use any device to communicate with them. We used iPad mini's which made >> it super flexible. >> >> Let us all know if you run into any issues and need help. >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> >>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>> through a project which I think I can complete. However the project has to >>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>> for example) from a Windows Standalone application. I have not been able to >>> find any guidance or samples for how to do this. This has led me to wonder >>> if it is even possible to creat some kind of serial communication using LC >>> or whether I should start over with a different platform. I am doing the LC >>> work using a Mac. Any help or advice would be much appreciated. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Wed Dec 22 06:21:06 2021 From: General.2018 at outlook.com (General 2018) Date: Wed, 22 Dec 2021 11:21:06 +0000 Subject: New user In-Reply-To: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. Just Android needed to be cross platform in real world interfacing. Regards Camm > On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: > > For Android and iOS, use WiFi and sockets. This is just as quick and easy. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >> >> Just need this capability on Android - please Livecode >> >> Regards Camm >> >>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>> >>> Hi Alex >>> Welcome! >>> I've done exactly and very similar to what you are describing about 6yrs >>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>> lighting up miniatures of housing estates and apartment blocks. And then >>> for some film miniatures for toy commercials and so on. >>> >>> Once you've installed the driver for your adapter on Win10, go to the >>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>> Now in LiveCode, you don't need to know the driver name to write to. Just >>> use the command: >>> open driver "COM2:" for write >>> This sets the plane for communication. Next, you need to set up the >>> settings, eg: >>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>> These are actually the default settings, so do nothing if these are the >>> settings you want. >>> Now you just need to know the commands to send. >>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>> write "readall" & return to driver "COM2:" >>> read from driver "COM2:" for 4 -- ie, 4 characters >>> The read command immediately after the write allows it to accept the >>> response from the GPIO, in this example, for 4 characters in length (to >>> receive the 4 hex characters like 16AF) >>> >>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>> can use any device to communicate with them. We used iPad mini's which made >>> it super flexible. >>> >>> Let us all know if you run into any issues and need help. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>> through a project which I think I can complete. However the project has to >>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>> for example) from a Windows Standalone application. I have not been able to >>>> find any guidance or samples for how to do this. This has led me to wonder >>>> if it is even possible to creat some kind of serial communication using LC >>>> or whether I should start over with a different platform. I am doing the LC >>>> work using a Mac. Any help or advice would be much appreciated. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 22 06:29:36 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 22 Dec 2021 06:29:36 -0500 Subject: Serial Communication with an I/O board (New user) In-Reply-To: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Good topic; probably deserves a relevant subject line! :) (Easier to notice, both live and in the Archive.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ === Alex: > the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. Sean: > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* From dougr at telus.net Wed Dec 22 10:59:44 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 22 Dec 2021 07:59:44 -0800 Subject: New user In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> Message-ID: <0b6a01d7f74c$f0232810$d0697830$@telus.net> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: "... Livecode has Bluetooth for Windows via VCP ..." I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! Anyone? Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode Sent: Wednesday, December 22, 2021 3:21 AM To: How to use LiveCode Cc: General 2018 Subject: Re: New user Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. Just Android needed to be cross platform in real world interfacing. Regards Camm > On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: > > For Android and iOS, use WiFi and sockets. This is just as quick and easy. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >> >> Just need this capability on Android - please Livecode >> >> Regards Camm >> >>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>> >>> Hi Alex >>> Welcome! >>> I've done exactly and very similar to what you are describing about 6yrs >>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>> lighting up miniatures of housing estates and apartment blocks. And then >>> for some film miniatures for toy commercials and so on. >>> >>> Once you've installed the driver for your adapter on Win10, go to the >>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>> Now in LiveCode, you don't need to know the driver name to write to. Just >>> use the command: >>> open driver "COM2:" for write >>> This sets the plane for communication. Next, you need to set up the >>> settings, eg: >>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>> These are actually the default settings, so do nothing if these are the >>> settings you want. >>> Now you just need to know the commands to send. >>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>> write "readall" & return to driver "COM2:" >>> read from driver "COM2:" for 4 -- ie, 4 characters >>> The read command immediately after the write allows it to accept the >>> response from the GPIO, in this example, for 4 characters in length (to >>> receive the 4 hex characters like 16AF) >>> >>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>> can use any device to communicate with them. We used iPad mini's which made >>> it super flexible. >>> >>> Let us all know if you run into any issues and need help. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>> through a project which I think I can complete. However the project has to >>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>> for example) from a Windows Standalone application. I have not been able to >>>> find any guidance or samples for how to do this. This has led me to wonder >>>> if it is even possible to creat some kind of serial communication using LC >>>> or whether I should start over with a different platform. I am doing the LC >>>> work using a Mac. Any help or advice would be much appreciated. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 22 11:47:01 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 17:47:01 +0100 Subject: New user In-Reply-To: <0b6a01d7f74c$f0232810$d0697830$@telus.net> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> Message-ID: <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. HTH Matthias > Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : > > I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: > "... Livecode has Bluetooth for Windows via VCP ..." > > I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! > > Anyone? > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode > Sent: Wednesday, December 22, 2021 3:21 AM > To: How to use LiveCode > Cc: General 2018 > Subject: Re: New user > > Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. > > Just Android needed to be cross platform in real world interfacing. > > Regards Camm > >> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >> >> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >> >> Sean Cole >> Pi Digital Productions Ltd >> >> eMail Ts & Cs >> >> >>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>> >>> Just need this capability on Android - please Livecode >>> >>> Regards Camm >>> >>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>> >>>> Hi Alex >>>> Welcome! >>>> I've done exactly and very similar to what you are describing about 6yrs >>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>> lighting up miniatures of housing estates and apartment blocks. And then >>>> for some film miniatures for toy commercials and so on. >>>> >>>> Once you've installed the driver for your adapter on Win10, go to the >>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>> use the command: >>>> open driver "COM2:" for write >>>> This sets the plane for communication. Next, you need to set up the >>>> settings, eg: >>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>> These are actually the default settings, so do nothing if these are the >>>> settings you want. >>>> Now you just need to know the commands to send. >>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>> write "readall" & return to driver "COM2:" >>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>> The read command immediately after the write allows it to accept the >>>> response from the GPIO, in this example, for 4 characters in length (to >>>> receive the 4 hex characters like 16AF) >>>> >>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>> can use any device to communicate with them. We used iPad mini's which made >>>> it super flexible. >>>> >>>> Let us all know if you run into any issues and need help. >>>> >>>> All the best >>>> >>>> Sean Cole >>>> *Pi Digital Productions Ltd* >>>> >>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>> through a project which I think I can complete. However the project has to >>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>> for example) from a Windows Standalone application. I have not been able to >>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>> if it is even possible to creat some kind of serial communication using LC >>>>> or whether I should start over with a different platform. I am doing the LC >>>>> work using a Mac. Any help or advice would be much appreciated. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 11:54:44 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 17:54:44 +0100 Subject: New user In-Reply-To: <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> Message-ID: <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> What i forgot to mention: The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device. > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode : > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. > > In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. > > HTH > > Matthias > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : >> >> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: >> "... Livecode has Bluetooth for Windows via VCP ..." >> >> I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! >> >> Anyone? >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode >> Sent: Wednesday, December 22, 2021 3:21 AM >> To: How to use LiveCode >> Cc: General 2018 >> Subject: Re: New user >> >> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. >> >> Just Android needed to be cross platform in real world interfacing. >> >> Regards Camm >> >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >>> >>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >>> >>> Sean Cole >>> Pi Digital Productions Ltd >>> >>> eMail Ts & Cs >>> >>> >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>>> >>>> Just need this capability on Android - please Livecode >>>> >>>> Regards Camm >>>> >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>>> >>>>> Hi Alex >>>>> Welcome! >>>>> I've done exactly and very similar to what you are describing about 6yrs >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>>> lighting up miniatures of housing estates and apartment blocks. And then >>>>> for some film miniatures for toy commercials and so on. >>>>> >>>>> Once you've installed the driver for your adapter on Win10, go to the >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>>> use the command: >>>>> open driver "COM2:" for write >>>>> This sets the plane for communication. Next, you need to set up the >>>>> settings, eg: >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>>> These are actually the default settings, so do nothing if these are the >>>>> settings you want. >>>>> Now you just need to know the commands to send. >>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>>> write "readall" & return to driver "COM2:" >>>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>>> The read command immediately after the write allows it to accept the >>>>> response from the GPIO, in this example, for 4 characters in length (to >>>>> receive the 4 hex characters like 16AF) >>>>> >>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>>> can use any device to communicate with them. We used iPad mini's which made >>>>> it super flexible. >>>>> >>>>> Let us all know if you run into any issues and need help. >>>>> >>>>> All the best >>>>> >>>>> Sean Cole >>>>> *Pi Digital Productions Ltd* >>>>> >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>>> through a project which I think I can complete. However the project has to >>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>>> for example) from a Windows Standalone application. I have not been able to >>>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>>> if it is even possible to creat some kind of serial communication using LC >>>>>> or whether I should start over with a different platform. I am doing the LC >>>>>> work using a Mac. Any help or advice would be much appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Wed Dec 22 12:09:58 2021 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 22 Dec 2021 09:09:58 -0800 Subject: New user In-Reply-To: <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> Message-ID: <0ba501d7f756$c0475f30$40d61d90$@telus.net> Much appreciated ... that's what I needed to explore this "feature" Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Wednesday, December 22, 2021 8:55 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: New user What i forgot to mention: The bluetooth device needs to support this. If you have paired the Windows PC with a device that supports a virtual com port, then you should be able to add a com port in that settings and link it to that bluetooth device. > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode : > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth settings" or something similar to that. I am working with a german version of Windows, so i do not have the exact english expression of it. > > In this "additional settings" click on the tab 'Com devices' . There you can add a virtual com port. > > HTH > > Matthias > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode : >> >> I'm hopeful that General 2018 or anyone can expand on the reference to General's statement of: >> "... Livecode has Bluetooth for Windows via VCP ..." >> >> I've searched thru the forum and cannot find any references to this. Virtual Com Port (VCP) is associated with USB and FTDI chips (or emulations) and is used for Serial communications (common in Arduino builds) but I've never heard it associated with Bluetooth. If there is information regarding Livecode being able to use Bluetooth on a Windows platform, I'd GREATLY appreciate knowing more about it! >> >> Anyone? >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode >> Sent: Wednesday, December 22, 2021 3:21 AM >> To: How to use LiveCode >> Cc: General 2018 >> Subject: Re: New user >> >> Android Bluetooth / USB would be the ideal as seems to be the most used interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS via MergeBLE. >> >> Just Android needed to be cross platform in real world interfacing. >> >> Regards Camm >> >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode wrote: >>> >>> For Android and iOS, use WiFi and sockets. This is just as quick and easy. >>> >>> Sean Cole >>> Pi Digital Productions Ltd >>> >>> eMail Ts & Cs >>> >>> >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode wrote: >>>> >>>> Just need this capability on Android - please Livecode >>>> >>>> Regards Camm >>>> >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode wrote: >>>>> >>>>> Hi Alex >>>>> Welcome! >>>>> I've done exactly and very similar to what you are describing about 6yrs >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For >>>>> lighting up miniatures of housing estates and apartment blocks. And then >>>>> for some film miniatures for toy commercials and so on. >>>>> >>>>> Once you've installed the driver for your adapter on Win10, go to the >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >>>>> Now in LiveCode, you don't need to know the driver name to write to. Just >>>>> use the command: >>>>> open driver "COM2:" for write >>>>> This sets the plane for communication. Next, you need to set up the >>>>> settings, eg: >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >>>>> These are actually the default settings, so do nothing if these are the >>>>> settings you want. >>>>> Now you just need to know the commands to send. >>>>> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >>>>> write "readall" & return to driver "COM2:" >>>>> read from driver "COM2:" for 4 -- ie, 4 characters >>>>> The read command immediately after the write allows it to accept the >>>>> response from the GPIO, in this example, for 4 characters in length (to >>>>> receive the 4 hex characters like 16AF) >>>>> >>>>> And that's it pretty much. It's super easy and fun. With Wifi modules you >>>>> can use any device to communicate with them. We used iPad mini's which made >>>>> it super flexible. >>>>> >>>>> Let us all know if you run into any issues and need help. >>>>> >>>>> All the best >>>>> >>>>> Sean Cole >>>>> *Pi Digital Productions Ltd* >>>>> >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >>>>>> through a project which I think I can complete. However the project has to >>>>>> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >>>>>> for example) from a Windows Standalone application. I have not been able to >>>>>> find any guidance or samples for how to do this. This has led me to wonder >>>>>> if it is even possible to creat some kind of serial communication using LC >>>>>> or whether I should start over with a different platform. I am doing the LC >>>>>> work using a Mac. Any help or advice would be much appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Wed Dec 22 12:16:05 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 12:16:05 -0500 Subject: Serial Communication with an I/O board (New user) In-Reply-To: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: Hi Curry Thanks. I thought this would be cool to play around with one day but I would never remember where I saw it. This will help an old brain. It would make also make a good LiveCode Lesson. Once Alex figures it all out and has it all working they can document the process and submit it as a LiveCode Lesson and thereby gain instant fame and fortune ... well at least the gratitude of those who follow afterward… maybe even themselves (see more in my next email “Communication with future you with a message board”.) Martin > On Dec 22, 2021, at 6:29 AM, Curry Kenworthy via use-livecode wrote: > > > Good topic; probably deserves a relevant subject line! :) > (Easier to notice, both live and in the Archive.) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > === > > Alex: > > > the project has to be able to communicate with an I/O board (Numato 16 channel USB GPIO Module for example) from a Windows Standalone application. > > Sean: > >> Once you've installed the driver for your adapter on Win10, go to the >> Device Manager, Ports and find out what COM port it's linked to (eg, COM2). >> Now in LiveCode, you don't need to know the driver name to write to. Just >> use the command: >> open driver "COM2:" for write >> This sets the plane for communication. Next, you need to set up the >> settings, eg: >> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" >> These are actually the default settings, so do nothing if these are the >> settings you want. >> Now you just need to know the commands to send. >> https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 >> write "readall" & return to driver "COM2:" >> read from driver "COM2:" for 4 -- ie, 4 characters >> The read command immediately after the write allows it to accept the >> response from the GPIO, in this example, for 4 characters in length (to >> receive the 4 hex characters like 16AF) >> And that's it pretty much. It's super easy and fun. With Wifi modules you >> can use any device to communicate with them. We used iPad mini's which made >> it super flexible. >> Let us all know if you run into any issues and need help. >> All the best >> Sean Cole >> *Pi Digital Productions Ltd* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Dec 22 12:24:36 2021 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 22 Dec 2021 17:24:36 +0000 Subject: PDF Viewer widget: expected experience from set the currentDestination? Message-ID: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Hi folks, Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” Perhaps I’ve missed some settings on the widget to allow it to respond to this message? TIA Best, Keith From mkoob at rogers.com Wed Dec 22 12:40:55 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 12:40:55 -0500 Subject: Communication with future you with a message board In-Reply-To: <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: Hi all I have been reading Alex Hughson’s thread "New user” renamed "Serial Communication with an I/O board (New user)” by Curry Kenworthy to make it easier for future users to find. It makes me think of something that happened a few times with me. I am trying to do something in LiveCode and I come up against a blocker. I start searching the use-livecode list, the LiveCode Forums, and also general web searches. Finally I find my answer — exactly what I wanted. Then I look at the author asking the original question or answering… Martin Koob. 🤦🏻‍♂️😳 So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? Anyway now when I am typing a question or a suggested answer I think I should put the salutation “Dear Future me.”. In any case once the problem is solved I do a final email summarizing what the final solution was and I do make sure there are some good keywords in the text that I would probably search for in the future when I have forgotten ever even working on this problem this let alone how to solve it. Martin Koob From kaveh at rivervalleytechnologies.com Wed Dec 22 12:48:37 2021 From: kaveh at rivervalleytechnologies.com (Kaveh) Date: Wed, 22 Dec 2021 17:48:37 +0000 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: I have done exactly the same thing several times where my past self has been the only one asking exactly the question I need. But this is not limited to LiveCode forums. Yesterday I was scratching my head regarding a regex pattern. I was overjoyed when I found someone asking precisely the question I needed around 2 years back on StackExchange. It was my former self! https://stackoverflow.com/questions/60025513/regex-to-extract-lookbehind-and-lookahead-from-a-regex-pattern On Wed, 22 Dec 2021 at 17:42, Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all > > I have been reading Alex Hughson’s thread "New user” renamed "Serial > Communication with an I/O board (New user)” by Curry Kenworthy to make it > easier for future users to find. > > It makes me think of something that happened a few times with me. I am > trying to do something in LiveCode and I come up against a blocker. I > start searching the use-livecode list, the LiveCode Forums, and also > general web searches. Finally I find my answer — exactly what I wanted. > Then I look at the author asking the original question or answering… > Martin Koob. > 🤦🏻‍♂️😳 > > So I am curious — am I the only one whose mind is going or have others run > this mental recursive documentation loop? > > Anyway now when I am typing a question or a suggested answer I think I > should put the salutation “Dear Future me.”. In any case once the problem > is solved I do a final email summarizing what the final solution was and I > do make sure there are some good keywords in the text that I would probably > search for in the future when I have forgotten ever even working on this > problem this let alone how to solve it. > > Martin Koob > _______________________________________________ > use-livecode mailing list > use-livecode 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 ● ORCID *Accelerating the Communication of Research* From mark at canelasoftware.com Wed Dec 22 13:54:51 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 22 Dec 2021 10:54:51 -0800 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> > On Dec 21, 2021, at 6:44 AM, panagiotis merakos via use-livecode wrote: > > Release Contents > ================ > LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots of > the bugs you requested in the recent survey: This is an incredible release. Big thanks to LiveCode! Happy Holidays. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com From mkoob at rogers.com Wed Dec 22 14:47:12 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 14:47:12 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: It is nice to know that HyperCard stacks can still be opened. I had opened a HyperCard stack of an application that I had created in LiveCode ~ 6.x and for the most part it worked, A few fixes were needed and I was good to go. That HyperCard stack was the basis for an LC application I am still updating. There is still HyperTalk scripts from long ago hidden in various objects in my application. I can usually tell by how I named my variables — no prefixes, that and using way too many unquoted literals. Martin Koob > On Dec 21, 2021, at 9:44 AM, panagiotis merakos via use-livecode wrote: > > Bug Fixes: > - Opening HyperCard stacks will no longer cause a crash From waprothero at gmail.com Wed Dec 22 15:34:03 2021 From: waprothero at gmail.com (William Prothero) Date: Wed, 22 Dec 2021 12:34:03 -0800 Subject: Livecode downloads VERY slow References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> Message-ID: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Folks: When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. Best, Bill William Prothero waprothero at gmail.com From mkoob at rogers.com Wed Dec 22 15:41:54 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 15:41:54 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: <29A55AFC-F9B9-43E2-94EB-035F3D310A8A@rogers.com> Hi Bill Are you downloading directly from https://downloads.livecode.com or are you using the LiveCode Updater stack that pops up when ever there is a new update? I just tried https://downloads.livecode.com and got the RC1 of LC 9.6.6 downloaded in less than 30 seconds or so. I have given up on using the LiveCode Updater stack. The download goes on forever and never seems to finish. Martin > On Dec 22, 2021, at 3:34 PM, William Prothero via use-livecode wrote: > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 22 15:47:57 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 14:47:57 -0600 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> Message-ID: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: > So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? Yes, more than once. The only comforting thing is that most of the time it was a response from many years ago and I'm not the same person any more. Maybe that's scary... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Wed Dec 22 15:51:48 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Dec 2021 12:51:48 -0800 Subject: Livecode Server on Synology NAS with Intel cpu In-Reply-To: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> References: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Message-ID: On 12/21/21 2:54 PM, matthias rebbe via use-livecode wrote: > Hi, > > is there someone on the list who is using Livecode Server on a Synology NAS with Intel cpu? If so, did you manage to get it working also with the webserver or only from command line? > > Today i installed Livecode Server on my Synology NAS with Intel cpu. > I am able to run Livecode scripts from the command line. But i do not get it to work, that i can call LC script from my browser. I tried the .htaccess method to get Livecode Server running with Apache without success. I tried also to modify the httdp-conf file, but also without success. But that is due to a lack of knowledge. > > I would be really grateful if someone could help me getting Livecode Server to work with Apache and not only from command line. Sorry - my Synology server has an arm processor, and there has never been an arm build of the server. Plus now it appears that the server build requires a separate license. I take it you've already been through the docs at https://livecode.com/resources/guides/server/ -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Dec 22 15:54:18 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 14:54:18 -0600 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: > It is nice to know that HyperCard stacks can still be opened. Yes, and what good timing. I just got the first HC conversion request in years. And my old copy of LC 6 won't run on my current Mac. Another thing I'm ecstatic about is the built-in Android adaptive icons. Struggling with altered IDE files for the last year made me crazy and it had to be done for every new LC release. And I usually made mistakes and had to revise them multiple times. This release is hugely appreciated, there's so much to love in it. Thank you, team! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Wed Dec 22 16:00:04 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Dec 2021 13:00:04 -0800 Subject: Communication with future you with a message board In-Reply-To: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote: > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious am I the only one whose mind is going or have others >> run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the time > it was a response from many years ago and I'm not the same person any > more. Maybe that's scary... > If you write a response maybe you can help out your previous self. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Dec 22 16:02:13 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Dec 2021 16:02:13 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: <004d01d7f777$34765c60$9d631520$@net> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous 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 William Prothero via use-livecode Sent: Wednesday, December 22, 2021 3:34 PM To: JJS via use-livecode Cc: William Prothero Subject: Livecode downloads VERY slow Folks: When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. Best, Bill William Prothero waprothero 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 rdimola at evergreeninfo.net Wed Dec 22 16:07:44 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Dec 2021 16:07:44 -0500 Subject: Communication with future you with a message board In-Reply-To: References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: <005401d7f777$f98a0560$ec9e1020$@net> POOF your gone (grandfather paradox) But on the good side I may be able to play the Bach piece without mistakes. 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, December 22, 2021 4:00 PM To: J. Landman Gay via use-livecode Cc: Mark Wieder Subject: Re: Communication with future you with a message board On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote: > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious — am I the only one whose mind is going or have >> others run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the > time it was a response from many years ago and I'm not the same person > any more. Maybe that's scary... > If you write a response maybe you can help out your previous self. -- 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 prothero at earthlearningsolutions.org Wed Dec 22 16:19:20 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 13:19:20 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <004d01d7f777$34765c60$9d631520$@net> References: <004d01d7f777$34765c60$9d631520$@net> Message-ID: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> Ralph, I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. Grads, don’t we get spoiled! Best, Bill Sent from my iPad > On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: > > I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. > > I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous > > 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 William Prothero via use-livecode > Sent: Wednesday, December 22, 2021 3:34 PM > To: JJS via use-livecode > Cc: William Prothero > Subject: Livecode downloads VERY slow > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero 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 prothero at earthlearningsolutions.org Wed Dec 22 16:26:13 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 13:26:13 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> References: <848B31EB-CFF3-478A-B5A6-757D78916539@earthlearningsolutions.org> Message-ID: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> Ralph, Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret feature of apple that auto-errors writing. I meant Zoomers, of course (who are Sooners, anyway?) Actually, the auto-correct tried again to make that change. Fool me once …… etc. Best, Bill Sent from my iPad > On Dec 22, 2021, at 1:20 PM, William Prothero wrote: > > Ralph, > I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. > > Grads, don’t we get spoiled! > > Best, > Bill > > Sent from my iPad > >> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: >> >> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >> >> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >> >> 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 William Prothero via use-livecode >> Sent: Wednesday, December 22, 2021 3:34 PM >> To: JJS via use-livecode >> Cc: William Prothero >> Subject: Livecode downloads VERY slow >> >> Folks: >> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >> >> Best, >> Bill >> >> William Prothero >> waprothero 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 dochawk at gmail.com Wed Dec 22 16:26:38 2021 From: dochawk at gmail.com (doc hawk) Date: Wed, 22 Dec 2021 13:26:38 -0800 Subject: Livecode downloads VERY slow In-Reply-To: <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> Message-ID: I’ve been using “wget -c http://somewhere.com/somefile” for decades now. Just leave it open in a terminal, and if it bombs partway through, just up-arrow it and run again, so that it continues from where it left off. Dropped connections have always been a bigger issue than speed for me. From matthias_livecode_150811 at m-r-d.de Wed Dec 22 17:18:53 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Dec 2021 23:18:53 +0100 Subject: Livecode Server on Synology NAS with Intel cpu In-Reply-To: References: <440168DE-A167-4253-A620-78FDE59EB567@m-r-d.de> Message-ID: > Am 22.12.2021 um 21:51 schrieb Mark Wieder via use-livecode : > > Sorry - my Synology server has an arm processor, and there has never been an arm build of the server. Plus now it appears that the server build requires a separate license. > > I take it you've already been through the docs at > https://livecode.com/resources/guides/server/ Yes, thanks Mark, i've checked the docs already Unfortunately the folder structure/ location of the configuration files for Apache on the Synology are different to the description in the docs. Anyway, it took me now the half day to get it working. So now LC server is working in the browser and on the command line and LC standalones can be run also from command line in ui mode. That's awesome. I will create a Livecode lesson for this, so others can get it working much quicker. Matthias From tom at makeshyft.com Wed Dec 22 17:34:53 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 Dec 2021 17:34:53 -0500 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: Its so lovely to see a big list of fixes, thats how thats done. Thank you Livecode team and all the best for the Christmas season to everyone. On Wed, Dec 22, 2021 at 3:55 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: > > It is nice to know that HyperCard stacks can still be opened. > > Yes, and what good timing. I just got the first HC conversion request in > years. And my old copy > of LC 6 won't run on my current Mac. > > Another thing I'm ecstatic about is the built-in Android adaptive icons. > Struggling with > altered IDE files for the last year made me crazy and it had to be done > for every new LC > release. And I usually made mistakes and had to revise them multiple times. > > This release is hugely appreciated, there's so much to love in it. Thank > you, 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Wed Dec 22 17:35:31 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 22 Dec 2021 17:35:31 -0500 Subject: New user In-Reply-To: <0ba501d7f756$c0475f30$40d61d90$@telus.net> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <0b6a01d7f74c$f0232810$d0697830$@telus.net> <2CD7B29E-EEFE-4BAB-BE50-456F45AC3725@m-r-d.de> <82C76DC4-3447-4A8B-84AE-3A2FE3F46683@m-r-d.de> <0ba501d7f756$c0475f30$40d61d90$@telus.net> Message-ID: Welcome Alex. On Wed, Dec 22, 2021 at 12:11 PM Douglas A. Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > Much appreciated ... that's what I needed to explore this "feature" > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of matthias rebbe via use-livecode > Sent: Wednesday, December 22, 2021 8:55 AM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: New user > > What i forgot to mention: > The bluetooth device needs to support this. If you have paired the Windows > PC with a device that supports a virtual com port, then you should be able > to add a com port in that settings and link it to that bluetooth device. > > > > > Am 22.12.2021 um 17:47 schrieb matthias rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > In Windows go to Bluetooth&Devices. Select "additional Bluetooth > settings" or something similar to that. I am working with a german version > of Windows, so i do not have the exact english expression of it. > > > > In this "additional settings" click on the tab 'Com devices' . There you > can add a virtual com port. > > > > HTH > > > > Matthias > > > > > >> Am 22.12.2021 um 16:59 schrieb Douglas A. Ruisaard via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I'm hopeful that General 2018 or anyone can expand on the reference to > General's statement of: > >> "... Livecode has Bluetooth for Windows via VCP ..." > >> > >> I've searched thru the forum and cannot find any references to this. > Virtual Com Port (VCP) is associated with USB and FTDI chips (or > emulations) and is used for Serial communications (common in Arduino > builds) but I've never heard it associated with Bluetooth. If there is > information regarding Livecode being able to use Bluetooth on a Windows > platform, I'd GREATLY appreciate knowing more about it! > >> > >> Anyone? > >> > >> Douglas Ruisaard > >> > >> Trilogy Software > >> (250) 573-3935 > >> > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of General 2018 via use-livecode > >> Sent: Wednesday, December 22, 2021 3:21 AM > >> To: How to use LiveCode > >> Cc: General 2018 > >> Subject: Re: New user > >> > >> Android Bluetooth / USB would be the ideal as seems to be the most used > interface protocol. Livecode has Bluetooth for Windows via VCP and on IOS > via MergeBLE. > >> > >> Just Android needed to be cross platform in real world interfacing. > >> > >> Regards Camm > >> > >>> On 22 Dec 2021, at 10:52, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> For Android and iOS, use WiFi and sockets. This is just as quick and > easy. > >>> > >>> Sean Cole > >>> Pi Digital Productions Ltd > >>> > >>> eMail Ts & Cs > >>> > >>> > >>>> On 22 Dec 2021, at 10:24, General 2018 via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Just need this capability on Android - please Livecode > >>>> > >>>> Regards Camm > >>>> > >>>>>> On 22 Dec 2021, at 01:37, Sean Cole via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hi Alex > >>>>> Welcome! > >>>>> I've done exactly and very similar to what you are describing about > 6yrs > >>>>> ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. > For > >>>>> lighting up miniatures of housing estates and apartment blocks. And > then > >>>>> for some film miniatures for toy commercials and so on. > >>>>> > >>>>> Once you've installed the driver for your adapter on Win10, go to the > >>>>> Device Manager, Ports and find out what COM port it's linked to (eg, > COM2). > >>>>> Now in LiveCode, you don't need to know the driver name to write to. > Just > >>>>> use the command: > >>>>> open driver "COM2:" for write > >>>>> This sets the plane for communication. Next, you need to set up the > >>>>> settings, eg: > >>>>> set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > >>>>> These are actually the default settings, so do nothing if these are > the > >>>>> settings you want. > >>>>> Now you just need to know the commands to send. > >>>>> > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > >>>>> write "readall" & return to driver "COM2:" > >>>>> read from driver "COM2:" for 4 -- ie, 4 characters > >>>>> The read command immediately after the write allows it to accept the > >>>>> response from the GPIO, in this example, for 4 characters in length > (to > >>>>> receive the 4 hex characters like 16AF) > >>>>> > >>>>> And that's it pretty much. It's super easy and fun. With Wifi > modules you > >>>>> can use any device to communicate with them. We used iPad mini's > which made > >>>>> it super flexible. > >>>>> > >>>>> Let us all know if you run into any issues and need help. > >>>>> > >>>>> All the best > >>>>> > >>>>> Sean Cole > >>>>> *Pi Digital Productions Ltd* > >>>>> > >>>>>> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Hello all. I am a beginner user of LiveCode. I’ve managed to work > my way > >>>>>> through a project which I think I can complete. However the project > has to > >>>>>> be able to communicate with an I/O board (Numato 16 channel USB > GPIO Module > >>>>>> for example) from a Windows Standalone application. I have not been > able to > >>>>>> find any guidance or samples for how to do this. This has led me to > wonder > >>>>>> if it is even possible to creat some kind of serial communication > using LC > >>>>>> or whether I should start over with a different platform. I am > doing the LC > >>>>>> work using a Mac. Any help or advice would be much appreciated. > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mkoob at rogers.com Wed Dec 22 19:41:42 2021 From: mkoob at rogers.com (Martin Koob) Date: Wed, 22 Dec 2021 19:41:42 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <004d01d7f777$34765c60$9d631520$@net> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> Message-ID: <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> I must be in the really ancient fogey range. I remember 1200 baud modems. In the late ’80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort From the above article here are GeoPort speeds. GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) Martin > On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: > > I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. > > I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous > > 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 William Prothero via use-livecode > Sent: Wednesday, December 22, 2021 3:34 PM > To: JJS via use-livecode > Cc: William Prothero > Subject: Livecode downloads VERY slow > > Folks: > When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. > > Best, > Bill > > William Prothero > waprothero 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 alex at tweedly.net Wed Dec 22 20:14:23 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Dec 2021 01:14:23 +0000 Subject: Livecode downloads VERY slow In-Reply-To: <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> Message-ID: OK, memory lane time. Before we had 1200 baud modems, we used to use acoustic couplers. I often used one to call from the main office (England) to our US office, at a mind-blowing 300 baud. Problem was, in those days (1978 I think), even voice transatlantic calls were hit or miss. Often you got a undersea cable connection (slight delay and echo, but you could have an almost normal conversation), other times you got a satellite connection (usually little or no echo but very high latency, making conversation frustrating). The acoustic coupler call would fail if you got the wrong kind of connection, so we'd usually wait until the middle for the night to make it more likely we'd get a successful call. Ah fond memories of the days when I could stay up till 3am and still function the next day :-) Alex. On 23/12/2021 00:41, Martin Koob via use-livecode wrote: > I must be in the really ancient fogey range. > > I remember 1200 baud modems. In the late 80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. > Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html > > I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort > > From the above article here are GeoPort speeds. > GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) > GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) > GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) > > Martin > > >> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: >> >> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using SpeedTest, I get 110Mb/sec. >> >> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >> >> 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 William Prothero via use-livecode >> Sent: Wednesday, December 22, 2021 3:34 PM >> To: JJS via use-livecode >> Cc: William Prothero >> Subject: Livecode downloads VERY slow >> >> Folks: >> When I download an update to Livecode, it takes hours. Im wondering why. Locally, using SpeedTest, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >> >> Best, >> Bill >> >> William Prothero >> waprothero 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 prothero at earthlearningsolutions.org Wed Dec 22 22:39:40 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 22 Dec 2021 19:39:40 -0800 Subject: Livecode downloads VERY slow In-Reply-To: References: Message-ID: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> I bet I got you all beat, for geezerdom. I learned to program Fortran on punch cards. 3 runs a day and output was delivered by a messenger, human that is. No freakin’ internet for me! If I remember right, our mainframe, a CDC 3600 had 512K of memory. Merry Christmas, fellow Livecoders. Bill Prothero Sent from my iPad > On Dec 22, 2021, at 5:14 PM, Alex Tweedly via use-livecode wrote: > > OK, memory lane time. > > Before we had 1200 baud modems, we used to use acoustic couplers. I often used one to call from the main office (England) to our US office, at a mind-blowing 300 baud. > > Problem was, in those days (1978 I think), even voice transatlantic calls were hit or miss. Often you got a undersea cable connection (slight delay and echo, but you could have an almost normal conversation), other times you got a satellite connection (usually little or no echo but very high latency, making conversation frustrating). > > The acoustic coupler call would fail if you got the wrong kind of connection, so we'd usually wait until the middle for the night to make it more likely we'd get a successful call. > > Ah fond memories of the days when I could stay up till 3am and still function the next day :-) > > Alex. > >> On 23/12/2021 00:41, Martin Koob via use-livecode wrote: >> I must be in the really ancient fogey range. >> >> I remember 1200 baud modems. In the late ’80s a teacher at our high school in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our computer club at the school hooked it up to a Commodore PET 2001 and tried to connect to Compuserve. Long waits listening to modem squeals but we never managed to get connected then. We were in Wawa which is on the north shore of Lake Superior so maybe the phone connection was not good enough. >> Here is the state of the art then, http://www.technofileonline.com/texts/2400modem88.html >> >> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. https://apple.fandom.com/wiki/GeoPort >> >> From the above article here are GeoPort speeds. >> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud (kbps) >> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud (kbps) >> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud (kbps) >> >> Martin >> >> >>>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 monte at appisle.net Wed Dec 22 22:53:15 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 23 Dec 2021 14:53:15 +1100 Subject: PDF Viewer widget: expected experience from set the currentDestination? In-Reply-To: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> References: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Message-ID: Hi Keith Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 Here’s a simple example of using the currentDestination though: local tDest put "goto" into tDest["type”] put "Fit" into tDest["mode”] put 3 into tDest["page”] set the currentDestination of widget “pdf" to tDest Cheers Monte > On 23 Dec 2021, at 4:24 am, Keith Clarke via use-livecode wrote: > > Hi folks, > Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? > > I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? > > Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... > > "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” > > Perhaps I’ve missed some settings on the widget to allow it to respond to this message? > TIA > 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 jacque at hyperactivesw.com Thu Dec 23 00:51:34 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2021 23:51:34 -0600 Subject: Livecode downloads VERY slow In-Reply-To: References: <64CA9826-2208-4759-955A-BA0B50E27A47@canelasoftware.com> <14D54B3A-D5AC-48BF-BB47-B5A57062F16B@gmail.com> <004d01d7f777$34765c60$9d631520$@net> <80223E40-A1CE-40BE-9097-14B9001D7C7F@rogers.com> Message-ID: <17de5d83e70.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Back in the olden days I had a MacBook with a built-in modem, I think it was 1200 baud but maybe it was 14.4. We went up to the north shore of Lake Superior every year for a few days and back then it was about as remote as it gets. The cabin we stayed in had a ruidmentary phone line that went in and out depending on the satelite's mood and how cloudy it was, which was most of the time. I brought a 20 foot phone cable with me and stretched it from the tiny bedroom at the back, where the only phone outlet was, to the "living room" up front across from the wood burning stove, plugged it into the MacBook, and logged into AOL which was the only online service that hadn't yet folded at the time. A few years after that a coffee shop in the little town to the north got an internet connection and I gave up on the phone line. We drove 10 miles into town every day or so, bought a coffee and I logged in to get my email. (Bong bong screeeech bong bong, "YOU'VE GOT MAIL!") When my nephew was young he asked me why I didn't learn programming in high school. I told him there were no personal computers back then. The look on his face indicated he was surprised I hadn't yet mummified. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2021 7:15:55 PM Alex Tweedly via use-livecode wrote: > OK, memory lane time. > > Before we had 1200 baud modems, we used to use acoustic couplers. I > often used one to call from the main office (England) to our US office, > at a mind-blowing 300 baud. > > Problem was, in those days (1978 I think), even voice transatlantic > calls were hit or miss. Often you got a undersea cable connection > (slight delay and echo, but you could have an almost normal > conversation), other times you got a satellite connection (usually > little or no echo but very high latency, making conversation frustrating). > > The acoustic coupler call would fail if you got the wrong kind of > connection, so we'd usually wait until the middle for the night to make > it more likely we'd get a successful call. > > Ah fond memories of the days when I could stay up till 3am and still > function the next day :-) > > Alex. > > On 23/12/2021 00:41, Martin Koob via use-livecode wrote: >> I must be in the really ancient fogey range. >> >> I remember 1200 baud modems. In the late 80s a teacher at our high school >> in Wawa, Ontario got his hands on one. It was the size of an air fryer. Our >> computer club at the school hooked it up to a Commodore PET 2001 and tried >> to connect to Compuserve. Long waits listening to modem squeals but we >> never managed to get connected then. We were in Wawa which is on the north >> shore of Lake Superior so maybe the phone connection was not good enough. >> Here is the state of the art then, >> http://www.technofileonline.com/texts/2400modem88.html >> >> >> I also remember my Apple GeoPort modem with my Mac Quadra 660AV I think. >> https://apple.fandom.com/wiki/GeoPort >> >> From the above article here are GeoPort speeds. >> GeoPort Telecom Adapter M1694LL/B - 14.4 kilobaud >> (kbps) >> GeoPort Telecom Adapter (II) M2117LL/A - 28.8 kilobaud >> (kbps) >> GeoPort Telecom Adapter II M5438LL/A - 33.6 kilobaud >> (kbps) >> >> Martin >> >> >>> On Dec 22, 2021, at 4:02 PM, Ralph DiMola via use-livecode >>> wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download >>> page in about a minute. Using SpeedTest, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we >>> were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. Im wondering why. >>> Locally, using SpeedTest, I get 160Mb/sec internet speeds. Could it be >>> the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 dvglasgow at gmail.com Thu Dec 23 03:34:52 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 23 Dec 2021 08:34:52 +0000 Subject: OT Re: Livecode downloads VERY slow In-Reply-To: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> References: <5D490C29-C533-44C8-826B-5E1F92C6A54F@earthlearningsolutions.org> Message-ID: <3B6994B8-1DB1-4BB0-BDBD-8377F7F25578@gmail.com> > On 23 Dec 2021, at 3:39 am, William Prothero via use-livecode wrote: > > I bet I got you all beat, for geezerdom. I took the first National UK examinations in 'Computer Studies' in the early 70s. Part of the final exam was to read a short piece of punched tape. With your eyes. Mine said "Marilyn Monroe” Apologies if I have previously posted this. More than once. Now. What was I talking about again? From keith.clarke at me.com Thu Dec 23 04:13:06 2021 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 23 Dec 2021 09:13:06 +0000 Subject: PDF Viewer widget: expected experience from set the currentDestination? In-Reply-To: References: <79FF0F2B-8DBA-445F-B28F-9FC42B6B0AEB@me.com> Message-ID: Thanks Monte - that code sorts the *calling* end of the recipe and the widget changes page to the one containing the currentDestination. However, what about the *receiving* end of the recipe? Nothing seems to be happening upon arrival at the page to get any closer to this particular destination amongst the many on the same page. Where should one look to understand the options and handlers for the specific destination upon arrival *after* the change of page, re scroll into view, zoom, focus, setting the associated hilited text, etc? Best, Keith > On 23 Dec 2021, at 03:53, Monte Goulding via use-livecode wrote: > > Hi Keith > > Yes it does look like the currentDestination docs leaves a lot to be desired. I think there’s a couple of missing related items which is making the document display incorrectly. I’ve created an issue for that here https://quality.livecode.com/show_bug.cgi?id=23493 > > Here’s a simple example of using the currentDestination though: > > local tDest > put "goto" into tDest["type”] > put "Fit" into tDest["mode”] > put 3 into tDest["page”] > set the currentDestination of widget “pdf" to tDest > > Cheers > > Monte > >> On 23 Dec 2021, at 4:24 am, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> Please can anyone share the response/experience to be expected in the PDF Viewer widget after a successful call to set the currentDestination? >> >> I have the widget successfully changing currentPage when set but I was hoping to see some visual feedback with on a change of currentDestination - to perhaps highlight something or zoom or scroll the named destination into focus? >> >> Unfortunately, the dictionary entry for currentDestination doesn’t help as it has no examples and the description of as it seems to be missing chunks of critical text regarding the ‘receive’ end of the message... >> >> "This is the format that is sent as a parameter in the message and is used by the and and properties for goto type destinations:...” >> >> Perhaps I’ve missed some settings on the widget to allow it to respond to this message? >> TIA >> 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 mkoob at rogers.com Thu Dec 23 05:26:22 2021 From: mkoob at rogers.com (KOOB) Date: Thu, 23 Dec 2021 05:26:22 -0500 Subject: Livecode downloads VERY slow In-Reply-To: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> References: <2607D537-4A7E-4D37-A400-5470B066D49A@earthlearningsolutions.org> Message-ID: Sooners are people from the ‘Sooner State’ of Oklahoma. https://en.wikipedia.org/wiki/Sooners It is also the moniker of the sports teams of the Oklahoma University https://en.wikipedia.org/wiki/Sooners Martin Koob Sent from my iPad > On Dec 22, 2021, at 4:27 PM, William Prothero via use-livecode wrote: > > Ralph, > Obviously, I’ve lost the knack of proof-reading my emails. Must be a secret feature of apple that auto-errors writing. > > I meant Zoomers, of course (who are Sooners, anyway?) Actually, the auto-correct tried again to make that change. Fool me once …… etc. > > Best, > Bill > > Sent from my iPad > >> On Dec 22, 2021, at 1:20 PM, William Prothero wrote: >> >> Ralph, >> I’m fine with slowdowns, which seem unavoidable. Speeds at a cottage we built in the Northwest were 6Mb/sec and less, but we could stream TV in the evening, Here, in the big city (Santa Barbara🦧…) it will hang for 20-30 secs, then start up fast again. Too many Sooners on our node. >> >> Grads, don’t we get spoiled! >> >> Best, >> Bill >> >> Sent from my iPad >> >>>> On Dec 22, 2021, at 1:02 PM, Ralph DiMola via use-livecode wrote: >>> >>> I just downloaded both the Mac and Win32 simultaneously via the download page in about a minute. Using “SpeedTest”, I get 110Mb/sec. >>> >>> I remember when got our first t1(1.544mb/sec) and thought we were styling ridiculous >>> >>> 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 William Prothero via use-livecode >>> Sent: Wednesday, December 22, 2021 3:34 PM >>> To: JJS via use-livecode >>> Cc: William Prothero >>> Subject: Livecode downloads VERY slow >>> >>> Folks: >>> When I download an update to Livecode, it takes hours. I’m wondering why. Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the livecode server that serves the updates? Just wondering. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> waprothero 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 curry at pair.com Thu Dec 23 06:38:19 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 23 Dec 2021 06:38:19 -0500 Subject: WordLib 2.3.0.6 Update and Christmas 30% Coupon Code Message-ID: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> I'm happy to announce: WordLib 2.3.0.6. Get it here: http://livecodeaddons.com/wordlib.html Buy it now: https://sowl.co/s/n4Lh1 What is WordLib? Import Microsoft Word and OpenOffice documents right into your own LiveCode fields with the amazing and popular WordLib addon! (Images, tabs, hilites, tables, Unicode, the works.) Changes in this version: WordLib 2.3 fixes text after ordered lists, font/style formatting is more accurate, and you get much cleaner htmlText markup. The User Guide text is freshly-updated with modernized LC scripting samples. Plus, the Media Folder location keeps recent Mac OS versions happy. Most important of all are the backend changes: not only for WordLib but all Curry K. addons. That paves the way for faster updates* (!) and for greater things still to come. WordLib Revised Pricing: Kill inflation while you conquer documents! I've lowered the addon full price. Ho ho ho.... - Major versions (2.3, 2.4, 3.0) cost $49 USD. (Same price for everyone; new and upgrades.) - Any minor updates to a version are free. (2.3 License key works for all 2.3.x.x versions.) *New goal is 1 major update per year; we'll see. Christmas Coupon Code: Coupon: NOEL-2021 Discount: Extra 30% Off (Christmas Coupon active now through New Year. Be sure to enter the Coupon during checkout!) WordLib is tested primarily with LiveCode 9.6 on Windows 10 i5 and Mac Big Sur M1. (Still works on LC 6.7 too.) I'll post more info and plans tonight. This is the first step in a bigger effort.... Happy coding! Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From marksmithhfx at gmail.com Thu Dec 23 10:07:14 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 23 Dec 2021 15:07:14 +0000 Subject: Keyboard in iOS 15.x Message-ID: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> It seems the keyboard in iOS 15 has gained some height and that is causing a problem. Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next one added will cause the keyboard to cover the row. The previous solution has been to redraw the datagid so it occupies the space above the keyboard (and then scroll the new line into view). This worked fine as long as the KB always occupied a fixed amount of space (height). The new one in iOS 15 appears to be approximately 1 row of keys taller, this row being filled with blank slots for word guesses while you type (an option I would not even know how to make use of). Solutions: one option is to simply redraw the datagrid to be above the new keyboard height. Problem is I have been hard coding this (ie. changing the bottom of the keyboard from 452 (activated) to 613 (deactivated) as required). This is less than ideal because as I have now witnessed in iOS 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. the size/height of the keyboard is now dynamic. Ideally I would be able to query the height of the keyboard, or the amount of available screen space, so that I could adjust the bottom of my datagrid appropriately. Has anyone else been looking into this issue and how have you resolved it? Thanks Mark From merakosp at gmail.com Thu Dec 23 10:25:14 2021 From: merakosp at gmail.com (panagiotis m) Date: Thu, 23 Dec 2021 17:25:14 +0200 Subject: Keyboard in iOS 15.x In-Reply-To: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> Message-ID: Hello Mark, What about using: mobileSetKeyboardDisplay "pan" See the dictionary for more details. Cheers, Panos On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > It seems the keyboard in iOS 15 has gained some height and that is causing > a problem. > > Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next > one added will cause the keyboard to cover the row. The previous solution > has been to redraw the datagid so it occupies the space above the keyboard > (and then scroll the new line into view). This worked fine as long as the > KB always occupied a fixed amount of space (height). The new one in iOS 15 > appears to be approximately 1 row of keys taller, this row being filled > with blank slots for word guesses while you type (an option I would not > even know how to make use of). > > Solutions: one option is to simply redraw the datagrid to be above the new > keyboard height. Problem is I have been hard coding this (ie. changing the > bottom of the keyboard from 452 (activated) to 613 (deactivated) as > required). This is less than ideal because as I have now witnessed in iOS > 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. > the size/height of the keyboard is now dynamic. Ideally I would be able to > query the height of the keyboard, or the amount of available screen space, > so that I could adjust the bottom of my datagrid appropriately. > > Has anyone else been looking into this issue and how have you resolved it? > > Thanks > Mark > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Thu Dec 23 12:28:07 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 23 Dec 2021 17:28:07 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> Message-ID: <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. You should probably be on vacation now, so enjoy your well deserved time off!! Mark > On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: > > Hello Mark, > > What about using: > > mobileSetKeyboardDisplay "pan" > > See the dictionary for more details. > > Cheers, > Panos > > > > On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It seems the keyboard in iOS 15 has gained some height and that is causing >> a problem. >> >> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >> one added will cause the keyboard to cover the row. The previous solution >> has been to redraw the datagid so it occupies the space above the keyboard >> (and then scroll the new line into view). This worked fine as long as the >> KB always occupied a fixed amount of space (height). The new one in iOS 15 >> appears to be approximately 1 row of keys taller, this row being filled >> with blank slots for word guesses while you type (an option I would not >> even know how to make use of). >> >> Solutions: one option is to simply redraw the datagrid to be above the new >> keyboard height. Problem is I have been hard coding this (ie. changing the >> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >> required). This is less than ideal because as I have now witnessed in iOS >> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >> the size/height of the keyboard is now dynamic. Ideally I would be able to >> query the height of the keyboard, or the amount of available screen space, >> so that I could adjust the bottom of my datagrid appropriately. >> >> Has anyone else been looking into this issue and how have you resolved it? >> >> Thanks >> Mark >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Dec 23 22:03:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 23 Dec 2021 22:03:16 -0500 Subject: WordLib 2.3.0.6 Update and Christmas 30% Coupon Code In-Reply-To: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> References: <1de9b044-1e6a-774e-5079-15bba7bb1fb5@pair.com> Message-ID: <006ace73-bbb5-030a-088b-4ebb968368b4@pair.com> Continuing from this morning.... WordLib 2.3 store notes: It looks like the LiveCode Ltd store still has WordLib version 2.2 online; they'll have 2.3 set up eventually due to the holiday timing. Meantime, order 2.3 at Curry K./SendOwl; they are delivering WordLib keys instantly, and I've got 1,000 keys in stock there so the orders are flowing smoothly. (Don't forget your Coupon during checkout!) Christmas Coupon Code: Coupon: NOEL-2021 Discount: Extra 30% Off Get it here: http://livecodeaddons.com/wordlib.html Buy it now: https://sowl.co/s/n4Lh1 --- Curry K. backend notes: The backend is now about 5x more automated, not only for WordLib but all Curry K. addons. That's crucial for faster public updates. Originally I thought 5x would be perfect, but after this WordLib release (pant pant) I need to further double the automation! Then updates will be truly efficient. So, now that's on top of my addon to-do list. (Right after restoring SpreadLib ordering, which went offline when eSellerate choked. Alas eSellerate is no more; thus a new store.) Coming up next: 1. Restoring SpreadLib ordering (This week) 2. Further backend automation (Early January) 3. WordReport Update (End of January?) 4. SpreadLib/WordOut Updates (Schedule TBD) 5. The next big thing.... (and FT) :) Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From williamdesmet at gmail.com Fri Dec 24 06:33:48 2021 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 24 Dec 2021 12:33:48 +0100 Subject: Strange thing: older App Store app fullscreen shown on iOS 15.2 Message-ID: Hi there, I got a new iPad 2021 with iOS 15.2 (10.2 inch) and downloaded some of my own older apps on it from the App Store. These apps have been there for several years and the last update was from 2019. I noticed that these apps are shown fullscreen and that is strange because none of these apps contain fullscreen scripting. They were all made for the 9.7 inch iPads. When I put a test app on it with LC 9.9.6 and Xcode13.2 the app is not shown full screen. Is this Apple and iOS 15? Does iOS 15 show apps from the App Store fullscreen? greetings, William From klaus at major-k.de Fri Dec 24 07:48:27 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Dec 2021 13:48:27 +0100 Subject: add a "scale" option to the icongravity Message-ID: Hi all, I just added a feature request to the quality center. For ICONGRAVITY we now have the "resoie" option, which will scale the image unproportionally in the button, which is erm. not the best option... 8-) Maybe we can have a "scale" option, too, which will scale the image in the button, but always proportionally! That would make snse and remove some extra work! Fell free to add a comment: Have some nice holidays! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Fri Dec 24 08:30:13 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 24 Dec 2021 08:30:13 -0500 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. Merry Christmas everyone! Brian Sent from my iPhone > On Dec 24, 2021, at 7:49 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I just added a feature request to the quality center. > > For ICONGRAVITY we now have the "resoie" option, > which will scale the image unproportionally in the button, > which is erm. not the best option... 8-) > > Maybe we can have a "scale" option, too, which will scale the > image in the button, but always proportionally! > That would make snse and remove some extra work! > > Fell free to add a comment: > > > Have some nice holidays! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Dec 24 08:36:46 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 24 Dec 2021 14:36:46 +0100 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: <73822E95-8342-456A-A638-676CF93C16BE@major-k.de> Hi Brian, > Am 24.12.2021 um 14:30 schrieb Brian Milby via use-livecode : > > Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? no idea, please ask me something easier. :-D > I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. Whatever you need to to, I am only interested in the result, a proportionally sized icon in the button. ;-) > Merry Christmas everyone! > Brian Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From marksmithhfx at gmail.com Fri Dec 24 09:02:56 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 24 Dec 2021 14:02:56 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> Message-ID: <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> Hi Panos, I discovered the “extra” line at the top of the keyboard was called “predictive” in the keyboard settings. Turning predictive off removes the extra line, so that solved the immediate problem, but not the longer term one (which can only really be fixed by either “pinning" the header bar during a “pan” or knowing where the top of the keyboard is for appropriate DG resizing.) I'll make a feature request in the QCC. Merry Christmas and Happy Holidays to all, Mark > On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: > > Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. > > You should probably be on vacation now, so enjoy your well deserved time off!! > > Mark > > >> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: >> >> Hello Mark, >> >> What about using: >> >> mobileSetKeyboardDisplay "pan" >> >> See the dictionary for more details. >> >> Cheers, >> Panos >> >> >> >> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> It seems the keyboard in iOS 15 has gained some height and that is causing >>> a problem. >>> >>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>> one added will cause the keyboard to cover the row. The previous solution >>> has been to redraw the datagid so it occupies the space above the keyboard >>> (and then scroll the new line into view). This worked fine as long as the >>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>> appears to be approximately 1 row of keys taller, this row being filled >>> with blank slots for word guesses while you type (an option I would not >>> even know how to make use of). >>> >>> Solutions: one option is to simply redraw the datagrid to be above the new >>> keyboard height. Problem is I have been hard coding this (ie. changing the >>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>> required). This is less than ideal because as I have now witnessed in iOS >>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>> query the height of the keyboard, or the amount of available screen space, >>> so that I could adjust the bottom of my datagrid appropriately. >>> >>> Has anyone else been looking into this issue and how have you resolved it? >>> >>> Thanks >>> Mark >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 24 12:02:45 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2021 11:02:45 -0600 Subject: Keyboard in iOS 15.x In-Reply-To: <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> Message-ID: <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> "The working screenrect" should give you the area you have available when the keyboard is up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 24, 2021 8:05:08 AM Mark Smith via use-livecode wrote: > Hi Panos, > > I discovered the extra line at the top of the keyboard was called > predictive in the keyboard settings. Turning predictive off removes the > extra line, so that solved the immediate problem, but not the longer term > one (which can only really be fixed by either pinning" the header bar > during a pan or knowing where the top of the keyboard is for appropriate > DG resizing.) I'll make a feature request in the QCC. > > Merry Christmas and Happy Holidays to all, > > Mark > > >> On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: >> >> Thanks Panos, I appreciate the quick response. That works reasonably well >> except the card has a header bar and using the pan option moves the >> header bar off screen as well, which unfortunately hides some important >> header bar controls. If we could stick the header bar while panning the >> dg (so it visually looks like it is sliding underneath the header bar) that >> would be the best solution. I might try and see if there is a way to do >> that. Otherwise for now Ill just hard code a resize of the dg when the >> keyboard is activated and adjust the code using the new iPhoneDeviceModel >> function to fine tune it for different screen sizes. >> >> You should probably be on vacation now, so enjoy your well deserved time off!! >> >> Mark >> >> >>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode >>> wrote: >>> >>> Hello Mark, >>> >>> What about using: >>> >>> mobileSetKeyboardDisplay "pan" >>> >>> See the dictionary for more details. >>> >>> Cheers, >>> Panos >>> >>> >>> >>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> It seems the keyboard in iOS 15 has gained some height and that is causing >>>> a problem. >>>> >>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>>> one added will cause the keyboard to cover the row. The previous solution >>>> has been to redraw the datagid so it occupies the space above the keyboard >>>> (and then scroll the new line into view). This worked fine as long as the >>>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>>> appears to be approximately 1 row of keys taller, this row being filled >>>> with blank slots for word guesses while you type (an option I would not >>>> even know how to make use of). >>>> >>>> Solutions: one option is to simply redraw the datagrid to be above the new >>>> keyboard height. Problem is I have been hard coding this (ie. changing the >>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>>> required). This is less than ideal because as I have now witnessed in iOS >>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>>> query the height of the keyboard, or the amount of available screen space, >>>> so that I could adjust the bottom of my datagrid appropriately. >>>> >>>> Has anyone else been looking into this issue and how have you resolved it? >>>> >>>> Thanks >>>> Mark >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Fri Dec 24 13:01:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 24 Dec 2021 18:01:00 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I am so hoping you are right Jacky. Will have a chance to test on boxing day and will let you know. Best, and Merry Christmas. Mark > On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode wrote: > > "The working screenrect" should give you the area you have available when the keyboard is up. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 24, 2021 8:05:08 AM Mark Smith via use-livecode wrote: > >> Hi Panos, >> >> I discovered the “extra” line at the top of the keyboard was called “predictive” in the keyboard settings. Turning predictive off removes the extra line, so that solved the immediate problem, but not the longer term one (which can only really be fixed by either “pinning" the header bar during a “pan” or knowing where the top of the keyboard is for appropriate DG resizing.) I'll make a feature request in the QCC. >> >> Merry Christmas and Happy Holidays to all, >> >> Mark >> >> >>> On Dec 23, 2021, at 5:28 PM, Mark Smith wrote: >>> >>> Thanks Panos, I appreciate the quick response. That works reasonably well except the card has a header bar and using the “pan” option moves the header bar off screen as well, which unfortunately hides some important header bar controls. If we could “stick” the header bar while panning the dg (so it visually looks like it is sliding underneath the header bar) that would be the best solution. I might try and see if there is a way to do that. Otherwise for now I’ll just hard code a resize of the dg when the keyboard is activated and adjust the code using the new iPhoneDeviceModel function to fine tune it for different screen sizes. >>> >>> You should probably be on vacation now, so enjoy your well deserved time off!! >>> >>> Mark >>> >>> >>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode wrote: >>>> >>>> Hello Mark, >>>> >>>> What about using: >>>> >>>> mobileSetKeyboardDisplay "pan" >>>> >>>> See the dictionary for more details. >>>> >>>> Cheers, >>>> Panos >>>> >>>> >>>> >>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> It seems the keyboard in iOS 15 has gained some height and that is causing >>>>> a problem. >>>>> >>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and the next >>>>> one added will cause the keyboard to cover the row. The previous solution >>>>> has been to redraw the datagid so it occupies the space above the keyboard >>>>> (and then scroll the new line into view). This worked fine as long as the >>>>> KB always occupied a fixed amount of space (height). The new one in iOS 15 >>>>> appears to be approximately 1 row of keys taller, this row being filled >>>>> with blank slots for word guesses while you type (an option I would not >>>>> even know how to make use of). >>>>> >>>>> Solutions: one option is to simply redraw the datagrid to be above the new >>>>> keyboard height. Problem is I have been hard coding this (ie. changing the >>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as >>>>> required). This is less than ideal because as I have now witnessed in iOS >>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the keys. ie. >>>>> the size/height of the keyboard is now dynamic. Ideally I would be able to >>>>> query the height of the keyboard, or the amount of available screen space, >>>>> so that I could adjust the bottom of my datagrid appropriately. >>>>> >>>>> Has anyone else been looking into this issue and how have you resolved it? >>>>> >>>>> Thanks >>>>> Mark >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Dec 24 15:16:20 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Fri, 24 Dec 2021 20:16:20 +0000 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Mark, Just adding to what Jacquie wrote, there is also the effective working screenrect. Use both to work out which is best for your requirements. All the best in working it out. Sean On Fri, 24 Dec 2021 at 18:01, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > I am so hoping you are right Jacky. Will have a chance to test on boxing > day and will let you know. > > Best, and Merry Christmas. > > Mark > > > > On Dec 24, 2021, at 5:02 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > "The working screenrect" should give you the area you have available > when the keyboard is up. > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > On December 24, 2021 8:05:08 AM Mark Smith via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Hi Panos, > >> > >> I discovered the “extra” line at the top of the keyboard was called > “predictive” in the keyboard settings. Turning predictive off removes the > extra line, so that solved the immediate problem, but not the longer term > one (which can only really be fixed by either “pinning" the header bar > during a “pan” or knowing where the top of the keyboard is for appropriate > DG resizing.) I'll make a feature request in the QCC. > >> > >> Merry Christmas and Happy Holidays to all, > >> > >> Mark > >> > >> > >>> On Dec 23, 2021, at 5:28 PM, Mark Smith > wrote: > >>> > >>> Thanks Panos, I appreciate the quick response. That works reasonably > well except the card has a header bar and using the “pan” option moves the > header bar off screen as well, which unfortunately hides some important > header bar controls. If we could “stick” the header bar while panning the > dg (so it visually looks like it is sliding underneath the header bar) that > would be the best solution. I might try and see if there is a way to do > that. Otherwise for now I’ll just hard code a resize of the dg when the > keyboard is activated and adjust the code using the new iPhoneDeviceModel > function to fine tune it for different screen sizes. > >>> > >>> You should probably be on vacation now, so enjoy your well deserved > time off!! > >>> > >>> Mark > >>> > >>> > >>>> On Dec 23, 2021, at 3:25 PM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Hello Mark, > >>>> > >>>> What about using: > >>>> > >>>> mobileSetKeyboardDisplay "pan" > >>>> > >>>> See the dictionary for more details. > >>>> > >>>> Cheers, > >>>> Panos > >>>> > >>>> > >>>> > >>>> On Thu, 23 Dec 2021 at 17:08, Mark Smith via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> It seems the keyboard in iOS 15 has gained some height and that is > causing > >>>>> a problem. > >>>>> > >>>>> Scenario. My UI is primarily a datagrid. Fill it with 8 items and > the next > >>>>> one added will cause the keyboard to cover the row. The previous > solution > >>>>> has been to redraw the datagid so it occupies the space above the > keyboard > >>>>> (and then scroll the new line into view). This worked fine as long > as the > >>>>> KB always occupied a fixed amount of space (height). The new one in > iOS 15 > >>>>> appears to be approximately 1 row of keys taller, this row being > filled > >>>>> with blank slots for word guesses while you type (an option I would > not > >>>>> even know how to make use of). > >>>>> > >>>>> Solutions: one option is to simply redraw the datagrid to be above > the new > >>>>> keyboard height. Problem is I have been hard coding this (ie. > changing the > >>>>> bottom of the keyboard from 452 (activated) to 613 (deactivated) as > >>>>> required). This is less than ideal because as I have now witnessed > in iOS > >>>>> 15.x the keyboard can expand to have 1 or 2 extra rows above the > keys. ie. > >>>>> the size/height of the keyboard is now dynamic. Ideally I would be > able to > >>>>> query the height of the keyboard, or the amount of available screen > space, > >>>>> so that I could adjust the bottom of my datagrid appropriately. > >>>>> > >>>>> Has anyone else been looking into this issue and how have you > resolved it? > >>>>> > >>>>> Thanks > >>>>> Mark > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Fri Dec 24 15:31:55 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 25 Dec 2021 07:31:55 +1100 Subject: add a "scale" option to the icongravity In-Reply-To: References: Message-ID: <9BCFCBE6-2D05-458B-A8D4-3C1AE820AC42@optusnet.com.au> > Wouldn?t you really need another property like ?iconSizing? which would have values of ?none? or ?clip? (current behavior), ?resize? or ?fill? (the current iconGravity option), and ?scale? (your proposal)? I can think of situations where clip and scale would need the current positioning afforded by the gravity setting. I think often the best option is “scale to fit” by which I mean scale the image down to fit the button keeping the same aspect ratio *if* it is too large, but leave the original image size as is if it will already fit, *do not* upscale, which can cause pixelation. It is neither the current ”resize” nor the usual “scale to fit" From eurolinkal at aol.com Fri Dec 24 15:41:06 2021 From: eurolinkal at aol.com (Alex Hughson) Date: Fri, 24 Dec 2021 12:41:06 -0800 Subject: New user In-Reply-To: References: Message-ID: Thanks Sean for that help. I’m tangled up in Holiday Domestic Duties at the moment but will give it a try in the new year. Meantime questions rolling around my head; if I’m writing the LC prog on a Mac do I have to designate the (PC) com port in that code, which I’m thinking would mean it couldn’t be tested right there and then on the Mac? Also, I’m toying with the idea of using an Arduino as my I/O device. Does that sound healthy? Season’s greeting to all the list. best, Alex On December 21, 2021 at 5:37:14 PM, Sean Cole via use-livecode (use-livecode at lists.runrev.com) wrote: Hi Alex Welcome! I've done exactly and very similar to what you are describing about 6yrs ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For lighting up miniatures of housing estates and apartment blocks. And then for some film miniatures for toy commercials and so on. Once you've installed the driver for your adapter on Win10, go to the Device Manager, Ports and find out what COM port it's linked to (eg, COM2). Now in LiveCode, you don't need to know the driver name to write to. Just use the command: open driver "COM2:" for write This sets the plane for communication. Next, you need to set up the settings, eg: set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" These are actually the default settings, so do nothing if these are the settings you want. Now you just need to know the commands to send. https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 write "readall" & return to driver "COM2:" read from driver "COM2:" for 4 -- ie, 4 characters The read command immediately after the write allows it to accept the response from the GPIO, in this example, for 4 characters in length (to receive the 4 hex characters like 16AF) And that's it pretty much. It's super easy and fun. With Wifi modules you can use any device to communicate with them. We used iPad mini's which made it super flexible. Let us all know if you run into any issues and need help. All the best Sean Cole *Pi Digital Productions Ltd* On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all. I am a beginner user of LiveCode. I’ve managed to work my way > through a project which I think I can complete. However the project has to > be able to communicate with an I/O board (Numato 16 channel USB GPIO Module > for example) from a Windows Standalone application. I have not been able to > find any guidance or samples for how to do this. This has led me to wonder > if it is even possible to creat some kind of serial communication using LC > or whether I should start over with a different platform. I am doing the LC > work using a Mac. Any help or advice would be much appreciated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Dec 24 15:44:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2021 14:44:38 -0600 Subject: Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: > Just adding to what Jacquie wrote, there is also the effective working > screenrect. You're right, "effective" was added to account for the keyboard on mobile. I'd start with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Fri Dec 24 16:08:27 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 24 Dec 2021 21:08:27 +0000 Subject: New user In-Reply-To: References: Message-ID: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> I’m refitting the bathroom and laying new carpet in the upstairs hallway, so have Hol Dom Dues too ;) Arduino will be basically the same as any other IO with the added benefit that you have control over the controller by your own Arduino coding. There is a difference in approach for PC vs Mac. For some reason, I think because of one of the other replies, I got confusededed and thought you’d been developing from a PC. For Mac, you need to look in either the /dev folder or the /Library/extensions folder and find the path for the IO driver. See the LC documentation for ‘serialControlString’ and ‘open driver’. My son and I have been working on a physical Train Sim World controller which is basically the whole dashboard from a Class 365. It uses an Arduino board and a digital serial shunt to pick up all the buttons, switches and sliders and control lights and dials. This is then picked up by LiveCode and converted into XML for TSW to read from live and control the Sim and provide feedback for the gauges. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 24 Dec 2021, at 20:42, Alex Hughson wrote: > > Thanks Sean for that help. I’m tangled up in Holiday Domestic Duties at the moment but will give it a try in the new year. Meantime questions rolling around my head; if I’m writing the LC prog on a Mac do I have to designate the (PC) com port in that code, which I’m thinking would mean it couldn’t be tested right there and then on the Mac? Also, I’m toying with the idea of using an Arduino as my I/O device. Does that sound healthy? > > Season’s greeting to all the list. best, Alex > > > On December 21, 2021 at 5:37:14 PM, Sean Cole via use-livecode (use-livecode at lists.runrev.com) wrote: > > Hi Alex > Welcome! > I've done exactly and very similar to what you are describing about 6yrs > ago from Mac, PC, Linux, iOS via USB, WiFi and GPRS serial adapters. For > lighting up miniatures of housing estates and apartment blocks. And then > for some film miniatures for toy commercials and so on. > > Once you've installed the driver for your adapter on Win10, go to the > Device Manager, Ports and find out what COM port it's linked to (eg, COM2). > Now in LiveCode, you don't need to know the driver name to write to. Just > use the command: > open driver "COM2:" for write > This sets the plane for communication. Next, you need to set up the > settings, eg: > set the serialControlString to "BAUD=9600 PARITY=N DATA=8 STOP=1" > These are actually the default settings, so do nothing if these are the > settings you want. > Now you just need to know the commands to send. > https://numato.com/docs/16-channel-usb-relay-module/#the-command-set-20 > write "readall" & return to driver "COM2:" > read from driver "COM2:" for 4 -- ie, 4 characters > The read command immediately after the write allows it to accept the > response from the GPIO, in this example, for 4 characters in length (to > receive the 4 hex characters like 16AF) > > And that's it pretty much. It's super easy and fun. With Wifi modules you > can use any device to communicate with them. We used iPad mini's which made > it super flexible. > > Let us all know if you run into any issues and need help. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > >> On Tue, 21 Dec 2021 at 04:33, Alex Hughson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hello all. I am a beginner user of LiveCode. I’ve managed to work my way >> through a project which I think I can complete. However the project has to >> be able to communicate with an I/O board (Numato 16 channel USB GPIO Module >> for example) from a Windows Standalone application. I have not been able to >> find any guidance or samples for how to do this. This has led me to wonder >> if it is even possible to creat some kind of serial communication using LC >> or whether I should start over with a different platform. I am doing the LC >> work using a Mac. Any help or advice would be much appreciated. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Dec 25 12:25:22 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Sat, 25 Dec 2021 17:25:22 +0000 Subject: (area used by) Keyboard in iOS 15.x In-Reply-To: <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> Message-ID: Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1, which has iphoneSafeAreaInsets for discerning the safe area from furniture like the notch and so on. I haven't tested this but that may also include things like the keyboard and predictive areas. I just thought it was worth a mention here. Regards Sean On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: > > Just adding to what Jacquie wrote, there is also the effective working > > screenrect. > > You're right, "effective" was added to account for the keyboard on mobile. > I'd start with that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Sun Dec 26 21:20:21 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 02:20:21 +0000 Subject: Communication with future you with a message board In-Reply-To: <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> References: <8EF931E1-E604-487C-8E0D-E93FCDDD42DF@pidigital.co.uk> <4bc408fc-2266-a3d3-a111-09206394ee58@pair.com> <23e9f7c7-66d6-c46b-e52c-5298f0ae342f@hyperactivesw.com> Message-ID: <051A4CB9-B975-4CB1-A2ED-DB3B436BC74E@iotecdigital.com> What would be scary, is if you WERE the same person… with a basket full on unmatching socks. Sent from my iPhone > On Dec 22, 2021, at 12:49, J. Landman Gay via use-livecode wrote: > > On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote: >> So I am curious — am I the only one whose mind is going or have others run this mental recursive documentation loop? > > Yes, more than once. The only comforting thing is that most of the time it was a response from many years ago and I'm not the same person any more. Maybe that's scary... > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 26 22:16:06 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:16:06 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: Message-ID: This is brilliant, and likely fixes the creeping stack position in a multi-monitor environment. Sent from my iPhone > On Dec 21, 2021, at 07:29, panagiotis m via use-livecode wrote: > > Hello Mike, > >>>>> When a runtime error occurs in a context where the script debugger > cannot run, the error dialog will be displayed rather than failing silently > Before LC 9.6.6 rc1, runtime errors in moveStack and resizeStack were > ignored, because for some reasons deep in the engine, if they were not > ignored, LC was freezing and eventually crashing. This behavior has now > changed, and these errors are caught in an error dialog window, rather > than failing silently. > >>>>> Conversions between global and local co-ordinates are now correct > on multi-screen macOS systems. > In other words, LiveCode will now play nicely in a multi-monitor setup. > Previously you had to make sure that the virtual tops of the 2 (or more) > monitors were aligned, otherwise you were getting incorrect behavior in > various cases. Now, you can arrange the monitors any way you want, and > things will work as expected. > > Cheers, > Panos > -- > > > >> On Tue, 21 Dec 2021 at 17:17, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Things that made me say "WHAT?" >> - When a runtime error occurs in a context where the script debugger >> cannot run, the error dialog will be displayed rather than failing silently >> WHAT? Who are you people? >> - Conversions between global and local co-ordinates are now correct >> on multi-screen macOS systems. >> WHAT? HAHAHAHA. OK, that's funny. You got me. >> >> >> On Tue, Dec 21, 2021 at 9:45 AM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.6 RC-1. >>> >>> >>> Getting the Release >>> =================== >>> You can find the release in your LiveCode account area or get it via the >>> automatic updater. To find the 9.6.6 RC-1 test release in your LiveCode >>> account, please scroll down to below the list of stable releases, to find >>> your available test releases. >>> >>> Release Contents >>> ================ >>> LiveCode 9.6.6 RC-1 comes with several changes, including fixes for lots >> of >>> the bugs you requested in the recent survey: >>> >>> New Features: >>> - iOS device safe area insets function >>> An iphoneSafeAreaInsets function has been added to enable getting the >> safe >>> area insets of the device the app is running on. These can be used to >>> adjust your app's user interface elements to avoid areas that are covered >>> by device furniture, e.g. the notch. >>> >>> - Android adaptive icons >>> It is now possible to configure your Android apps to use adaptive icons. >>> To use adaptive icons, generate them using the Image Asset Editor in >>> Android Studio and >>> then choose the resulting res folder in the android standalone settings >>> pane. >>> >>> - Android app query whitelist >>> Support has been added for specifying which other apps can be interacted >>> with via the intent and other (custom) URL schemes. >>> Since Android 11, by default, an app cannot interact with any others due >> to >>> changes to package visibility. You must now specify which apps you need >>> access to by adding their ids to the App ID Query Whitelist field in the >>> Android standalone settings. >>> >>> >>> Bug Fixes: >>> - Opening HyperCard stacks will no longer cause a crash >>> - Support for the system date and the system time has been added on >> Android >>> - A stack's rect will no longer become out of sync with its actual >> position >>> after being moved in the IDE on macOS >>> - A wider range of TrueType font files will now work on Android and Web >>> - Use of the term Tutorials have been replaced by the term Lessons >>> throughout the IDE >>> - When a runtime error occurs in a context where the script debugger >> cannot >>> run, the error dialog will be displayed rather >>> than failing silently >>> - Conversions between global and local co-ordinates are now correct on >>> multi-screen macOS systems. >>> - The welcome tutorial can now be started on first run via the Start >>> Interative Welcome button in the start center >>> - Starting a new tutorial will now close the previous tutorial's stack, >> if >>> present >>> - The performance of the script editor while typing has been improved >>> - Downloading large amounts of data using tsNet on Windows is now >>> substantially faster >>> - Invalid PDFs will no longer be generated when using the open printing >> to >>> PDF command on Windows using the 64-bit engine >>> - Script debugging will no longer fail to work intermittently when >> running >>> the IDE with pro features >>> - Scripts which run without locking the screen are no longer slower on >>> macOS Big Sur and later >>> - The drawing library now correctly handle gradients which are referred >> to >>> using an id containing - or _ >>> - Key events will now work correctly after a modal dialog is shown from a >>> mouseUp handler in a grouped control >>> - The iphoneDeviceModel function now returns the correct model string >> when >>> run on an iOS/iPadOS simulator. >>> - Default buttons and progress bars will no longer cause unnecessary CPU >>> usage on macOS 10.10 (Yosemite) or later >>> - The byteOffset function will no longer cause incorrect results in some >>> cases nor cause a crash >>> - Scripts containing accented characters will no longer incorrectly >> report >>> being externally modified >>> - Using the print link command when printing to PDF on Windows no longer >>> causes a crash >>> - The copyright notices in the engine app bundle (macOS) and exe >> (Windows) >>> have been updated >>> - A significant memory leak in the browser widget on macOS has been >>> resolved >>> - POST data larger than 64kb is now parsed correctly by the Windows >> server >>> engine >>> - Audio-only players no longer consume excessive CPU when in Edit Mode on >>> macOS Big Sur >>> - WebGL content now displays in the browser widget when running on macOS >>> 12.x (Monterey) >>> - The union (and other set operation) commands now throw an error if >> there >>> is no into clause and the target is not a declared variable >>> - Building iOS apps using Xcode 13.2 with the iOS 15.2 SDK is now >> supported >>> - Local file and content access has been re-enabled in the browser widget >>> and native control on Android >>> - Touch events now occur at the correct location when handled by objects >>> underneath a disabled Android scroller >>> - SVG elements with a stroke-width of 0 are no longer drawn with a >> hairline >>> stroke >>> - There is no longer a delay when opening the IDE menus on macOS >>> - Selecting a specific browser to test a web project against now works >>> correctly >>> - The overhead of using "do .." to evaluate long JavaScript scripts in >> the >>> browser widget on Android has been greatly reduced >>> >>> For the full list of all fixes, updates and enhancements please see the >>> release notes: >>> >> http://downloads.livecode.com/livecode/9_6_6/LiveCodeNotes-9_6_6_rc_1.pdf >>> >>> >>> Known issues >>> ============ >>> - The Browser widget's native layer is not shown in some Linux distros >> with >>> Cinnamon window manager. >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit >> LTS >>> yet. >>> >>> >>> Required Software >>> ================= >>> To build iOS apps with LiveCode you must have the appropriate versions of >>> Xcode as follows: >>> >>> - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS >> 12.1 >>> SDK >>> - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS >>> 13.2 SDK >>> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS >>> 14.4 SDK >>> - macOS 11+ : Xcode 13.2.x - LiveCode builds iOS apps using the iOS >> 15.2 >>> SDK >>> >>> There is a full list of working LiveCode/macOS/Xcode combinations here: >>> https://livecode.com/docs/9-5-0/faq/faq/ >>> >>> Note: Whilst we endeavour to release updated versions of LiveCode >>> supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly >>> recommend disabling automatic update of Xcode or downloading the specific >>> version of Xcode required directly from the Apple developer portal and >>> installing it separately. >>> >>> Important: From the start of April 2021, Apple is only accepting apps >> built >>> using iOS14.x SDKs. This means that, if you wish to submit apps to the >>> AppStore you will have to be running at least macOS 10.15 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 at >>> http://forums.livecode.com >>> >>> >>> Have fun! >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 26 22:18:05 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:18:05 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: <778E45FF-1080-4206-9C1E-2AEA1DB36D7A@iotecdigital.com> +1 Sent from my iPhone > On Dec 22, 2021, at 12:55, J. Landman Gay via use-livecode wrote: > > On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: >> It is nice to know that HyperCard stacks can still be opened. > > Yes, and what good timing. I just got the first HC conversion request in years. And my old copy of LC 6 won't run on my current Mac. > > Another thing I'm ecstatic about is the built-in Android adaptive icons. Struggling with altered IDE files for the last year made me crazy and it had to be done for every new LC release. And I usually made mistakes and had to revise them multiple times. > > This release is hugely appreciated, there's so much to love in it. Thank you, 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 bobsneidar at iotecdigital.com Sun Dec 26 22:19:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Dec 2021 03:19:36 +0000 Subject: [ANN] Release 9.6.6 RC-1 In-Reply-To: References: <1e65cb0e-e5b8-ce96-31f7-cc84246feabc@hyperactivesw.com> Message-ID: <88021925-9699-4912-8377-15EF57B10C7D@iotecdigital.com> +1 Sent from my iPhone > On Dec 22, 2021, at 14:36, Tom Glod via use-livecode wrote: > > Its so lovely to see a big list of fixes, thats how thats done. > > Thank you Livecode team and all the best for the Christmas season to > everyone. > >> On Wed, Dec 22, 2021 at 3:55 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 12/22/21 1:47 PM, Martin Koob via use-livecode wrote: >>> It is nice to know that HyperCard stacks can still be opened. >> >> Yes, and what good timing. I just got the first HC conversion request in >> years. And my old copy >> of LC 6 won't run on my current Mac. >> >> Another thing I'm ecstatic about is the built-in Android adaptive icons. >> Struggling with >> altered IDE files for the last year made me crazy and it had to be done >> for every new LC >> release. And I usually made mistakes and had to revise them multiple times. >> >> This release is hugely appreciated, there's so much to love in it. Thank >> you, 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Dec 27 07:05:05 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 27 Dec 2021 12:05:05 +0000 Subject: (area used by) Keyboard in iOS 15.x In-Reply-To: References: <34473D85-52BC-4BF6-8A0B-21065A0E0799@gmail.com> <53948091-F71C-401E-B388-B05964ACB7E2@gmail.com> <21F2A7C7-8E2F-48B5-846D-56D3B60F80CD@gmail.com> <17ded651708.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6d7aa5b2-ef0a-3050-ce95-adc1282ca8f9@hyperactivesw.com> Message-ID: <038AC7C0-4693-4441-8565-FFC9322C545A@gmail.com> Thank you Sean and Jacque, I’ve not had a chance to work on a complete solution but thought I would make a test run to see what “the effective working screenrect” was returning and as the following indicates, it does in fact take into consideration the keyboard. I just coded up one line to run whenever the status of the keyboard changed and tried it both with and without the “predictive” option turned on. As you can see, it was very sensitive to this change… without predictive: 9:37:14 PM keyboardActivated 0,0,375,451 9:37:15 PM keyboardDeactivated 0,0,375,667 9:37:18 PM keyboardActivated 0,0,375,451 9:37:19 PM keyboardDeactivated 0,0,375,667 9:37:19 PM keyboardActivated 0,0,375,451 9:37:23 PM keyboardDeactivated 0,0,375,667 with predictive: 9:56:54 PM keyboardActivated 0,0,375,407 9:56:55 PM keyboardDeactivated 0,0,375,667 9:56:55 PM keyboardActivated 0,0,375,407 9:56:57 PM keyboardDeactivated 0,0,375,667 In my particular case not all 4 value are immediately useful. For example, I have a fixed header and footer that need to be accommodated so the correct “useable” rect for me is: 0,69, 377, 618 (for no predictive) 0,69,377,456 ( for predictive) but this can easily be accommodated since the header/footer values don’t change. The beauty is I now have a rect lower bound (ie. keyboard height) that actually reflects where the keyboard is. Brilliant!! Thank you both, Mark Sean, I tried iPhoneSafeAreaInsets() but it appears it returns a constant set of values regardless of keyboard position on my iPhone 12 11:51:22 AM keyboardActivated 0,47,0,34 11:51:22 AM keyboardDeactivated 0,47,0,34 11:51:26 AM keyboardActivated 0,47,0,34 11:51:26 AM keyboardDeactivated 0,47,0,34 And didn’t change when I added / subtracted “predictive”. So, just the available usable space at the top and bottom of the screen. I haven’t adjusted my app yet to fully take advantage of the larger screen on a 12 (it was developed on a 6S) but when I get to more response design this will be useful to know where the usable top and bottom are. Cheers!! > On Dec 25, 2021, at 5:25 PM, Sean Cole via use-livecode wrote: > > Another addendum to this I just noticed is in the latest RC, LC9.6.6RC1, > which has iphoneSafeAreaInsets for discerning the safe area from furniture > like the notch and so on. I haven't tested this but that may also include > things like the keyboard and predictive areas. I just thought it was worth > a mention here. > > Regards > Sean > > On Fri, 24 Dec 2021 at 20:44, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 12/24/21 2:16 PM, Sean Cole via use-livecode wrote: >>> Just adding to what Jacquie wrote, there is also the effective working >>> screenrect. >> >> You're right, "effective" was added to account for the keyboard on mobile. >> I'd start with that. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Dec 27 11:24:42 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 27 Dec 2021 11:24:42 -0500 Subject: tmc2 hacks Message-ID: tmc2 still gives me better ui's than native widgets do. i have been messing with it for a while, including experimenting with breaking it into SOS's to see if i can get it to play nicely with levure. today's conversation about keyboards on mobile reminded me that it would be good to add some of those properties. has anyone else been modding/hacking tmc2? From scott at elementarysoftware.com Tue Dec 28 05:27:45 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:27:45 -0800 Subject: chartsEngine bug with version 10 of LC Message-ID: I’ve encountered a problem with the third-party LiveCode product chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a high enough version number. (AnimationEngine was reporting a similar error which I was able to fix since the scripts are open.) ChartsEngine is, however, locked. Originally written by Malte Brill, the current owner is, I believe, Björnke von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else pondering this issue? I use chartsEngine in two commercial mobile apps so I’m hoping to work out a solution rather than rebuild the charting layout portion of these apps once building with 10.x versions of LC is required. And just for my own curiosity, (this is what I encountered in animationEngine so I’m assuming something similar in chartsEngine) I’m interested in an explanation (rather than my own guess) for why "9.6.6-rc-1” evaluates as not less than 5 but "10.0.0-dp-1” evaluates to less than 5 . -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From scott at elementarysoftware.com Tue Dec 28 05:35:30 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:35:30 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: <5E087A48-439E-4ECF-92A1-578DC22B60CD@elementarysoftware.com> I mistyped Björnke’s name; it is “Björnke von Gierke" > On Dec 28, 2021, at 2:27 AM, scott--- via use-livecode wrote: > > > I’ve encountered a problem with the third-party LiveCode product chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a high enough version number. (AnimationEngine was reporting a similar error which I was able to fix since the scripts are open.) ChartsEngine is, however, locked. Originally written by Malte Brill, the current owner is, I believe, Björnke von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else pondering this issue? I use chartsEngine in two commercial mobile apps so I’m hoping to work out a solution rather than rebuild the charting layout portion of these apps once building with 10.x versions of LC is required. > > And just for my own curiosity, (this is what I encountered in animationEngine so I’m assuming something similar in chartsEngine) I’m interested in an explanation (rather than my own guess) for why "9.6.6-rc-1” evaluates as not less than 5 but "10.0.0-dp-1” evaluates to less than 5 . > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Dec 28 05:39:48 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 02:39:48 -0800 Subject: tmc2 hacks In-Reply-To: References: Message-ID: I have not been modding tmc2 but I do still use some of those slick objects. (I have modded a few of the gauges in Scott's older tmgauges project. :- ) > On Dec 27, 2021, at 8:24 AM, Mike Kerner via use-livecode wrote: > > tmc2 still gives me better ui's than native widgets do. > i have been messing with it for a while, including experimenting with > breaking it into SOS's to see if i can get it to play nicely with levure. > today's conversation about keyboards on mobile reminded me that it would be > good to add some of those properties. > has anyone else been modding/hacking tmc2? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Dec 28 12:27:06 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Dec 2021 12:27:06 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: Scott: > why "9.6.6-rc-1 evaluates as not less than 5 > but "10.0.0-dp-1 evaluates to less than 5. That's the tricky thing about dotted versions; easy to forget and set up a text comparison: "9" > "5" "1" < "5" Once you have two dots, or an rc/dp, it's a string. They seem to compare perfectly...until you pass 9. That's why I used integer versions for some libs. "10.0.0" < "5" (I should check my code too; thanks for this reminder!) Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From admin at FlexibleLearning.com Tue Dec 28 13:02:42 2021 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 28 Dec 2021 18:02:42 -0000 Subject: chartsEngine bug with version 10 of LC Message-ID: <005701d7fc15$1e27b330$5a771990$@FlexibleLearning.com> > I?ve encountered a problem with the third-party LiveCode product > chartsEngine now reporting that LiveCode < version 10.0.0 (dp 1) > is not a > high enough version number. (AnimationEngine was reporting a similar error > which I was able to fix since the scripts are open.) ChartsEngine is, however, > locked. Originally written by Malte Brill, the current owner is, I believe, > Bj?rnke von GierkeI. I?ve tried contacting him but haven?t heard anything. > Anyone else pondering this issue? I use chartsEngine in two commercial > mobile apps so I?m hoping to work out a solution rather than rebuild the > charting layout portion of these apps once building with 10.x versions of LC is > required. Has anyone encountered issues with ChartMaker in LC v10? Hugh Senior > And just for my own curiosity, (this is what I encountered in animationEngine > so I?m assuming something similar in chartsEngine) I?m interested in an > explanation (rather than my own guess) for why "9.6.6-rc-1? evaluates as > not less than 5 but "10.0.0-dp-1? evaluates to less than 5 . > > -- > Scott Morrow From scott at elementarysoftware.com Tue Dec 28 20:13:18 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 17:13:18 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: References: Message-ID: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> I’m still a little unclear about exactly what is going on here. put “foo” < 9 -- returns “false” put “foo” > 9 -- returns “true” put “9foo” < 9 -- returns “false” put “9foo” > 9 -- returns “true” put “9.foo” < 9 -- returns “false” put “7.foo” < 9 -- returns “true” put “77.foo” < 9 -- returns “true” put “9.foo” > 9 -- returns “true” put “7.foo” > 9 -- returns “false” put “77.foo” > 9 -- returns “false” -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ——————————————————————————— > On Dec 28, 2021, at 9:27 AM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > why "9.6.6-rc-1” evaluates as not less than 5 > > but "10.0.0-dp-1” evaluates to less than 5. > > That's the tricky thing about dotted versions; > easy to forget and set up a text comparison: > > "9" > "5" > "1" < "5" > > Once you have two dots, or an rc/dp, it's a string. > They seem to compare perfectly...until you pass 9. > That's why I used integer versions for some libs. > > "10.0.0" < "5" > > (I should check my code too; thanks for this reminder!) > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ From ahsoftware at sonic.net Tue Dec 28 20:40:15 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Dec 2021 17:40:15 -0800 Subject: New user In-Reply-To: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> References: <9D6E16DD-FC2B-4681-834E-B1F54B4518FD@pidigital.co.uk> Message-ID: On 12/24/21 1:08 PM, Pi Digital via use-livecode wrote: > My son and I have been working on a physical Train Sim World controller which is basically the whole dashboard from a Class 365. It uses an Arduino board and a digital serial shunt to pick up all the buttons, switches and sliders and control lights and dials. This is then picked up by LiveCode and converted into XML for TSW to read from live and control the Sim and provide feedback for the gauges. That sounds like an awesome project. Any chance of you writing this up with more details as a blog post or something in your copious free time? -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Tue Dec 28 22:37:35 2021 From: irog at mac.com (Roger Guay) Date: Tue, 28 Dec 2021 19:37:35 -0800 Subject: Infection Simulation In-Reply-To: References: Message-ID: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. Cheers, Roger From curry at pair.com Tue Dec 28 22:56:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Dec 2021 22:56:16 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> References: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> Message-ID: <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> Scott: > Im still a little unclear about exactly what is going on here. Because you are NOT comparing numbers. You are comparing (like sorting) text. That usually means: the FIRST CHAR of each string. (The ASCII/ANSI/etc values of those chars.) > put 7.foo < 9 -- returns true Because "7" < "9". > put 77.foo < 9 -- returns true Because "7" < "9". (FIRST CHAR) I just looked at WordLib's code: it's already coded correctly! Ready for LC version 10 or LC 1000. (Going way back, I was already cautious about these dotted-version comparisons.) Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From scott at elementarysoftware.com Wed Dec 29 00:41:55 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Dec 2021 21:41:55 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> References: <431429A0-D840-46F6-847C-DA69D56DB321@elementarysoftware.com> <41141af0-8eaf-7ec1-e011-eac13bbb062e@pair.com> Message-ID: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> Hello Curry, I’m still puzzled. So you are saying that if the first char of the string is a number then it uses the number but if the first char is not a number then it uses the ascii value of the first char? It seems like there is more to it than that. Obviously we wouldn’t expect “9foo” = 9 to evaluate to “true” and why then would “9foo" > 9 return “true” ? I’m not trying to solve any current programming issue with this question… just curious. Thanks > On Dec 28, 2021, at 7:56 PM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > I’m still a little unclear about exactly what is going on here. > > Because you are NOT comparing numbers. > You are comparing (like sorting) text. > > That usually means: the FIRST CHAR of each string. > (The ASCII/ANSI/etc values of those chars.) > > > put “7.foo” < 9 -- returns “true” > > Because "7" < "9". > > > put “77.foo” < 9 -- returns “true” > > Because "7" < "9". (FIRST CHAR) > > I just looked at WordLib's code: > it's already coded correctly! > Ready for LC version 10 or LC 1000. > > (Going way back, I was already cautious > about these dotted-version comparisons.) > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Dec 29 01:23:55 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 29 Dec 2021 01:23:55 -0500 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> References: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> Message-ID: <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> Scott: > So you are saying that if the first char of the string is a number No! There is no number. Don't think about numbers. :) Both sides are text in your comparison. > it uses the ascii value of the first char? Always! Because both sides are text. Two text strings. No numbers. LC compares the FIRST CHAR of each text. (If they are equal: then the 2nd chars, etc.) > 9foo > 9 Because "9" = "9" ... but "f" > "". If you want a numerical comparison, both sides must be numbers! Once you have two dots, or an "f" etc, it's a string. And if either side is text, the comparison is textual. Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From williamdesmet at gmail.com Wed Dec 29 04:57:12 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 29 Dec 2021 10:57:12 +0100 Subject: Is there a better way to check if images are the same? I now use imagedata Message-ID: Hi there, Is there a better way to check if images are the same? I now use imagadata. In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). These dots are important because by touching them their Loc is used (gStartLoc and gStartLoc) Two dots will be connected by setting the points of the last grc to gStartLoc & return & gStartLoc. No problem here. The idea is that the user copies my example on their matrix/geoboard by connecting the dots. To check if the made images (geoboards) are the same I make a snapshot of both and compare the imagadata of these images. Everything is fine as long as the user connects the same dots as the way (length between dots) it is done in the example. Then the imagadat is the same. The geoboards can look the same but the connected dots can be different in length so use imagadata to compare these is not the way to get it right. Any ideas for a better way? greetings, William From scott at elementarysoftware.com Wed Dec 29 06:31:21 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 29 Dec 2021 03:31:21 -0800 Subject: chartsEngine bug with version 10 of LC In-Reply-To: <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> References: <11F4FDDB-F4AD-4FA8-96C5-6962DBF5B8C0@elementarysoftware.com> <6d215ea4-13d8-237d-beac-4ad7fe2b0366@pair.com> Message-ID: <6AFDF194-3BBB-4C67-AC05-990237E274E0@elementarysoftware.com> > (If they are equal: then the 2nd chars, etc.) Ah, that was the helpful piece of information I required. I didn’t realize it worked through the string one ASCII character at a time (with neither side being a “number” anymore.) (With the exception of upper and lower case characters having different ascii but evaluating as equivalent.) Whew! I knew I had both consumed coffee and taken a nap. I was about ready to ask you to use smaller words. :- ) One of the things that was throwing me (though I’m sure everyone else was rolling their eyes) was the > > “9foo” > 9 > > Because "9" = "9" ... but "f" > “” because, if I’m understanding this correctly, it is really evaluated as 59 = 59 …. 102 <> empty I like that "-1” < empty AND 1 > empty BUT 0 isn’t lesser/greater/equal to empty. I’m not sure why this whole string comparison issue hasn’t come up for me before but I’m sure that you will all be thankful that I’m ready to move on to my next question... why is it that the socks I put into the wash aren’t always equivalent to the socks that come out of the dryer. A rounding issue? — Scott > On Dec 28, 2021, at 10:23 PM, Curry Kenworthy via use-livecode wrote: > > > Scott: > > > So you are saying that if the first char of the string is a number > > No! There is no number. > Don't think about numbers. :) > Both sides are text in your comparison. > > > it uses the ascii value of the first char? > > Always! Because both sides are text. > Two text strings. No numbers. > > LC compares the FIRST CHAR of each text. > (If they are equal: then the 2nd chars, etc.) > > > “9foo” > 9 > > Because "9" = "9" ... but "f" > "". > > If you want a numerical comparison, > both sides must be numbers! > > Once you have two dots, or an "f" etc, it's a string. > And if either side is text, the comparison is textual. > > Best wishes, > > Curry Kenworthy > > WordLib: Import MS Word and OpenOffice documents in LiveCode! > http://livecodeaddons.com/wordlib.html > > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Dec 29 07:26:28 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 29 Dec 2021 12:26:28 +0000 Subject: Infection Simulation In-Reply-To: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: <935B5228-2042-4046-A20E-765103C1348B@gmail.com> Neat simulation Roger. I wonder if you could simulate the effect of a lock down where small groups form and individuals rarely move outside their bubble? That might show the benefit of lockdowns in helping to reduce the spread of disease. Also, I did not understand what the concept of “diversity” meant in this context. Mark > On Dec 29, 2021, at 3:37 AM, Roger Guay via use-livecode wrote: > > I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. > > Cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Dec 29 09:23:09 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Dec 2021 14:23:09 +0000 Subject: Infection Simulation In-Reply-To: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: That's really cool - thanks. Improvements ?   How much time do you have :-) 1. Visual display of contagion zone while running. 2. Recovery. After being infected for some length of time, an individual stops being infectious; either it dies, and becomes a static black dot, or recovers and becomes a white dot again. Probably different times for each of those to happen.  And obviously a control for the likelihood of recovery vs death. 3.  Probabilistic infection. Rather than always infect another which comes within reach, make that a probability of infection. 4. Viral load. Make the probability as above follow a bell curve over time, as the individual becomes more infected, then recovers. 5. Simulate superspreader events. Maybe introduce short-term "gravity" that attracts individuals within a range together - and hence if one is already infected they infects lots of others. And I could go on almost forever :-) Thinking of features is orders of magnitude easier and quicker than implementing them :-) Thanks again, Alex. On 29/12/2021 03:37, Roger Guay via use-livecode wrote: > I just uploaded a stack called Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. Its a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. > > Cheers, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 29 11:41:02 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 29 Dec 2021 11:41:02 -0500 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: Message-ID: <03FA071D-F956-424B-A9C1-8319FF344007@all-auctions.com> Hi William, If you could provide a link to a photo example of what you are doing that would help us to understand the problem better. There may be a way to simplify your process so you don’t have to check every pixel. Rick > On Dec 29, 2021, at 4:57 AM, William de Smet via use-livecode wrote: > > Hi there, > > Is there a better way to check if images are the same? > I now use imagadata. > > In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). > These dots are important because by touching them their Loc is used > (gStartLoc and gStartLoc) > Two dots will be connected by setting the points of the last grc to > gStartLoc & return & gStartLoc. > No problem here. > > The idea is that the user copies my example on their matrix/geoboard by > connecting the dots. > To check if the made images (geoboards) are the same I make a snapshot of > both and compare the imagadata of these images. > Everything is fine as long as the user connects the same dots as the way > (length between dots) it is done in the example. > Then the imagadat is the same. > > The geoboards can look the same but the connected dots can be different in > length so use imagadata to compare these is not the way to get it right. > > Any ideas for a better way? > > > > 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 From prothero at earthlearningsolutions.org Wed Dec 29 11:41:03 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 29 Dec 2021 08:41:03 -0800 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: Message-ID: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> William, I understand that you want to see if the dots that are connected in one path are also connected in another path which may have them connected in a different order. Seems you could just loop through each dot in the reference path, then see if the same dots are included in the user’s path. You would need to include a name for each reference point, of course. That’s if I understand your problem correctly. Bill Sent from my iPad > On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode wrote: > > Hi there, > > Is there a better way to check if images are the same? > I now use imagadata. > > In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). > These dots are important because by touching them their Loc is used > (gStartLoc and gStartLoc) > Two dots will be connected by setting the points of the last grc to > gStartLoc & return & gStartLoc. > No problem here. > > The idea is that the user copies my example on their matrix/geoboard by > connecting the dots. > To check if the made images (geoboards) are the same I make a snapshot of > both and compare the imagadata of these images. > Everything is fine as long as the user connects the same dots as the way > (length between dots) it is done in the example. > Then the imagadat is the same. > > The geoboards can look the same but the connected dots can be different in > length so use imagadata to compare these is not the way to get it right. > > Any ideas for a better way? > > > > 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 From prothero at earthlearningsolutions.org Wed Dec 29 11:50:03 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Wed, 29 Dec 2021 08:50:03 -0800 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> Message-ID: <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> William, My basic suggestion is that you use the location data of each connected dot, rather than the image data. Good luck, Bill P Sent from my iPad > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode wrote: > > William, > I understand that you want to see if the dots that are connected in one path are also connected in another path which may have them connected in a different order. Seems you could just loop through each dot in the reference path, then see if the same dots are included in the user’s path. You would need to include a name for each reference point, of course. That’s if I understand your problem correctly. > > Bill > > > Sent from my iPad > >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode wrote: >> >> Hi there, >> >> Is there a better way to check if images are the same? >> I now use imagadata. >> >> In my app I have an example drawn image (5x5 matrix with dots, a Geoboard). >> These dots are important because by touching them their Loc is used >> (gStartLoc and gStartLoc) >> Two dots will be connected by setting the points of the last grc to >> gStartLoc & return & gStartLoc. >> No problem here. >> >> The idea is that the user copies my example on their matrix/geoboard by >> connecting the dots. >> To check if the made images (geoboards) are the same I make a snapshot of >> both and compare the imagadata of these images. >> Everything is fine as long as the user connects the same dots as the way >> (length between dots) it is done in the example. >> Then the imagadat is the same. >> >> The geoboards can look the same but the connected dots can be different in >> length so use imagadata to compare these is not the way to get it right. >> >> Any ideas for a better way? >> >> >> >> 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 From irog at mac.com Wed Dec 29 12:09:00 2021 From: irog at mac.com (Roger Guay) Date: Wed, 29 Dec 2021 09:09:00 -0800 Subject: Infection Simulation In-Reply-To: References: <00307E01-F26C-4F02-A56E-93B979A9CFEA@mac.com> Message-ID: <8B1560A0-6834-49A2-9EBE-359044520669@mac.com> Thanks for the many great ideas, Alex. They will keep me busy for a while. Roger > On Dec 29, 2021, at 6:23 AM, Alex Tweedly via use-livecode wrote: > > That's really cool - thanks. > > Improvements ? How much time do you have :-) > > 1. Visual display of contagion zone while running. > > 2. Recovery. After being infected for some length of time, an individual stops being infectious; either it dies, and becomes a static black dot, or recovers and becomes a white dot again. Probably different times for each of those to happen. And obviously a control for the likelihood of recovery vs death. > > 3. Probabilistic infection. Rather than always infect another which comes within reach, make that a probability of infection. > > 4. Viral load. Make the probability as above follow a bell curve over time, as the individual becomes more infected, then recovers. > > 5. Simulate superspreader events. Maybe introduce short-term "gravity" that attracts individuals within a range together - and hence if one is already infected they infects lots of others. > > And I could go on almost forever :-) > Thinking of features is orders of magnitude easier and quicker than implementing them :-) > > Thanks again, > > Alex. > > > On 29/12/2021 03:37, Roger Guay via use-livecode wrote: >> I just uploaded a stack called “Infection" to Sample Stacks which might be a little fun (in a scary way) for some of you. It’s a Monte Carlo simulation wherein a number of individuals randomly moving about in an enclosed space, are infected by a single randomly infected individual. I welcome any feedback that might lead to more accuracy in or improvement to this model. >> >> Cheers, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Wed Dec 29 12:13:13 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 29 Dec 2021 18:13:13 +0100 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> Message-ID: Thanks for the replies. I just put it on the forum as well and attached an image with it to get a better idea of what I want to do. https://forums.livecode.com/viewtopic.php?f=8&t=36585 greetings,, William Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode < use-livecode at lists.runrev.com>: > William, > My basic suggestion is that you use the location data of each connected > dot, rather than the image data. > Good luck, > Bill P > > Sent from my iPad > > > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > William, > > I understand that you want to see if the dots that are connected in one > path are also connected in another path which may have them connected in a > different order. Seems you could just loop through each dot in the > reference path, then see if the same dots are included in the user’s path. > You would need to include a name for each reference point, of course. > That’s if I understand your problem correctly. > > > > Bill > > > > > > Sent from my iPad > > > >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi there, > >> > >> Is there a better way to check if images are the same? > >> I now use imagadata. > >> > >> In my app I have an example drawn image (5x5 matrix with dots, a > Geoboard). > >> These dots are important because by touching them their Loc is used > >> (gStartLoc and gStartLoc) > >> Two dots will be connected by setting the points of the last grc to > >> gStartLoc & return & gStartLoc. > >> No problem here. > >> > >> The idea is that the user copies my example on their matrix/geoboard by > >> connecting the dots. > >> To check if the made images (geoboards) are the same I make a snapshot > of > >> both and compare the imagadata of these images. > >> Everything is fine as long as the user connects the same dots as the way > >> (length between dots) it is done in the example. > >> Then the imagadat is the same. > >> > >> The geoboards can look the same but the connected dots can be different > in > >> length so use imagadata to compare these is not the way to get it right. > >> > >> Any ideas for a better way? > >> > >> > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 29 12:27:10 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2021 11:27:10 -0600 Subject: Only kinda OT Message-ID: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's short: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 29 13:02:39 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Dec 2021 12:02:39 -0600 Subject: Is there a better way to check if images are the same? I now use imagedata In-Reply-To: References: <210E91B0-0EF8-4BC8-8BBC-A8398A7D3A0C@earthlearningsolutions.org> <79BC353A-4816-49AF-B328-5AA743A5832B@earthlearningsolutions.org> Message-ID: <17e075bba18.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the intent is to copy the example exactly then I'd think the imageData would be the same. But I'd use location data as others have suggested. Get the end points of the line graphic and loop through a list of correct points to compare against. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 29, 2021 11:15:50 AM William de Smet via use-livecode wrote: > Thanks for the replies. > I just put it on the forum as well and attached an image with it to get a > better idea of what I want to do. > https://forums.livecode.com/viewtopic.php?f=8&t=36585 > > greetings,, > > William > > > > > Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode < > use-livecode at lists.runrev.com>: > >> William, >> My basic suggestion is that you use the location data of each connected >> dot, rather than the image data. >> Good luck, >> Bill P >> >> Sent from my iPad >> >> > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > William, >> > I understand that you want to see if the dots that are connected in one >> path are also connected in another path which may have them connected in a >> different order. Seems you could just loop through each dot in the >> reference path, then see if the same dots are included in the users path. >> You would need to include a name for each reference point, of course. >> Thats if I understand your problem correctly. >> > >> > Bill >> > >> > >> > Sent from my iPad >> > >> >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> >> >> Hi there, >> >> >> >> Is there a better way to check if images are the same? >> >> I now use imagadata. >> >> >> >> In my app I have an example drawn image (5x5 matrix with dots, a >> Geoboard). >> >> These dots are important because by touching them their Loc is used >> >> (gStartLoc and gStartLoc) >> >> Two dots will be connected by setting the points of the last grc to >> >> gStartLoc & return & gStartLoc. >> >> No problem here. >> >> >> >> The idea is that the user copies my example on their matrix/geoboard by >> >> connecting the dots. >> >> To check if the made images (geoboards) are the same I make a snapshot >> of >> >> both and compare the imagadata of these images. >> >> Everything is fine as long as the user connects the same dots as the way >> >> (length between dots) it is done in the example. >> >> Then the imagadat is the same. >> >> >> >> The geoboards can look the same but the connected dots can be different >> in >> >> length so use imagadata to compare these is not the way to get it right. >> >> >> >> Any ideas for a better way? >> >> >> >> >> >> >> >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Wed Dec 29 16:54:39 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 29 Dec 2021 21:54:39 +0000 Subject: Only kinda OT In-Reply-To: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 Now, what was that original link about again? 😂 > On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: > > It's short: > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 30 01:41:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 00:41:17 -0600 Subject: Sorting cards Message-ID: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains the original sort and does a sub-sort. I don't want that. What's the best way to ignore the previous sort order? I've tried a number of things with no luck. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From curry at pair.com Thu Dec 30 05:13:01 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 30 Dec 2021 05:13:01 -0500 Subject: WordLib Christmas Coupon: Final Days to Save Message-ID: <4b31ae79-d81c-958d-fe62-49669c88d52c@pair.com> Ho ho - whoa - only one week to go? Yep, I'm honoring all 12 days of Christmas with a WordLib 2.3 Coupon for 30% Off. But we're already at the half-way point; after January 5, this deal is history. So get it while it's ... cold. And may your New Year be ... bold. Q: Can I use PayPal? A: Yes! That's the default. Q: Can I use a card? A: Yes! Just log OUT of PayPal beforehand, and you'll see "PayPal Guest Checkout" with credit/debit card options. Q: Will the LC Store have this Coupon? A: Very possibly! What I know for certain is that WordLib 2.3 and the Coupon are available right now at CurryK.... Download WordLib: http://livecodeaddons.com/wordlib.html Purchase WordLib: https://sowl.co/s/n4Lh1 Christmas Coupon: NOEL-2021 Discount: Extra 30% Off (Don't forget your Coupon during checkout!) Coming up next (revised): 1. Projects. (Clients ALWAYS come first!) 2. Further backend automation (Early January) 3. WordReport Update (End of January?) 4. Restoring SpreadLib ordering 5. SpreadLib/WordOut Updates (Schedule TBD) 6. The next big thing.... (and FT) :) Happy coding! More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice documents in LiveCode! http://livecodeaddons.com/wordlib.html Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mkoob at rogers.com Thu Dec 30 09:54:36 2021 From: mkoob at rogers.com (Martin Koob) Date: Thu, 30 Dec 2021 09:54:36 -0500 Subject: Only kinda OT In-Reply-To: References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <74D43A20-8560-45CD-822D-466D97C11A8B@rogers.com> a software developer walks into a bar and orders a list. Martin > On Dec 29, 2021, at 4:54 PM, Mark Smith via use-livecode wrote: > > Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 > > So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 > > Now, what was that original link about again? 😂 > >> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: >> >> It's short: >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Dec 30 10:25:33 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2021 15:25:33 +0000 Subject: Sorting cards In-Reply-To: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> You shouldn't need to ignore the previous sort. The second sort over-rides the first; it's only when looking at those cards which have the same value for the second field that the previous sorting applies. So if we have A2 B1 A1 C3 If we sort by char 2 of each, we would get    B1 A1 A2 C3 (nb - all with a 1, then all with a 2, ...) and THEN sort by char 1 of each, we get   A1 A2 B1 C3 (all A then all B then all ..., ) If we have A2 B1 A1 C3 and sort by char 1 of each, we get A2 A1 B1 C3 (all As before Bs, ...  and within the As they remain in the same order as they were). Hmmm - not sure if that's clear or not. Other way to think of it : a stable sort means that items which have matching keys remain in the same relative position. Alex (P.S. you're perhaps mixing up "first" and "second" - if want them "properly" sorted, you do the less important one (minor) first, then the major one. Hope that doesn't muddy it any more.) On 30/12/2021 06:41, J. Landman Gay via use-livecode wrote: > I am converting an old stack to LC and it needs to sort cards by one > of two fields. LC does stable sorts, so if I sort by field 1 it works, > and then if I sort later by field 2 it retains the original sort and > does a sub-sort. I don't want that. What's the best way to ignore the > previous sort order? > > I've tried a number of things with no luck. > From tom at makeshyft.com Thu Dec 30 14:12:25 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 14:12:25 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? Message-ID: Hi Folks, Today I found out that if I put a password on my stack, any code that sets the script of an object in that stack receives an execution error when running as standalone. Why is this so? And is there a workaround? Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Thu Dec 30 14:38:00 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 13:38:00 -0600 Subject: Sorting cards In-Reply-To: <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> Message-ID: <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> Thanks for the reply. I understand how it works, my question is how to make it not work that way. :) Basically, I don't want the sub-sort. On the other hand, something may have gone wrong when sorting by the first field because the order didn't change at all -- it was like I never executed the command. I need to investigate that. Details: two fields, named "title" and "category". Sort by field "category", works. Later on, sort by field "title" -- no change. I tried this: sort cards by random(10000) -- mix them up sort cards by field "title" also: sort cards numeric by the short ID of this card -- put them back in natural order sort cards by field "title" Nope, except for once. I don't know why it worked only once. I'll poke around, but the question still stands for reference: how do we avoid the sub-sort? Maybe one of the two examples above is the way. On 12/30/21 9:25 AM, Alex Tweedly via use-livecode wrote: > You shouldn't need to ignore the previous sort. The second sort over-rides the first; it's only > when looking at those cards which have the same value for the second field that the previous > sorting applies. > > So if we have > > A2 B1 A1 C3 > > If we sort by char 2 of each, we would get    B1 A1 A2 C3 (nb - all with a 1, then all with a > 2, ...) > > and THEN sort by char 1 of each, we get   A1 A2 B1 C3 (all A then all B then all ..., ) > > If we have A2 B1 A1 C3 and sort by char 1 of each, we get A2 A1 B1 C3 (all As before Bs, ... > and within the As they remain in the same order as they were). > > Hmmm - not sure if that's clear or not. > > Other way to think of it : a stable sort means that items which have matching keys remain in > the same relative position. > > Alex > > (P.S. you're perhaps mixing up "first" and "second" - if want them "properly" sorted, you do > the less important one (minor) first, then the major one. Hope that doesn't muddy it any more.) > > > On 30/12/2021 06:41, J. Landman Gay via use-livecode wrote: >> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it >> retains the original sort and does a sub-sort. I don't want that. What's the best way to >> ignore the previous sort order? >> >> I've tried a number of things with no luck. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Thu Dec 30 14:42:04 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 30 Dec 2021 14:42:04 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: I would hope that would be the behavior. It would also make it harder for your stack to get borked by someone else. If I was trying to break that behavior I would try to put the code into a variable, encrypt the variable using the password, then set the script of the object to the encrypted version, although I don't know what algorithm LC is using. On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Folks, > > Today I found out that if I put a password on my stack, any code that sets > the script of an object in that stack receives an execution error when > running as standalone. > > Why is this so? > > And is there a workaround? > > Thanks, > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 jacque at hyperactivesw.com Thu Dec 30 14:45:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2021 13:45:22 -0600 Subject: Only kinda OT In-Reply-To: References: <17e073b3db0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8ca5e469-886f-62a5-2752-0be99cf4161c@hyperactivesw.com> You're supposed to put a piece of cardboard over the right side of the screen when viewing YouTube. Solves everything. It was funny, when I watched the video the first time my reaction was "huh??" And then I remembered the title and everything clicked into place and I thought it was hysterically funny. As you age you lose a synapse or two... Oh, and thanks just heaps for the other references, now I'll have to go look. :P On 12/29/21 3:54 PM, Mark Smith wrote: > Oh Jacque, it may have been short but then there was the tantalizing link to Ray Dalio’s Last Warning: “Most People have no idea what’s coming”. And then the one about the “Most Powerful Computers you never heard of”. Oh, and the MIT study that predicted that Society will collapse in 2040 (this was very evidence based and used real simulation models… cool!!) And who could resist an Elon Musk vid on how he has "FINALLY Revealed the Artificial Gravity Starship". C'mmon, I know you wanna go watch it 😊 > > So while yours may have been short, the round trip down the rabbit hole probably was at least an hour — but I am more now edumacated, and wiser 😄 > > Now, what was that original link about again? 😂 > >> On Dec 29, 2021, at 5:27 PM, J. Landman Gay via use-livecode wrote: >> >> It's short: >> >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu Dec 30 15:19:30 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 12:19:30 -0800 Subject: Sorting cards In-Reply-To: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: jacqui jagged, >What's the best way to ignore the previous sort order? I think what you’re looking at here isn’t even livecode itself. Just about any computer sort doesn’t change the order of two objects that “tie” during a sort—whichever was first, remains first. I think you’re going to need to store the original order. Or add a field or property of original_order, with the card number. Then you could sort by *that* to restore the order before going to your second field. From jerry at jhjensen.com Thu Dec 30 15:26:28 2021 From: jerry at jhjensen.com (Jerry Jensen) Date: Thu, 30 Dec 2021 12:26:28 -0800 Subject: Sorting cards In-Reply-To: References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: Behold the new keyword undoSort > On Dec 30, 2021, at 12:19 PM, doc hawk via use-livecode wrote: > > > jacqui jagged, > >> What's the best way to ignore the previous sort order? > > I think what you’re looking at here isn’t even livecode itself. > > Just about any computer sort doesn’t change the order of two objects that “tie” > during a sort—whichever was first, remains first. > > I think you’re going to need to store the original order. > > Or add a field or property of original_order, with the card number. Then you > could sort by *that* to restore the order before going to your second field. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 30 15:46:48 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 30 Dec 2021 15:46:48 -0500 Subject: apns/content-available Message-ID: Has anyone messed with using the content-available dictionary key with APNS to cause your app to wake up and process your payload? From cubist at aol.com Thu Dec 30 15:52:29 2021 From: cubist at aol.com (Quentin Long) Date: Thu, 30 Dec 2021 20:52:29 +0000 (UTC) Subject: Sorting cards In-Reply-To: References: Message-ID: <1755594361.226795.1640897549937@mail.yahoo.com> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does  > stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains  > the original sort and does a sub-sort. I don't want that. What's the best way to ignore the  > previous sort order? Hmmm… how about this? 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. From alex at tweedly.net Thu Dec 30 16:02:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 30 Dec 2021 21:02:56 +0000 Subject: Sorting cards In-Reply-To: <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> Message-ID: <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> On 30/12/2021 19:38, J. Landman Gay via use-livecode wrote: > Thanks for the reply. I understand how it works, my question is how to > make it not work that way. :) Basically, I don't want the sub-sort. The 'sub-sort' will only have any effect if there are cards with identical values for the "title" field; if teh titles are unique, then previous sorts will be totally irrelevant. If there are duplicate values in the title field, then those cards will remain in the same relative orderas they were before that sort; if that's not desired, then you could do either of the versions you included below - either randomize or put back into original (ID) order first. > > On the other hand, something may have gone wrong when sorting by the > first field because the order didn't change at all -- it was like I > never executed the command. I need to investigate that. > Yeah, it sounds like that's the problem. > [ .... ] Nope, except for once. I don't know why it worked only once. > I'll poke around, but the question still stands for reference: how do > we avoid the sub-sort? Maybe one of the two examples above is the way. > Short answer: you don't, you can't. :-) When you "sort by field title" you are going to get stable order for those cards with identical titles. You can control the fine detail of that (obscure corner?) case by pre-sorting appropriately - either random, or short ID, or category, or .... Alex. From prothero at earthlearningsolutions.org Thu Dec 30 16:14:19 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 30 Dec 2021 13:14:19 -0800 Subject: Sorting cards In-Reply-To: <1755594361.226795.1640897549937@mail.yahoo.com> References: <1755594361.226795.1640897549937@mail.yahoo.com> Message-ID: It might be less work to just implement your own sorting code. I’ve found them pretty easy to implement. A bubble sort is very simple, but inefficient for a large number of items to sort. If you have a lot of cards, you would want to use a more efficient algorithm. Check out the link below if you are interested. https://en.wikipedia.org/wiki/Sorting_algorithm Good luck, Bill P Sent from my iPad > On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode wrote: > > sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains >> the original sort and does a sub-sort. I don't want that. What's the best way to ignore the >> previous sort order? > > Hmmm… how about this? > 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. > If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". > > "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Dec 30 16:25:46 2021 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 30 Dec 2021 13:25:46 -0800 Subject: Sorting cards In-Reply-To: References: Message-ID: <34951B8A-0843-404C-9232-D3BE94C45810@earthlearningsolutions.org> Actually, I like Jackie’s idea better. Make an array for each of the parameters to be sorted on. Then sort each of the arrays. You can access each card in the sorted order by referring to the card ID in the sorted array. Or you could put each card identifier in a text line with commas between each item and sort on item # of the lines. Hope this makes sense. Bill P Easy peasy. Best, Bill P Sent from my iPad > On Dec 30, 2021, at 1:15 PM, William Prothero via use-livecode wrote: > > It might be less work to just implement your own sorting code. I’ve found them pretty easy to implement. A bubble sort is very simple, but inefficient for a large number of items to sort. If you have a lot of cards, you would want to use a more efficient algorithm. Check out the link below if you are interested. > > https://en.wikipedia.org/wiki/Sorting_algorithm > > Good luck, > Bill P > > Sent from my iPad > >>> On Dec 30, 2021, at 12:53 PM, Quentin Long via use-livecode wrote: >>> >> sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort cards by one of two fields. LC does >>> stable sorts, so if I sort by field 1 it works, and then if I sort later by field 2 it retains >>> the original sort and does a sub-sort. I don't want that. What's the best way to ignore the >>> previous sort order? >> >> Hmmm… how about this? >> 1. Give each card a custom property, call it "SortValue" or some such.2. *Before* the first sort: Go thru each card and set the SortValue of each card to an integer, incrementing the number by 1 with each new card.3. *After* the first sort: Do a new sort, by the SortValue of each card. This should get the former order of the cards back. >> If you do this, you can obviously re-assign the card-values of SortValue at any time, hence you can restore any arbitrary card-order you want with a fresh "sort by SortValue of each card". >> >> "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 30 16:33:35 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 16:33:35 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: Hmmm....I hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder for > your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code into a > variable, encrypt the variable using the password, then set the script of > the object to the encrypted version, although I don't know what algorithm > LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code that > sets > > the script of an object in that stack receives an execution error when > > running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From dochawk at gmail.com Thu Dec 30 16:41:53 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 13:41:53 -0800 Subject: Sorting cards In-Reply-To: <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> <3d6a48be-1f71-24d5-b1b6-49c569a0b2e2@tweedly.net> <1d78a552-b21a-2d63-49b5-b8b4ab78fabd@hyperactivesw.com> <9def83d3-a8b5-16dd-b996-88b1cf523928@tweedly.net> Message-ID: If you’re working on the original stack and not a duplicate, I suppose you could always kill -9 Livecode before it saves . . . From dochawk at gmail.com Thu Dec 30 16:44:33 2021 From: dochawk at gmail.com (doc hawk) Date: Thu, 30 Dec 2021 13:44:33 -0800 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: <00B909A6-A7C7-4B19-A10D-AA51D23ED288@gmail.com> tom trilled, > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. Now I’m wondering . . . can you set the behavior of the object in the protected stack to a button in an unencrypted stack? From rdimola at evergreeninfo.net Thu Dec 30 16:54:24 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 30 Dec 2021 16:54:24 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: Message-ID: <003301d7fdc7$d2364450$76a2ccf0$@net> I thought for a standalone if you "set the passKey of stack "x" to "y" you will be able to modify scripts. This will only be in ram. If your standalone saves the stack then do "set the password of stack to "y" before saving. If someone is scraping ram memory then you have a problem, but if someone is scraping memory you have bigger problems. 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 Tom Glod via use-livecode Sent: Thursday, December 30, 2021 4:34 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: Is it normal to not be able to set script of objects in an encrypted stack? Hmmm....I hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder > for your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code > into a variable, encrypt the variable using the password, then set the > script of the object to the encrypted version, although I don't know > what algorithm LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code > > that > sets > > the script of an object in that stack receives an execution error > > when running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 30 18:18:45 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 30 Dec 2021 18:18:45 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: <003301d7fdc7$d2364450$76a2ccf0$@net> References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Hey guys, while this is interesting to know and think about ..... i solved my problem by not needing to set the script. Thanks for taking time On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought for a standalone if you "set the passKey of stack "x" to "y" you > will be able to modify scripts. This will only be in ram. If your > standalone > saves the stack then do "set the password of stack to "y" before saving. If > someone is scraping ram memory then you have a problem, but if someone is > scraping memory you have bigger problems. > > 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 Tom Glod via use-livecode > Sent: Thursday, December 30, 2021 4:34 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Is it normal to not be able to set script of objects in an > encrypted stack? > > Hmmm....I hear you, that makes sense. > > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. > > Thanks MIke. > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I would hope that would be the behavior. It would also make it harder > > for your stack to get borked by someone else. > > If I was trying to break that behavior I would try to put the code > > into a variable, encrypt the variable using the password, then set the > > script of the object to the encrypted version, although I don't know > > what algorithm LC is using. > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Folks, > > > > > > Today I found out that if I put a password on my stack, any code > > > that > > sets > > > the script of an object in that stack receives an execution error > > > when running as standalone. > > > > > > Why is this so? > > > > > > And is there a workaround? > > > > > > Thanks, > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > 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 > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Fri Dec 31 01:05:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Dec 2021 00:05:40 -0600 Subject: Sorting cards In-Reply-To: References: <472ae15a-e056-2fee-1649-c3aae1f41d33@hyperactivesw.com> Message-ID: Thanks for all the ideas, guys. I seem to get the most consistent results if I sort by the short ID of each card and then follow that with the sort for category or title. Because the data was imported from a text file, the original order is the order of the card IDs. What threw me originally is that some cards don't sort in the order I expect. A category that starts with B is sorted before a category that starts with A. I assume the categories retain their original order when they collect matching cards. A few cards with blank categories sort to the front (good) but when sorted by title they remain at the front even though the titles all start with "The". That's okay because they are summary cards that should be at the front, but I'm not sure why they stay there during an alphabetical title sort instead of moving to the Ts. I didn't find any leading spaces or invisible characters. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andreas.bergendal at gmail.com Fri Dec 31 09:01:39 2021 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 31 Dec 2021 15:01:39 +0100 Subject: Invalid mac/ios standalone engine file Message-ID: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> Hi all, So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded my Mac to Monterey (12.1) and Xcode to 13.2.1. I now want to build an iOS15 version of my app and upload to AppStore, to prevent the crashing that has occurred for users with the iOS14 version. Everything works fine in the Simulator (iOS15.2), but when I try to build the standalone for upload, I get the error message: ”There was an error while saving the standalone application invalid mac/ios standalone engine file” It still actually builds the app, but I’m afraid of uploading it to AppStore after such an error message. I have so far done the following: - Using macOS Monterey 12.1 - Using Xcode 13.2.1 - Selected Xcode 13.2.1 in the Command Line Tools section in Xcode - Reinstalled the Command Line Tools just in case (following hint in the Forum) - Using LiveCode 9.6.6 rc1 (Pro) - Selected the correct path in LC to Xcode 13.2.1, green-lighted - Turned the Mac off, and on again... With a development provisioning profile everything works fine when deploying to the Simulator. With a development provisioning profile the error message appears and it doesn’t deploy to my physical device (iPhone X, iOS 15.2). With a distribution provisioning profile the error message appears when building a standalone. All certificates and provisioning profiles are valid. Why, oh why, does it not work? Hoping for a solution before the New Year! :) Wishing you all a Happy New Coding Year 2022! /Andreas From merakosp at gmail.com Fri Dec 31 10:33:16 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 31 Dec 2021 17:33:16 +0200 Subject: Invalid mac/ios standalone engine file In-Reply-To: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> References: <78606D89-8520-4271-BC94-9431E93D3681@gmail.com> Message-ID: Hello Andreas, What is the minimum deployment target in the iOS standalone settings? I suggest setting it to "9.0 or later". Kind regards, Panos -- On Fri, 31 Dec 2021 at 16:03, Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded > my Mac to Monterey (12.1) and Xcode to 13.2.1. > > I now want to build an iOS15 version of my app and upload to AppStore, to > prevent the crashing that has occurred for users with the iOS14 version. > > Everything works fine in the Simulator (iOS15.2), but when I try to build > the standalone for upload, I get the error message: > ”There was an error while saving the standalone application > invalid mac/ios standalone engine file” > > It still actually builds the app, but I’m afraid of uploading it to > AppStore after such an error message. > > I have so far done the following: > - Using macOS Monterey 12.1 > - Using Xcode 13.2.1 > - Selected Xcode 13.2.1 in the Command Line Tools section in Xcode > - Reinstalled the Command Line Tools just in case (following hint in the > Forum) > - Using LiveCode 9.6.6 rc1 (Pro) > - Selected the correct path in LC to Xcode 13.2.1, green-lighted > - Turned the Mac off, and on again... > > With a development provisioning profile everything works fine when > deploying to the Simulator. > With a development provisioning profile the error message appears and it > doesn’t deploy to my physical device (iPhone X, iOS 15.2). > With a distribution provisioning profile the error message appears when > building a standalone. > > All certificates and provisioning profiles are valid. > > Why, oh why, does it not work? > > Hoping for a solution before the New Year! :) > Wishing you all a Happy New Coding Year 2022! > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andreas.bergendal at gmail.com Fri Dec 31 11:10:00 2021 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Fri, 31 Dec 2021 17:10:00 +0100 Subject: Invalid mac/ios standalone engine file Message-ID: Hi Panos, I had set the minimum deployment target to 15.0 or later. Changing it to 9.0 or later solved the problem! The new standalone was successfully deployed to device, as well as submitted for review on AppStore. I got this warning feedback (on top of the traditional "ITMS-90078: Missing Push Notification Entitlement”): "ITMS-90683: Missing Purpose String in Info.plist” As the app does not "access sensitive user data” I hope that warning too can safely be ignored. Or should I always fill in the App Tracking Transparency field in the standalone settings, even if not relevant? Anyway, many thanks for you swift and helpful reply Panos - I wish an especially Happy New Year to you! /Andreas From merakosp at gmail.com Fri Dec 31 11:23:44 2021 From: merakosp at gmail.com (panagiotis m) Date: Fri, 31 Dec 2021 18:23:44 +0200 Subject: Invalid mac/ios standalone engine file In-Reply-To: References: Message-ID: Hello Andreas, You're welcome. RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a warning, it can be ignored for now. >>>>*Or should I always fill in the App Tracking Transparency field in the standalone settings, even if not relevant?* Nope, you should fill in this field only if your app tracks user activity among other apps/websites. Have a happy new year :) Cheers, Panos -- On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > I had set the minimum deployment target to 15.0 or later. Changing it to > 9.0 or later solved the problem! > > The new standalone was successfully deployed to device, as well as > submitted for review on AppStore. > > I got this warning feedback (on top of the traditional "ITMS-90078: > Missing Push Notification Entitlement”): > "ITMS-90683: Missing Purpose String in Info.plist” > > As the app does not "access sensitive user data” I hope that warning too > can safely be ignored. > Or should I always fill in the App Tracking Transparency field in the > standalone settings, even if not relevant? > > Anyway, many thanks for you swift and helpful reply Panos - I wish an > especially Happy New Year to you! > > /Andreas > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jmac at consensustech.com Fri Dec 31 11:51:09 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Fri, 31 Dec 2021 08:51:09 -0800 Subject: Invalid mac/ios standalone engine file In-Reply-To: References: Message-ID: Andreas/Panos, So glad you asked/answered. I’ve been putting off the Monterey update as I was afraid I wouldn’t be able to successfully build and deploy. Sounds safe to do as at least 1 person has had success. Happy New Year. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Dec 31, 2021, at 8:25 AM, panagiotis m via use-livecode wrote: > > Hello Andreas, > > You're welcome. > > RE "ITMS-90683: Missing Purpose String in Info.plist”, since it is a > warning, it can be ignored for now. > >>>>> *Or should I always fill in the App Tracking Transparency field in the > standalone settings, even if not relevant?* > Nope, you should fill in this field only if your app tracks user activity > among other apps/websites. > > Have a happy new year :) > > Cheers, > Panos > -- > > > > >> On Fri, 31 Dec 2021 at 18:11, Andreas Bergendal via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hi Panos, >> >> I had set the minimum deployment target to 15.0 or later. Changing it to >> 9.0 or later solved the problem! >> >> The new standalone was successfully deployed to device, as well as >> submitted for review on AppStore. >> >> I got this warning feedback (on top of the traditional "ITMS-90078: >> Missing Push Notification Entitlement”): >> "ITMS-90683: Missing Purpose String in Info.plist” >> >> As the app does not "access sensitive user data” I hope that warning too >> can safely be ignored. >> Or should I always fill in the App Tracking Transparency field in the >> standalone settings, even if not relevant? >> >> Anyway, many thanks for you swift and helpful reply Panos - I wish an >> especially Happy New Year to you! >> >> /Andreas >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Dec 31 13:38:55 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 31 Dec 2021 13:38:55 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Glad you solved it, but as long as we're throwing ideas around, you should be able to have a script of a button use do, so you really can have it do anything. You would just put the script into a variable, make the variable global, and have the button do the variable. On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hey guys, while this is interesting to know and think about ..... i solved > my problem by not needing to set the script. > > Thanks for taking time > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > you > > will be able to modify scripts. This will only be in ram. If your > > standalone > > saves the stack then do "set the password of stack to "y" before saving. > If > > someone is scraping ram memory then you have a problem, but if someone is > > scraping memory you have bigger problems. > > > > 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 Tom Glod via use-livecode > > Sent: Thursday, December 30, 2021 4:34 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Re: Is it normal to not be able to set script of objects in an > > encrypted stack? > > > > Hmmm....I hear you, that makes sense. > > > > On the flip side, as soon as I want to set the script of a button, I'm > > doomed to have my code remain readable. I gotta think of a workaround for > > why I was setting the script to begin with. > > > > Thanks MIke. > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I would hope that would be the behavior. It would also make it harder > > > for your stack to get borked by someone else. > > > If I was trying to break that behavior I would try to put the code > > > into a variable, encrypt the variable using the password, then set the > > > script of the object to the encrypted version, although I don't know > > > what algorithm LC is using. > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > Hi Folks, > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > that > > > sets > > > > the script of an object in that stack receives an execution error > > > > when running as standalone. > > > > > > > > Why is this so? > > > > > > > > And is there a workaround? > > > > > > > > Thanks, > > > > > > > > -- > > > > Tom Glod > > > > Founder & Developer > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > Mobile:647.562.9411 > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Fri Dec 31 20:38:42 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 31 Dec 2021 20:38:42 -0500 Subject: Is it normal to not be able to set script of objects in an encrypted stack? In-Reply-To: References: <003301d7fdc7$d2364450$76a2ccf0$@net> Message-ID: Hey Mike, Good thinking.... that is indeed a great idea for workaround for this problem. Thank you, will put that in my back pocket for the future. Happy New Year everyone!!! On Fri, Dec 31, 2021 at 1:40 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Glad you solved it, but as long as we're throwing ideas around, you should > be able to have a script of a button use do, so you really can have it do > anything. You would just put the script into a variable, make the variable > global, and have the button do the variable. > > On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hey guys, while this is interesting to know and think about ..... i > solved > > my problem by not needing to set the script. > > > > Thanks for taking time > > > > > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > > you > > > will be able to modify scripts. This will only be in ram. If your > > > standalone > > > saves the stack then do "set the password of stack to "y" before > saving. > > If > > > someone is scraping ram memory then you have a problem, but if someone > is > > > scraping memory you have bigger problems. > > > > > > 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 Tom Glod via use-livecode > > > Sent: Thursday, December 30, 2021 4:34 PM > > > To: How to use LiveCode > > > Cc: Tom Glod > > > Subject: Re: Is it normal to not be able to set script of objects in an > > > encrypted stack? > > > > > > Hmmm....I hear you, that makes sense. > > > > > > On the flip side, as soon as I want to set the script of a button, I'm > > > doomed to have my code remain readable. I gotta think of a workaround > for > > > why I was setting the script to begin with. > > > > > > Thanks MIke. > > > > > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > I would hope that would be the behavior. It would also make it harder > > > > for your stack to get borked by someone else. > > > > If I was trying to break that behavior I would try to put the code > > > > into a variable, encrypt the variable using the password, then set > the > > > > script of the object to the encrypted version, although I don't know > > > > what algorithm LC is using. > > > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > Hi Folks, > > > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > > that > > > > sets > > > > > the script of an object in that stack receives an execution error > > > > > when running as standalone. > > > > > > > > > > Why is this so? > > > > > > > > > > And is there a workaround? > > > > > > > > > > Thanks, > > > > > > > > > > -- > > > > > Tom Glod > > > > > Founder & Developer > > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > > Mobile:647.562.9411 > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > > > > > -- > > > > 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 > > > > > > > > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jiml at netrin.com Fri Dec 31 21:02:20 2021 From: jiml at netrin.com (Jim Lambert) Date: Fri, 31 Dec 2021 18:02:20 -0800 Subject: Happy New Year! In-Reply-To: References: Message-ID: <17012BDA-A77B-4D49-86F3-18E447A2FAC6@netrin.com> A very Happy, Prosperous and Safe 2022 to all! Jim Lambert From chipsm at themartinz.com Fri Dec 31 21:23:10 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Sat, 1 Jan 2022 02:23:10 +0000 Subject: I wish all a Happy & Prosperous New year Message-ID: Back at you Jim. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: (626)696-5561