From dvglasgow at gmail.com Thu Apr 1 12:49:03 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 1 Apr 2021 17:49:03 +0100 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: References: Message-ID: Hi folks, I am thinking about an app to create a 'star score' graphic for any given score/maximum value. I don?t want it to be just integers up to the number of stars, but for one for the stars (if mean score is neither zero or the maximum) to be part golden and part grey. I initially thought this would be straightforward but I am now scratching my head. I was wondering whether there is an ink combination of two graphics (star and ?screen?) which would allow the covered part of the star to appear grey but the card bg behind the screen to be unaffected. Please assume I really don?t understand inks at all. If that isn?t going to work, any other suggestions? Best Wishes, David G From bobsneidar at iotecdigital.com Thu Apr 1 12:59:16 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Apr 2021 16:59:16 +0000 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: References: Message-ID: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> I think what I would do is have 2 locked groups of stars overlaying each other. The back one the stars would be gray, and to top one whatever color you want. To register a value simply change the right of the top group to any value you want, to obscure the gray stars underneath. Bob S On Apr 1, 2021, at 9:49 AM, David V Glasgow via use-livecode > wrote: Hi folks, I am thinking about an app to create a 'star score' graphic for any given score/maximum value. I don?t want it to be just integers up to the number of stars, but for one for the stars (if mean score is neither zero or the maximum) to be part golden and part grey. I initially thought this would be straightforward but I am now scratching my head. I was wondering whether there is an ink combination of two graphics (star and ?screen?) which would allow the covered part of the star to appear grey but the card bg behind the screen to be unaffected. Please assume I really don?t understand inks at all. If that isn?t going to work, any other suggestions? Best Wishes, David G From bobsneidar at iotecdigital.com Thu Apr 1 13:00:43 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Apr 2021 17:00:43 +0000 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> References: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> Message-ID: Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. Bob S On Apr 1, 2021, at 9:59 AM, Bob Sneidar > wrote: I think what I would do is have 2 locked groups of stars overlaying each other. The back one the stars would be gray, and to top one whatever color you want. To register a value simply change the right of the top group to any value you want, to obscure the gray stars underneath. Bob S On Apr 1, 2021, at 9:49 AM, David V Glasgow via use-livecode > wrote: Hi folks, I am thinking about an app to create a 'star score' graphic for any given score/maximum value. I don?t want it to be just integers up to the number of stars, but for one for the stars (if mean score is neither zero or the maximum) to be part golden and part grey. I initially thought this would be straightforward but I am now scratching my head. I was wondering whether there is an ink combination of two graphics (star and ?screen?) which would allow the covered part of the star to appear grey but the card bg behind the screen to be unaffected. Please assume I really don?t understand inks at all. If that isn?t going to work, any other suggestions? Best Wishes, David G From ambassador at fourthworld.com Thu Apr 1 13:59:20 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Apr 2021 10:59:20 -0700 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: References: Message-ID: <9b688f7e-ddc7-e5f9-9df7-74e2be18a5a4@fourthworld.com> Good morning, Charles - Thank you for your assistance, and your offer to look into it. TL/DR: As work progresses I'm increasingly convinced this isn't a client-side issue at all, but a side-effect of how LC Server's insistence on loading fonts that aren't needed triggers some host's CGI resource constraints. The tsNet part of this fits that hypothesis: the HTTP version assumption is happening because the data coming back is literally 0 length - there's nothing there, fitting a pattern I've seen before on this host when CGIs are cut off. At the moment I think I have a handle on the situation, and a plan for addressing it. If I'm going to take advantage of your expertise let me queue up those points for when I truly need them. :) More complete: I found that this was only happening when two calls are made to the server within a short span of time, usually when first downloading a stack and then the stack requests the data it uses to display for the user. Simply putting a pause of just under 2 secs between the stack download and its request for data has at least allowed users to get back to work. I'm reluctant to pester DH support for more details on how their resource constraints are so frequently triggered by LC Server because I became familiar with the issue after spending weeks with them diagnosing an issue a few years ago, and I don't want them to think of LC as a problem and ban it altogether. Part of what I learned from that experience was a workaround Mark Waddingham and Peter Brett came up with, essentially tricking LC Server into using a local folder with just one font instead of the whole set of system fonts. Where I've used that workaround on Dreamhost everything's run well (indeed LiveCodeJournal.com uses it for every page and its performance is indistinguishable from static pages). For myself, I have other reasons to migrate the app to a VPS, and we're provisioning one soon. Shared hosting is great for low-value low-traffic stuff, but with VPSes priced on par these days it's the better choice when predictable loads are useful. My LiveCode, the language is so well suited for server work (chunk expression make short work of most of what we do on servers), it's a shame to see LC's performance and sometimes reputation take a hit by a loading sequence that favors initializing fonts that are never used by 99+% of scripts. Hopefully one day BZ#14115 will be addressed, and LC can be used with all the beautiful efficiency it's capable of. DH is a popular host, and I've seen this occasionally on at least one other shared hosting company before using the workaround. So this isn't just a Dreamhost issue, and may show itself at just about any time on perhaps any shared host that's successful enough to have resource constraints. In the meantime, for those who enjoy server admin there are always VPSes. -- Richard Gaskin Fourth World Systems Charles Warwick wrote: > ?Hi Richard, > > The curl version that is used in tsNet is regularly updated. The latest version of tsNet is using curl 7.74.0. > > My understanding of that particular issue is that if the first data line that is received back from the HTTP server doesn't match an appropriate response, it will assume HTTP/0.9. > > Is there a test URL you can post that shows this problem so I can see what is coming back from the server? Can you post what you are getting in the libURL debug? > > Also, have you tried a version of LC that has a different version of tsNet included - just in case this happens to be a new bug in the curl library. > > Thanks, > > Charles > >> On 1 Apr 2021, at 10:37 am, Richard Gaskin wrote: >> >> ?Matthias wrote: >> >>> was there a change in the configuration of your web server recently? >>> Is your web service using php or LC server? >> >> LC Server. Hosting likely had changes, since this app has been in production for a long time without issue. >> >> I believe the change most significant here is business success: Dreamhost apparently has a lot of customers and runs pretty packed shared servers these days (reason #48 why I prefer VPSes). I'm guessing part of this is a noisy neighbor problem. >> >> But I'd guess at least some of this is the interaction between Dreamhost's resource quotas and LC's wasteful boot process, in which most of the resources it consumes are for font init that I'd guess 99.9% of server scripts never need: >> https://quality.livecode.com/show_bug.cgi?id=14115 >> >> Another contributing factor may be the curl version tsNet has embedded. Some of the discussions I came across reference older curl versions that assume HTTP 0.9 by default and misreport that under certain error conditions if header info isn't parsed just so. >> >> Is tsNet's curl version documented somewhere? >> Does LC keep tsNet updated with the latest curl with each release? >> >> >>> I am not sure if this is of help, but there is a debug stack >>> available for tsNET. Maybe the debug information gives you >>> some more information. >>> https://downloads.techstrategies.com.au/tsnet/debug_liburl.livecode >> >> Thanks. It's using libURLSetStatusCallback and libURLSetLogField, so it's more or less like the one I'd already built into my tooling. >> >> -- >> 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 rdimola at evergreeninfo.net Thu Apr 1 14:38:23 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 1 Apr 2021 14:38:23 -0400 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: <9b688f7e-ddc7-e5f9-9df7-74e2be18a5a4@fourthworld.com> References: <9b688f7e-ddc7-e5f9-9df7-74e2be18a5a4@fourthworld.com> Message-ID: <006501d72726$35b0f8f0$a112ead0$@net> Richard, I also have a problem when requests come too fast. This might be related? I'm on an on-rev server. My problem was that using sessions caused the LC server to choke about 50% of the time when sending back-to-back requests. I confirmed this when stress testing by sending 2 or more requests to LC server from the from the QCC demo client stack back-to-back. I'm wondering if these two are connected? https://quality.livecode.com/show_bug.cgi?id=22560 I want to use LC Server sessions for some website work but am reluctant to do so because if 2 users happen to hit the server too close together then LC server locks up for any future requests that uses sessions. If you find a solution I'll be interested to see if it helps me also. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Thursday, April 01, 2021 1:59 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: "tsnet (1) Received HTTP/0.9 when not allowed"? Good morning, Charles - Thank you for your assistance, and your offer to look into it. TL/DR: As work progresses I'm increasingly convinced this isn't a client-side issue at all, but a side-effect of how LC Server's insistence on loading fonts that aren't needed triggers some host's CGI resource constraints. The tsNet part of this fits that hypothesis: the HTTP version assumption is happening because the data coming back is literally 0 length - there's nothing there, fitting a pattern I've seen before on this host when CGIs are cut off. At the moment I think I have a handle on the situation, and a plan for addressing it. If I'm going to take advantage of your expertise let me queue up those points for when I truly need them. :) More complete: I found that this was only happening when two calls are made to the server within a short span of time, usually when first downloading a stack and then the stack requests the data it uses to display for the user. Simply putting a pause of just under 2 secs between the stack download and its request for data has at least allowed users to get back to work. I'm reluctant to pester DH support for more details on how their resource constraints are so frequently triggered by LC Server because I became familiar with the issue after spending weeks with them diagnosing an issue a few years ago, and I don't want them to think of LC as a problem and ban it altogether. Part of what I learned from that experience was a workaround Mark Waddingham and Peter Brett came up with, essentially tricking LC Server into using a local folder with just one font instead of the whole set of system fonts. Where I've used that workaround on Dreamhost everything's run well (indeed LiveCodeJournal.com uses it for every page and its performance is indistinguishable from static pages). For myself, I have other reasons to migrate the app to a VPS, and we're provisioning one soon. Shared hosting is great for low-value low-traffic stuff, but with VPSes priced on par these days it's the better choice when predictable loads are useful. My LiveCode, the language is so well suited for server work (chunk expression make short work of most of what we do on servers), it's a shame to see LC's performance and sometimes reputation take a hit by a loading sequence that favors initializing fonts that are never used by 99+% of scripts. Hopefully one day BZ#14115 will be addressed, and LC can be used with all the beautiful efficiency it's capable of. DH is a popular host, and I've seen this occasionally on at least one other shared hosting company before using the workaround. So this isn't just a Dreamhost issue, and may show itself at just about any time on perhaps any shared host that's successful enough to have resource constraints. In the meantime, for those who enjoy server admin there are always VPSes. -- Richard Gaskin Fourth World Systems Charles Warwick wrote: > ?Hi Richard, > > The curl version that is used in tsNet is regularly updated. The latest version of tsNet is using curl 7.74.0. > > My understanding of that particular issue is that if the first data line that is received back from the HTTP server doesn't match an appropriate response, it will assume HTTP/0.9. > > Is there a test URL you can post that shows this problem so I can see what is coming back from the server? Can you post what you are getting in the libURL debug? > > Also, have you tried a version of LC that has a different version of tsNet included - just in case this happens to be a new bug in the curl library. > > Thanks, > > Charles > >> On 1 Apr 2021, at 10:37 am, Richard Gaskin wrote: >> >> ?Matthias wrote: >> >>> was there a change in the configuration of your web server recently? >>> Is your web service using php or LC server? >> >> LC Server. Hosting likely had changes, since this app has been in production for a long time without issue. >> >> I believe the change most significant here is business success: Dreamhost apparently has a lot of customers and runs pretty packed shared servers these days (reason #48 why I prefer VPSes). I'm guessing part of this is a noisy neighbor problem. >> >> But I'd guess at least some of this is the interaction between Dreamhost's resource quotas and LC's wasteful boot process, in which most of the resources it consumes are for font init that I'd guess 99.9% of server scripts never need: >> https://quality.livecode.com/show_bug.cgi?id=14115 >> >> Another contributing factor may be the curl version tsNet has embedded. Some of the discussions I came across reference older curl versions that assume HTTP 0.9 by default and misreport that under certain error conditions if header info isn't parsed just so. >> >> Is tsNet's curl version documented somewhere? >> Does LC keep tsNet updated with the latest curl with each release? >> >> >>> I am not sure if this is of help, but there is a debug stack >>> available for tsNET. Maybe the debug information gives you >>> some more information. >>> https://downloads.techstrategies.com.au/tsnet/debug_liburl.livecode >> >> Thanks. It's using libURLSetStatusCallback and libURLSetLogField, so it's more or less like the one I'd already built into my tooling. >> >> -- >> 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 marksmithhfx at gmail.com Thu Apr 1 14:44:00 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 1 Apr 2021 19:44:00 +0100 Subject: [ANN] New Book: Development Oriented Development In-Reply-To: References: Message-ID: <0B7B4114-9A61-413E-A5F6-57D05ECEB547@gmail.com> Hi Andre, thanks for this delightful and inspiring little book. Your ?Type Tool? in particular has spawned a whole range of ideas related to things I never thought could be accomplished so easily. Mark > On Mar 23, 2021, at 3:04 PM, Andre Garzia via use-livecode wrote: > > Hi Martin, > > Thanks a ton for the kind words and feedback. Your message makes me quite > happy because what you're describing is exactly the kind of experience that > I wanted to encourage when I wrote that book. Let us know how your plugin > writing goes :-) oh, I'm also interested in feedback for part 2 of that > book which is about project-focused tooling, if you have any thoughts about > it, I'd be keen to know more. > > Thanks! > > -- > https://www.andregarzia.com > > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 1 14:52:59 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 1 Apr 2021 14:52:59 -0400 Subject: [ANN] New Book: Development Oriented Development In-Reply-To: <0B7B4114-9A61-413E-A5F6-57D05ECEB547@gmail.com> References: <0B7B4114-9A61-413E-A5F6-57D05ECEB547@gmail.com> Message-ID: I gotta get on it and read it. Great reviews so far. On Thu, Apr 1, 2021 at 2:45 PM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Andre, thanks for this delightful and inspiring little book. Your ?Type > Tool? in particular has spawned a whole range of ideas related to things I > never thought could be accomplished so easily. > > Mark > > > On Mar 23, 2021, at 3:04 PM, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Martin, > > > > Thanks a ton for the kind words and feedback. Your message makes me quite > > happy because what you're describing is exactly the kind of experience > that > > I wanted to encourage when I wrote that book. Let us know how your plugin > > writing goes :-) oh, I'm also interested in feedback for part 2 of that > > book which is about project-focused tooling, if you have any thoughts > about > > it, I'd be keen to know more. > > > > Thanks! > > > > -- > > https://www.andregarzia.com < > http://www.andregarzia.com > > > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia < > https://ko-fi.com/andregarzia> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From paul at researchware.com Thu Apr 1 15:51:28 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 1 Apr 2021 15:51:28 -0400 Subject: Behaviors and scripts and a new handler structure... Message-ID: <10aac071-5d82-91f9-f189-4b40f8233194@researchware.com> I have increasingly been using behaviors in my applications where it makes sense to assign a script to multiple objects or to override the actions of existing script handlers by assign a behavior with different version of those handlers. The one thing I dislike about behaviors is all the objects I need to create (a button for this behavior another button for that behavior script and so on). I'd love to see a new LCS structure like the following: behavior end that you can just have in a script. Even multiple behaviors in the same script perhaps each with their own 'mouseUp' handlers and then you can set the behavior of an object to a behavior name and done. Obviously, any messages (i.e mouseDown, mouseUp, etc. etc.) in the behavior block should never received a mouseDown, mouseUp, etc. message unless sent to the object tat have the behavior assigned to it. I think it would make code maintenance potentially much easier. I don't have any idea how much of a engine change such a addition to the language would represent. Anyone else think this is a good idea? From ambassador at fourthworld.com Thu Apr 1 16:59:17 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 1 Apr 2021 13:59:17 -0700 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: <006501d72726$35b0f8f0$a112ead0$@net> References: <006501d72726$35b0f8f0$a112ead0$@net> Message-ID: <52e774a8-6123-c8a5-7ba4-28a821e78f62@fourthworld.com> Ralph DiMola wrote: > Richard, > > I also have a problem when requests come too fast. This might be > related? I'm on an on-rev server. My problem was that using sessions > caused the LC server to choke about 50% of the time when sending back- > to-back requests. I confirmed this when stress testing by sending 2 or > more requests to LC server from the from the QCC demo client stack > back-to-back. I'm wondering if these two are connected? > https://quality.livecode.com/show_bug.cgi?id=22560 Thanks, Ralph. I do use persistent session data, but in this app I use a custom store, not LC Server's session handling. That's an interesting report, though, and I've added myself to the CC there. This loading-fonts-unnecessarily issue seems to be more related to my circumstance: https://quality.livecode.com/show_bug.cgi?id=14115 I'll know more if I get a chance I put the funky-font-fix workaround in place, but TBH I'm more likely to just move the app to a VPS instead. So it'll be a question of making the time for a funky setup test, and while that might narrow down root causes it won't fix anything since it's unlikely to be addressed anytime soon: two community members who've looked at the engine code believe IF-DEFing the font init would be prohibitively cumbersome given the imported subsystems that would need it (like Skia), and the core team has other priorities. > I want to use LC Server sessions for some website work but am > reluctant to do so because if 2 users happen to hit the server > too close together then LC server locks up for any future requests > that uses sessions. How certain are you the issue you're seeing is specific to sessions? I've skimmed your report but haven't tested it, so forgive me if this should be obvious, but have you found any other circumstances where file I/0 may be the trigger, rather than session storage specifically? > If you find a solution I'll be interested to see > if it helps me also. If your issue is session-specific, I got nothing. If it may be general resource consumption (mostly memory), the funky-font-fix may do the trick. But setting it up is not for the feint of heart. If you're comfortable with bash I can provide instructions to try it. Kinda sad. LC's chunk expressions make our beloved language a nearly ideal fit for so many server tasks. General performance is more or less on par with Python and Ruby where CGI stuff has been a famously good fit- LC can do anything they can do, and with more readable code that's more enjoyable to write. But we need to tighten it up and bring down the resource consumption before I'll stake my reputation evangelizing it beyond the current community of LC diehards. -- 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 bobsneidar at iotecdigital.com Thu Apr 1 19:42:47 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 1 Apr 2021 23:42:47 +0000 Subject: Behaviors and scripts and a new handler structure... In-Reply-To: <10aac071-5d82-91f9-f189-4b40f8233194@researchware.com> References: <10aac071-5d82-91f9-f189-4b40f8233194@researchware.com> Message-ID: <7616939A-1B41-4D9A-A98D-539AA3203AB8@iotecdigital.com> I have already implemented this with the help of others, for Datagrids. I think it works already for other things. Bob S > On Apr 1, 2021, at 12:51 , Paul Dupuis via use-livecode wrote: > > I have increasingly been using behaviors in my applications where it makes sense to assign a script to multiple objects or to override the actions of existing script handlers by assign a behavior with different version of those handlers. > > The one thing I dislike about behaviors is all the objects I need to create (a button for this behavior another button for that behavior script and so on). > > I'd love to see a new LCS structure like the following: > > behavior > > > > end > > that you can just have in a script. Even multiple behaviors in the same script perhaps each with their own 'mouseUp' handlers and then you can set the behavior of an object to a behavior name and done. Obviously, any messages (i.e mouseDown, mouseUp, etc. etc.) in the behavior block should never received a mouseDown, mouseUp, etc. message unless sent to the object tat have the behavior assigned to it. > > I think it would make code maintenance potentially much easier. I don't have any idea how much of a engine change such a addition to the language would represent. > > Anyone else think this is a good idea? From rdimola at evergreeninfo.net Thu Apr 1 20:12:20 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 1 Apr 2021 20:12:20 -0400 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: <52e774a8-6123-c8a5-7ba4-28a821e78f62@fourthworld.com> References: <006501d72726$35b0f8f0$a112ead0$@net> <52e774a8-6123-c8a5-7ba4-28a821e78f62@fourthworld.com> Message-ID: <008601d72754$dc0cc700$94265500$@net> It is session specific. After 2 back-to-back requests to the LC server script that uses sessions 50% of the time you get into this state: 1) Any server request that attempts to create or use an existing session will lock up for 20-30 seconds and return empty. 2) Server requests that don't use sessions will continue to work. After you delete the lcsessions.idx file then all is back to normal until 2 or 3 requests using sessions come back-to-back. Very repeatable. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Thursday, April 01, 2021 4:59 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: "tsnet (1) Received HTTP/0.9 when not allowed"? Ralph DiMola wrote: > Richard, > > I also have a problem when requests come too fast. This might be > related? I'm on an on-rev server. My problem was that using sessions > caused the LC server to choke about 50% of the time when sending back- > to-back requests. I confirmed this when stress testing by sending 2 or > more requests to LC server from the from the QCC demo client stack > back-to-back. I'm wondering if these two are connected? > https://quality.livecode.com/show_bug.cgi?id=22560 Thanks, Ralph. I do use persistent session data, but in this app I use a custom store, not LC Server's session handling. That's an interesting report, though, and I've added myself to the CC there. This loading-fonts-unnecessarily issue seems to be more related to my circumstance: https://quality.livecode.com/show_bug.cgi?id=14115 I'll know more if I get a chance I put the funky-font-fix workaround in place, but TBH I'm more likely to just move the app to a VPS instead. So it'll be a question of making the time for a funky setup test, and while that might narrow down root causes it won't fix anything since it's unlikely to be addressed anytime soon: two community members who've looked at the engine code believe IF-DEFing the font init would be prohibitively cumbersome given the imported subsystems that would need it (like Skia), and the core team has other priorities. > I want to use LC Server sessions for some website work but am > reluctant to do so because if 2 users happen to hit the server > too close together then LC server locks up for any future requests > that uses sessions. How certain are you the issue you're seeing is specific to sessions? I've skimmed your report but haven't tested it, so forgive me if this should be obvious, but have you found any other circumstances where file I/0 may be the trigger, rather than session storage specifically? > If you find a solution I'll be interested to see > if it helps me also. If your issue is session-specific, I got nothing. If it may be general resource consumption (mostly memory), the funky-font-fix may do the trick. But setting it up is not for the feint of heart. If you're comfortable with bash I can provide instructions to try it. Kinda sad. LC's chunk expressions make our beloved language a nearly ideal fit for so many server tasks. General performance is more or less on par with Python and Ruby where CGI stuff has been a famously good fit- LC can do anything they can do, and with more readable code that's more enjoyable to write. But we need to tighten it up and bring down the resource consumption before I'll stake my reputation evangelizing it beyond the current community of LC diehards. -- 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 hlowe at me.com Fri Apr 2 02:58:38 2021 From: hlowe at me.com (HENRY LOWE) Date: Thu, 1 Apr 2021 23:58:38 -0700 Subject: TreeView Widget Drag and Drop Support In-Reply-To: References: <098CBE76-9748-48D5-A034-1EFD15FE7125@me.com> Message-ID: <08614420-5440-4D24-9E19-E95F02427E73@me.com> Many thanks Brian. As you suggested, I have created an enhancement request. https://quality.livecode.com/show_bug.cgi?id=23147 Henry > On Mar 31, 2021, at 3:32 PM, HENRY LOWE via use-livecode wrote: > > Thanks Brian. I am handling the ?on DragDrop? message in the widget?s script but on completing the drop there is no way to determine which row in the TreeView widget the data was dropped into. Ideally when in DragDrop mode the widget would automatically hilite the row that the mouse is currently over (standard drag and drop behavior) so that when the user finally releases the mouse button the row that was the drop target would be available in 'the hilitedElement? property of the widget. Currently I am having to try to determine which row was dropped on using the mouseLoc to calculate which row I am in. > > On the second issue, I tried using hiliteChanged message but could not get it to work. Do you have an example script to do this? > > Henry > >> On Mar 30, 2021, at 5:06 PM, Sean Cole (Pi) via use-livecode wrote: >> >> Hi Henry, >> >> I often take the widgets, like TreeView, and add in other message >> responders like this. It's real easy to do? >> >> Just make a copy of the widget folder from the LC Tools Folder >> (Livecode.app/Contents/Tools/Extensions/com.livecode.widget.treeview) and >> into your own Livecode extensions folder (mine is in ~/Documents/My >> LiveCode/Extensions/ or my dropbox folder somewhere). Rename the folder >> from com.livecode. to com.mine. or something. Then open treeview.lcb in >> BBEdit or TextEdit, etc, from the copy folder. Line 88, change widget >> com.livecode.widget.treeview to use the new folder name you gave. >> >> Next, search for 'onMouseUp'. you should find: >> >> public handler onMouseLeave() returns nothing >> put 0 into mHoverRow >> redraw all >> end handler >> >> Before that in the code, add in your other handlers (OnDragDrop, etc) using >> the same syntax. No need to use the put or redraw messages of course. Look >> in the dictionary, lcb section, to check the handler names to use. >> >> Then, open the manifest.xml from the same folder. Line 2, again >> change com.livecode.widget.treeview to use the new folder name >> and Line 3 to something a little more unique. Then again search for >> onmouseup. You will see: >> >> >> >> Again, follow the syntax adding in the lines for the handler. >> >> Look through the other files in the folder and change if you wish but it is >> not essential. >> >> Now in LC, open the extension builder and use the 'open existing..' button >> to navigate to the folder you created. Then, from the bottom, the install >> button will build it into the toolbar. >> >> Now you have a customised version. Make sure you add your replacement >> widget in the standaloneSettings>Inclusions before building your >> standalones. >> >> All the best >> >> Sean >> >> On Wed, 31 Mar 2021 at 00:26, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I am using the LC TreeView widget to implement a sidebar containing a >>> hierarchical menu in a MacOS app. The widget seems well suited for this >>> purpose and I have successfully created a facsimile of the standard sidebar >>> that is used increasingly in both MacOS and iPadOS apps. However, I need to >>> drag rows from a data grid table to a TreeView widget row in the sidebar >>> but the current implementation of the TreeView widget does not report the >>> TreeView widget row (element) where the drop occurred. A TreeView widget >>> message, such as 'ActionDragDrop pPath? where pPath is the path to the >>> element that was ?dropped on? would be incredibly helpful. I have >>> implemented a workaround method off drag and drop to the widget but it >>> occasionally breaks. >>> >>> Looking at the LiveCode Builder documentation, widgets can support the >>> following messages related to drag and drop functionality: >>> >>> OnDragDrop, On DragEnter, OnDragFinish, OnDragLeave, On DragMove, On >>> DragStart. >>> >>> These messages are not currently supported in the TreeView widget LCB >>> source. Adding them would make this incredibly useful widget even more >>> powerful. >>> >>> Another issue that I encountered when using the TreeView widget to >>> implement a sidebar hierarchical menu was that clicking on a row in the >>> TreeView widget toggles the row?s hilite state - click on an item and it >>> hilites, click on it again and it unhilites. While this may be standard >>> behavior for a list, in a menu clicking on a hilited row should not change >>> the row?s hilite state. It should remain hilited. Only clicking on another >>> row (menu item) should unhilite a row and then hilite the selected row. It >>> would be great to have a ?togglehilite? TreeView property. If true the >>> TreeView would toggle a row?s hilite state as it does now, while if false >>> it would not. >>> >>> Any thoughts? >>> >>> Henry >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 2 05:08:26 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 2 Apr 2021 10:08:26 +0100 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: References: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> Message-ID: <415606FC-EEAA-4B9E-BE4A-D24C75DF0D73@gmail.com> > On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode wrote: > > Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. > > Bob S > Thanks,Bob, but as I understand what you are saying, wouldn?t that only trade in whole stars? The easiest way to do that would be with icon switching - I want to have the last star part gold and part grey, (with a vertical boundary through the star) if that is what is demand by the mean feedback score being represented. I?m thinking perhaps icons will be the easiest way to go. Maybe 10 stars each representing a degree of ?goldness? and I will just set the stars Icons as required. Duh! Actually 11 stars, I will need a 0% gold. Thanks anyway Cheers David G From dvglasgow at gmail.com Fri Apr 2 09:14:57 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 2 Apr 2021 14:14:57 +0100 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: <415606FC-EEAA-4B9E-BE4A-D24C75DF0D73@gmail.com> References: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> <415606FC-EEAA-4B9E-BE4A-D24C75DF0D73@gmail.com> Message-ID: <6BE17C12-DAEB-4D72-BD79-D7682DD35035@gmail.com> Of course what you suggest is a perfect solution. Someone had to mail me off list and explain it using very small words. Cheers David G > On 2 Apr 2021, at 10:08 am, David V Glasgow wrote: > > > >> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode wrote: >> >> Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. >> >> Bob S >> > > > Thanks,Bob, but as I understand what you are saying, wouldn?t that only trade in whole stars? The easiest way to do that would be with icon switching - I want to have the last star part gold and part grey, (with a vertical boundary through the star) if that is what is demand by the mean feedback score being represented. > > I?m thinking perhaps icons will be the easiest way to go. Maybe 10 stars each representing a degree of ?goldness? and I will just set the stars Icons as required. Duh! Actually 11 stars, I will need a 0% gold. > > Thanks anyway > > Cheers > > David G From tom at makeshyft.com Fri Apr 2 16:54:47 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 2 Apr 2021 16:54:47 -0400 Subject: mouseenter/mouseleave and pointer tool In-Reply-To: <91A207E5-0789-457E-8488-F58B0374D2E7@netrin.com> References: <91A207E5-0789-457E-8488-F58B0374D2E7@netrin.com> Message-ID: Just working in LC now ...... I get it now.... scratch everything I said.....ever. :/ On Tue, Mar 30, 2021 at 10:04 PM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Good suggestions. Thanks, all. > Commenting out the answer command makes no difference. > I quit LC and now cannot reproduce the behavior as it is intermittent. > Next time it happens I'll try Scott's suggestions with the Tool Palette. > > Thanks, > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Fri Apr 2 17:26:08 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 2 Apr 2021 14:26:08 -0700 Subject: autohilite FUBAR? Message-ID: <90909a4f-2e2c-80b1-e31c-9c56c9e80dc5@fourthworld.com> I recently noticed that if you hold the mouse down on a button and move it, the button doesn't stay highlighted, but instead the highlight flashes. Anyone else seeing this? Anyone have a clue as to when it first went south? -- 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 chipsm at themartinz.com Fri Apr 2 17:52:37 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Fri, 2 Apr 2021 21:52:37 +0000 Subject: autohilite FUBAR? In-Reply-To: <90909a4f-2e2c-80b1-e31c-9c56c9e80dc5@fourthworld.com> References: <90909a4f-2e2c-80b1-e31c-9c56c9e80dc5@fourthworld.com> Message-ID: I tested this and it is true. As you move the Mouse across the button (in the mouse-Down) it does flash. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of Richard Gaskin via use-livecode Sent: Friday, April 02, 2021 2:26 PM To: How to use LiveCode Cc: Richard Gaskin Subject: autohilite FUBAR? I recently noticed that if you hold the mouse down on a button and move it, the button doesn't stay highlighted, but instead the highlight flashes. Anyone else seeing this? Anyone have a clue as to when it first went south? -- 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 mkoob at rogers.com Fri Apr 2 18:51:38 2021 From: mkoob at rogers.com (Martin Koob) Date: Fri, 2 Apr 2021 18:51:38 -0400 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: <6BE17C12-DAEB-4D72-BD79-D7682DD35035@gmail.com> References: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> <415606FC-EEAA-4B9E-BE4A-D24C75DF0D73@gmail.com> <6BE17C12-DAEB-4D72-BD79-D7682DD35035@gmail.com> Message-ID: <5634CC4D-D096-485E-81E7-3F3E0FC0EB87@rogers.com> Hi David If I understand what you want you could use the Segmented Control Widget to get what you want. https://livecode.com/livecode-widgets-the-segmented-control/ It just has full ratings, i.e. whole stars however in a comment to that tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode Builder Widget has 10 states (half-stars)" https://github.com/PaulMcClernan/community.livecode.widget.fivestars I think this would do what you need. You would need to install the widget in your IDE to use it. Martin > On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode wrote: > > Of course what you suggest is a perfect solution. > > Someone had to mail me off list and explain it using very small words. > > Cheers > > David G > >> On 2 Apr 2021, at 10:08 am, David V Glasgow wrote: >> >> >> >>> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode wrote: >>> >>> Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. >>> >>> Bob S >>> >> >> >> Thanks,Bob, but as I understand what you are saying, wouldn?t that only trade in whole stars? The easiest way to do that would be with icon switching - I want to have the last star part gold and part grey, (with a vertical boundary through the star) if that is what is demand by the mean feedback score being represented. >> >> I?m thinking perhaps icons will be the easiest way to go. Maybe 10 stars each representing a degree of ?goldness? and I will just set the stars Icons as required. Duh! Actually 11 stars, I will need a 0% gold. >> >> Thanks anyway >> >> 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 mkoob at rogers.com Fri Apr 2 18:57:42 2021 From: mkoob at rogers.com (Martin Koob) Date: Fri, 2 Apr 2021 18:57:42 -0400 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: <5634CC4D-D096-485E-81E7-3F3E0FC0EB87@rogers.com> References: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> <415606FC-EEAA-4B9E-BE4A-D24C75DF0D73@gmail.com> <6BE17C12-DAEB-4D72-BD79-D7682DD35035@gmail.com> <5634CC4D-D096-485E-81E7-3F3E0FC0EB87@rogers.com> Message-ID: <8A1460AF-37F6-418A-981C-F8DCD73415E7@rogers.com> Hi again I just installed it following the instructions here https://gist.github.com/matthewmaier/a803283ffa46a28e27fd It seems to do the job. Martin > On Apr 2, 2021, at 6:51 PM, Martin Koob via use-livecode wrote: > > Hi David > > If I understand what you want you could use the Segmented Control Widget to get what you want. > > https://livecode.com/livecode-widgets-the-segmented-control/ > > It just has full ratings, i.e. whole stars however in a comment to that tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode Builder Widget has 10 states (half-stars)" > https://github.com/PaulMcClernan/community.livecode.widget.fivestars > > I think this would do what you need. > > You would need to install the widget in your IDE to use it. > > Martin > >> On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode wrote: >> >> Of course what you suggest is a perfect solution. >> >> Someone had to mail me off list and explain it using very small words. >> >> Cheers >> >> David G >> >>> On 2 Apr 2021, at 10:08 am, David V Glasgow wrote: >>> >>> >>> >>>> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode wrote: >>>> >>>> Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. >>>> >>>> Bob S >>>> >>> >>> >>> Thanks,Bob, but as I understand what you are saying, wouldn?t that only trade in whole stars? The easiest way to do that would be with icon switching - I want to have the last star part gold and part grey, (with a vertical boundary through the star) if that is what is demand by the mean feedback score being represented. >>> >>> I?m thinking perhaps icons will be the easiest way to go. Maybe 10 stars each representing a degree of ?goldness? and I will just set the stars Icons as required. Duh! Actually 11 stars, I will need a 0% gold. >>> >>> Thanks anyway >>> >>> 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 irog at mac.com Fri Apr 2 23:30:21 2021 From: irog at mac.com (Roger Guay) Date: Fri, 2 Apr 2021 20:30:21 -0700 Subject: autohilite FUBAR? In-Reply-To: References: <90909a4f-2e2c-80b1-e31c-9c56c9e80dc5@fourthworld.com> Message-ID: <9CD56A7E-D3DC-4C41-B668-AB1FEC033A97@mac.com> Not so for me on Mac OS Big Sur and LC 9.6 Roger > On Apr 2, 2021, at 2:52 PM, chipsm themartinz.com via use-livecode wrote: > > I tested this and it is true. As you move the Mouse across the button (in the mouse-Down) it does flash. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 626 6965561 > > -----Original Message----- > From: use-livecode On Behalf Of Richard Gaskin via use-livecode > Sent: Friday, April 02, 2021 2:26 PM > To: How to use LiveCode > Cc: Richard Gaskin > Subject: autohilite FUBAR? > > I recently noticed that if you hold the mouse down on a button and move it, the button doesn't stay highlighted, but instead the highlight flashes. > > Anyone else seeing this? Anyone have a clue as to when it first went south? > > -- > 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 chipsm at themartinz.com Sat Apr 3 00:07:46 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Sat, 3 Apr 2021 04:07:46 +0000 Subject: autohilite FUBAR? In-Reply-To: <9CD56A7E-D3DC-4C41-B668-AB1FEC033A97@mac.com> References: <90909a4f-2e2c-80b1-e31c-9c56c9e80dc5@fourthworld.com> <9CD56A7E-D3DC-4C41-B668-AB1FEC033A97@mac.com> Message-ID: I will clarify that my test was on a Windows 10 computer and LiveCode 64. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of Roger Guay via use-livecode Sent: Friday, April 02, 2021 8:30 PM To: How to use LiveCode Cc: Roger Guay Subject: Re: autohilite FUBAR? Not so for me on Mac OS Big Sur and LC 9.6 Roger > On Apr 2, 2021, at 2:52 PM, chipsm themartinz.com via use-livecode wrote: > > I tested this and it is true. As you move the Mouse across the button (in the mouse-Down) it does flash. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 626 6965561 > > -----Original Message----- > From: use-livecode On Behalf > Of Richard Gaskin via use-livecode > Sent: Friday, April 02, 2021 2:26 PM > To: How to use LiveCode > Cc: Richard Gaskin > Subject: autohilite FUBAR? > > I recently noticed that if you hold the mouse down on a button and move it, the button doesn't stay highlighted, but instead the highlight flashes. > > Anyone else seeing this? Anyone have a clue as to when it first went south? > > -- > 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 richmondmathewson at gmail.com Sat Apr 3 01:47:39 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 3 Apr 2021 08:47:39 +0300 Subject: autohilite FUBAR? In-Reply-To: <9CD56A7E-D3DC-4C41-B668-AB1FEC033A97@mac.com> References: <90909a4f-2e2c-80b1-e31c-9c56c9e80dc5@fourthworld.com> <9CD56A7E-D3DC-4C41-B668-AB1FEC033A97@mac.com> Message-ID: <4299032b-901b-72e9-bcc3-ea4571b3161f@gmail.com> I can confirm that this does not happen on Mac OS 11 with LC 9.6.1 Richmond On 3.04.21 6:30, Roger Guay via use-livecode wrote: > Not so for me on Mac OS Big Sur and LC 9.6 > > Roger > >> On Apr 2, 2021, at 2:52 PM, chipsm themartinz.com via use-livecode wrote: >> >> I tested this and it is true. As you move the Mouse across the button (in the mouse-Down) it does flash. >> >> Sincerely, >> >> Clarence Martin >> Email: chipsm at themartinz.com >> Phone: 626 6965561 >> >> -----Original Message----- >> From: use-livecode On Behalf Of Richard Gaskin via use-livecode >> Sent: Friday, April 02, 2021 2:26 PM >> To: How to use LiveCode >> Cc: Richard Gaskin >> Subject: autohilite FUBAR? >> >> I recently noticed that if you hold the mouse down on a button and move it, the button doesn't stay highlighted, but instead the highlight flashes. >> >> Anyone else seeing this? Anyone have a clue as to when it first went south? >> >> -- >> 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 rolf.kocherhans at uzh.ch Sat Apr 3 07:54:55 2021 From: rolf.kocherhans at uzh.ch (Rolf Kocherhans) Date: Sat, 3 Apr 2021 13:54:55 +0200 Subject: WebAssembly and HiDPI scaling for HTML5 when ? Message-ID: <0B8B0DDB-0326-4F0D-ADC0-07F798790735@uzh.ch> Hello LiveCode Engineers I am very patiently waiting for HiDPI scaling and WebAssembly to be incorporated into HTML5 in LiveCode. Looking at the Git pages it seems to be already ready for a very long time ? https://github.com/livecode/livecode/milestone/193 Do you have an estimate when you will be able to release LiveCode 9.7-dp-1 to public ? It has been in development for almost 1 Year now. I would like to push HTML5 development on my side, but the "blurry appearance? of the published stacks with the low resolution is stopping me because it looks very unprofessional for 2021. Please put a little more resources into HTML5 development it would be a real winner for the whole Platform. Regards Rolf From MikeKerner at roadrunner.com Sat Apr 3 11:31:32 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 3 Apr 2021 11:31:32 -0400 Subject: inputEndEditing out of sequence? Message-ID: Can someone else test this? 9.6.0 ios create a native field have a button that navigates to another card in the script of the card with the field put an onInputEditing handler enter something into the native field hit the button does the onInputEditing fire before or after the card transition? For me, it is firing after the card transition. -- 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 jiml at netrin.com Sat Apr 3 13:22:28 2021 From: jiml at netrin.com (Jim Lambert) Date: Sat, 3 Apr 2021 10:22:28 -0700 Subject: autohilite FUBAR? In-Reply-To: References: Message-ID: <311F189C-9A0F-4413-B15F-B57370688C33@netrin.com> Richard, On Mac when I hold the mouse down on a LC button, I can move the cursor around within the button and the button remains hilited. As soon as the cursor exits the button the hilite disappears. To me this is the desired behavior one should see on all platforms. Jim Lambert From sean at pidigital.co.uk Sat Apr 3 13:43:09 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 3 Apr 2021 17:43:09 +0000 Subject: Find Replace in Script Editor with cr Message-ID: Hi all, Just wondering if there is a way of replacing using cr in the find/replace panel of the script editor. For example, I have a lot of instances in my inherited code that has 'then put' ... that I want to put over two lines and then, if necessary add an end if later on. Is there a way to insert a cr between 'then' and 'put' from the panel? It would be useful to know for other things too. Cheers Sean From chipsm at themartinz.com Sat Apr 3 13:47:48 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Sat, 3 Apr 2021 17:47:48 +0000 Subject: autohilite FUBAR? In-Reply-To: <311F189C-9A0F-4413-B15F-B57370688C33@netrin.com> References: <311F189C-9A0F-4413-B15F-B57370688C33@netrin.com> Message-ID: Hi Jim. I agree that this should be the behavior on all Os's. On Windows, as you move the mouse across a button, the buttons exhibit a slight flashing effect. It's as though there are some kind of Zones in the button. I've never noticed this until Richard made mention of this activity. It is slightly noticeable, but it is definitely there. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of Jim Lambert via use-livecode Sent: Saturday, April 03, 2021 10:22 AM To: use-livecode at lists.runrev.com Cc: Jim Lambert Subject: Re: autohilite FUBAR? Richard, On Mac when I hold the mouse down on a LC button, I can move the cursor around within the button and the button remains hilited. As soon as the cursor exits the button the hilite disappears. To me this is the desired behavior one should see on all platforms. Jim Lambert _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Sat Apr 3 20:10:36 2021 From: waprothero at gmail.com (William Prothero) Date: Sat, 3 Apr 2021 17:10:36 -0700 Subject: Help! I'm stuck In-Reply-To: <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> References: <35A8952D-2B1E-40C5-B768-D20D39229ECB@m-r-d.de> <7C23D607-F6E5-4F20-B55A-C703B1166A4A@m-r-d.de> <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> Message-ID: <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> Matthias, or anybody: I got side-tracked but am back to needing to build this standalone and guess what the error message from the builder means. This build problem has been known for some time, as Matthias kindly notified me. My question is:Is it possible to tell what stacks are causing the problem, from the builder error codes. I have But it seems a bit odd that I would have to disable the preopenStack, openstack, closestack, preopencard, opencard, etc, etc ad-nauseum. Before I cause myself a bunch of thrashing around changing a bunch of stacks, is there anything in the error dialog that?s attached that would give me a hint as to where this is happening? Also, I wonder if disabling all these open ?. handlers during build might cause build problems. If it was a universal problem/bug, I would think it would have been fixed by LC version 9.6.2 (RC3).??? Thanks for any insight and direction. (I?m on Big Sur 11.2.2). I have 10 stacks and a number of script only lib stacks in this project. Bill Links to the error dialog: page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0 page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 > On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode wrote: > > Bill, > > i've just checked the release notes of 9.0.x > The release notes of 9.0.2 contain updated information about this topic and an enhanced script example. > opencard scripts should also be adjusted. > https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf > > Please excuse me for pointing to 9.0.1rc1 release notes yesterday. > > > Regards > Matthias > > > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode : >> >> Matthias: >> I see that openstack and closestack messages are inhibited during application build, using: >> >> on closeStack >> if the mode of stack ?revStandaloneProgress? > 0 then >> exit closeStack >> end if >> end >> >> So, before I start adding this to all openstack, closestack, scripts of my 12 stacks, I'm? wondering if I could mess up the build process by by-passing some of the scripts in these handlers. Is there any way to tell more precisely what is causing the problem? Any recommendations on strategy? Should I just change one stack at a time and look for changes in the error window, or just change all them and wonder what affect that would have on the integrity of the build process? >> >> Also, opencard scripts are also called when a stack in launched and I wonder if those need to be escaped too. >> >> Best, >> Bill >> >>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode wrote: >>> >>> Another thing. I am not sure if your problems are also a result of the following, but you could giv it a try. >>> >>> There was something changed in Standalonebuilder process starting in LC 9.0 or so to fix a problem. But this fix could cause other problems in some situation. >>> While before that fix the main stacks did not receive any openstack and closestack messages during standalone build, now with the fixed standalone builder they do. >>> Therefore some lines of code need to be added to avoid this. >>> >>> See here on page 2 for an explanation what you have to add to your openstack and closestack handler >>> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode : >>>> >>>> It?s mystifying that all messages seem to come from the rev builder scripts, with no hint of what could be the problem. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> 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 William Prothero waprothero at gmail.com From lheaford at icloud.com Sun Apr 4 07:10:38 2021 From: lheaford at icloud.com (Terence Heaford) Date: Sun, 4 Apr 2021 12:10:38 +0100 Subject: Polygons Message-ID: If I draw a shape using a polygon, as an example assume a right angled triangle. Is it possible to hide the line between the points that make up the hypotenuse? Thanks Terry From andre at andregarzia.com Sun Apr 4 07:36:13 2021 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 4 Apr 2021 12:36:13 +0100 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: References: Message-ID: <28AF504A-521E-4189-8071-CB40AA142A0F@andregarzia.com> Are you using the time travel external? HTTP/0.9 has been historical for a long while, you can see more about this protocol at: https://medium.com/platform-engineer/evolution-of-http-69cfe6531ba0 To what server you?re connecting? > On 31 Mar 2021, at 20:29, Richard Gaskin via use-livecode wrote: > > I have an LC app that recently started reporting this error when calling a web service we wrote: > > tsnet (1) Received HTTP/0.9 when not allowed > > > Searching around the web I see many varied descriptions of how one might remedy that, but none seem to fit our circumstance. > > Anyone else seen this? What was needed to resolve it? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iangmcknight at gmail.com Sun Apr 4 07:41:46 2021 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 4 Apr 2021 12:41:46 +0100 Subject: Polygons In-Reply-To: References: Message-ID: Yes. Polygons use a list of 4 points to describe a triangle. The first and last are the co-ords of the same vertex to ensure closure. If the last point is left out then the line between the last vertex and the first vertex is not drawn. So make sure that your list of points doesn't begin with the right angle vertex and you're good to go. Ian On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < use-livecode at lists.runrev.com> wrote: > If I draw a shape using a polygon, as an example assume a right angled > triangle. > > Is it possible to hide the line between the points that make up the > hypotenuse? > > Thanks > > Terry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From sean at pidigital.co.uk Sun Apr 4 08:57:32 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 4 Apr 2021 13:57:32 +0100 Subject: Help! I'm stuck In-Reply-To: <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> References: <35A8952D-2B1E-40C5-B768-D20D39229ECB@m-r-d.de> <7C23D607-F6E5-4F20-B55A-C703B1166A4A@m-r-d.de> <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> Message-ID: ResolveID is referring to the stack, card and object IDs to tie it to your breakpoints. Focus on your main stack. In the Development menu bar, choose Clear All Breakpoints. It?s a good idea to do this every time before a main standalone build. So, Delete all your breakpoints. Then resave. (Close and reopen your stack and LC if you like). Rebuild. It will be ok. Sean On Sun, 4 Apr 2021 at 01:10, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Matthias, or anybody: > > I got side-tracked but am back to needing to build this standalone and > guess what the error message from the builder means. This build problem has > been known for some time, as Matthias kindly notified me. > > My question is:Is it possible to tell what stacks are causing the problem, > from the builder error codes. I have But it seems a bit odd that I would > have to disable the preopenStack, openstack, closestack, preopencard, > opencard, etc, etc ad-nauseum. > > Before I cause myself a bunch of thrashing around changing a bunch of > stacks, is there anything in the error dialog that?s attached that would > give me a hint as to where this is happening? Also, I wonder if disabling > all these open ?. handlers during build might cause build problems. If it > was a universal problem/bug, I would think it would have been fixed by LC > version 9.6.2 (RC3).??? > > Thanks for any insight and direction. (I?m on Big Sur 11.2.2). I have 10 > stacks and a number of script only lib stacks in this project. > > Bill > > Links to the error dialog: > page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0 > > page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 < > https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0> > > > On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Bill, > > > > i've just checked the release notes of 9.0.x > > The release notes of 9.0.2 contain updated information about this topic > and an enhanced script example. > > opencard scripts should also be adjusted. > > https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf > > > > Please excuse me for pointing to 9.0.1rc1 release notes yesterday. > > > > > > Regards > > Matthias > > > > > > > > > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > >> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Matthias: > >> I see that openstack and closestack messages are inhibited during > application build, using: > >> > >> on closeStack > >> if the mode of stack ?revStandaloneProgress? > 0 then > >> exit closeStack > >> end if > >> end > >> > >> So, before I start adding this to all openstack, closestack, scripts of > my 12 stacks, I'm? wondering if I could mess up the build process by > by-passing some of the scripts in these handlers. Is there any way to tell > more precisely what is causing the problem? Any recommendations on > strategy? Should I just change one stack at a time and look for changes in > the error window, or just change all them and wonder what affect that would > have on the integrity of the build process? > >> > >> Also, opencard scripts are also called when a stack in launched and I > wonder if those need to be escaped too. > >> > >> Best, > >> Bill > >> > >>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Another thing. I am not sure if your problems are also a result of the > following, but you could giv it a try. > >>> > >>> There was something changed in Standalonebuilder process starting in > LC 9.0 or so to fix a problem. But this fix could cause other problems in > some situation. > >>> While before that fix the main stacks did not receive any openstack > and closestack messages during standalone build, now with the fixed > standalone builder they do. > >>> Therefore some lines of code need to be added to avoid this. > >>> > >>> See here on page 2 for an explanation what you have to add to your > openstack and closestack handler > >>> > https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf > >>> > >>> > >>> - > >>> Matthias Rebbe > >>> Life Is Too Short For Boring Code > >>> > >>>> Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode < > use-livecode at lists.runrev.com>: > >>>> > >>>> It?s mystifying that all messages seem to come from the rev builder > scripts, with no hint of what could be the problem. > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> 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 > > 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 > -- Pi Digital From dvglasgow at gmail.com Sun Apr 4 09:05:39 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 4 Apr 2021 14:05:39 +0100 Subject: Star score graphic generator achievable with inks... or...? In-Reply-To: <8A1460AF-37F6-418A-981C-F8DCD73415E7@rogers.com> References: <62A20662-914B-4C39-9A2D-FED2229B32B0@iotecdigital.com> <415606FC-EEAA-4B9E-BE4A-D24C75DF0D73@gmail.com> <6BE17C12-DAEB-4D72-BD79-D7682DD35035@gmail.com> <5634CC4D-D096-485E-81E7-3F3E0FC0EB87@rogers.com> <8A1460AF-37F6-418A-981C-F8DCD73415E7@rogers.com> Message-ID: <5C8F9EF7-085A-4600-AAC6-90FAB51F2008@gmail.com> Thanks, but Bob Sneidar was exactly right in his original post. His solution works beautifully with real numbers represented as part stars. I did look at the segmented widget, but I wanted to represent real numbers from averaging customer ratings. The only teeny limitation is that between each star there is a small gap in which ?between stars? scores are not displayed until the threshold of the next stars leftmost point is reached. In terms of the typical web display of customer feedback, it isn?t significant. Cheers David G > On 2 Apr 2021, at 11:57 pm, Martin Koob via use-livecode wrote: > > Hi again > > I just installed it following the instructions here > > https://gist.github.com/matthewmaier/a803283ffa46a28e27fd > > It seems to do the job. > > Martin > > >> On Apr 2, 2021, at 6:51 PM, Martin Koob via use-livecode wrote: >> >> Hi David >> >> If I understand what you want you could use the Segmented Control Widget to get what you want. >> >> https://livecode.com/livecode-widgets-the-segmented-control/ >> >> It just has full ratings, i.e. whole stars however in a comment to that tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode Builder Widget has 10 states (half-stars)" >> https://github.com/PaulMcClernan/community.livecode.widget.fivestars >> >> I think this would do what you need. >> >> You would need to install the widget in your IDE to use it. >> >> Martin >> >>> On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode wrote: >>> >>> Of course what you suggest is a perfect solution. >>> >>> Someone had to mail me off list and explain it using very small words. >>> >>> Cheers >>> >>> David G >>> >>>> On 2 Apr 2021, at 10:08 am, David V Glasgow wrote: >>>> >>>> >>>> >>>>> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode wrote: >>>>> >>>>> Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory. >>>>> >>>>> Bob S >>>>> >>>> >>>> >>>> Thanks,Bob, but as I understand what you are saying, wouldn?t that only trade in whole stars? The easiest way to do that would be with icon switching - I want to have the last star part gold and part grey, (with a vertical boundary through the star) if that is what is demand by the mean feedback score being represented. >>>> >>>> I?m thinking perhaps icons will be the easiest way to go. Maybe 10 stars each representing a degree of ?goldness? and I will just set the stars Icons as required. Duh! Actually 11 stars, I will need a 0% gold. >>>> >>>> Thanks anyway >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sun Apr 4 09:08:33 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 4 Apr 2021 14:08:33 +0100 Subject: Help! I'm stuck In-Reply-To: References: <35A8952D-2B1E-40C5-B768-D20D39229ECB@m-r-d.de> <7C23D607-F6E5-4F20-B55A-C703B1166A4A@m-r-d.de> <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> Message-ID: You can also turn off messages and errors from the Toolbar before you build. This should prevent any pre/open or pre/close scripts from running. And make sure all inspectors, message box and project browser are closed too as well as any windows/stacks other than your main stack. Sean On Sun, 4 Apr 2021 at 13:57, Sean Cole (Pi) wrote: > ResolveID is referring to the stack, card and object IDs to tie it to your > breakpoints. > > Focus on your main stack. In the Development menu bar, choose Clear All > Breakpoints. It?s a good idea to do this every time before a main > standalone build. > > So, Delete all your breakpoints. Then resave. (Close and reopen your stack > and LC if you like). Rebuild. It will be ok. > > Sean > > On Sun, 4 Apr 2021 at 01:10, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Matthias, or anybody: >> >> I got side-tracked but am back to needing to build this standalone and >> guess what the error message from the builder means. This build problem has >> been known for some time, as Matthias kindly notified me. >> >> My question is:Is it possible to tell what stacks are causing the >> problem, from the builder error codes. I have But it seems a bit odd that I >> would have to disable the preopenStack, openstack, closestack, preopencard, >> opencard, etc, etc ad-nauseum. >> >> Before I cause myself a bunch of thrashing around changing a bunch of >> stacks, is there anything in the error dialog that?s attached that would >> give me a hint as to where this is happening? Also, I wonder if disabling >> all these open ?. handlers during build might cause build problems. If it >> was a universal problem/bug, I would think it would have been fixed by LC >> version 9.6.2 (RC3).??? >> >> Thanks for any insight and direction. (I?m on Big Sur 11.2.2). I have 10 >> stacks and a number of script only lib stacks in this project. >> >> Bill >> >> Links to the error dialog: >> page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0 >> >> page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 >> >> >> > On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Bill, >> > >> > i've just checked the release notes of 9.0.x >> > The release notes of 9.0.2 contain updated information about this topic >> and an enhanced script example. >> > opencard scripts should also be adjusted. >> > https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf >> > >> > Please excuse me for pointing to 9.0.1rc1 release notes yesterday. >> > >> > >> > Regards >> > Matthias >> > >> > >> > >> > >> > >> > >> > - >> > Matthias Rebbe >> > Life Is Too Short For Boring Code >> > >> >> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode < >> use-livecode at lists.runrev.com>: >> >> >> >> Matthias: >> >> I see that openstack and closestack messages are inhibited during >> application build, using: >> >> >> >> on closeStack >> >> if the mode of stack ?revStandaloneProgress? > 0 then >> >> exit closeStack >> >> end if >> >> end >> >> >> >> So, before I start adding this to all openstack, closestack, scripts >> of my 12 stacks, I'm? wondering if I could mess up the build process by >> by-passing some of the scripts in these handlers. Is there any way to tell >> more precisely what is causing the problem? Any recommendations on >> strategy? Should I just change one stack at a time and look for changes in >> the error window, or just change all them and wonder what affect that would >> have on the integrity of the build process? >> >> >> >> Also, opencard scripts are also called when a stack in launched and I >> wonder if those need to be escaped too. >> >> >> >> Best, >> >> Bill >> >> >> >>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >> >>> Another thing. I am not sure if your problems are also a result of >> the following, but you could giv it a try. >> >>> >> >>> There was something changed in Standalonebuilder process starting in >> LC 9.0 or so to fix a problem. But this fix could cause other problems in >> some situation. >> >>> While before that fix the main stacks did not receive any openstack >> and closestack messages during standalone build, now with the fixed >> standalone builder they do. >> >>> Therefore some lines of code need to be added to avoid this. >> >>> >> >>> See here on page 2 for an explanation what you have to add to your >> openstack and closestack handler >> >>> >> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf >> >>> >> >>> >> >>> - >> >>> Matthias Rebbe >> >>> Life Is Too Short For Boring Code >> >>> >> >>>> Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode < >> use-livecode at lists.runrev.com>: >> >>>> >> >>>> It?s mystifying that all messages seem to come from the rev builder >> scripts, with no hint of what could be the problem. >> >>> >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> 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 >> >> 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 >> > -- > Pi Digital > -- Pi Digital From lheaford at icloud.com Sun Apr 4 10:01:15 2021 From: lheaford at icloud.com (Terence Heaford) Date: Sun, 4 Apr 2021 15:01:15 +0100 Subject: Polygons In-Reply-To: References: Message-ID: Thanks for that, clearly understood. To expand on the original question. If you have a hexagon, is it possible to only draw lines on sides 1,3,5,6 and no lines on sides 2,4. Thanks Terry > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode wrote: > > ?Yes. Polygons use a list of 4 points to describe a triangle. The first and > last are the co-ords of the same vertex to ensure closure. > If the last point is left out then the line between the last vertex and the > first vertex is not drawn. > So make sure that your list of points doesn't begin with the right angle > vertex and you're good to go. > > Ian > > >> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> If I draw a shape using a polygon, as an example assume a right angled >> triangle. >> >> Is it possible to hide the line between the points that make up the >> hypotenuse? >> >> Thanks >> >> Terry >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Regards > > > Ian McKnight > > iangmcknight 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 iangmcknight at gmail.com Sun Apr 4 10:39:18 2021 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 4 Apr 2021 15:39:18 +0100 Subject: Polygons In-Reply-To: References: Message-ID: Hi Put a space in-between the points where you want the line in not be drawn. The shape is still constructed but with missing sides. Ian On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for that, clearly understood. > > To expand on the original question. If you have a hexagon, is it possible > to only draw lines on sides 1,3,5,6 and no lines on sides 2,4. > > Thanks Terry > > > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Yes. Polygons use a list of 4 points to describe a triangle. The first > and > > last are the co-ords of the same vertex to ensure closure. > > If the last point is left out then the line between the last vertex and > the > > first vertex is not drawn. > > So make sure that your list of points doesn't begin with the right angle > > vertex and you're good to go. > > > > Ian > > > > > >> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> If I draw a shape using a polygon, as an example assume a right angled > >> triangle. > >> > >> Is it possible to hide the line between the points that make up the > >> hypotenuse? > >> > >> Thanks > >> > >> Terry > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > Regards > > > > > > Ian McKnight > > > > iangmcknight 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From iangmcknight at gmail.com Sun Apr 4 10:39:54 2021 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 4 Apr 2021 15:39:54 +0100 Subject: Polygons In-Reply-To: References: Message-ID: By a space I mean a blank line! Ian On Sun, 4 Apr 2021 at 15:39, Ian McKnight wrote: > Hi > Put a space in-between the points where you want the line in not be > drawn. The shape is still constructed but with missing sides. > > Ian > > On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks for that, clearly understood. >> >> To expand on the original question. If you have a hexagon, is it >> possible to only draw lines on sides 1,3,5,6 and no lines on sides 2,4. >> >> Thanks Terry >> >> > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > ?Yes. Polygons use a list of 4 points to describe a triangle. The first >> and >> > last are the co-ords of the same vertex to ensure closure. >> > If the last point is left out then the line between the last vertex and >> the >> > first vertex is not drawn. >> > So make sure that your list of points doesn't begin with the right angle >> > vertex and you're good to go. >> > >> > Ian >> > >> > >> >> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >> >> >> If I draw a shape using a polygon, as an example assume a right angled >> >> triangle. >> >> >> >> Is it possible to hide the line between the points that make up the >> >> hypotenuse? >> >> >> >> Thanks >> >> >> >> Terry >> >> >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> > -- >> > Regards >> > >> > >> > Ian McKnight >> > >> > iangmcknight 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 >> > > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From jacque at hyperactivesw.com Sun Apr 4 12:04:04 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Apr 2021 11:04:04 -0500 Subject: Help! I'm stuck In-Reply-To: <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> References: <35A8952D-2B1E-40C5-B768-D20D39229ECB@m-r-d.de> <7C23D607-F6E5-4F20-B55A-C703B1166A4A@m-r-d.de> <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> Message-ID: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's not a bug, it was intentionally introduced to allow a couple of features, like retaining script local variables after a build. Given the amount of extra scripting to work around it for existing stacks, I think it may have introduced more problems than it tried to cure. I did try turning off messages before a build but it didn't work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 3, 2021 7:13:25 PM William Prothero via use-livecode wrote: > Also, I wonder if disabling all these open ?. handlers during build might > cause build problems. If it was a universal problem/bug, I would think it > would have been fixed by LC version 9.6.2 (RC3).??? From ahsoftware at sonic.net Sun Apr 4 12:49:51 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 4 Apr 2021 09:49:51 -0700 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: <28AF504A-521E-4189-8071-CB40AA142A0F@andregarzia.com> References: <28AF504A-521E-4189-8071-CB40AA142A0F@andregarzia.com> Message-ID: <9e826048-5a20-19b1-9028-c813423bebaa@sonic.net> On 4/4/21 4:36 AM, Andre Garzia via use-livecode wrote: > Are you using the time travel external? HTTP/0.9 has been historical for a long while... Nonetheless, I believe 0.9 is still the lowest common denominator fallback mode when the actual level can't otherwise be determined. -- Mark Wieder ahsoftware at gmail.com From lheaford at icloud.com Sun Apr 4 13:02:49 2021 From: lheaford at icloud.com (Terence Heaford) Date: Sun, 4 Apr 2021 18:02:49 +0100 Subject: Polygons In-Reply-To: References: Message-ID: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> When you do this it appears to affect the fill settings. I lose the fill where there are no lines and the closure of the points also moves. I can?t believe it?s LC, it must be me. A simple script example would be useful if you have the time. A square, that?s easy, that has the side lines missing and is filled with a colour. Regards Terry > On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode wrote: > > By a space I mean a blank line! > Ian > > On Sun, 4 Apr 2021 at 15:39, Ian McKnight > wrote: > >> Hi >> Put a space in-between the points where you want the line in not be >> drawn. The shape is still constructed but with missing sides. >> >> Ian >> >> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks for that, clearly understood. >>> >>> To expand on the original question. If you have a hexagon, is it >>> possible to only draw lines on sides 1,3,5,6 and no lines on sides 2,4. >>> >>> Thanks Terry >>> >>>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> ?Yes. Polygons use a list of 4 points to describe a triangle. The first >>> and >>>> last are the co-ords of the same vertex to ensure closure. >>>> If the last point is left out then the line between the last vertex and >>> the >>>> first vertex is not drawn. >>>> So make sure that your list of points doesn't begin with the right angle >>>> vertex and you're good to go. >>>> >>>> Ian >>>> >>>> >>>>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> If I draw a shape using a polygon, as an example assume a right angled >>>>> triangle. >>>>> >>>>> Is it possible to hide the line between the points that make up the >>>>> hypotenuse? >>>>> >>>>> Thanks >>>>> >>>>> Terry >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> -- >>>> Regards >>>> >>>> >>>> Ian McKnight >>>> >>>> iangmcknight 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 >>> >> >> >> -- >> Regards >> >> >> Ian McKnight >> >> iangmcknight at gmail.com >> ======================= >> > > > -- > Regards > > > Ian McKnight > > iangmcknight 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 iangmcknight at gmail.com Sun Apr 4 13:43:54 2021 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 4 Apr 2021 18:43:54 +0100 Subject: Polygons In-Reply-To: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> Message-ID: I have to say that I'm not seeing this. I seem to remember that graphics can't show a fill unless all lines are visible. As a test I created a graphic called "myPoly" . I placed a checkbox called "showSides" (and removed its script) in a button I placed the following script: ----------------------------------------------------------------------------- *on* mouseUp *-- points for a 100 unit square with 4 sides visible* *put* "50,50" &cr& "150,50" &cr& "150,150" &cr& "50,150" &cr& "50,50" &cr into tPointsFor4Lines *-- points for a 100 unit square with alternate sides visible* *put* "50,50" &cr& "150,50" &cr& cr& "150,150" &cr& "50,150" &cr &cr& "50,50" &cr into tPointsFor2Lines *set* the opaque of grc "myPoly" to true *-- ensures fill is visible* *if* the hilite of btn "showSides" is true *then* *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides showing* *else* *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides showing* *end* *if* *end* mouseUp ---------------------------------------------------------------------------------- When you run this and flip between 4 and 2 sides its showing the square is drawn correctly, 4 sides visible - filled and 2 sides visible - not filled If you check the Inspector for the graphic the opaque property hasn't changed. The only way I can think to overcome this is to create another graphic - the same size as your first one, place it underneath your graphic and group them together. Then when all sides are visible you can make this background graphic invisible and when sides are 'missing' make it visible again to provide the fill or simply leave it visible since it won't be seen under your original graphic. When sides 'disappear' and the fill disappears this graphic will then provide your fill. Hope this is of some help Regards Ian On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode < use-livecode at lists.runrev.com> wrote: > When you do this it appears to affect the fill settings. I lose the fill > where there are no lines and the closure of the points also moves. > > I can?t believe it?s LC, it must be me. A simple script example would be > useful if you have the time. > > A square, that?s easy, that has the side lines missing and is filled with > a colour. > > Regards > > Terry > > > > On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > By a space I mean a blank line! > > Ian > > > > On Sun, 4 Apr 2021 at 15:39, Ian McKnight > wrote: > > > >> Hi > >> Put a space in-between the points where you want the line in not be > >> drawn. The shape is still constructed but with missing sides. > >> > >> Ian > >> > >> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Thanks for that, clearly understood. > >>> > >>> To expand on the original question. If you have a hexagon, is it > >>> possible to only draw lines on sides 1,3,5,6 and no lines on sides > 2,4. > >>> > >>> Thanks Terry > >>> > >>>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> ?Yes. Polygons use a list of 4 points to describe a triangle. The > first > >>> and > >>>> last are the co-ords of the same vertex to ensure closure. > >>>> If the last point is left out then the line between the last vertex > and > >>> the > >>>> first vertex is not drawn. > >>>> So make sure that your list of points doesn't begin with the right > angle > >>>> vertex and you're good to go. > >>>> > >>>> Ian > >>>> > >>>> > >>>>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> If I draw a shape using a polygon, as an example assume a right > angled > >>>>> triangle. > >>>>> > >>>>> Is it possible to hide the line between the points that make up the > >>>>> hypotenuse? > >>>>> > >>>>> Thanks > >>>>> > >>>>> Terry > >>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> > >>>> > >>>> -- > >>>> Regards > >>>> > >>>> > >>>> Ian McKnight > >>>> > >>>> iangmcknight 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 > >>> > >> > >> > >> -- > >> Regards > >> > >> > >> Ian McKnight > >> > >> iangmcknight at gmail.com > >> ======================= > >> > > > > > > -- > > Regards > > > > > > Ian McKnight > > > > iangmcknight 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 < > http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From lheaford at icloud.com Sun Apr 4 13:56:26 2021 From: lheaford at icloud.com (Terence Heaford) Date: Sun, 4 Apr 2021 18:56:26 +0100 Subject: Polygons In-Reply-To: References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> Message-ID: Thanks for your example. I am basic filling underneath a line chart to make an area chart but the closing lines to the x-Axis do not have a line. I concluded to draw a polygon twice once with fill and no lines, filled to the x-Axis and overlay it with a similar polygon but not starting/finishing at the x-Axis but finishing at the first/last point. (hope this makes sense). Will play with your example. Thanks Terry > On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode wrote: > > The only way I can think to overcome this is to create another graphic - > the same size as your first one, place it underneath your graphic and group > them together. Then when all sides are visible you can make this background > graphic invisible and when sides are 'missing' make it visible again to > provide the fill or simply leave it visible since it won't be seen under > your original graphic. When sides 'disappear' and the fill disappears this > graphic will then provide your fill. From lheaford at icloud.com Sun Apr 4 14:08:46 2021 From: lheaford at icloud.com (Terence Heaford) Date: Sun, 4 Apr 2021 19:08:46 +0100 Subject: Polygons In-Reply-To: References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> Message-ID: <6A6038DB-3184-4F33-9CCB-8EA44B087558@icloud.com> OK, I have changed your script by adding these lines to the mouseUp handler set the backgroundColor of grc "myPoly" to red set the forecolor of grc "myPoly" to blue Now if you switch the lines on/off you will see that the fill does not work without all lines. Not sure what this means exactly. Thanks Terry > On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode wrote: > > I have to say that I'm not seeing this. > I seem to remember that graphics can't show a fill unless all lines are > visible. > As a test I created a graphic called "myPoly" . > I placed a checkbox called "showSides" (and removed its script) > in a button I placed the following script: > > ----------------------------------------------------------------------------- > > *on* mouseUp > > *-- points for a 100 unit square with 4 sides visible* > > *put* "50,50" &cr& "150,50" &cr& "150,150" &cr& "50,150" &cr& "50,50" &cr > into tPointsFor4Lines > > *-- points for a 100 unit square with alternate sides visible* > > *put* "50,50" &cr& "150,50" &cr& cr& "150,150" &cr& "50,150" &cr &cr& > "50,50" &cr into tPointsFor2Lines > > *set* the opaque of grc "myPoly" to true *-- ensures fill is visible* > > *if* the hilite of btn "showSides" is true > > *then* > > *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides showing* > > *else* > > *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides > showing* > > *end* *if* > > *end* mouseUp > > ---------------------------------------------------------------------------------- > > When you run this and flip between 4 and 2 sides its showing the square is > drawn correctly, > > 4 sides visible - filled and 2 sides visible - not filled > > If you check the Inspector for the graphic the opaque property hasn't > changed. > > The only way I can think to overcome this is to create another graphic - > the same size as your first one, place it underneath your graphic and group > them together. Then when all sides are visible you can make this background > graphic invisible and when sides are 'missing' make it visible again to > provide the fill or simply leave it visible since it won't be seen under > your original graphic. When sides 'disappear' and the fill disappears this > graphic will then provide your fill. > > > Hope this is of some help > > Regards > > Ian > > > On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> When you do this it appears to affect the fill settings. I lose the fill >> where there are no lines and the closure of the points also moves. >> >> I can?t believe it?s LC, it must be me. A simple script example would be >> useful if you have the time. >> >> A square, that?s easy, that has the side lines missing and is filled with >> a colour. >> >> Regards >> >> Terry >> >> >>> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> By a space I mean a blank line! >>> Ian >>> >>> On Sun, 4 Apr 2021 at 15:39, Ian McKnight > > wrote: >>> >>>> Hi >>>> Put a space in-between the points where you want the line in not be >>>> drawn. The shape is still constructed but with missing sides. >>>> >>>> Ian >>>> >>>> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Thanks for that, clearly understood. >>>>> >>>>> To expand on the original question. If you have a hexagon, is it >>>>> possible to only draw lines on sides 1,3,5,6 and no lines on sides >> 2,4. >>>>> >>>>> Thanks Terry >>>>> >>>>>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> ?Yes. Polygons use a list of 4 points to describe a triangle. The >> first >>>>> and >>>>>> last are the co-ords of the same vertex to ensure closure. >>>>>> If the last point is left out then the line between the last vertex >> and >>>>> the >>>>>> first vertex is not drawn. >>>>>> So make sure that your list of points doesn't begin with the right >> angle >>>>>> vertex and you're good to go. >>>>>> >>>>>> Ian >>>>>> >>>>>> >>>>>>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> If I draw a shape using a polygon, as an example assume a right >> angled >>>>>>> triangle. >>>>>>> >>>>>>> Is it possible to hide the line between the points that make up the >>>>>>> hypotenuse? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Terry >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards >>>>>> >>>>>> >>>>>> Ian McKnight >>>>>> >>>>>> iangmcknight 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 >>>>> >>>> >>>> >>>> -- >>>> Regards >>>> >>>> >>>> Ian McKnight >>>> >>>> iangmcknight at gmail.com >>>> ======================= >>>> >>> >>> >>> -- >>> Regards >>> >>> >>> Ian McKnight >>> >>> iangmcknight 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 < >> http://lists.runrev.com/mailman/listinfo/use-livecode> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Regards > > > Ian McKnight > > iangmcknight 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 iangmcknight at gmail.com Sun Apr 4 14:29:50 2021 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 4 Apr 2021 19:29:50 +0100 Subject: Polygons In-Reply-To: <6A6038DB-3184-4F33-9CCB-8EA44B087558@icloud.com> References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> <6A6038DB-3184-4F33-9CCB-8EA44B087558@icloud.com> Message-ID: I would hazard a guess that the fill area needs to be bounded by a line. If a line is missing the fill routine can't determine where the edge of the fill is and so fails, leaving the grc empty. I may be completely wrong on this but it seems logical. Not much help I know but if you want to emphasise the edge of the bar could the special effects settings help? I haven't tried his but have your bar as a filled grc with out an edge and play with internal, external glows and shadows etc to emphasise the outline. Regards Ian On Sun, 4 Apr 2021, 19:10 Terence Heaford via use-livecode, < use-livecode at lists.runrev.com> wrote: > OK, I have changed your script by adding these lines to the mouseUp handler > > set the backgroundColor of grc "myPoly" to red > > set the forecolor of grc "myPoly" to blue > > > Now if you switch the lines on/off you will see that the fill does not > work without all lines. > > Not sure what this means exactly. > > Thanks > > Terry > > > > On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have to say that I'm not seeing this. > > I seem to remember that graphics can't show a fill unless all lines are > > visible. > > As a test I created a graphic called "myPoly" . > > I placed a checkbox called "showSides" (and removed its script) > > in a button I placed the following script: > > > > > ----------------------------------------------------------------------------- > > > > *on* mouseUp > > > > *-- points for a 100 unit square with 4 sides visible* > > > > *put* "50,50" &cr& "150,50" &cr& "150,150" &cr& "50,150" &cr& "50,50" &cr > > into tPointsFor4Lines > > > > *-- points for a 100 unit square with alternate sides visible* > > > > *put* "50,50" &cr& "150,50" &cr& cr& "150,150" &cr& "50,150" &cr &cr& > > "50,50" &cr into tPointsFor2Lines > > > > *set* the opaque of grc "myPoly" to true *-- ensures fill is visible* > > > > *if* the hilite of btn "showSides" is true > > > > *then* > > > > *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides > showing* > > > > *else* > > > > *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides > > showing* > > > > *end* *if* > > > > *end* mouseUp > > > > > ---------------------------------------------------------------------------------- > > > > When you run this and flip between 4 and 2 sides its showing the square > is > > drawn correctly, > > > > 4 sides visible - filled and 2 sides visible - not filled > > > > If you check the Inspector for the graphic the opaque property hasn't > > changed. > > > > The only way I can think to overcome this is to create another graphic - > > the same size as your first one, place it underneath your graphic and > group > > them together. Then when all sides are visible you can make this > background > > graphic invisible and when sides are 'missing' make it visible again to > > provide the fill or simply leave it visible since it won't be seen under > > your original graphic. When sides 'disappear' and the fill disappears > this > > graphic will then provide your fill. > > > > > > Hope this is of some help > > > > Regards > > > > Ian > > > > > > On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> When you do this it appears to affect the fill settings. I lose the fill > >> where there are no lines and the closure of the points also moves. > >> > >> I can?t believe it?s LC, it must be me. A simple script example would be > >> useful if you have the time. > >> > >> A square, that?s easy, that has the side lines missing and is filled > with > >> a colour. > >> > >> Regards > >> > >> Terry > >> > >> > >>> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> By a space I mean a blank line! > >>> Ian > >>> > >>> On Sun, 4 Apr 2021 at 15:39, Ian McKnight >> > wrote: > >>> > >>>> Hi > >>>> Put a space in-between the points where you want the line in not be > >>>> drawn. The shape is still constructed but with missing sides. > >>>> > >>>> Ian > >>>> > >>>> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> Thanks for that, clearly understood. > >>>>> > >>>>> To expand on the original question. If you have a hexagon, is it > >>>>> possible to only draw lines on sides 1,3,5,6 and no lines on sides > >> 2,4. > >>>>> > >>>>> Thanks Terry > >>>>> > >>>>>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> ?Yes. Polygons use a list of 4 points to describe a triangle. The > >> first > >>>>> and > >>>>>> last are the co-ords of the same vertex to ensure closure. > >>>>>> If the last point is left out then the line between the last vertex > >> and > >>>>> the > >>>>>> first vertex is not drawn. > >>>>>> So make sure that your list of points doesn't begin with the right > >> angle > >>>>>> vertex and you're good to go. > >>>>>> > >>>>>> Ian > >>>>>> > >>>>>> > >>>>>>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < > >>>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>>> > >>>>>>> If I draw a shape using a polygon, as an example assume a right > >> angled > >>>>>>> triangle. > >>>>>>> > >>>>>>> Is it possible to hide the line between the points that make up the > >>>>>>> hypotenuse? > >>>>>>> > >>>>>>> Thanks > >>>>>>> > >>>>>>> Terry > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>>> subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>> > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> Regards > >>>>>> > >>>>>> > >>>>>> Ian McKnight > >>>>>> > >>>>>> iangmcknight 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 > >>>>> > >>>> > >>>> > >>>> -- > >>>> Regards > >>>> > >>>> > >>>> Ian McKnight > >>>> > >>>> iangmcknight at gmail.com > >>>> ======================= > >>>> > >>> > >>> > >>> -- > >>> Regards > >>> > >>> > >>> Ian McKnight > >>> > >>> iangmcknight 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 < > >> http://lists.runrev.com/mailman/listinfo/use-livecode> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > Regards > > > > > > Ian McKnight > > > > iangmcknight 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 jacque at hyperactivesw.com Sun Apr 4 15:12:57 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Apr 2021 14:12:57 -0500 Subject: Polygons In-Reply-To: References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> <6A6038DB-3184-4F33-9CCB-8EA44B087558@icloud.com> Message-ID: <1789e4d6aa8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> To simulate a graphic with no lines, set the border color to the same color as the fill. Set opaque to true. You could then overlay that with a line graphic that just has the top portion of the graph (no x-axis line.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 4, 2021 1:32:26 PM Ian McKnight via use-livecode wrote: > I would hazard a guess that the fill area needs to be bounded by a line. If > a line is missing the fill routine can't determine where the edge of the > fill is and so fails, leaving the grc empty. I may be completely wrong on > this but it seems logical. > > Not much help I know but if you want to emphasise the edge of the bar could > the special effects settings help? I haven't tried his but have your bar as > a filled grc with out an edge and play with internal, external glows and > shadows etc to emphasise the outline. > > Regards > > Ian > > On Sun, 4 Apr 2021, 19:10 Terence Heaford via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> OK, I have changed your script by adding these lines to the mouseUp handler >> >> set the backgroundColor of grc "myPoly" to red >> >> set the forecolor of grc "myPoly" to blue >> >> >> Now if you switch the lines on/off you will see that the fill does not >> work without all lines. >> >> Not sure what this means exactly. >> >> Thanks >> >> Terry >> >> >> > On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > I have to say that I'm not seeing this. >> > I seem to remember that graphics can't show a fill unless all lines are >> > visible. >> > As a test I created a graphic called "myPoly" . >> > I placed a checkbox called "showSides" (and removed its script) >> > in a button I placed the following script: >> > >> > >> ----------------------------------------------------------------------------- >> > >> > *on* mouseUp >> > >> > *-- points for a 100 unit square with 4 sides visible* >> > >> > *put* "50,50" &cr& "150,50" &cr& "150,150" &cr& "50,150" &cr& "50,50" &cr >> > into tPointsFor4Lines >> > >> > *-- points for a 100 unit square with alternate sides visible* >> > >> > *put* "50,50" &cr& "150,50" &cr& cr& "150,150" &cr& "50,150" &cr &cr& >> > "50,50" &cr into tPointsFor2Lines >> > >> > *set* the opaque of grc "myPoly" to true *-- ensures fill is visible* >> > >> > *if* the hilite of btn "showSides" is true >> > >> > *then* >> > >> > *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides >> showing* >> > >> > *else* >> > >> > *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides >> > showing* >> > >> > *end* *if* >> > >> > *end* mouseUp >> > >> > >> ---------------------------------------------------------------------------------- >> > >> > When you run this and flip between 4 and 2 sides its showing the square >> is >> > drawn correctly, >> > >> > 4 sides visible - filled and 2 sides visible - not filled >> > >> > If you check the Inspector for the graphic the opaque property hasn't >> > changed. >> > >> > The only way I can think to overcome this is to create another graphic - >> > the same size as your first one, place it underneath your graphic and >> group >> > them together. Then when all sides are visible you can make this >> background >> > graphic invisible and when sides are 'missing' make it visible again to >> > provide the fill or simply leave it visible since it won't be seen under >> > your original graphic. When sides 'disappear' and the fill disappears >> this >> > graphic will then provide your fill. >> > >> > >> > Hope this is of some help >> > >> > Regards >> > >> > Ian >> > >> > >> > On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> >> When you do this it appears to affect the fill settings. I lose the fill >> >> where there are no lines and the closure of the points also moves. >> >> >> >> I can?t believe it?s LC, it must be me. A simple script example would be >> >> useful if you have the time. >> >> >> >> A square, that?s easy, that has the side lines missing and is filled >> with >> >> a colour. >> >> >> >> Regards >> >> >> >> Terry >> >> >> >> >> >>> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >>> >> >>> By a space I mean a blank line! >> >>> Ian >> >>> >> >>> On Sun, 4 Apr 2021 at 15:39, Ian McKnight > >> > wrote: >> >>> >> >>>> Hi >> >>>> Put a space in-between the points where you want the line in not be >> >>>> drawn. The shape is still constructed but with missing sides. >> >>>> >> >>>> Ian >> >>>> >> >>>> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode < >> >>>> use-livecode at lists.runrev.com> wrote: >> >>>> >> >>>>> Thanks for that, clearly understood. >> >>>>> >> >>>>> To expand on the original question. If you have a hexagon, is it >> >>>>> possible to only draw lines on sides 1,3,5,6 and no lines on sides >> >> 2,4. >> >>>>> >> >>>>> Thanks Terry >> >>>>> >> >>>>>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode < >> >>>>> use-livecode at lists.runrev.com> wrote: >> >>>>>> >> >>>>>> ?Yes. Polygons use a list of 4 points to describe a triangle. The >> >> first >> >>>>> and >> >>>>>> last are the co-ords of the same vertex to ensure closure. >> >>>>>> If the last point is left out then the line between the last vertex >> >> and >> >>>>> the >> >>>>>> first vertex is not drawn. >> >>>>>> So make sure that your list of points doesn't begin with the right >> >> angle >> >>>>>> vertex and you're good to go. >> >>>>>> >> >>>>>> Ian >> >>>>>> >> >>>>>> >> >>>>>>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode < >> >>>>>>> use-livecode at lists.runrev.com> wrote: >> >>>>>>> >> >>>>>>> If I draw a shape using a polygon, as an example assume a right >> >> angled >> >>>>>>> triangle. >> >>>>>>> >> >>>>>>> Is it possible to hide the line between the points that make up the >> >>>>>>> hypotenuse? >> >>>>>>> >> >>>>>>> Thanks >> >>>>>>> >> >>>>>>> Terry >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> _______________________________________________ >> >>>>>>> use-livecode mailing list >> >>>>>>> use-livecode at lists.runrev.com >> >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >> >>>>>>> subscription preferences: >> >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>>>>>> >> >>>>>> >> >>>>>> >> >>>>>> -- >> >>>>>> Regards >> >>>>>> >> >>>>>> >> >>>>>> Ian McKnight >> >>>>>> >> >>>>>> iangmcknight 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 >> >>>>> >> >>>> >> >>>> >> >>>> -- >> >>>> Regards >> >>>> >> >>>> >> >>>> Ian McKnight >> >>>> >> >>>> iangmcknight at gmail.com >> >>>> ======================= >> >>>> >> >>> >> >>> >> >>> -- >> >>> Regards >> >>> >> >>> >> >>> Ian McKnight >> >>> >> >>> iangmcknight 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 < >> >> http://lists.runrev.com/mailman/listinfo/use-livecode> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> > -- >> > Regards >> > >> > >> > Ian McKnight >> > >> > iangmcknight 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 marksmithhfx at gmail.com Sun Apr 4 16:30:22 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sun, 4 Apr 2021 21:30:22 +0100 Subject: Behaviors and scripts and a new handler structure... In-Reply-To: <7616939A-1B41-4D9A-A98D-539AA3203AB8@iotecdigital.com> References: <10aac071-5d82-91f9-f189-4b40f8233194@researchware.com> <7616939A-1B41-4D9A-A98D-539AA3203AB8@iotecdigital.com> Message-ID: Hi Bob, If you have a bit of time, could you tell us a bit more about how? Thanks, Mark > On Apr 2, 2021, at 12:42 AM, Bob Sneidar via use-livecode wrote: > > I have already implemented this with the help of others, for Datagrids. I think it works already for other things. > > Bob S > > >> On Apr 1, 2021, at 12:51 , Paul Dupuis via use-livecode wrote: >> >> I have increasingly been using behaviors in my applications where it makes sense to assign a script to multiple objects or to override the actions of existing script handlers by assign a behavior with different version of those handlers. >> >> The one thing I dislike about behaviors is all the objects I need to create (a button for this behavior another button for that behavior script and so on). >> >> I'd love to see a new LCS structure like the following: >> >> behavior >> >> >> >> end >> >> that you can just have in a script. Even multiple behaviors in the same script perhaps each with their own 'mouseUp' handlers and then you can set the behavior of an object to a behavior name and done. Obviously, any messages (i.e mouseDown, mouseUp, etc. etc.) in the behavior block should never received a mouseDown, mouseUp, etc. message unless sent to the object tat have the behavior assigned to it. >> >> I think it would make code maintenance potentially much easier. I don't have any idea how much of a engine change such a addition to the language would represent. >> >> Anyone else think this is a good idea? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 4 18:56:34 2021 From: irog at mac.com (Roger Guay) Date: Sun, 4 Apr 2021 15:56:34 -0700 Subject: Lock/Unlock Screen of another stack Message-ID: Hi all, I have a button on one stack that hides and shows controls of another stack. Is it possible to add Lock screen for effect and Unlock screen with effect in that button? Can?t seem to make it work?. Thx, Roger From klaus at major-k.de Sun Apr 4 19:50:22 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 5 Apr 2021 01:50:22 +0200 Subject: Lock/Unlock Screen of another stack In-Reply-To: References: Message-ID: Hi Roger, > Am 05.04.2021 um 00:56 schrieb Roger Guay via use-livecode : > > Hi all, > > I have a button on one stack that hides and shows controls of another stack. Is it possible to add Lock screen for effect and Unlock screen with effect in that button? Can?t seem to make it work?. a shot in the dark, but does setting the defaultstack first help? But maybe you already tried that. > Thx, > > Roger Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Sun Apr 4 20:00:00 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 4 Apr 2021 17:00:00 -0700 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: <28AF504A-521E-4189-8071-CB40AA142A0F@andregarzia.com> References: <28AF504A-521E-4189-8071-CB40AA142A0F@andregarzia.com> Message-ID: curl is reporting the default because the data it's receiving is zero length: http://lists.runrev.com/pipermail/use-livecode/2021-April/264146.html -- Richard Gaskin Fourth World Systems Andre Garzia wrote:> Are you using the time travel external? HTTP/0.9 has been historical for a long while, you can see more about this protocol at: > > https://medium.com/platform-engineer/evolution-of-http-69cfe6531ba0 > > To what server you?re connecting? > >> On 31 Mar 2021, at 20:29, Richard Gaskin via use-livecode wrote: >> >> I have an LC app that recently started reporting this error when calling a web service we wrote: >> >> tsnet (1) Received HTTP/0.9 when not allowed >> >> >> Searching around the web I see many varied descriptions of how one might remedy that, but none seem to fit our circumstance. >> >> Anyone else seen this? What was needed to resolve it? >> >> -- >> Richard Gaskin >> Fourth World Systems From ambassador at fourthworld.com Sun Apr 4 20:25:04 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 4 Apr 2021 17:25:04 -0700 Subject: autohilite FUBAR? In-Reply-To: References: Message-ID: Thanks for the feedback, Clarence and Jim. I found a report for this originally specifying Android only (where I first noticed it), and added a note about the scope affecting both Windows and Linux too: https://quality.livecode.com/show_bug.cgi?id=22965#c6 -- Richard Gaskin Fourth World Systems > chipsm themartinz.com chipsm at themartinz.com > Sat Apr 3 13:47:48 EDT 2021 > Hi Jim. I agree that this should be the behavior on all Os's. On Windows, as you move the mouse across a button, the buttons exhibit a slight flashing effect. It's as though there are some kind of Zones in the button. > I've never noticed this until Richard made mention of this activity. It is slightly noticeable, but it is definitely there. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 626 6965561 > > -----Original Message----- > From: use-livecode On Behalf Of Jim Lambert via use-livecode > > Richard, > > On Mac when I hold the mouse down on a LC button, I can move the cursor around within the button and the button remains hilited. > As soon as the cursor exits the button the hilite disappears. > To me this is the desired behavior one should see on all platforms. > > Jim Lambert From irog at mac.com Sun Apr 4 22:34:42 2021 From: irog at mac.com (Roger Guay) Date: Sun, 4 Apr 2021 19:34:42 -0700 Subject: Lock/Unlock Screen of another stack In-Reply-To: References: Message-ID: <83F82EAE-581E-4C2C-8420-BA269A41993C@mac.com> Hi Klaus, > On Apr 4, 2021, at 4:50 PM, Klaus major-k via use-livecode wrote: > > Hi Roger, > >> Am 05.04.2021 um 00:56 schrieb Roger Guay via use-livecode : >> >> Hi all, >> >> I have a button on one stack that hides and shows controls of another stack. Is it possible to add Lock screen for effect and Unlock screen with effect in that button? Can?t seem to make it work?. > > a shot in the dark, but does setting the defaultstack first help? > But maybe you already tried that. I did try that but to no avail. However, I solved my problem by putting the guts of the script inside a handler in the stack I want to control. I then just call that handler from the stack that is controlling. Works great . . . probably a better way to go anyway. Thanks for your help Roger > >> Thx, >> >> Roger > > 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 lheaford at icloud.com Mon Apr 5 04:39:55 2021 From: lheaford at icloud.com (Terence Heaford) Date: Mon, 5 Apr 2021 09:39:55 +0100 Subject: Polygons In-Reply-To: References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> <6A6038DB-3184-4F33-9CCB-8EA44B087558@icloud.com> Message-ID: <6871EF63-7A84-4349-96CC-B0B586BCDBB1@icloud.com> I also have concluded this. If you miss out lines the opaque setting is irrelevant, it functions as being false. Is this a bug? My work around is two polygons one underneath (filled) and the other on top (with lines) You could just draw lines between the points that need them, using a polygon as a line. I have tried this and it does not impact performance. Thanks for all your help Terry > On 4 Apr 2021, at 19:29, Ian McKnight via use-livecode wrote: > > I would hazard a guess that the fill area needs to be bounded by a line. If > a line is missing the fill routine can't determine where the edge of the > fill is and so fails, leaving the grc empty. I may be completely wrong on > this but it seems logical. > > Not much help I know but if you want to emphasise the edge of the bar could > the special effects settings help? I haven't tried his but have your bar as > a filled grc with out an edge and play with internal, external glows and > shadows etc to emphasise the outline. > > Regards > > Ian From richmondmathewson at gmail.com Mon Apr 5 05:01:34 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 5 Apr 2021 12:01:34 +0300 Subject: Polygons In-Reply-To: <6871EF63-7A84-4349-96CC-B0B586BCDBB1@icloud.com> References: <70215C55-57EE-4509-9B6C-A7999B45F3A5@icloud.com> <6A6038DB-3184-4F33-9CCB-8EA44B087558@icloud.com> <6871EF63-7A84-4349-96CC-B0B586BCDBB1@icloud.com> Message-ID: The problem is that the borders of a polygon are integral parts of that polygon and not somehow detachable; even if their width is set to 0 they are still there. Were it possible to set the widths of sides individually things would be quite different, but to achieve this one would probably have to assemble some of composite object (c.f. dataGrids). Richmond. On Mon, 5 Apr 2021 11:41 Terence Heaford via use-livecode, < use-livecode at lists.runrev.com> wrote: > I also have concluded this. > > If you miss out lines the opaque setting is irrelevant, it functions as > being false. > > Is this a bug? > > My work around is two polygons one underneath (filled) and the other on > top (with lines) > > You could just draw lines between the points that need them, using a > polygon as a line. I have tried this and it does not impact performance. > > Thanks for all your help > > Terry > > > > > > On 4 Apr 2021, at 19:29, Ian McKnight via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I would hazard a guess that the fill area needs to be bounded by a line. > If > > a line is missing the fill routine can't determine where the edge of the > > fill is and so fails, leaving the grc empty. I may be completely wrong on > > this but it seems logical. > > > > Not much help I know but if you want to emphasise the edge of the bar > could > > the special effects settings help? I haven't tried his but have your bar > as > > a filled grc with out an edge and play with internal, external glows and > > shadows etc to emphasise the outline. > > > > Regards > > > > Ian > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 5 05:40:59 2021 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Apr 2021 10:40:59 +0100 Subject: "tsnet (1) Received HTTP/0.9 when not allowed"? In-Reply-To: References: <28AF504A-521E-4189-8071-CB40AA142A0F@andregarzia.com> Message-ID: oh, I see?. Just catch up on the thread and saw the font loading issue. I can see how that becomes even more interesting to implement. > On 5 Apr 2021, at 01:00, Richard Gaskin via use-livecode wrote: > > curl is reporting the default because the data it's receiving is zero length: > http://lists.runrev.com/pipermail/use-livecode/2021-April/264146.html > > -- > Richard Gaskin > Fourth World Systems > > > > Andre Garzia wrote:> Are you using the time travel external? HTTP/0.9 has been historical for a long while, you can see more about this protocol at: >> https://medium.com/platform-engineer/evolution-of-http-69cfe6531ba0 >> To what server you?re connecting? >>> On 31 Mar 2021, at 20:29, Richard Gaskin via use-livecode wrote: >>> I have an LC app that recently started reporting this error when calling a web service we wrote: >>> tsnet (1) Received HTTP/0.9 when not allowed >>> Searching around the web I see many varied descriptions of how one might remedy that, but none seem to fit our circumstance. >>> Anyone else seen this? What was needed to resolve it? >>> -- >>> Richard Gaskin >>> Fourth World Systems > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Mon Apr 5 10:19:29 2021 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 5 Apr 2021 10:19:29 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <9905ACCB-9ED2-4CAA-B49E-652C5BC20DB3@starfirelighting.com> Hi. Do you mean something like ?replace ?then put? with ?then /? & return & ?put? in yourScript? > On Apr 3, 2021, at 1:43 PM, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > Just wondering if there is a way of replacing using cr in the find/replace > panel of the script editor. For example, I have a lot of instances in my > inherited code that has 'then put' ... that I want to put over two lines > and then, if necessary add an end if later on. Is there a way to insert a > cr between 'then' and 'put' from the panel? It would be useful to know for > other things too. > > Cheers > > Sean > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 5 10:22:32 2021 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 5 Apr 2021 10:22:32 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: Of course you have to extract the script first (it is a property) then work it, then reset the property/ Craig > On Apr 3, 2021, at 1:43 PM, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > Just wondering if there is a way of replacing using cr in the find/replace > panel of the script editor. For example, I have a lot of instances in my > inherited code that has 'then put' ... that I want to put over two lines > and then, if necessary add an end if later on. Is there a way to insert a > cr between 'then' and 'put' from the panel? It would be useful to know for > other things too. > > Cheers > > Sean > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Apr 5 10:33:59 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 5 Apr 2021 17:33:59 +0300 Subject: [ANN] This Week in LiveCode 261 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #261 here: https://bit.ly/3fHxxNW This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From sean at pidigital.co.uk Mon Apr 5 11:42:21 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 5 Apr 2021 16:42:21 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: No. I mean using the find/replace tool panel of the script editor to insert line feed characters to create a new line. For instance, suppose I have multiple commands on one line separated by ; and I want to search for semicolon and replace with semicolon followed by return character to drop the remaining script onto a new line. That kind of thing. It?s just easier than taking the whole script and pasting into another text editor to do the same operation. With 17,000 scripts to go through, it?s a bit tedious doing it by copy paste fix copy paste all the time. On Mon, 5 Apr 2021 at 15:22, Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > Of course you have to extract the script first (it is a property) then > work it, then reset the property/ > > Craig > > > On Apr 3, 2021, at 1:43 PM, Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all, > > > > Just wondering if there is a way of replacing using cr in the > find/replace > > panel of the script editor. For example, I have a lot of instances in my > > inherited code that has 'then put' ... that I want to put over two lines > > and then, if necessary add an end if later on. Is there a way to insert a > > cr between 'then' and 'put' from the panel? It would be useful to know > for > > other things too. > > > > Cheers > > > > Sean > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pi Digital From bobsneidar at iotecdigital.com Mon Apr 5 11:51:07 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 5 Apr 2021 15:51:07 +0000 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <7EE125B8-E038-429A-A27E-49F53D356943@iotecdigital.com> Probably want to use regex then. Bob S > On Apr 5, 2021, at 08:42 , Sean Cole (Pi) via use-livecode wrote: > > No. I mean using the find/replace tool panel of the script editor to insert > line feed characters to create a new line. > > For instance, suppose I have multiple commands on one line separated by ; > and I want to search for semicolon and replace with semicolon followed by > return character to drop the remaining script onto a new line. That kind of > thing. It?s just easier than taking the whole script and pasting into > another text editor to do the same operation. With 17,000 scripts to go > through, it?s a bit tedious doing it by copy paste fix copy paste all the > time. From brian at milby7.com Mon Apr 5 11:56:50 2021 From: brian at milby7.com (Brian Milby) Date: Mon, 5 Apr 2021 11:56:50 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <2CB9BB02-76A6-4AD4-AA18-58CE1FF8F1EC@milby7.com> If using Atom would be helpful for your task, then ScriptTracker could facilitate that: https://github.com/bwmilby/scriptTracker It exports all of the scripts of a stack to files and can watch that directory for changes and automatically import the changes back into the stack. (I would be curious at the performance on a project that large.) Another option would be to use the code from button 1003 as inspiration to write a script that would make your change in all scripts in a stack (thinking of the logic that I used to get to every script of a stack without going into shared objects more than once). I know you didn?t want to deal with doing it in code, but just wanted to offer a possibility. Thanks, Brian Sent from my iPhone > On Apr 5, 2021, at 11:44 AM, Sean Cole (Pi) via use-livecode wrote: > > ?No. I mean using the find/replace tool panel of the script editor to insert > line feed characters to create a new line. > > For instance, suppose I have multiple commands on one line separated by ; > and I want to search for semicolon and replace with semicolon followed by > return character to drop the remaining script onto a new line. That kind of > thing. It?s just easier than taking the whole script and pasting into > another text editor to do the same operation. With 17,000 scripts to go > through, it?s a bit tedious doing it by copy paste fix copy paste all the > time. > >> On Mon, 5 Apr 2021 at 15:22, Craig Newman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Of course you have to extract the script first (it is a property) then >> work it, then reset the property/ >> >> Craig >> >>> On Apr 3, 2021, at 1:43 PM, Sean Cole (Pi) via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi all, >>> >>> Just wondering if there is a way of replacing using cr in the >> find/replace >>> panel of the script editor. For example, I have a lot of instances in my >>> inherited code that has 'then put' ... that I want to put over two lines >>> and then, if necessary add an end if later on. Is there a way to insert a >>> cr between 'then' and 'put' from the panel? It would be useful to know >> for >>> other things too. >>> >>> Cheers >>> >>> Sean >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- > Pi Digital > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Apr 5 13:23:48 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 5 Apr 2021 10:23:48 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: <2CB9BB02-76A6-4AD4-AA18-58CE1FF8F1EC@milby7.com> References: <2CB9BB02-76A6-4AD4-AA18-58CE1FF8F1EC@milby7.com> Message-ID: <17ceea13-d17e-575a-eb7a-c6498fa941d1@fourthworld.com> The Find feature in the Script Editor is limited to the script being viewed. For larger-scope searches type Cmd-F in any other window. -- 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 waprothero at gmail.com Mon Apr 5 17:40:47 2021 From: waprothero at gmail.com (William Prothero) Date: Mon, 5 Apr 2021 14:40:47 -0700 Subject: Help! I'm stuck In-Reply-To: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <35A8952D-2B1E-40C5-B768-D20D39229ECB@m-r-d.de> <7C23D607-F6E5-4F20-B55A-C703B1166A4A@m-r-d.de> <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks so much, Sean and Jacqueline! I?ll try that. Bill > On Apr 4, 2021, at 9:04 AM, J. Landman Gay via use-livecode wrote: > > It's not a bug, it was intentionally introduced to allow a couple of features, like retaining script local variables after a build. Given the amount of extra scripting to work around it for existing stacks, I think it may have introduced more problems than it tried to cure. > > I did try turning off messages before a build but it didn't work. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 3, 2021 7:13:25 PM William Prothero via use-livecode wrote: > >> Also, I wonder if disabling all these open ?. handlers during build might cause build problems. If it was a universal problem/bug, I would think it would have been fixed by LC version 9.6.2 (RC3).??? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William Prothero waprothero at gmail.com From waprothero at gmail.com Mon Apr 5 17:50:08 2021 From: waprothero at gmail.com (William Prothero) Date: Mon, 5 Apr 2021 14:50:08 -0700 Subject: Help! I'm stuck In-Reply-To: References: <35A8952D-2B1E-40C5-B768-D20D39229ECB@m-r-d.de> <7C23D607-F6E5-4F20-B55A-C703B1166A4A@m-r-d.de> <3BD46D36-55C9-4F6D-A7C7-86AEFD9BA3B6@m-r-d.de> <105D0C78-B22A-45CF-B4C1-7CADF3918F63@gmail.com> Message-ID: <3C584973-7514-4E3B-A7C0-6DED47DC5078@gmail.com> Hot Dang! It built the App. Sean and Jacqueline, you made my day! Thanks! Bill > On Apr 4, 2021, at 6:08 AM, Sean Cole (Pi) via use-livecode wrote: > > You can also turn off messages and errors from the Toolbar before you > build. This should prevent any pre/open or pre/close scripts from running. > And make sure all inspectors, message box and project browser are closed > too as well as any windows/stacks other than your main stack. > > Sean > > On Sun, 4 Apr 2021 at 13:57, Sean Cole (Pi) wrote: > >> ResolveID is referring to the stack, card and object IDs to tie it to your >> breakpoints. >> >> Focus on your main stack. In the Development menu bar, choose Clear All >> Breakpoints. It?s a good idea to do this every time before a main >> standalone build. >> >> So, Delete all your breakpoints. Then resave. (Close and reopen your stack >> and LC if you like). Rebuild. It will be ok. >> >> Sean >> >> On Sun, 4 Apr 2021 at 01:10, William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Matthias, or anybody: >>> >>> I got side-tracked but am back to needing to build this standalone and >>> guess what the error message from the builder means. This build problem has >>> been known for some time, as Matthias kindly notified me. >>> >>> My question is:Is it possible to tell what stacks are causing the >>> problem, from the builder error codes. I have But it seems a bit odd that I >>> would have to disable the preopenStack, openstack, closestack, preopencard, >>> opencard, etc, etc ad-nauseum. >>> >>> Before I cause myself a bunch of thrashing around changing a bunch of >>> stacks, is there anything in the error dialog that?s attached that would >>> give me a hint as to where this is happening? Also, I wonder if disabling >>> all these open ?. handlers during build might cause build problems. If it >>> was a universal problem/bug, I would think it would have been fixed by LC >>> version 9.6.2 (RC3).??? >>> >>> Thanks for any insight and direction. (I?m on Big Sur 11.2.2). I have 10 >>> stacks and a number of script only lib stacks in this project. >>> >>> Bill >>> >>> Links to the error dialog: >>> page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0 >>> >>> page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 >>> >>> >>>> On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Bill, >>>> >>>> i've just checked the release notes of 9.0.x >>>> The release notes of 9.0.2 contain updated information about this topic >>> and an enhanced script example. >>>> opencard scripts should also be adjusted. >>>> https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf >>>> >>>> Please excuse me for pointing to 9.0.1rc1 release notes yesterday. >>>> >>>> >>>> Regards >>>> Matthias >>>> >>>> >>>> >>>> >>>> >>>> >>>> - >>>> Matthias Rebbe >>>> Life Is Too Short For Boring Code >>>> >>>>> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode < >>> use-livecode at lists.runrev.com>: >>>>> >>>>> Matthias: >>>>> I see that openstack and closestack messages are inhibited during >>> application build, using: >>>>> >>>>> on closeStack >>>>> if the mode of stack ?revStandaloneProgress? > 0 then >>>>> exit closeStack >>>>> end if >>>>> end >>>>> >>>>> So, before I start adding this to all openstack, closestack, scripts >>> of my 12 stacks, I'm? wondering if I could mess up the build process by >>> by-passing some of the scripts in these handlers. Is there any way to tell >>> more precisely what is causing the problem? Any recommendations on >>> strategy? Should I just change one stack at a time and look for changes in >>> the error window, or just change all them and wonder what affect that would >>> have on the integrity of the build process? >>>>> >>>>> Also, opencard scripts are also called when a stack in launched and I >>> wonder if those need to be escaped too. >>>>> >>>>> Best, >>>>> Bill >>>>> >>>>>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Another thing. I am not sure if your problems are also a result of >>> the following, but you could giv it a try. >>>>>> >>>>>> There was something changed in Standalonebuilder process starting in >>> LC 9.0 or so to fix a problem. But this fix could cause other problems in >>> some situation. >>>>>> While before that fix the main stacks did not receive any openstack >>> and closestack messages during standalone build, now with the fixed >>> standalone builder they do. >>>>>> Therefore some lines of code need to be added to avoid this. >>>>>> >>>>>> See here on page 2 for an explanation what you have to add to your >>> openstack and closestack handler >>>>>> >>> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf >>>>>> >>>>>> >>>>>> - >>>>>> Matthias Rebbe >>>>>> Life Is Too Short For Boring Code >>>>>> >>>>>>> Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode < >>> use-livecode at lists.runrev.com>: >>>>>>> >>>>>>> It?s mystifying that all messages seem to come from the rev builder >>> scripts, with no hint of what could be the problem. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> 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 >>> >>> 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 >>> >> -- >> Pi Digital >> > -- > Pi Digital > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William Prothero waprothero at gmail.com From sean at pidigital.co.uk Tue Apr 6 01:26:51 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 6 Apr 2021 06:26:51 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <17ceea13-d17e-575a-eb7a-c6498fa941d1@fourthworld.com> References: <2CB9BB02-76A6-4AD4-AA18-58CE1FF8F1EC@milby7.com> <17ceea13-d17e-575a-eb7a-c6498fa941d1@fourthworld.com> Message-ID: Bob, Regex only appears to operate on the read of the text, so ; in the *find* field will locate all of the places a semicolon is found, but putting /n into the *replace* field will not replace the ; with a cr Brian, The project is huge and I don't yet have the time to invest in porting it all to github just yet. As it is I have created my own simple regex text operator that I copy/paste the script into. https://www.dropbox.com/s/glq6pco70d3zgt3/Screenshot%202021-04-06%20at%2006.21.22.png?dl=0 Richard, I've tried in the Find, Find and replace of the script editor and the Find/Replace from the main menu. I can't seem to place a carriage return (or line feed or whatever) into the replacement field. This is what I am trying to achieve. Replace ";" with "cr" in myScript. I can do it in code, but not from the find/replace windows. :( Sean From toolbook at kestner.de Tue Apr 6 05:36:56 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Tue, 6 Apr 2021 11:36:56 +0200 Subject: How do you handle 32/64 bit Windows standalones? Message-ID: <077301d72ac8$62ccbe50$28663af0$@kestner.de> Hello, When creating a Windows standalone, are you still creating the 32Bit standalone or only anymore 64 Bit Versions of your products? I know, that Microsoft doesn't delivers 32 Bit Versions anymore since 2020, but I didn't found statistics about the current shares of 32/64 Bit Windows Systems out there (in Germany). Are there any caveats against going on with 32 Bit versions for some more years? How do you handle this today? From sundown.pacifier at icloud.com Tue Apr 6 05:47:34 2021 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Tue, 6 Apr 2021 02:47:34 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: I haven?t been following this subject that close so I could be missing completely with my answer, but when writing code in C or C++ the /n is simply a / and n characters not a carriage return. The \n is used for a new line which is a carriage return. If I am missing the point just ignore the post. Forward slash n (/n) does not make a new line. Back slash n (\n) does make a new line. JB > On Apr 5, 2021, at 10:28 PM, Sean Cole (Pi) via use-livecode wrote: > > ?Bob, Regex only appears to operate on the read of the text, so > ; > in the *find* field will locate all of the places a semicolon is found, but > putting > /n > into the *replace* field will not replace the ; with a cr > > Brian, The project is huge and I don't yet have the time to invest in > porting it all to github just yet. As it is I have created my own simple > regex text operator that I copy/paste the script into. > > https://www.dropbox.com/s/glq6pco70d3zgt3/Screenshot%202021-04-06%20at%2006.21.22.png?dl=0 > > Richard, I've tried in the Find, Find and replace of the script editor and > the Find/Replace from the main menu. I can't seem to place a carriage > return (or line feed or whatever) into the replacement field. This is what > I am trying to achieve. Replace ";" with "cr" in myScript. I can do it in > code, but not from the find/replace windows. :( > > Sean > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 06:02:22 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 6 Apr 2021 12:02:22 +0200 Subject: How do you handle 32/64 bit Windows standalones? In-Reply-To: <077301d72ac8$62ccbe50$28663af0$@kestner.de> References: <077301d72ac8$62ccbe50$28663af0$@kestner.de> Message-ID: <90A42531-2D73-41AB-A2E5-4211A77231F3@m-r-d.de> Windows 8 was available as 32 and 64 bit. The support for that OS by Microsoft ends 23.01.2023. Windows 10 also was (and maybe still is) available as 32bit and 64 bit. If i recall it correctly starting with Win10 2004 only 64bit OEM versions werereleased. As long as there might be users who have a 32bit version of Windows running and as long as LC allows to create 32bit Windows standalones, i will create 32bit Windows standalones. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 06.04.2021 um 11:36 schrieb Tiemo via use-livecode : > > Hello, > > > > When creating a Windows standalone, are you still creating the 32Bit > standalone or only anymore 64 Bit Versions of your products? > > I know, that Microsoft doesn't delivers 32 Bit Versions anymore since 2020, > but I didn't found statistics about the current shares of 32/64 Bit Windows > Systems out there (in Germany). > > > > Are there any caveats against going on with 32 Bit versions for some more > years? > > > > How do you handle this today? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Apr 6 07:36:33 2021 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 6 Apr 2021 14:36:33 +0300 Subject: How do you handle 32/64 bit Windows standalones? In-Reply-To: <077301d72ac8$62ccbe50$28663af0$@kestner.de> References: <077301d72ac8$62ccbe50$28663af0$@kestner.de> Message-ID: I provide both: here have a look: https://www.dropbox.com/sh/2vgc1ei088hdqay/AAC8ac27eZuiI_BsWFlFQQjYa?dl=0 Richmond. On 6.04.21 12:36, Tiemo via use-livecode wrote: > Hello, > > > > When creating a Windows standalone, are you still creating the 32Bit > standalone or only anymore 64 Bit Versions of your products? > > I know, that Microsoft doesn't delivers 32 Bit Versions anymore since 2020, > but I didn't found statistics about the current shares of 32/64 Bit Windows > Systems out there (in Germany). > > > > Are there any caveats against going on with 32 Bit versions for some more > years? > > > > How do you handle this today? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 6 08:54:54 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 6 Apr 2021 08:54:54 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <779B8E60-04A2-43EE-8AB5-A54F596BBE08@starfirelighting.com> I understand why this will not work directly from the Find/Replace in the SE. That function does not know how to repace a semiColon with an actual return char. But a button somewhere, or a plug-in if that is more convenient, with a very simple handler can. (Pseudo) get the script of the objectOfInterest replace ?;? with return in it set the script of the objectOfInterest to it Done. Craig > On Apr 6, 2021, at 5:47 AM, John Balgenorth via use-livecode wrote: > > I haven?t been following this subject that close so I could be missing > completely with my answer, but when writing code in C or C++ the > /n is simply a / and n characters not a carriage return. The \n is > used for a new line which is a carriage return. If I am missing the > point just ignore the post. > > Forward slash n (/n) does not make a new line. > Back slash n (\n) does make a new line. > > JB > >> On Apr 5, 2021, at 10:28 PM, Sean Cole (Pi) via use-livecode wrote: >> >> ?Bob, Regex only appears to operate on the read of the text, so >> ; >> in the *find* field will locate all of the places a semicolon is found, but >> putting >> /n >> into the *replace* field will not replace the ; with a cr >> >> Brian, The project is huge and I don't yet have the time to invest in >> porting it all to github just yet. As it is I have created my own simple >> regex text operator that I copy/paste the script into. >> >> https://www.dropbox.com/s/glq6pco70d3zgt3/Screenshot%202021-04-06%20at%2006.21.22.png?dl=0 >> >> Richard, I've tried in the Find, Find and replace of the script editor and >> the Find/Replace from the main menu. I can't seem to place a carriage >> return (or line feed or whatever) into the replacement field. This is what >> I am trying to achieve. Replace ";" with "cr" in myScript. I can do it in >> code, but not from the find/replace windows. :( >> >> Sean >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 6 09:30:00 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 6 Apr 2021 14:30:00 +0100 Subject: How do you handle 32/64 bit Windows standalones? In-Reply-To: <077301d72ac8$62ccbe50$28663af0$@kestner.de> References: <077301d72ac8$62ccbe50$28663af0$@kestner.de> Message-ID: <993E1264-185F-4F94-83F3-A48FB93C6D81@andregarzia.com> Be aware that windows machines which are running ?Windows on ARM? such as the gorgeous Surface Pro X can only run either ARM64 windows apps (which we can?t build with LC) or 32bits x86 windows apps, which we can build. If you want to reach maximum compatibility with windows machines everywhere, building for 32bits is the safest bet. > On 6 Apr 2021, at 10:36, Tiemo via use-livecode wrote: > > Hello, > > > > When creating a Windows standalone, are you still creating the 32Bit > standalone or only anymore 64 Bit Versions of your products? > > I know, that Microsoft doesn't delivers 32 Bit Versions anymore since 2020, > but I didn't found statistics about the current shares of 32/64 Bit Windows > Systems out there (in Germany). > > > > Are there any caveats against going on with 32 Bit versions for some more > years? > > > > How do you handle this today? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Apr 6 11:10:35 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Tue, 6 Apr 2021 17:10:35 +0200 Subject: AW: How do you handle 32/64 bit Windows standalones? In-Reply-To: <993E1264-185F-4F94-83F3-A48FB93C6D81@andregarzia.com> References: <077301d72ac8$62ccbe50$28663af0$@kestner.de> <993E1264-185F-4F94-83F3-A48FB93C6D81@andregarzia.com> Message-ID: <000b01d72af6$ff5aa150$fe0fe3f0$@kestner.de> Thanks for your 2 cents! -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Andre Garzia via use-livecode Gesendet: Dienstag, 6. April 2021 15:30 An: How to use LiveCode Cc: Andre Garzia Betreff: Re: How do you handle 32/64 bit Windows standalones? Be aware that windows machines which are running ?Windows on ARM? such as the gorgeous Surface Pro X can only run either ARM64 windows apps (which we can?t build with LC) or 32bits x86 windows apps, which we can build. If you want to reach maximum compatibility with windows machines everywhere, building for 32bits is the safest bet. > On 6 Apr 2021, at 10:36, Tiemo via use-livecode wrote: > > Hello, > > > > When creating a Windows standalone, are you still creating the 32Bit > standalone or only anymore 64 Bit Versions of your products? > > I know, that Microsoft doesn't delivers 32 Bit Versions anymore since > 2020, but I didn't found statistics about the current shares of 32/64 > Bit Windows Systems out there (in Germany). > > > > Are there any caveats against going on with 32 Bit versions for some > more years? > > > > How do you handle this today? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 6 11:19:05 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Apr 2021 10:19:05 -0500 Subject: How do you handle 32/64 bit Windows standalones? In-Reply-To: <077301d72ac8$62ccbe50$28663af0$@kestner.de> References: <077301d72ac8$62ccbe50$28663af0$@kestner.de> Message-ID: <178a7c40628.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I create both. We still have users on older machines that need 32-bit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2021 4:39:42 AM Tiemo via use-livecode wrote: > Hello, > > > > When creating a Windows standalone, are you still creating the 32Bit > standalone or only anymore 64 Bit Versions of your products? > > I know, that Microsoft doesn't delivers 32 Bit Versions anymore since 2020, > but I didn't found statistics about the current shares of 32/64 Bit Windows > Systems out there (in Germany). > > > > Are there any caveats against going on with 32 Bit versions for some more > years? > > > > How do you handle this today? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Apr 6 18:42:15 2021 From: dochawk at gmail.com (doc hawk) Date: Tue, 6 Apr 2021 15:42:15 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> sean slipped > For instance, suppose I have multiple commands on one line separated by ; > and I want to search for semicolon and replace with semicolon followed by > return character to drop the remaining script onto a new line. put the script of someThing into tscript replace ?;? with ?;? & cr in script Set the script of someTHing to tscript From sean at pidigital.co.uk Wed Apr 7 01:16:12 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 7 Apr 2021 06:16:12 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> Message-ID: Hi all, So, the semicolon example was only given as an oversimplification because most of you didn't read the original post properly, jumped to the wrong conclusion and then offered irrelevant answers. But then, the oversimplification gathered the same results of people jumping to the wrong conclusion by not reading the posts correctly. (It wasn't helped by my /n \n typo that was jumped on and assumed to be where I was going wrong. It is the paradox of this forum. Make it comprehensive, people get lost and lose the point and give the wrong answer. Make it simple and they read more into it and then equally get it wrong. The code I deal with on a daily basis is infinitely more complex than a simple - put the script of someThing into tscript; replace ?;? with ?;? & cr in script; Set the script of someThing to tscript - and can do that kind of thing in my sleep (as I often do, but infinitely more complex). So, I KNOW all of these SCRIPTING techniques. I'm not interested! I can do that. NOT A PROBLEM :) BUT IN THE FIND/REPLACE PANEL !!!?? Can I use a return character (or a wildcard, escaped, coded form) in the REPLACE field OF THE PANEL. - A simple question. You CAN use RegEx in the FIND Field. In there you can SEARCH for \n ((I got it right this time)) which refers to a line feed (or new line). BUT, you CANNOT, it seems, as best I can find or from the comments made, use \n to replace or insert a line feed. In my scripts (the several thousands of them) there are NO (zero, none) semicolons used to separate commands. It was used ONLY to help give you a simpler idea of what I was trying to achieve without having to use too much detail. But this kind of dialogue on a forum filled with 'clever' people trying to demonstrate how clever they are means they often miss the point and give answers that do not fulfil the remit! Or just answer a simple ruddy question. Here, then, is a 'Real World' example of what I am facing. There are many variants and not my only issue, but a useful example, sample, demonstration. *[code]if* field "Level" begins with "Director" and field "UserDisplay" is not empty and field "UserDisplay" is not "All Agents" and the label of button "Status" is "All Sales" *then* *put* pidbQueryDatabase( "SELECT * FROM QGNew where UserID = '" & (fld "UserID" of card 17 stack "QGv3") & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") & "' AND Status LIKE '%" & ("Sale") & "%' OR UserID = '" & (fld "UserID" of card 17 stack "QGv3") & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") & "' AND Status LIKE '%" & ("Connect") & "%'") into tMsg [/code] That is all on a single line of a script in one of many thousand buttons. In and of itself is not so much a problem as it is just difficult for me to plough through when working out what the script is doing. In this button alone there are 32 lines similar in nature to this. To make it easier for me to go through, as I arrive at each button to simplify and correlate and combine into much more elegant code in the card script, I would like to be able, IN THE FIND REPLACE PANEL, not by code or porting or anything else, just to search and replace (& ") with (\ cr & ") (parenthesis used here just to wrap the strings), and (then put) with (then cr put). Hence, it will look a bit more like this: [code] *if* field "Level" begins with "Director" and field "UserDisplay" is not empty and field "UserDisplay" is not "All Agents" and the label of button "Status" is "All Sales" *then* *put* pidbQueryDatabase( "SELECT * FROM QGNew where UserID = '" & (fld "UserID" of card 17 stack "QGv3") \ & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ & "' AND Status LIKE '%" & ("Sale") \ & "%' OR UserID = '" & (fld "UserID" of card 17 stack "QGv3") \ & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ & "' AND Status LIKE '%" & ("Connect") \ & "%'") into tMsg [/code] Ideally I'd want it even better than this eventually. But key to doing just this for now was being able to use a return character in the replace field of the find/replace panel. My original question was 'Just wondering if there is a way of replacing using cr in the find/replace panel of the script editor.' A simple Yes or No would have been sufficient. Even better, a yes with a 'just use this form : x,y,z' as a sample. I just hoped someone had found a simple method, especially as the guides and documentation are so woefully out of date and incomplete. Something more than 'the meaning of life = 42' and less than 'measuring gravity = the complete works of Sir Isaac Newton', as long as it actually answers the question asked :) (And please don't go into the simplification of the SQL requests, the 'if' condition or any other poop. I'm FULLY aware of this to the nth degree and is why I'm going through this poop-show of a stack. Over 10 years of poor/bad/dirty coding that now needs cleaning and refactoring without rebuilding from the ground up. I'm just working my way through and have managed 6 of the 801 cards) Stats for this behemoth: Number of stacks = 109 Total number of cards = 801 Total number of controls = 82579 Total number of buttons = 19124 Total Number of fields = 33484 Total number of groups = 12152 Total number of graphics = 14359 Total number of images = 3282 Total Lines of code = 360036 :-) Sean On Tue, 6 Apr 2021 at 23:42, doc hawk via use-livecode < use-livecode at lists.runrev.com> wrote: > > sean slipped > > > For instance, suppose I have multiple commands on one line separated by ; > > and I want to search for semicolon and replace with semicolon followed by > > return character to drop the remaining script onto a new line. > > put the script of someThing into tscript > replace ?;? with ?;? & cr in script > Set the script of someTHing to tscript > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 7 09:46:42 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 7 Apr 2021 16:46:42 +0300 Subject: [ANN] Release 9.6.2 RC-4 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.2 RC-4. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.2 RC-4 comes with 1 regression fix: - Fix unresponsiveness of engine when scrolling on Big Sur For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_4.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.1.x - LiveCode builds iOS apps using the iOS 14.1 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 end of June 2020, Apple is only accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From alex at tweedly.net Wed Apr 7 10:07:08 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 7 Apr 2021 15:07:08 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> Message-ID: <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Hi Sean, I'm struggling a bit to understand how you intend to use this. You give an example of > *if* field "Level" begins with "Director" and field "UserDisplay" is not > empty and field "UserDisplay" is not "All Agents" and the label of button > "Status" is "All Sales"*then* > *put* pidbQueryDatabase( "SELECT * FROM QGNew where UserID = '" & (fld > "UserID" of card 17 stack "QGv3") \ > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > & "' AND Status LIKE '%" & ("Sale") \ > & "%' OR UserID = '" & (fld "UserID" of card 17 stack "QGv3") \ > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > & "' AND Status LIKE '%" & ("Connect") \ > & "%'") into tMsg BUT - that's no longer correct code; you need to add the "end if" after it. I don't see how any find/replace is going to do that successfully. You could tweak the script editor to allow some token to imply inserting a linefeed - but you'd still need to find the relevant end of statement and insert the 'end if' that you need. So (unless I'm missing something) you will finish up doing a scripted solution. Also, I do believe you will want to have the ease of use of using the find/replace panel to select only those lines which are to be modified (otherwise you are likely to pull in a number of cases you don't want). If it were me, I'd follow a process like : 1. identify the lines to be changed (parentheses for readability) find/replace?? (put then) --->? (put /*change*/ then) 2. use a plugin / frontscript to allow some weird key to trigger the changes. Sample plugin (with thanks to Jacque for the outline) > on preOpenStack > ?? if the long name of this stack is among the lines of the > frontscripts then > ????? put "---> passing" after msg > ????? pass preOpenStack > ?? else > ????? insert the script of this stack onto front > ?? end if > end preOpenStack > > on commandKeyDown whichKey ---- from Jacqueline Landman Gay > ?? if ("editor field" is not in the name of the target and "script" is > not in the name of the target) \ > ???????? or the shiftkey is not down > ?? then pass commandKeyDown > > ?? local tSel, tNewSel > ?? if whichKey = "+" then > ????? select text of the target > ????? put the selection into tSel > ????? repeat for each line L in tSel > ???????? if L contains "then /*change*/ put" then > ??????????? replace "then /*change*/ put" with "then " & CR & "put" in L > ??????????? replace ("& " & quote) with ("\" & CR & "?? & " & quote) in L > ??????????? put CR & "end if" after L > ???????? end if > ???????? put L &CR after tNewSel > ????? end repeat > ????? set the text of the target to tNewSel > ????? select empty > ?? else > ????? pass commandKeyDown > ?? end if > ?? setEditorDirty > end commandKeyDown > > private command setEditorDirty > ?? type space > ?? delete char (word 4 of the selectedchunk) of the target > end setEditorDirty > 3. ??? the srcipt editor has lost the "coloization" of the script. There is (or used to be) some way to restore that for the entire script - but I can't remember it. Hitting 'TAB' does it for the current handler but not for the whole script. So, I apologize - I've got carried away and provided a "creative" solution that is outside the remit of your question. So sue me :-) But since I had just finished reading Andre's book on plugins and development tools, this seemed like a good opportunity to try out creating a plugin. Alex. On 07/04/2021 06:16, Sean Cole (Pi) via use-livecode wrote: > Hi all, > So, the semicolon example was only given as an oversimplification because > most of you didn't read the original post properly, jumped to the > wrong conclusion and then offered irrelevant answers. But then, the > oversimplification gathered the same results of people jumping to the wrong > conclusion by not reading the posts correctly. (It wasn't helped by my /n > \n typo that was jumped on and assumed to be where I was going wrong. It is > the paradox of this forum. Make it comprehensive, people get lost and lose > the point and give the wrong answer. Make it simple and they read more into > it and then equally get it wrong. > > The code I deal with on a daily basis is infinitely more complex than a > simple - put the script of someThing into tscript; replace ?;? with ?;? & > cr in script; Set the script of someThing to tscript - and can do that kind > of thing in my sleep (as I often do, but infinitely more complex). > > So, I KNOW all of these SCRIPTING techniques. I'm not interested! I can do > that. NOT A PROBLEM :) > > BUT IN THE FIND/REPLACE PANEL !!!?? > > Can I use a return character (or a wildcard, escaped, coded form) in the > REPLACE field OF THE PANEL. - A simple question. > > You CAN use RegEx in the FIND Field. In there you can SEARCH for \n ((I got > it right this time)) which refers to a line feed (or new line). BUT, you > CANNOT, it seems, as best I can find or from the comments made, use \n to > replace or insert a line feed. > > In my scripts (the several thousands of them) there are NO (zero, none) > semicolons used to separate commands. It was used ONLY to help give you a > simpler idea of what I was trying to achieve without having to use too much > detail. But this kind of dialogue on a forum filled with 'clever' people > trying to demonstrate how clever they are means they often miss the point > and give answers that do not fulfil the remit! Or just answer a simple > ruddy question. > > Here, then, is a 'Real World' example of what I am facing. There are many > variants and not my only issue, but a useful example, sample, demonstration. > > > *[code]if* field "Level" begins with "Director" and field "UserDisplay" is > not empty and field "UserDisplay" is not "All Agents" and the label of > button "Status" is "All Sales" *then* *put* pidbQueryDatabase( "SELECT * > FROM QGNew where UserID = '" & (fld "UserID" of card 17 stack "QGv3") & "' > AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") & "' AND Status > LIKE '%" & ("Sale") & "%' OR UserID = '" & (fld "UserID" of card 17 stack > "QGv3") & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") & "' > AND Status LIKE '%" & ("Connect") & "%'") into tMsg > [/code] > That is all on a single line of a script in one of many thousand buttons. > In and of itself is not so much a problem as it is just difficult for me to > plough through when working out what the script is doing. In this button > alone there are 32 lines similar in nature to this. > > To make it easier for me to go through, as I arrive at each button to > simplify and correlate and combine into much more elegant code in the card > script, I would like to be able, IN THE FIND REPLACE PANEL, not by code or > porting or anything else, just to search and replace (& ") with (\ cr & ") > (parenthesis used here just to wrap the strings), and (then put) with (then > cr put). Hence, it will look a bit more like this: > > [code] > *if* field "Level" begins with "Director" and field "UserDisplay" is not > empty and field "UserDisplay" is not "All Agents" and the label of button > "Status" is "All Sales" *then* > *put* pidbQueryDatabase( "SELECT * FROM QGNew where UserID = '" & (fld > "UserID" of card 17 stack "QGv3") \ > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > & "' AND Status LIKE '%" & ("Sale") \ > & "%' OR UserID = '" & (fld "UserID" of card 17 stack "QGv3") \ > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > & "' AND Status LIKE '%" & ("Connect") \ > & "%'") into tMsg > [/code] > > Ideally I'd want it even better than this eventually. But key to doing just > this for now was being able to use a return character in the replace field > of the find/replace panel. > > My original question was 'Just wondering if there is a way of replacing > using cr in the find/replace panel of the script editor.' > > A simple Yes or No would have been sufficient. Even better, a yes with a > 'just use this form : x,y,z' as a sample. I just hoped someone had found a > simple method, especially as the guides and documentation are so woefully > out of date and incomplete. Something more than 'the meaning of life = 42' > and less than 'measuring gravity = the complete works of Sir Isaac Newton', > as long as it actually answers the question asked :) > > (And please don't go into the simplification of the SQL requests, the 'if' > condition or any other poop. I'm FULLY aware of this to the nth degree and > is why I'm going through this poop-show of a stack. Over 10 years of > poor/bad/dirty coding that now needs cleaning and refactoring without > rebuilding from the ground up. I'm just working my way through and have > managed 6 of the 801 cards) > > Stats for this behemoth: > Number of stacks = 109 > Total number of cards = 801 > Total number of controls = 82579 > Total number of buttons = 19124 > Total Number of fields = 33484 > Total number of groups = 12152 > Total number of graphics = 14359 > Total number of images = 3282 > Total Lines of code = 360036 > > :-) > Sean > > On Tue, 6 Apr 2021 at 23:42, doc hawk via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> sean slipped >> >>> For instance, suppose I have multiple commands on one line separated by ; >>> and I want to search for semicolon and replace with semicolon followed by >>> return character to drop the remaining script onto a new line. >> put the script of someThing into tscript >> replace ?;? with ?;? & cr in script >> Set the script of someTHing to tscript >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 11:46:25 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 7 Apr 2021 16:46:25 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Message-ID: FFS Alex, I HAVE created a plugin! I was JUST trying to ask, can I insert a cr using the replace field of the Find Replace ONLY. I flipping already know how LC works for most other things. I dont need explanations on how to suck effing eggs. Just answer the sodding question. Answer nothing but this PLEASE. This is why I end up getting mad! I even just explained this in my last post. Why are you all unable to READ!!!!!!! ??????? Sean PS Morons. I'm offended by your On Wed, 7 Apr 2021 at 15:07, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Sean, > > I'm struggling a bit to understand how you intend to use this. > > You give an example of > > > *if* field "Level" begins with "Director" and field "UserDisplay" is not > > empty and field "UserDisplay" is not "All Agents" and the label of button > > "Status" is "All Sales"*then* > > *put* pidbQueryDatabase( "SELECT * FROM QGNew where UserID = '" & (fld > > "UserID" of card 17 stack "QGv3") \ > > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > > & "' AND Status LIKE '%" & ("Sale") \ > > & "%' OR UserID = '" & (fld "UserID" of card 17 stack "QGv3") \ > > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > > & "' AND Status LIKE '%" & ("Connect") \ > > & "%'") into tMsg > BUT - that's no longer correct code; you need to add the "end if" after it. > > I don't see how any find/replace is going to do that successfully. > > You could tweak the script editor to allow some token to imply inserting > a linefeed - but you'd still need to find the relevant end of statement > and insert the 'end if' that you need. > > > So (unless I'm missing something) you will finish up doing a scripted > solution. Also, I do believe you will want to have the ease of use of > using the find/replace panel to select only those lines which are to be > modified (otherwise you are likely to pull in a number of cases you > don't want). > > If it were me, I'd follow a process like : > > 1. identify the lines to be changed (parentheses for readability) > > find/replace (put then) ---> (put /*change*/ then) > > 2. use a plugin / frontscript to allow some weird key to trigger the > changes. > > Sample plugin (with thanks to Jacque for the outline) > > > on preOpenStack > > if the long name of this stack is among the lines of the > > frontscripts then > > put "---> passing" after msg > > pass preOpenStack > > else > > insert the script of this stack onto front > > end if > > end preOpenStack > > > > on commandKeyDown whichKey ---- from Jacqueline Landman Gay > > if ("editor field" is not in the name of the target and "script" is > > not in the name of the target) \ > > or the shiftkey is not down > > then pass commandKeyDown > > > > local tSel, tNewSel > > if whichKey = "+" then > > select text of the target > > put the selection into tSel > > repeat for each line L in tSel > > if L contains "then /*change*/ put" then > > replace "then /*change*/ put" with "then " & CR & "put" in L > > replace ("& " & quote) with ("\" & CR & " & " & quote) in L > > put CR & "end if" after L > > end if > > put L &CR after tNewSel > > end repeat > > set the text of the target to tNewSel > > select empty > > else > > pass commandKeyDown > > end if > > setEditorDirty > > end commandKeyDown > > > > private command setEditorDirty > > type space > > delete char (word 4 of the selectedchunk) of the target > > end setEditorDirty > > > > > 3. ??? the srcipt editor has lost the "coloization" of the script. There > is (or used to be) some way to restore that for the entire script - but > I can't remember it. Hitting 'TAB' does it for the current handler but > not for the whole script. > > > So, I apologize - I've got carried away and provided a "creative" > solution that is outside the remit of your question. So sue me :-) > > But since I had just finished reading Andre's book on plugins and > development tools, this seemed like a good opportunity to try out > creating a plugin. > > Alex. > > On 07/04/2021 06:16, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > So, the semicolon example was only given as an oversimplification because > > most of you didn't read the original post properly, jumped to the > > wrong conclusion and then offered irrelevant answers. But then, the > > oversimplification gathered the same results of people jumping to the > wrong > > conclusion by not reading the posts correctly. (It wasn't helped by my /n > > \n typo that was jumped on and assumed to be where I was going wrong. It > is > > the paradox of this forum. Make it comprehensive, people get lost and > lose > > the point and give the wrong answer. Make it simple and they read more > into > > it and then equally get it wrong. > > > > The code I deal with on a daily basis is infinitely more complex than a > > simple - put the script of someThing into tscript; replace ?;? with ?;? & > > cr in script; Set the script of someThing to tscript - and can do that > kind > > of thing in my sleep (as I often do, but infinitely more complex). > > > > So, I KNOW all of these SCRIPTING techniques. I'm not interested! I can > do > > that. NOT A PROBLEM :) > > > > BUT IN THE FIND/REPLACE PANEL !!!?? > > > > Can I use a return character (or a wildcard, escaped, coded form) in the > > REPLACE field OF THE PANEL. - A simple question. > > > > You CAN use RegEx in the FIND Field. In there you can SEARCH for \n ((I > got > > it right this time)) which refers to a line feed (or new line). BUT, you > > CANNOT, it seems, as best I can find or from the comments made, use \n to > > replace or insert a line feed. > > > > In my scripts (the several thousands of them) there are NO (zero, none) > > semicolons used to separate commands. It was used ONLY to help give you a > > simpler idea of what I was trying to achieve without having to use too > much > > detail. But this kind of dialogue on a forum filled with 'clever' people > > trying to demonstrate how clever they are means they often miss the point > > and give answers that do not fulfil the remit! Or just answer a simple > > ruddy question. > > > > Here, then, is a 'Real World' example of what I am facing. There are many > > variants and not my only issue, but a useful example, sample, > demonstration. > > > > > > *[code]if* field "Level" begins with "Director" and field "UserDisplay" > is > > not empty and field "UserDisplay" is not "All Agents" and the label of > > button "Status" is "All Sales" *then* *put* pidbQueryDatabase( "SELECT * > > FROM QGNew where UserID = '" & (fld "UserID" of card 17 stack "QGv3") & > "' > > AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") & "' AND > Status > > LIKE '%" & ("Sale") & "%' OR UserID = '" & (fld "UserID" of card 17 stack > > "QGv3") & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") > & "' > > AND Status LIKE '%" & ("Connect") & "%'") into tMsg > > [/code] > > That is all on a single line of a script in one of many thousand buttons. > > In and of itself is not so much a problem as it is just difficult for me > to > > plough through when working out what the script is doing. In this button > > alone there are 32 lines similar in nature to this. > > > > To make it easier for me to go through, as I arrive at each button to > > simplify and correlate and combine into much more elegant code in the > card > > script, I would like to be able, IN THE FIND REPLACE PANEL, not by code > or > > porting or anything else, just to search and replace (& ") with (\ cr & > ") > > (parenthesis used here just to wrap the strings), and (then put) with > (then > > cr put). Hence, it will look a bit more like this: > > > > [code] > > *if* field "Level" begins with "Director" and field "UserDisplay" is not > > empty and field "UserDisplay" is not "All Agents" and the label of button > > "Status" is "All Sales" *then* > > *put* pidbQueryDatabase( "SELECT * FROM QGNew where UserID = '" & (fld > > "UserID" of card 17 stack "QGv3") \ > > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > > & "' AND Status LIKE '%" & ("Sale") \ > > & "%' OR UserID = '" & (fld "UserID" of card 17 stack "QGv3") \ > > & "' AND DealerID = '" & (fld "DealerID" of card 1 stack "QGv3") \ > > & "' AND Status LIKE '%" & ("Connect") \ > > & "%'") into tMsg > > [/code] > > > > Ideally I'd want it even better than this eventually. But key to doing > just > > this for now was being able to use a return character in the replace > field > > of the find/replace panel. > > > > My original question was 'Just wondering if there is a way of replacing > > using cr in the find/replace panel of the script editor.' > > > > A simple Yes or No would have been sufficient. Even better, a yes with a > > 'just use this form : x,y,z' as a sample. I just hoped someone had found > a > > simple method, especially as the guides and documentation are so woefully > > out of date and incomplete. Something more than 'the meaning of life = > 42' > > and less than 'measuring gravity = the complete works of Sir Isaac > Newton', > > as long as it actually answers the question asked :) > > > > (And please don't go into the simplification of the SQL requests, the > 'if' > > condition or any other poop. I'm FULLY aware of this to the nth degree > and > > is why I'm going through this poop-show of a stack. Over 10 years of > > poor/bad/dirty coding that now needs cleaning and refactoring without > > rebuilding from the ground up. I'm just working my way through and have > > managed 6 of the 801 cards) > > > > Stats for this behemoth: > > Number of stacks = 109 > > Total number of cards = 801 > > Total number of controls = 82579 > > Total number of buttons = 19124 > > Total Number of fields = 33484 > > Total number of groups = 12152 > > Total number of graphics = 14359 > > Total number of images = 3282 > > Total Lines of code = 360036 > > > > :-) > > Sean > > > > On Tue, 6 Apr 2021 at 23:42, doc hawk via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> sean slipped > >> > >>> For instance, suppose I have multiple commands on one line separated > by ; > >>> and I want to search for semicolon and replace with semicolon followed > by > >>> return character to drop the remaining script onto a new line. > >> put the script of someThing into tscript > >> replace ?;? with ?;? & cr in script > >> Set the script of someTHing to tscript > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 12:02:54 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 7 Apr 2021 12:02:54 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: Sean: > if there is a way of replacing using cr > in the find/replace panel of the script editor. So what you are REALLY asking is whether nested style arrays and chained behaviors can be used with tsNet and DataGrid in a git-compatible environment to create an IDE within an IDE, via a creepy talking face emerging from the Test button and utilizing only whitespace and semicolons sprinkled among seemingly-random iterations of the first 17 words of the song Imagine? ;) > BUT IN THE FIND/REPLACE PANEL !!!?? Oh, there! I don't know. I never trusted SE enough to use its replace. Good question! I agree, this is a simple Q and should be documented. Probably I would write a script for doing this; I'd trust it more. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Wed Apr 7 12:03:02 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 7 Apr 2021 12:03:02 -0400 Subject: Checking the Milliseconds Message-ID: Hey peeps, I wanted to measure how many times the LC engine can check the milliseconds count during each millisecond that passes. The results really surprised me, I thought it would be less, but I don't know why really. Anyone want to take a guess? What is strange about my results, is that every few milliseconds the amount of millisecond queries that occurs ...... doubles. Why does this happen I wonder? Can someone double check if that happens on your CPU? I'm on WIndows 10 on an i5 4570. Here is the code. -------------------------------------- local last_known_millisecond local queries = 0 local report on mouseUp lock screen put empty into report local x repeat 1000 times add 1 to x put 0 into queries put the milliseconds into last_known_millisecond repeat forever add 1 to queries if the milliseconds = last_known_millisecond then next repeat else exit repeat end if end repeat put queries into line x of report end repeat unlock screen put report end mouseUp -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tore.nilsen at me.com Wed Apr 7 12:15:39 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 7 Apr 2021 18:15:39 +0200 Subject: Checking the Milliseconds In-Reply-To: References: Message-ID: <61D1B5D2-FB46-4C3E-A336-E8C091054724@me.com> It averages around 3850 and 3900 every time I try. However, when I try to run the test 10000 times the average goes down to just above 3600. BigSur on Xeon W 3GHz. Best regards Tore Nilsen > 7. apr. 2021 kl. 18:03 skrev Tom Glod via use-livecode : > > Hey peeps, > > I wanted to measure how many times the LC engine can check the milliseconds > count during each millisecond that passes. > > The results really surprised me, I thought it would be less, but I don't > know why really. > > Anyone want to take a guess? > > What is strange about my results, is that every few milliseconds the amount > of millisecond queries that occurs ...... doubles. > > Why does this happen I wonder? > > Can someone double check if that happens on your CPU? I'm on WIndows 10 on > an i5 4570. > > Here is the code. > -------------------------------------- > > local last_known_millisecond > local queries = 0 > local report > > on mouseUp > lock screen > put empty into report > local x > repeat 1000 times > add 1 to x > put 0 into queries > put the milliseconds into last_known_millisecond > repeat forever > add 1 to queries > if the milliseconds = last_known_millisecond then > next repeat > else > exit repeat > end if > end repeat > put queries into line x of report > end repeat > unlock screen > put report > end mouseUp > > -- > 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 rdimola at evergreeninfo.net Wed Apr 7 12:20:50 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 7 Apr 2021 12:20:50 -0400 Subject: Checking the Milliseconds In-Reply-To: References: Message-ID: <004c01d72bc9$fc838ea0$f58aabe0$@net> Here's the first few from LC 9.6.1 Win 10 Pro VM SSD 1473 3326 3397 3155 2442 3234 2292 3349 3380 3275 3259 3498 3300 3634 3462 3228 3896 3762 3197 3186 2188 1461 2716 3358 2940 2886 2614 2264 3038 3322 3305 3372 3395 3418 2579 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: Wednesday, April 07, 2021 12:03 PM To: How to use LiveCode Cc: Tom Glod Subject: Checking the Milliseconds Hey peeps, I wanted to measure how many times the LC engine can check the milliseconds count during each millisecond that passes. The results really surprised me, I thought it would be less, but I don't know why really. Anyone want to take a guess? What is strange about my results, is that every few milliseconds the amount of millisecond queries that occurs ...... doubles. Why does this happen I wonder? Can someone double check if that happens on your CPU? I'm on WIndows 10 on an i5 4570. Here is the code. -------------------------------------- local last_known_millisecond local queries = 0 local report on mouseUp lock screen put empty into report local x repeat 1000 times add 1 to x put 0 into queries put the milliseconds into last_known_millisecond repeat forever add 1 to queries if the milliseconds = last_known_millisecond then next repeat else exit repeat end if end repeat put queries into line x of report end repeat unlock screen put report end mouseUp -- 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 Wed Apr 7 12:20:11 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 7 Apr 2021 12:20:11 -0400 Subject: Checking the Milliseconds In-Reply-To: <004c01d72bc9$fc838ea0$f58aabe0$@net> References: <004c01d72bc9$fc838ea0$f58aabe0$@net> Message-ID: Hmmm.... I averaged about 3500..... but every so often ....7000+..... On Wed, Apr 7, 2021 at 12:17 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Here's the first few from LC 9.6.1 Win 10 Pro VM SSD > > 1473 > 3326 > 3397 > 3155 > 2442 > 3234 > 2292 > 3349 > 3380 > 3275 > 3259 > 3498 > 3300 > 3634 > 3462 > 3228 > 3896 > 3762 > 3197 > 3186 > 2188 > 1461 > 2716 > 3358 > 2940 > 2886 > 2614 > 2264 > 3038 > 3322 > 3305 > 3372 > 3395 > 3418 > 2579 > > > 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: Wednesday, April 07, 2021 12:03 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Checking the Milliseconds > > Hey peeps, > > I wanted to measure how many times the LC engine can check the milliseconds > count during each millisecond that passes. > > The results really surprised me, I thought it would be less, but I don't > know why really. > > Anyone want to take a guess? > > What is strange about my results, is that every few milliseconds the amount > of millisecond queries that occurs ...... doubles. > > Why does this happen I wonder? > > Can someone double check if that happens on your CPU? I'm on WIndows 10 on > an i5 4570. > > Here is the code. > -------------------------------------- > > local last_known_millisecond > local queries = 0 > local report > > on mouseUp > lock screen > put empty into report > local x > repeat 1000 times > add 1 to x > put 0 into queries > put the milliseconds into last_known_millisecond > repeat forever > add 1 to queries > if the milliseconds = last_known_millisecond then > next repeat > else > exit repeat > end if > end repeat > put queries into line x of report > end repeat > unlock screen > put report > end mouseUp > > -- > 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 rdimola at evergreeninfo.net Wed Apr 7 12:37:54 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 7 Apr 2021 12:37:54 -0400 Subject: Checking the Milliseconds In-Reply-To: References: Message-ID: <004d01d72bcc$5ec34fe0$1c49efa0$@net> I scanned the results after it was done and got this: Max==>3959 Min==>1015 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: Wednesday, April 07, 2021 12:03 PM To: How to use LiveCode Cc: Tom Glod Subject: Checking the Milliseconds Hey peeps, I wanted to measure how many times the LC engine can check the milliseconds count during each millisecond that passes. The results really surprised me, I thought it would be less, but I don't know why really. Anyone want to take a guess? What is strange about my results, is that every few milliseconds the amount of millisecond queries that occurs ...... doubles. Why does this happen I wonder? Can someone double check if that happens on your CPU? I'm on WIndows 10 on an i5 4570. Here is the code. -------------------------------------- local last_known_millisecond local queries = 0 local report on mouseUp lock screen put empty into report local x repeat 1000 times add 1 to x put 0 into queries put the milliseconds into last_known_millisecond repeat forever add 1 to queries if the milliseconds = last_known_millisecond then next repeat else exit repeat end if end repeat put queries into line x of report end repeat unlock screen put report end mouseUp -- 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 rdimola at evergreeninfo.net Wed Apr 7 13:01:06 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 7 Apr 2021 13:01:06 -0400 Subject: Checking the Milliseconds In-Reply-To: References: Message-ID: <004e01d72bcf$9ccdda00$d6698e00$@net> I added an average. i7-6700 3.4GHz 8 cores in the VM Run 1: Max==>4586 Min==>460 Average==>3096.058 Run 2: Max==>7573 Min==>460 Average==>3835.764743 Run 3: Max==>7573 Min==>728 Average==>2947.388 Interesting.... 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: Wednesday, April 07, 2021 12:03 PM To: How to use LiveCode Cc: Tom Glod Subject: Checking the Milliseconds Hey peeps, I wanted to measure how many times the LC engine can check the milliseconds count during each millisecond that passes. The results really surprised me, I thought it would be less, but I don't know why really. Anyone want to take a guess? What is strange about my results, is that every few milliseconds the amount of millisecond queries that occurs ...... doubles. Why does this happen I wonder? Can someone double check if that happens on your CPU? I'm on WIndows 10 on an i5 4570. Here is the code. -------------------------------------- local last_known_millisecond local queries = 0 local report on mouseUp lock screen put empty into report local x repeat 1000 times add 1 to x put 0 into queries put the milliseconds into last_known_millisecond repeat forever add 1 to queries if the milliseconds = last_known_millisecond then next repeat else exit repeat end if end repeat put queries into line x of report end repeat unlock screen put report end mouseUp -- 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 curry at pair.com Wed Apr 7 13:03:23 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 7 Apr 2021 13:03:23 -0400 Subject: Help! I'm stuck In-Reply-To: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> Jacqueline: > It's not a bug, it was intentionally introduced to allow a couple > of features, like retaining script local variables after a build. > Given the amount of extra scripting to work around it for existing > stacks, I think it may have introduced more problems than it tried > to cure. Agreed! I was too busy the other day but wanted to chime in: This was a baffling case of doubling-down on a wonky and toxic "fix." The problems introduced were far more numerous than those "fixed." I pointed this out right away, but it seems that hubris prevailed. LC Ltd needs a more consistent vision of what LC is and how it works. Result: workarounds are often needed for standard builds. In what RAD paradigm should users have to workaround the IDE? If that's a question we're even needing to ask, we may be in trouble. (My own stack design usually makes this a moot point. I wasn't affected. But I saw the expense and pain this caused, plus a troubling precedent.) So ... isn't it great they teach everyone to double down these days? :) Turning off messages - good tactic, although it won't work for everyone. Back to work, take care all.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Wed Apr 7 13:09:00 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 7 Apr 2021 13:09:00 -0400 Subject: Checking the Milliseconds In-Reply-To: <004d01d72bcc$5ec34fe0$1c49efa0$@net> References: <004d01d72bcc$5ec34fe0$1c49efa0$@net> Message-ID: I closed everything down to make sure the core was being used as little as possible. It didn't make a difference in the counts or the variance I reported earlier. I guess its not important, but it sure is curious. I think it means the engine is busy with something most of the time, and once in a while it is less busy?. my numbers seem unusual compared to what you reported. :/ When I build a standalone, its the same kind of variance, just slower ....haha, My numbers look like this. 3122 3155 6405 3157 6404 3206 3203 3158 3246 3201 3190 3205 3202 6391 3135 6259 3144 3192 3201 3201 3201 6348 3193 6305 3200 3199 3204 3201 3283 6994 3582 7049 On Wed, Apr 7, 2021 at 12:34 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I scanned the results after it was done and got this: > > Max==>3959 > > Min==>1015 > > 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: Wednesday, April 07, 2021 12:03 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Checking the Milliseconds > > Hey peeps, > > I wanted to measure how many times the LC engine can check the milliseconds > count during each millisecond that passes. > > The results really surprised me, I thought it would be less, but I don't > know why really. > > Anyone want to take a guess? > > What is strange about my results, is that every few milliseconds the amount > of millisecond queries that occurs ...... doubles. > > Why does this happen I wonder? > > Can someone double check if that happens on your CPU? I'm on WIndows 10 on > an i5 4570. > > Here is the code. > -------------------------------------- > > local last_known_millisecond > local queries = 0 > local report > > on mouseUp > lock screen > put empty into report > local x > repeat 1000 times > add 1 to x > put 0 into queries > put the milliseconds into last_known_millisecond > repeat forever > add 1 to queries > if the milliseconds = last_known_millisecond then > next repeat > else > exit repeat > end if > end repeat > put queries into line x of report > end repeat > unlock screen > put report > end mouseUp > > -- > 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 rdimola at evergreeninfo.net Wed Apr 7 13:20:05 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 7 Apr 2021 13:20:05 -0400 Subject: Help! I'm stuck In-Reply-To: <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> References: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> Message-ID: <004f01d72bd2$438623f0$ca926bd0$@net> I never built a non-mobile standalone for the first 5 years of using LC. For a mobile build nothing gets closed and gets built from the stack(s) files on disk. What a surprise I got when I built my first desktop standalone. I initially thought that something was very wrong with the IDE and restarted. After some searches I found that this is the correct behavior??? I guess there is a reason for closing the stack(s) but I find it very odd indeed. 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 Curry Kenworthy via use-livecode Sent: Wednesday, April 07, 2021 1:03 PM To: use-livecode at lists.runrev.com Cc: Curry Kenworthy Subject: Re: Help! I'm stuck Jacqueline: > It's not a bug, it was intentionally introduced to allow a couple > of features, like retaining script local variables after a build. > Given the amount of extra scripting to work around it for existing > stacks, I think it may have introduced more problems than it tried > to cure. Agreed! I was too busy the other day but wanted to chime in: This was a baffling case of doubling-down on a wonky and toxic "fix." The problems introduced were far more numerous than those "fixed." I pointed this out right away, but it seems that hubris prevailed. LC Ltd needs a more consistent vision of what LC is and how it works. Result: workarounds are often needed for standard builds. In what RAD paradigm should users have to workaround the IDE? If that's a question we're even needing to ask, we may be in trouble. (My own stack design usually makes this a moot point. I wasn't affected. But I saw the expense and pain this caused, plus a troubling precedent.) So ... isn't it great they teach everyone to double down these days? :) Turning off messages - good tactic, although it won't work for everyone. Back to work, take care all.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Apr 7 13:17:19 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 7 Apr 2021 19:17:19 +0200 Subject: More Android woes Message-ID: <75E78B81-D951-48C5-A7B5-54118C48511B@major-k.de> Hi all, macOS 10.14.6, LC 9.6.2 rc4 Today i removed JAVA 9.x, installed JAVA 8 and "Android Studio.app" on my Mac. then after hours of despair (why on earth must this be so difficult?) I could tell LC where the SDk etc. were. But only with the help of this forum thread and a Bernard, thank you Bernard! I checked "Do not sign" for my Android app/stack, if that does matter. I created a virtual device and was so happy that LC finally started to compile my stack for Android, when suddenly I got an LC error saying: ---------------------------------------------------------- Unable to build app for testing: unable to locate play service dependency base version 9.0.4 ---------------------------------------------------------- So what am I still missing? Anything else I need to install? 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 tom at makeshyft.com Wed Apr 7 13:17:32 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 7 Apr 2021 13:17:32 -0400 Subject: Checking the Milliseconds In-Reply-To: <004e01d72bcf$9ccdda00$d6698e00$@net> References: <004e01d72bcf$9ccdda00$d6698e00$@net> Message-ID: I think I realized the problem.... will test to confirm. I think the Max is actually what the avg should be. I think the writing to the variable is what increases the time between those queries. On Wed, Apr 7, 2021 at 12:58 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I added an average. i7-6700 3.4GHz 8 cores in the VM > > Run 1: > Max==>4586 > Min==>460 > Average==>3096.058 > > Run 2: > Max==>7573 > Min==>460 > Average==>3835.764743 > > Run 3: > Max==>7573 > Min==>728 > Average==>2947.388 > > Interesting.... > > 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: Wednesday, April 07, 2021 12:03 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Checking the Milliseconds > > Hey peeps, > > I wanted to measure how many times the LC engine can check the milliseconds > count during each millisecond that passes. > > The results really surprised me, I thought it would be less, but I don't > know why really. > > Anyone want to take a guess? > > What is strange about my results, is that every few milliseconds the amount > of millisecond queries that occurs ...... doubles. > > Why does this happen I wonder? > > Can someone double check if that happens on your CPU? I'm on WIndows 10 on > an i5 4570. > > Here is the code. > -------------------------------------- > > local last_known_millisecond > local queries = 0 > local report > > on mouseUp > lock screen > put empty into report > local x > repeat 1000 times > add 1 to x > put 0 into queries > put the milliseconds into last_known_millisecond > repeat forever > add 1 to queries > if the milliseconds = last_known_millisecond then > next repeat > else > exit repeat > end if > end repeat > put queries into line x of report > end repeat > unlock screen > put report > end mouseUp > > -- > 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 sean at pidigital.co.uk Wed Apr 7 13:52:50 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 7 Apr 2021 18:52:50 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: tehe ;) Thanks Curry - a bit of relief. Sean On Wed, 7 Apr 2021 at 17:02, Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Sean: > > > if there is a way of replacing using cr > > in the find/replace panel of the script editor. > > So what you are REALLY asking is whether nested style arrays and chained > behaviors can be used with tsNet and DataGrid in a git-compatible > environment to create an IDE within an IDE, via a creepy talking face > emerging from the Test button and utilizing only whitespace and > semicolons sprinkled among seemingly-random iterations of the first 17 > words of the song Imagine? ;) > > > BUT IN THE FIND/REPLACE PANEL !!!?? > > Oh, there! I don't know. I never trusted SE enough to use its replace. > Good question! I agree, this is a simple Q and should be documented. > Probably I would write a script for doing this; I'd trust it more. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Apr 7 14:23:37 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 7 Apr 2021 13:23:37 -0500 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Message-ID: On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: > I HAVE created a plugin! I was JUST trying to ask, can I insert a cr using > the replace field of the Find Replace ONLY. > > I flipping already know how LC works for most other things. I dont need > explanations on how to suck effing eggs. Just answer the sodding question. > > Answer nothing but this PLEASE. The answer is "no." > > This is why I end up getting mad! I even just explained this in my last > post. Why are you all unable to READ!!!!!!! ??????? > > Sean > > PS > Morons. I'm offended by your Insulting people when they are just trying to help is a good way to get ignored in the future. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From waprothero at gmail.com Wed Apr 7 14:24:42 2021 From: waprothero at gmail.com (William Prothero) Date: Wed, 7 Apr 2021 11:24:42 -0700 Subject: Help! I'm stuck In-Reply-To: <004f01d72bd2$438623f0$ca926bd0$@net> References: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> <004f01d72bd2$438623f0$ca926bd0$@net> Message-ID: <071C80C6-E2E5-4251-8CC5-DA33134FEF14@gmail.com> Ralph and Curry: Fortunately, I took a break for a week before trying your solutions. For someone who doesn?t do this every day, it is a confusing mess and I suppose that somewhere there is an explanation in the help files of what to do, but my cursory searches didn?t find anything for such a complicated project I was trying to build. Thank heavens for this list! I also agree that it would be a really good thing if the IDE, or the mothership provided more help for the ever-changing security requirements for Apple mobile and desktop builds. Best, Bill Prothero > On Apr 7, 2021, at 10:20 AM, Ralph DiMola via use-livecode wrote: > > I never built a non-mobile standalone for the first 5 years of using LC. For > a mobile build nothing gets closed and gets built from the stack(s) files on > disk. What a surprise I got when I built my first desktop standalone. I > initially thought that something was very wrong with the IDE and restarted. > After some searches I found that this is the correct behavior??? I guess > there is a reason for closing the stack(s) but I find it very odd indeed. > > 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 Curry Kenworthy via use-livecode > Sent: Wednesday, April 07, 2021 1:03 PM > To: use-livecode at lists.runrev.com > Cc: Curry Kenworthy > Subject: Re: Help! I'm stuck > > > Jacqueline: > >> It's not a bug, it was intentionally introduced to allow a couple > of > features, like retaining script local variables after a build. >> Given the amount of extra scripting to work around it for existing > > stacks, I think it may have introduced more problems than it tried > to > cure. > > Agreed! I was too busy the other day but wanted to chime in: > This was a baffling case of doubling-down on a wonky and toxic "fix." > > The problems introduced were far more numerous than those "fixed." > I pointed this out right away, but it seems that hubris prevailed. > LC Ltd needs a more consistent vision of what LC is and how it works. > > Result: workarounds are often needed for standard builds. > In what RAD paradigm should users have to workaround the IDE? > If that's a question we're even needing to ask, we may be in trouble. > > (My own stack design usually makes this a moot point. I wasn't affected. > But I saw the expense and pain this caused, plus a troubling precedent.) > > So ... isn't it great they teach everyone to double down these days? :) > Turning off messages - good tactic, although it won't work for everyone. > > Back to work, take care all.... > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William Prothero waprothero at gmail.com From jacque at hyperactivesw.com Wed Apr 7 14:27:09 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 7 Apr 2021 13:27:09 -0500 Subject: Help! I'm stuck In-Reply-To: <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> References: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> Message-ID: On 4/7/21 12:03 PM, Curry Kenworthy via use-livecode wrote: > The problems introduced were far more numerous than those "fixed." A good compromise would be providing a checkbox in standalone settings where we can decide whether we want to preserve local variables or not. If we don't care, the SB should go ahead and lock messages. The default setting should be to lock messages as it always has. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From merakosp at gmail.com Wed Apr 7 14:33:40 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 7 Apr 2021 21:33:40 +0300 Subject: More Android woes In-Reply-To: <75E78B81-D951-48C5-A7B5-54118C48511B@major-k.de> References: <75E78B81-D951-48C5-A7B5-54118C48511B@major-k.de> Message-ID: Hello Klaus, Does your stack by any chance include a barcode scanner widget? I think you should follow the workaround described here: https://quality.livecode.com/show_bug.cgi?id=22384 Regards, Panos On Wed, 7 Apr 2021, 20:18 Klaus major-k via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi all, > > macOS 10.14.6, LC 9.6.2 rc4 > > Today i removed JAVA 9.x, installed JAVA 8 > and "Android Studio.app" on my Mac. > > then after hours of despair (why on earth must this be so difficult?) > I could tell LC where the SDk etc. were. > > But only with the help of this forum thread and a Bernard, thank you > Bernard! > < > https://forums.livecode.com/viewtopic.php?f=53&t=34837&sid=2ba2b2897a4ee75dc97296d0904fe77b > > > > I checked "Do not sign" for my Android app/stack, if that does matter. > > I created a virtual device and was so happy that LC finally started to > compile > my stack for Android, when suddenly I got an LC error saying: > ---------------------------------------------------------- > Unable to build app for testing: > unable to locate play service dependency base version 9.0.4 > ---------------------------------------------------------- > So what am I still missing? > Anything else I need to install? > > 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 Wed Apr 7 14:37:23 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 7 Apr 2021 20:37:23 +0200 Subject: More Android woes In-Reply-To: References: <75E78B81-D951-48C5-A7B5-54118C48511B@major-k.de> Message-ID: <69125A5F-9131-45EB-901A-A822130DAB30@major-k.de> Hi Panos, > Am 07.04.2021 um 20:33 schrieb panagiotis merakos via use-livecode : > > Hello Klaus, > > Does your stack by any chance include a barcode scanner widget? I think you > should follow the workaround described here: > > https://quality.livecode.com/show_bug.cgi?id=22384 EX-ACTLY! Thank you, that was it. :-) > Regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From Bernd.Niggemann at uni-wh.de Wed Apr 7 15:57:44 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 7 Apr 2021 19:57:44 +0000 Subject: Checking the Milliseconds Message-ID: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> I tried this and got pretty constant results except for maybe the first ten iterations. I figured if you just jump in with the milliseconds you would not be at the "beginning" of the milliseconds and added a repeat loop to mitigate that effect. Furthermore I appended the result to a variable. ------------------------------------------- local last_known_millisecond local queries = 0 local report local longSecs, tMs on mouseUp lock screen put empty into report --let it start at a flip of the ms repeat put the milliseconds into tMs if char -1 of tMs is 0 then exit repeat end if end repeat repeat 1000 times put 0 into queries put the long seconds into longSecs put the milliseconds into last_known_millisecond repeat forever add 1 to queries if the milliseconds = last_known_millisecond then next repeat else exit repeat end if end repeat put queries && (the long seconds - longSecs) * 1000 & cr after report end repeat unlock screen put report end mouseUp -------------------------- From iphonelagi at gmail.com Wed Apr 7 15:57:56 2021 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 7 Apr 2021 20:57:56 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: Message-ID: Hi The unresponsiveness in Big Su is fixed and Ive only been asking for 3 or 4 years that the unresponsiveness in windows 10 (and probably 7) is fixed. I have a 10th generation core I7 with 16G of ram and it runs like molasses - especially when using the debugger. Ive tried EVERYTHING short of running out in the F**g street naked whistling Dixie and NOBODY at HQ thinks its worth looking at the editor. Others here have said the same thing - maybe that is why Trevor uses sublime. Please don't tell me to exclude AV. I don't have AV , I exclude defender as well (the grey stuff between my ears is the best AV I have found). Unresponsive to me is typing 10 characters and seeing them appear one by 1 after I have finished typing , or waiting for 3 4 or more seconds between each debugger step .. I DON'T KNOW WHY I WASTE MY TIME!! Ive written longer rants than this but I leave them in the draft ( a la Honest Abe) so as not to offend, but the slow pace since the LCFM project (jam tomorrow) is a joke and we are charged yearly for mainly bug fixes of regressions. Lagi p.s. while i'm in rant mode - what about the sqlite library? ..... which reminds me of open language , which remi ........ HELLO ANYBODY LISTENING!!! On Wed, 7 Apr 2021 at 14:48, 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.2 RC-4. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.6.2 RC-4 comes with 1 regression fix: > > - Fix unresponsiveness of engine when scrolling on Big Sur > > For the full list of all fixes, updates and enhancements please see the > release notes: > > http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_4.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.1.x - LiveCode builds iOS apps using the iOS > 14.1 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 end of June 2020, Apple is only accepting apps built > using iOS13 SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.14 in order to be > able to install the necessary version of Xcode. > > > Feedback > ======== > Please report any bugs encountered on our quality center at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- KIndest Regards Lagi From tom at makeshyft.com Wed Apr 7 16:24:22 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 7 Apr 2021 16:24:22 -0400 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: Message-ID: Hi Lagi, What unresponsiveness in windows 10 are you referring to? the one that needs wait 0 with messages to avoid a frozen window? I just reported what i think is a bug that has been there for years and thats endless high cpu usage when using -ui flag ..... on WIndows 10 ... and 7. I think. I regret not submitting it when I first came across it. Lesson learned. Thanks, Tom On Wed, Apr 7, 2021 at 3:59 PM Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi > > The unresponsiveness in Big Su is fixed and Ive only been asking for 3 or 4 > years that the unresponsiveness in windows 10 (and probably 7) > is fixed. > > I have a 10th generation core I7 with 16G of ram and it runs like molasses > - especially when using the debugger. > Ive tried EVERYTHING short of running out in the F**g street naked > whistling Dixie and NOBODY at HQ thinks its worth looking at the editor. > Others here have said the same thing - maybe that is why Trevor uses > sublime. > > Please don't tell me to exclude AV. I don't have AV , I exclude defender as > well (the grey stuff between my ears is the best AV I have found). > > Unresponsive to me is typing 10 characters and seeing them appear one by > 1 after I have finished typing , or waiting for 3 4 or more seconds > between each debugger step .. > > I DON'T KNOW WHY I WASTE MY TIME!! > > Ive written longer rants than this but I leave them in the draft ( a la > Honest Abe) so as not to offend, but the slow pace since the LCFM project > (jam tomorrow) > is a joke and we are charged yearly for mainly bug fixes of regressions. > > Lagi > > p.s. while i'm in rant mode - what about the sqlite library? ..... > > which reminds me of open language , which remi ........ > > HELLO ANYBODY LISTENING!!! > > On Wed, 7 Apr 2021 at 14:48, 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.2 RC-4. > > > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ or > via > > the automatic updater. > > > > > > Release Contents > > ================ > > LiveCode 9.6.2 RC-4 comes with 1 regression fix: > > > > - Fix unresponsiveness of engine when scrolling on Big Sur > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > > > http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_4.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.1.x - LiveCode builds iOS apps using the iOS > > 14.1 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 end of June 2020, Apple is only accepting apps built > > using iOS13 SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.14 in order to be > > able to install the necessary version of Xcode. > > > > > > Feedback > > ======== > > Please report any bugs encountered on our quality center at > > http://quality.livecode.com/ > > > > We have a forum available for discussing LiveCode Builder at > > http://forums.livecode.com/viewforum.php?f=93 > > > > > > Have fun! > > The LiveCode Team > > > > > > > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > KIndest Regards Lagi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From bobsneidar at iotecdigital.com Wed Apr 7 16:52:33 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Apr 2021 20:52:33 +0000 Subject: Help! I'm stuck In-Reply-To: References: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> Message-ID: +1 > On Apr 7, 2021, at 11:27 , J. Landman Gay via use-livecode wrote: > > On 4/7/21 12:03 PM, Curry Kenworthy via use-livecode wrote: >> The problems introduced were far more numerous than those "fixed." > > A good compromise would be providing a checkbox in standalone settings where we can decide whether we want to preserve local variables or not. If we don't care, the SB should go ahead and lock messages. The default setting should be to lock messages as it always has. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Wed Apr 7 17:16:20 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 7 Apr 2021 17:16:20 -0400 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: Message-ID: On 4/7/2021 3:57 PM, Lagi Pittas via use-livecode wrote: > Unresponsive to me is typing 10 characters and seeing them appear one by > 1 after I have finished typing , or waiting for 3 4 or more seconds > between each debugger step .. I'm not saying you're not seeing an unacceptable slow down on your system, but as another data point, I have a Windows 10, Dell laptop with a AMD Ryzen 5 (equivalent of Intel i5) with 16GB and HDD (not SDD) and I don't see any slow downs like this in LC9.6.2rc 1,2,3 or 4. When I am developing, I am generally only running a email client, browser, text editor, and LiveCode. Windows IDE responsiveness seems about the same as my 16gb MacBook Pro, maybe a hair faster, but then again I use the Windows laptop a little more often than the MacBook so its hard to say. I do experience occasions where WIndows 10 slows down - badly - typing 10 characters and waiting 5-10 seconds before any of them appear. Some of these occasions I have correlated with downloads of Windows updates. Other I can't explain. From alex at tweedly.net Wed Apr 7 18:09:52 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 7 Apr 2021 23:09:52 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Message-ID: On 07/04/2021 16:46, Sean Cole (Pi) via use-livecode wrote: > FFS Alex, > > I HAVE created a plugin! I was JUST trying to ask, can I insert a cr using > the replace field of the Find Replace ONLY. And now I have too. And I found that fun and interesting. Thank you for triggering this interesting activity for me. I'm sorry that my telling the list about it caused you offence, and then caused you to ? try your best to offend me. Sorry - you didn't really succeed. > I flipping already know how LC works for most other things. I dont need > explanations on how to suck effing eggs. Just answer the sodding question. > > Answer nothing but this PLEASE. OK. Any future question you ask, I will answer simply :"no". Alex. From tom at makeshyft.com Wed Apr 7 18:14:11 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 7 Apr 2021 18:14:11 -0400 Subject: Checking the Milliseconds In-Reply-To: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> References: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> Message-ID: Excellent ... Yes the 1st one was usually the one that was the lowest for me, for the reason you described. But you also cleared up the mysterious big jumps,I too now get a consistent result. Thanks for chimming in On Wed, Apr 7, 2021 at 3:59 PM Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > I tried this and got pretty constant results except for maybe the first > ten iterations. I figured if you just jump in with the milliseconds you > would not be at the "beginning" of the milliseconds and added a repeat loop > to mitigate that effect. Furthermore I appended the result to a variable. > > ------------------------------------------- > local last_known_millisecond > local queries = 0 > local report > local longSecs, tMs > > on mouseUp > lock screen > put empty into report > > --let it start at a flip of the ms > repeat > put the milliseconds into tMs > if char -1 of tMs is 0 then > exit repeat > end if > end repeat > > repeat 1000 times > put 0 into queries > put the long seconds into longSecs > put the milliseconds into last_known_millisecond > repeat forever > add 1 to queries > if the milliseconds = last_known_millisecond then > next repeat > else > exit repeat > end if > end repeat > put queries && (the long seconds - longSecs) * 1000 & cr after > report > end repeat > > unlock screen > put report > end mouseUp > -------------------------- > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Wed Apr 7 18:35:20 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Apr 2021 22:35:20 +0000 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: Message-ID: I just DL LC 9.6.2 RC4 on a Windows VM running Server 2012R2. Saving is much faster, although not quite up to speed with the Mac OS. Querying a database however seems to be quite slow. When running a tick counter on my MacOS I get this: sites: 7 devices: 4 accessories: 6 service: 7 service: 6 devices: 6 contacts: 7 On Windows I get this: sites: 48 devices: 48 accessories: 47 service: 48 service: 48 devices: 47 contacts: 48 anywhere from roughly 6 to 10 times as long. The script editor in a large script is not very responsive. I get the typing delay as is described. Bob S > On Apr 7, 2021, at 14:16 , Paul Dupuis via use-livecode wrote: > > On 4/7/2021 3:57 PM, Lagi Pittas via use-livecode wrote: >> Unresponsive to me is typing 10 characters and seeing them appear one by >> 1 after I have finished typing , or waiting for 3 4 or more seconds >> between each debugger step .. > > I'm not saying you're not seeing an unacceptable slow down on your system, but as another data point, I have a Windows 10, Dell laptop with a AMD Ryzen 5 (equivalent of Intel i5) with 16GB and HDD (not SDD) and I don't see any slow downs like this in LC9.6.2rc 1,2,3 or 4. When I am developing, I am generally only running a email client, browser, text editor, and LiveCode. Windows IDE responsiveness seems about the same as my 16gb MacBook Pro, maybe a hair faster, but then again I use the Windows laptop a little more often than the MacBook so its hard to say. > > I do experience occasions where WIndows 10 slows down - badly - typing 10 characters and waiting 5-10 seconds before any of them appear. Some of these occasions I have correlated with downloads of Windows updates. Other I can't explain. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 18:41:17 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 7 Apr 2021 23:41:17 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Message-ID: Fair enough. You are no good for my BPD. You needn't even say NO. If you don't have the answer, say nothing. You are not obliged to answer just because you have the means. Sean On Wed, 7 Apr 2021 at 23:09, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 07/04/2021 16:46, Sean Cole (Pi) via use-livecode wrote: > > FFS Alex, > > > > I HAVE created a plugin! I was JUST trying to ask, can I insert a cr > using > > the replace field of the Find Replace ONLY. > > And now I have too. And I found that fun and interesting. Thank you for > triggering this interesting activity for me. I'm sorry that my telling > the list about it caused you offence, and then caused you to try your > best to offend me. Sorry - you didn't really succeed. > > > I flipping already know how LC works for most other things. I dont need > > explanations on how to suck effing eggs. Just answer the sodding > question. > > > > Answer nothing but this PLEASE. > > OK. Any future question you ask, I will answer simply :"no". > > 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 sean at pidigital.co.uk Wed Apr 7 18:59:00 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 7 Apr 2021 23:59:00 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Message-ID: Thanks Jacque, That's all I needed to hear. As long as it is an absolute, definitive, knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course prefer it if there were a way, but hey ho! I make no apology for 'insulting' 'people' if they cannot read instructions or get simple explanations. I had literally JUST said NOT to offer the likes of workaround buttons, plugins, etc. If they are so thick and demonstrate it by their (unneeded, unnecessary) responses then I WILL out them. I've seriously had enough of just 'putting-up' with this kind of behaviour anywhere and have vowed to continue in this 'spirit' whenever I am met with stupidity and ignorance. Here or anywhere. It is passive abuse and should be more intolerable than my provoked retaliations. I thought you, Jacque, had already blacklisted me and said you would block my messages because of one of my previous provoked 'incidents', so I am surprised I got a response from you at all (although you mostly are one of those I can get the most sense from). I truly value those who value me and who can respect my needs. Those who trample and disrespect I owe nothing to and do not care if they choose to block me. No real loss to me as they are clearly unable to offer me anything anyway other than try to pain me with threats of something like: 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm so stabbed to the heart by the pettiness. All the best to the best of you all. The rest can rest in the best place of all - somewhere else ;) Sean On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: > > I HAVE created a plugin! I was JUST trying to ask, can I insert a cr > using > > the replace field of the Find Replace ONLY. > > > > I flipping already know how LC works for most other things. I dont need > > explanations on how to suck effing eggs. Just answer the sodding > question. > > > > Answer nothing but this PLEASE. > > The answer is "no." > > > > > This is why I end up getting mad! I even just explained this in my last > > post. Why are you all unable to READ!!!!!!! ??????? > > > > Sean > > > > PS > > Morons. I'm offended by your > > Insulting people when they are just trying to help is a good way to get > ignored in the future. > > -- > 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 Wed Apr 7 19:10:42 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 7 Apr 2021 23:10:42 +0000 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> Message-ID: <049CE0BA-66DB-4233-A80F-85EBAFA831EC@iotecdigital.com> I vote to ban. Bob S > On Apr 7, 2021, at 15:59 , Sean Cole (Pi) via use-livecode wrote: > > Thanks Jacque, > > That's all I needed to hear. As long as it is an absolute, definitive, > knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course > prefer it if there were a way, but hey ho! > > I make no apology for 'insulting' 'people' if they cannot read instructions > or get simple explanations. I had literally JUST said NOT to offer the > likes of workaround buttons, plugins, etc. If they are so thick and > demonstrate it by their (unneeded, unnecessary) responses then I WILL out > them. I've seriously had enough of just 'putting-up' with this kind of > behaviour anywhere and have vowed to continue in this 'spirit' whenever I > am met with stupidity and ignorance. Here or anywhere. It is passive abuse > and should be more intolerable than my provoked retaliations. > > I thought you, Jacque, had already blacklisted me and said you would block > my messages because of one of my previous provoked 'incidents', so I am > surprised I got a response from you at all (although you mostly are one of > those I can get the most sense from). > > I truly value those who value me and who can respect my needs. Those who > trample and disrespect I owe nothing to and do not care if they choose to > block me. No real loss to me as they are clearly unable to offer me > anything anyway other than try to pain me with threats of something like: > 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm so > stabbed to the heart by the pettiness. > > All the best to the best of you all. The rest can rest in the best place of > all - somewhere else ;) > > Sean From sean at pidigital.co.uk Wed Apr 7 19:24:30 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 00:24:30 +0100 Subject: Checking the Milliseconds In-Reply-To: References: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> Message-ID: Hi Tom It is really interesting to see the results from this though. Tried it on my various machines and got pretty much the same results as everyone else consistently. It's amazing to see that in the region of 3000 loops occur in the period of 1ms. which means we are perhaps getting 1 (lowish level) line every 0.0001ms. Obviously heftier calls will take longer but it's a good indicator. Here's a good check of accuracy (sorry for the formatting): local sMS on mouseUp put the long millisec into sMS send "checkTime" to me in 1 sec end mouseUp on checkTime put the long millisec - sMS end checkTime // The long milliseconds gives you even more detail on the amount of time elapsed. The variance is quite something. Sean On Wed, 7 Apr 2021 at 23:14, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Excellent ... Yes the 1st one was usually the one that was the lowest for > me, for the reason you described. > But you also cleared up the mysterious big jumps,I too now get a consistent > result. > Thanks for chimming in > > > On Wed, Apr 7, 2021 at 3:59 PM Niggemann, Bernd via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I tried this and got pretty constant results except for maybe the first > > ten iterations. I figured if you just jump in with the milliseconds you > > would not be at the "beginning" of the milliseconds and added a repeat > loop > > to mitigate that effect. Furthermore I appended the result to a variable. > > > > ------------------------------------------- > > local last_known_millisecond > > local queries = 0 > > local report > > local longSecs, tMs > > > > on mouseUp > > lock screen > > put empty into report > > > > --let it start at a flip of the ms > > repeat > > put the milliseconds into tMs > > if char -1 of tMs is 0 then > > exit repeat > > end if > > end repeat > > > > repeat 1000 times > > put 0 into queries > > put the long seconds into longSecs > > put the milliseconds into last_known_millisecond > > repeat forever > > add 1 to queries > > if the milliseconds = last_known_millisecond then > > next repeat > > else > > exit repeat > > end if > > end repeat > > put queries && (the long seconds - longSecs) * 1000 & cr after > > report > > end repeat > > > > unlock screen > > put report > > end mouseUp > > -------------------------- > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 sean at pidigital.co.uk Wed Apr 7 19:28:35 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 00:28:35 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <049CE0BA-66DB-4233-A80F-85EBAFA831EC@iotecdigital.com> References: <09703557-D81D-4B98-8FEF-731D74931336@gmail.com> <5412446b-134d-ee01-9495-2bc34f20a48e@tweedly.net> <049CE0BA-66DB-4233-A80F-85EBAFA831EC@iotecdigital.com> Message-ID: Who, those who can't read simple instructions. I agree. ;) Sean On Thu, 8 Apr 2021 at 00:10, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I vote to ban. > > Bob S > > > > On Apr 7, 2021, at 15:59 , Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks Jacque, > > > > That's all I needed to hear. As long as it is an absolute, definitive, > > knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course > > prefer it if there were a way, but hey ho! > > > > I make no apology for 'insulting' 'people' if they cannot read > instructions > > or get simple explanations. I had literally JUST said NOT to offer the > > likes of workaround buttons, plugins, etc. If they are so thick and > > demonstrate it by their (unneeded, unnecessary) responses then I WILL out > > them. I've seriously had enough of just 'putting-up' with this kind of > > behaviour anywhere and have vowed to continue in this 'spirit' whenever I > > am met with stupidity and ignorance. Here or anywhere. It is passive > abuse > > and should be more intolerable than my provoked retaliations. > > > > I thought you, Jacque, had already blacklisted me and said you would > block > > my messages because of one of my previous provoked 'incidents', so I am > > surprised I got a response from you at all (although you mostly are one > of > > those I can get the most sense from). > > > > I truly value those who value me and who can respect my needs. Those who > > trample and disrespect I owe nothing to and do not care if they choose to > > block me. No real loss to me as they are clearly unable to offer me > > anything anyway other than try to pain me with threats of something like: > > 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm > so > > stabbed to the heart by the pettiness. > > > > All the best to the best of you all. The rest can rest in the best place > of > > all - somewhere else ;) > > > > Sean > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 19:58:45 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 00:58:45 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: Message-ID: Lagi, I feel your pain, I do. However, I only see a moderate amount of unresponsiveness and I can usually put it down to the way I use it on Windoze in a VM on a Mac. The stack I am working on at the moment takes 5 seconds to save on mac side but 30 seconds on the Win10. My colleague running on a fast PC running native Win10 also sees a 30 second save time. But I am guessing (only guessing, without putting in any effort) that it is more to do with File Systems than anything LC related. Otherwise there is little difference I can find using LC on a Mac or PC. Until LC9.6.1 where the script editor was uncoloured, 9.6.2RC2 which had a bunch of editor issues on Mac only, RC3 which went into a loop as you drag select in a field to scroll the text and select at the same time, again on Mac side only. So, without diminishing your feelings, your issue seems to be, not necessarily unique but, perhaps nuanced to certain circumstances. Have you tried it in a clean account on your computer? Or, perhaps, another machine. Or maybe it is linked to the click/drag issue. Then again, I could be wrong altogether and the performance does indeed need looking at. Once upon a time, LC used to be coded so much more with LC itself. Now they seem to spend a lot more time, understandably so, coding it in Atom over github and rarely experiencing LC in its native form. Perhaps if they did more often they might notice these issues for themselves while coding in Windows, Linux and Mac builds of LC. Maybe they should set themselves the task of building an Atom type editor in LC at home to experience it at its worst. :) Sean On Wed, 7 Apr 2021 at 20:57, Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi > > The unresponsiveness in Big Su is fixed and Ive only been asking for 3 or 4 > years that the unresponsiveness in windows 10 (and probably 7) > is fixed. > > I have a 10th generation core I7 with 16G of ram and it runs like molasses > - especially when using the debugger. > Ive tried EVERYTHING short of running out in the F**g street naked > whistling Dixie and NOBODY at HQ thinks its worth looking at the editor. > Others here have said the same thing - maybe that is why Trevor uses > sublime. > > Please don't tell me to exclude AV. I don't have AV , I exclude defender as > well (the grey stuff between my ears is the best AV I have found). > > Unresponsive to me is typing 10 characters and seeing them appear one by > 1 after I have finished typing , or waiting for 3 4 or more seconds > between each debugger step .. > > I DON'T KNOW WHY I WASTE MY TIME!! > > Ive written longer rants than this but I leave them in the draft ( a la > Honest Abe) so as not to offend, but the slow pace since the LCFM project > (jam tomorrow) > is a joke and we are charged yearly for mainly bug fixes of regressions. > > Lagi > > p.s. while i'm in rant mode - what about the sqlite library? ..... > > which reminds me of open language , which remi ........ > > HELLO ANYBODY LISTENING!!! > > On Wed, 7 Apr 2021 at 14:48, 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.2 RC-4. > > > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ or > via > > the automatic updater. > > > > > > Release Contents > > ================ > > LiveCode 9.6.2 RC-4 comes with 1 regression fix: > > > > - Fix unresponsiveness of engine when scrolling on Big Sur > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > > > > http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_4.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.1.x - LiveCode builds iOS apps using the iOS > > 14.1 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 end of June 2020, Apple is only accepting apps built > > using iOS13 SDKs. This means that, if you wish to submit apps to the > > AppStore you will have to be running at least macOS 10.14 in order to be > > able to install the necessary version of Xcode. > > > > > > Feedback > > ======== > > Please report any bugs encountered on our quality center at > > http://quality.livecode.com/ > > > > We have a forum available for discussing LiveCode Builder at > > http://forums.livecode.com/viewforum.php?f=93 > > > > > > Have fun! > > The LiveCode Team > > > > > > > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > KIndest Regards Lagi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Wed Apr 7 20:08:46 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 01:08:46 +0100 Subject: Help! I'm stuck In-Reply-To: References: <1789da07d20.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <40c77e03-e74f-1d1b-a6de-cbc378749442@pair.com> Message-ID: On Wed, 7 Apr 2021 at 19:27, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > A good compromise would be providing a checkbox in standalone settings > where we can decide > whether we want to preserve local variables or not. If we don't care, the > SB should go ahead > and lock messages. The default setting should be to lock messages as it > always has. This sounds more like a fix than a compromise. Seems like the perfect solution. No workaround and can be easily spotted when setting up your standalone. Excellent idea. Sean From sundown.pacifier at icloud.com Wed Apr 7 20:19:48 2021 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Wed, 7 Apr 2021 17:19:48 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> This is a list of people reading and answering questions about LiveCode programming. You might think my explanation of your typo was not what you were looking for especially since I mentioned C and C++ in the reply. But I personally answered the way I did for many reasons and even told you to ignore it if that was not what you wanted. Some of the reasons I answered the way I did was that instead of pointing out it was a typo I provided other users reading the message with info about why it was a typo. I have made the typo many times and I was not sure if you were misled by an error in the dictionary or if it was a typo and I helped people learn the basics of why it was not going to work and that behavior of using backslash n goes back to C++ which LiveCode is written in and C++ got the behavior from C. Another point is people were complaining LiveCode needs to be up on the list of programming languages and it was noted that the list is based on messages related to the language. Providing links with C and C++ and info helps people understand LiveCode better and any other language they learn in the future. So your question has value to many users and to LoveCode on a lot of different levels, not just what you want to hear or learn or even be reminded of. In other words your complaints are invalid and a waste of your time with attempts to prevent others from learning. JB > On Apr 7, 2021, at 4:00 PM, Sean Cole (Pi) via use-livecode wrote: > > ?Thanks Jacque, > > That's all I needed to hear. As long as it is an absolute, definitive, > knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course > prefer it if there were a way, but hey ho! > > I make no apology for 'insulting' 'people' if they cannot read instructions > or get simple explanations. I had literally JUST said NOT to offer the > likes of workaround buttons, plugins, etc. If they are so thick and > demonstrate it by their (unneeded, unnecessary) responses then I WILL out > them. I've seriously had enough of just 'putting-up' with this kind of > behaviour anywhere and have vowed to continue in this 'spirit' whenever I > am met with stupidity and ignorance. Here or anywhere. It is passive abuse > and should be more intolerable than my provoked retaliations. > > I thought you, Jacque, had already blacklisted me and said you would block > my messages because of one of my previous provoked 'incidents', so I am > surprised I got a response from you at all (although you mostly are one of > those I can get the most sense from). > > I truly value those who value me and who can respect my needs. Those who > trample and disrespect I owe nothing to and do not care if they choose to > block me. No real loss to me as they are clearly unable to offer me > anything anyway other than try to pain me with threats of something like: > 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm so > stabbed to the heart by the pettiness. > > All the best to the best of you all. The rest can rest in the best place of > all - somewhere else ;) > > Sean > >> On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: >>> I HAVE created a plugin! I was JUST trying to ask, can I insert a cr >> using >>> the replace field of the Find Replace ONLY. >>> >>> I flipping already know how LC works for most other things. I dont need >>> explanations on how to suck effing eggs. Just answer the sodding >> question. >>> >>> Answer nothing but this PLEASE. >> >> The answer is "no." >> >>> >>> This is why I end up getting mad! I even just explained this in my last >>> post. Why are you all unable to READ!!!!!!! ??????? >>> >>> Sean >>> >>> PS >>> Morons. I'm offended by your >> >> Insulting people when they are just trying to help is a good way to get >> ignored in the future. >> >> -- >> 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 sean at pidigital.co.uk Wed Apr 7 20:49:37 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 01:49:37 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> References: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> Message-ID: Hi JB So what I read from your message, appreciated as it is, that basically, you hijacked my thread for your own intents and purposes of educating people about things loosely related to my question but without actually answering said question and without changing the subject to one that better suits your purposes, maybe 'OT: C++ background to Find Replace in Script Editor' . Thanks for your explanation of what you were trying to do. Perhaps next time, (as the post may well be helpful to those inclined to want the extra in depth, beyond the OP, educating) you could indeed change the subject heading to note that you are going OT into other expanded territory. Does that sound fair? What you have done is make it harder for people actually trying to find the answer to my OP or similar (as hard as that may be to believe) that much harder to come across as they read through yours and others' dross! Do you not see that? Can none of you see that? Bob, surely you can see it? My textual 'abuse' comes as the result of prodding to the point of utter provocation and MUST be seen as such. Had the answer been left to those who KNOW and can directly and succinctly answer the question, this thread would be a tiny gem of proper information, rather than the cesspool of irrelevance (and abuse from both sides) it has become. Disappointed, I am! Sean On Thu, 8 Apr 2021 at 01:19, John Balgenorth via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a list of people reading and answering questions about LiveCode > programming. You might think my explanation of your typo was not > what you were looking for especially since I mentioned C and C++ in > the reply. But I personally answered the way I did for many reasons > and even told you to ignore it if that was not what you wanted. Some > of the reasons I answered the way I did was that instead of pointing > out it was a typo I provided other users reading the message with > info about why it was a typo. I have made the typo many times and > I was not sure if you were misled by an error in the dictionary or if > it was a typo and I helped people learn the basics of why it was not > going to work and that behavior of using backslash n goes back to > C++ which LiveCode is written in and C++ got the behavior from C. > > Another point is people were complaining LiveCode needs to be up > on the list of programming languages and it was noted that the list > is based on messages related to the language. Providing links with > C and C++ and info helps people understand LiveCode better and > any other language they learn in the future. > > So your question has value to many users and to LoveCode on a lot > of different levels, not just what you want to hear or learn or even be > reminded of. > > In other words your complaints are invalid and a waste of your time > with attempts to prevent others from learning. > > JB > > > On Apr 7, 2021, at 4:00 PM, Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Thanks Jacque, > > > > That's all I needed to hear. As long as it is an absolute, definitive, > > knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course > > prefer it if there were a way, but hey ho! > > > > I make no apology for 'insulting' 'people' if they cannot read > instructions > > or get simple explanations. I had literally JUST said NOT to offer the > > likes of workaround buttons, plugins, etc. If they are so thick and > > demonstrate it by their (unneeded, unnecessary) responses then I WILL out > > them. I've seriously had enough of just 'putting-up' with this kind of > > behaviour anywhere and have vowed to continue in this 'spirit' whenever I > > am met with stupidity and ignorance. Here or anywhere. It is passive > abuse > > and should be more intolerable than my provoked retaliations. > > > > I thought you, Jacque, had already blacklisted me and said you would > block > > my messages because of one of my previous provoked 'incidents', so I am > > surprised I got a response from you at all (although you mostly are one > of > > those I can get the most sense from). > > > > I truly value those who value me and who can respect my needs. Those who > > trample and disrespect I owe nothing to and do not care if they choose to > > block me. No real loss to me as they are clearly unable to offer me > > anything anyway other than try to pain me with threats of something like: > > 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm > so > > stabbed to the heart by the pettiness. > > > > All the best to the best of you all. The rest can rest in the best place > of > > all - somewhere else ;) > > > > Sean > > > >> On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: > >>> I HAVE created a plugin! I was JUST trying to ask, can I insert a cr > >> using > >>> the replace field of the Find Replace ONLY. > >>> > >>> I flipping already know how LC works for most other things. I dont need > >>> explanations on how to suck effing eggs. Just answer the sodding > >> question. > >>> > >>> Answer nothing but this PLEASE. > >> > >> The answer is "no." > >> > >>> > >>> This is why I end up getting mad! I even just explained this in my last > >>> post. Why are you all unable to READ!!!!!!! ??????? > >>> > >>> Sean > >>> > >>> PS > >>> Morons. I'm offended by your > >> > >> Insulting people when they are just trying to help is a good way to get > >> ignored in the future. > >> > >> -- > >> 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 sundown.pacifier at icloud.com Wed Apr 7 21:02:37 2021 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Wed, 7 Apr 2021 18:02:37 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: GO SCREW YOURSELF! JB > On Apr 7, 2021, at 5:52 PM, Sean Cole (Pi) via use-livecode wrote: > > ?Hi JB > So what I read from your message, appreciated as it is, that basically, you > hijacked my thread for your own intents and purposes of educating people > about things loosely related to my question but without actually answering > said question and without changing the subject to one that better suits > your purposes, maybe 'OT: C++ background to Find Replace in Script Editor' > . Thanks for your explanation of what you were trying to do. Perhaps next > time, (as the post may well be helpful to those inclined to want the extra > in depth, beyond the OP, educating) you could indeed change the subject > heading to note that you are going OT into other expanded territory. Does > that sound fair? > > What you have done is make it harder for people actually trying to find the > answer to my OP or similar (as hard as that may be to believe) that much > harder to come across as they read through yours and others' dross! Do you > not see that? Can none of you see that? Bob, surely you can see it? My > textual 'abuse' comes as the result of prodding to the point of utter > provocation and MUST be seen as such. Had the answer been left to those who > KNOW and can directly and succinctly answer the question, this thread would > be a tiny gem of proper information, rather than the cesspool of > irrelevance (and abuse from both sides) it has become. Disappointed, I am! > > Sean > >> On Thu, 8 Apr 2021 at 01:19, John Balgenorth via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> This is a list of people reading and answering questions about LiveCode >> programming. You might think my explanation of your typo was not >> what you were looking for especially since I mentioned C and C++ in >> the reply. But I personally answered the way I did for many reasons >> and even told you to ignore it if that was not what you wanted. Some >> of the reasons I answered the way I did was that instead of pointing >> out it was a typo I provided other users reading the message with >> info about why it was a typo. I have made the typo many times and >> I was not sure if you were misled by an error in the dictionary or if >> it was a typo and I helped people learn the basics of why it was not >> going to work and that behavior of using backslash n goes back to >> C++ which LiveCode is written in and C++ got the behavior from C. >> >> Another point is people were complaining LiveCode needs to be up >> on the list of programming languages and it was noted that the list >> is based on messages related to the language. Providing links with >> C and C++ and info helps people understand LiveCode better and >> any other language they learn in the future. >> >> So your question has value to many users and to LoveCode on a lot >> of different levels, not just what you want to hear or learn or even be >> reminded of. >> >> In other words your complaints are invalid and a waste of your time >> with attempts to prevent others from learning. >> >> JB >> >>> On Apr 7, 2021, at 4:00 PM, Sean Cole (Pi) via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> ?Thanks Jacque, >>> >>> That's all I needed to hear. As long as it is an absolute, definitive, >>> knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course >>> prefer it if there were a way, but hey ho! >>> >>> I make no apology for 'insulting' 'people' if they cannot read >> instructions >>> or get simple explanations. I had literally JUST said NOT to offer the >>> likes of workaround buttons, plugins, etc. If they are so thick and >>> demonstrate it by their (unneeded, unnecessary) responses then I WILL out >>> them. I've seriously had enough of just 'putting-up' with this kind of >>> behaviour anywhere and have vowed to continue in this 'spirit' whenever I >>> am met with stupidity and ignorance. Here or anywhere. It is passive >> abuse >>> and should be more intolerable than my provoked retaliations. >>> >>> I thought you, Jacque, had already blacklisted me and said you would >> block >>> my messages because of one of my previous provoked 'incidents', so I am >>> surprised I got a response from you at all (although you mostly are one >> of >>> those I can get the most sense from). >>> >>> I truly value those who value me and who can respect my needs. Those who >>> trample and disrespect I owe nothing to and do not care if they choose to >>> block me. No real loss to me as they are clearly unable to offer me >>> anything anyway other than try to pain me with threats of something like: >>> 'OK. Any future question you ask, I will answer simply :"no".'. Aww, I'm >> so >>> stabbed to the heart by the pettiness. >>> >>> All the best to the best of you all. The rest can rest in the best place >> of >>> all - somewhere else ;) >>> >>> Sean >>> >>>> On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: >>>>> I HAVE created a plugin! I was JUST trying to ask, can I insert a cr >>>> using >>>>> the replace field of the Find Replace ONLY. >>>>> >>>>> I flipping already know how LC works for most other things. I dont need >>>>> explanations on how to suck effing eggs. Just answer the sodding >>>> question. >>>>> >>>>> Answer nothing but this PLEASE. >>>> >>>> The answer is "no." >>>> >>>>> >>>>> This is why I end up getting mad! I even just explained this in my last >>>>> post. Why are you all unable to READ!!!!!!! ??????? >>>>> >>>>> Sean >>>>> >>>>> PS >>>>> Morons. I'm offended by your >>>> >>>> Insulting people when they are just trying to help is a good way to get >>>> ignored in the future. >>>> >>>> -- >>>> 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 sean at pidigital.co.uk Wed Apr 7 21:27:36 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 02:27:36 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: Nice to hear from you Sean On Thu, 8 Apr 2021 at 02:02, John Balgenorth via use-livecode < use-livecode at lists.runrev.com> wrote: > GO SCREW YOURSELF! > > JB > > > On Apr 7, 2021, at 5:52 PM, Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Hi JB > > So what I read from your message, appreciated as it is, that basically, > you > > hijacked my thread for your own intents and purposes of educating people > > about things loosely related to my question but without actually > answering > > said question and without changing the subject to one that better suits > > your purposes, maybe 'OT: C++ background to Find Replace in Script > Editor' > > . Thanks for your explanation of what you were trying to do. Perhaps next > > time, (as the post may well be helpful to those inclined to want the > extra > > in depth, beyond the OP, educating) you could indeed change the subject > > heading to note that you are going OT into other expanded territory. Does > > that sound fair? > > > > What you have done is make it harder for people actually trying to find > the > > answer to my OP or similar (as hard as that may be to believe) that much > > harder to come across as they read through yours and others' dross! Do > you > > not see that? Can none of you see that? Bob, surely you can see it? My > > textual 'abuse' comes as the result of prodding to the point of utter > > provocation and MUST be seen as such. Had the answer been left to those > who > > KNOW and can directly and succinctly answer the question, this thread > would > > be a tiny gem of proper information, rather than the cesspool of > > irrelevance (and abuse from both sides) it has become. Disappointed, I > am! > > > > Sean > > > >> On Thu, 8 Apr 2021 at 01:19, John Balgenorth via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> This is a list of people reading and answering questions about LiveCode > >> programming. You might think my explanation of your typo was not > >> what you were looking for especially since I mentioned C and C++ in > >> the reply. But I personally answered the way I did for many reasons > >> and even told you to ignore it if that was not what you wanted. Some > >> of the reasons I answered the way I did was that instead of pointing > >> out it was a typo I provided other users reading the message with > >> info about why it was a typo. I have made the typo many times and > >> I was not sure if you were misled by an error in the dictionary or if > >> it was a typo and I helped people learn the basics of why it was not > >> going to work and that behavior of using backslash n goes back to > >> C++ which LiveCode is written in and C++ got the behavior from C. > >> > >> Another point is people were complaining LiveCode needs to be up > >> on the list of programming languages and it was noted that the list > >> is based on messages related to the language. Providing links with > >> C and C++ and info helps people understand LiveCode better and > >> any other language they learn in the future. > >> > >> So your question has value to many users and to LoveCode on a lot > >> of different levels, not just what you want to hear or learn or even be > >> reminded of. > >> > >> In other words your complaints are invalid and a waste of your time > >> with attempts to prevent others from learning. > >> > >> JB > >> > >>> On Apr 7, 2021, at 4:00 PM, Sean Cole (Pi) via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> ?Thanks Jacque, > >>> > >>> That's all I needed to hear. As long as it is an absolute, definitive, > >>> knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course > >>> prefer it if there were a way, but hey ho! > >>> > >>> I make no apology for 'insulting' 'people' if they cannot read > >> instructions > >>> or get simple explanations. I had literally JUST said NOT to offer the > >>> likes of workaround buttons, plugins, etc. If they are so thick and > >>> demonstrate it by their (unneeded, unnecessary) responses then I WILL > out > >>> them. I've seriously had enough of just 'putting-up' with this kind of > >>> behaviour anywhere and have vowed to continue in this 'spirit' > whenever I > >>> am met with stupidity and ignorance. Here or anywhere. It is passive > >> abuse > >>> and should be more intolerable than my provoked retaliations. > >>> > >>> I thought you, Jacque, had already blacklisted me and said you would > >> block > >>> my messages because of one of my previous provoked 'incidents', so I am > >>> surprised I got a response from you at all (although you mostly are one > >> of > >>> those I can get the most sense from). > >>> > >>> I truly value those who value me and who can respect my needs. Those > who > >>> trample and disrespect I owe nothing to and do not care if they choose > to > >>> block me. No real loss to me as they are clearly unable to offer me > >>> anything anyway other than try to pain me with threats of something > like: > >>> 'OK. Any future question you ask, I will answer simply :"no".'. Aww, > I'm > >> so > >>> stabbed to the heart by the pettiness. > >>> > >>> All the best to the best of you all. The rest can rest in the best > place > >> of > >>> all - somewhere else ;) > >>> > >>> Sean > >>> > >>>> On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: > >>>>> I HAVE created a plugin! I was JUST trying to ask, can I insert a cr > >>>> using > >>>>> the replace field of the Find Replace ONLY. > >>>>> > >>>>> I flipping already know how LC works for most other things. I dont > need > >>>>> explanations on how to suck effing eggs. Just answer the sodding > >>>> question. > >>>>> > >>>>> Answer nothing but this PLEASE. > >>>> > >>>> The answer is "no." > >>>> > >>>>> > >>>>> This is why I end up getting mad! I even just explained this in my > last > >>>>> post. Why are you all unable to READ!!!!!!! ??????? > >>>>> > >>>>> Sean > >>>>> > >>>>> PS > >>>>> Morons. I'm offended by your > >>>> > >>>> Insulting people when they are just trying to help is a good way to > get > >>>> ignored in the future. > >>>> > >>>> -- > >>>> 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 tom at makeshyft.com Thu Apr 8 00:38:34 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 8 Apr 2021 00:38:34 -0400 Subject: Checking the Milliseconds In-Reply-To: References: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> Message-ID: I hear you Sean ..it is pretty interesting .... These are like gritty details about the engine, and I love learning them. I did not expect less than a microsecond / operation, thats for sure. There are a few other operations I would like to test in this way. thanks for reminding me about the detail millisecond, this will help with accuracy. More on this in about a 2 couple weeks time. I am excited to bring something new to the LC developer community. :) Cheers Tom On Wed, Apr 7, 2021 at 7:26 PM Sean Cole (Pi) via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom > > It is really interesting to see the results from this though. Tried it on > my various machines and got pretty much the same results as everyone else > consistently. It's amazing to see that in the region of 3000 loops occur in > the period of 1ms. which means we are perhaps getting 1 (lowish level) line > every 0.0001ms. Obviously heftier calls will take longer but it's a good > indicator. > > Here's a good check of accuracy (sorry for the formatting): > > local sMS > > on mouseUp > put the long millisec into sMS > send "checkTime" to me in 1 sec > end mouseUp > > on checkTime > put the long millisec - sMS > end checkTime > > // The long milliseconds gives you even more detail on the amount of time > elapsed. The variance is quite something. > > Sean > > On Wed, 7 Apr 2021 at 23:14, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Excellent ... Yes the 1st one was usually the one that was the lowest for > > me, for the reason you described. > > But you also cleared up the mysterious big jumps,I too now get a > consistent > > result. > > Thanks for chimming in > > > > > > On Wed, Apr 7, 2021 at 3:59 PM Niggemann, Bernd via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I tried this and got pretty constant results except for maybe the > first > > > ten iterations. I figured if you just jump in with the milliseconds you > > > would not be at the "beginning" of the milliseconds and added a repeat > > loop > > > to mitigate that effect. Furthermore I appended the result to a > variable. > > > > > > ------------------------------------------- > > > local last_known_millisecond > > > local queries = 0 > > > local report > > > local longSecs, tMs > > > > > > on mouseUp > > > lock screen > > > put empty into report > > > > > > --let it start at a flip of the ms > > > repeat > > > put the milliseconds into tMs > > > if char -1 of tMs is 0 then > > > exit repeat > > > end if > > > end repeat > > > > > > repeat 1000 times > > > put 0 into queries > > > put the long seconds into longSecs > > > put the milliseconds into last_known_millisecond > > > repeat forever > > > add 1 to queries > > > if the milliseconds = last_known_millisecond then > > > next repeat > > > else > > > exit repeat > > > end if > > > end repeat > > > put queries && (the long seconds - longSecs) * 1000 & cr after > > > report > > > end repeat > > > > > > unlock screen > > > put report > > > end mouseUp > > > -------------------------- > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 ahsoftware at sonic.net Thu Apr 8 01:24:32 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 7 Apr 2021 22:24:32 -0700 Subject: Checking the Milliseconds In-Reply-To: References: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> Message-ID: On 4/7/21 9:38 PM, Tom Glod via use-livecode wrote: > I hear you Sean ..it is pretty interesting .... These are like gritty > details about the engine, and I love learning them. > I did not expect less than a microsecond / operation, thats for sure. > There are a few other operations I would like to test in this way. > thanks for reminding me about the detail millisecond, this will help with > accuracy. > > More on this in about a 2 couple weeks time. > I am excited to bring something new to the LC developer community. :) But be wary of trusting the results of the long milliseconds on Windows. Discussion here: https://forums.livecode.com/viewtopic.php?f=66&t=34652 -- Mark Wieder ahsoftware at gmail.com From b.cornaz at gmx.net Thu Apr 8 08:39:00 2021 From: b.cornaz at gmx.net (B.Cornaz@gmx.net) Date: Thu, 8 Apr 2021 14:39:00 +0200 Subject: Change email Message-ID: <215D5A1D-6C8F-4DC0-9601-11B60E31F275@gmx.net> Hello support, I?d like to change my email address for the user group. How can I do that? Thanks and Kind regards, Beat Cornaz From rdimola at evergreeninfo.net Thu Apr 8 08:53:19 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 8 Apr 2021 08:53:19 -0400 Subject: Change email In-Reply-To: <215D5A1D-6C8F-4DC0-9601-11B60E31F275@gmx.net> References: <215D5A1D-6C8F-4DC0-9601-11B60E31F275@gmx.net> Message-ID: <000b01d72c76$29ef4a30$7dcdde90$@net> Reach out to Heather via support email (support at runrev.com) . She has always been very responsive to these requests. 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 B.Cornaz--- via use-livecode Sent: Thursday, April 08, 2021 8:39 AM To: use-livecode at lists.runrev.com Cc: B.Cornaz at gmx.net Subject: Change email Hello support, I?d like to change my email address for the user group. How can I do that? Thanks and Kind regards, Beat Cornaz _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Apr 8 08:52:24 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 8 Apr 2021 14:52:24 +0200 Subject: Change email In-Reply-To: <215D5A1D-6C8F-4DC0-9601-11B60E31F275@gmx.net> References: <215D5A1D-6C8F-4DC0-9601-11B60E31F275@gmx.net> Message-ID: Go here http://lists.runrev.com/mailman/listinfo/use-livecode and use the form field at the bottom of that page. - Matthias Rebbe Life Is Too Short For Boring Code > Am 08.04.2021 um 14:39 schrieb B.Cornaz--- via use-livecode : > > Hello support, > > I?d like to change my email address for the user group. > How can I do that? > > Thanks and Kind regards, > > Beat Cornaz > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Apr 8 09:27:48 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 8 Apr 2021 09:27:48 -0400 Subject: Checking the Milliseconds In-Reply-To: References: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> Message-ID: <37656BA3-4DEE-452D-A672-69D6F1418223@starfirelighting.com> Hi. I rand this a few times on an iMac 3.2Ghz Intel I5 I got very consistent counts, averaging 2605, and most count deviating very little from that value Craig > On Apr 8, 2021, at 1:24 AM, Mark Wieder via use-livecode wrote: > > On 4/7/21 9:38 PM, Tom Glod via use-livecode wrote: >> I hear you Sean ..it is pretty interesting .... These are like gritty >> details about the engine, and I love learning them. >> I did not expect less than a microsecond / operation, thats for sure. >> There are a few other operations I would like to test in this way. >> thanks for reminding me about the detail millisecond, this will help with >> accuracy. >> More on this in about a 2 couple weeks time. >> I am excited to bring something new to the LC developer community. :) > > But be wary of trusting the results of the long milliseconds on Windows. > Discussion here: > https://forums.livecode.com/viewtopic.php?f=66&t=34652 > > -- > 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 craig at starfirelighting.com Thu Apr 8 09:31:45 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 8 Apr 2021 09:31:45 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: Anyone remember Amthony Black? Craig > On Apr 7, 2021, at 9:27 PM, Sean Cole (Pi) via use-livecode wrote: > > Nice to hear from you > Sean > > On Thu, 8 Apr 2021 at 02:02, John Balgenorth via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> GO SCREW YOURSELF! >> >> JB >> >>> On Apr 7, 2021, at 5:52 PM, Sean Cole (Pi) via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> ?Hi JB >>> So what I read from your message, appreciated as it is, that basically, >> you >>> hijacked my thread for your own intents and purposes of educating people >>> about things loosely related to my question but without actually >> answering >>> said question and without changing the subject to one that better suits >>> your purposes, maybe 'OT: C++ background to Find Replace in Script >> Editor' >>> . Thanks for your explanation of what you were trying to do. Perhaps next >>> time, (as the post may well be helpful to those inclined to want the >> extra >>> in depth, beyond the OP, educating) you could indeed change the subject >>> heading to note that you are going OT into other expanded territory. Does >>> that sound fair? >>> >>> What you have done is make it harder for people actually trying to find >> the >>> answer to my OP or similar (as hard as that may be to believe) that much >>> harder to come across as they read through yours and others' dross! Do >> you >>> not see that? Can none of you see that? Bob, surely you can see it? My >>> textual 'abuse' comes as the result of prodding to the point of utter >>> provocation and MUST be seen as such. Had the answer been left to those >> who >>> KNOW and can directly and succinctly answer the question, this thread >> would >>> be a tiny gem of proper information, rather than the cesspool of >>> irrelevance (and abuse from both sides) it has become. Disappointed, I >> am! >>> >>> Sean >>> >>>> On Thu, 8 Apr 2021 at 01:19, John Balgenorth via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> This is a list of people reading and answering questions about LiveCode >>>> programming. You might think my explanation of your typo was not >>>> what you were looking for especially since I mentioned C and C++ in >>>> the reply. But I personally answered the way I did for many reasons >>>> and even told you to ignore it if that was not what you wanted. Some >>>> of the reasons I answered the way I did was that instead of pointing >>>> out it was a typo I provided other users reading the message with >>>> info about why it was a typo. I have made the typo many times and >>>> I was not sure if you were misled by an error in the dictionary or if >>>> it was a typo and I helped people learn the basics of why it was not >>>> going to work and that behavior of using backslash n goes back to >>>> C++ which LiveCode is written in and C++ got the behavior from C. >>>> >>>> Another point is people were complaining LiveCode needs to be up >>>> on the list of programming languages and it was noted that the list >>>> is based on messages related to the language. Providing links with >>>> C and C++ and info helps people understand LiveCode better and >>>> any other language they learn in the future. >>>> >>>> So your question has value to many users and to LoveCode on a lot >>>> of different levels, not just what you want to hear or learn or even be >>>> reminded of. >>>> >>>> In other words your complaints are invalid and a waste of your time >>>> with attempts to prevent others from learning. >>>> >>>> JB >>>> >>>>> On Apr 7, 2021, at 4:00 PM, Sean Cole (Pi) via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> ?Thanks Jacque, >>>>> >>>>> That's all I needed to hear. As long as it is an absolute, definitive, >>>>> knowledgeable 'no', I'm 'happy' to hear it. Sort of. I'd of course >>>>> prefer it if there were a way, but hey ho! >>>>> >>>>> I make no apology for 'insulting' 'people' if they cannot read >>>> instructions >>>>> or get simple explanations. I had literally JUST said NOT to offer the >>>>> likes of workaround buttons, plugins, etc. If they are so thick and >>>>> demonstrate it by their (unneeded, unnecessary) responses then I WILL >> out >>>>> them. I've seriously had enough of just 'putting-up' with this kind of >>>>> behaviour anywhere and have vowed to continue in this 'spirit' >> whenever I >>>>> am met with stupidity and ignorance. Here or anywhere. It is passive >>>> abuse >>>>> and should be more intolerable than my provoked retaliations. >>>>> >>>>> I thought you, Jacque, had already blacklisted me and said you would >>>> block >>>>> my messages because of one of my previous provoked 'incidents', so I am >>>>> surprised I got a response from you at all (although you mostly are one >>>> of >>>>> those I can get the most sense from). >>>>> >>>>> I truly value those who value me and who can respect my needs. Those >> who >>>>> trample and disrespect I owe nothing to and do not care if they choose >> to >>>>> block me. No real loss to me as they are clearly unable to offer me >>>>> anything anyway other than try to pain me with threats of something >> like: >>>>> 'OK. Any future question you ask, I will answer simply :"no".'. Aww, >> I'm >>>> so >>>>> stabbed to the heart by the pettiness. >>>>> >>>>> All the best to the best of you all. The rest can rest in the best >> place >>>> of >>>>> all - somewhere else ;) >>>>> >>>>> Sean >>>>> >>>>>> On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: >>>>>>> I HAVE created a plugin! I was JUST trying to ask, can I insert a cr >>>>>> using >>>>>>> the replace field of the Find Replace ONLY. >>>>>>> >>>>>>> I flipping already know how LC works for most other things. I dont >> need >>>>>>> explanations on how to suck effing eggs. Just answer the sodding >>>>>> question. >>>>>>> >>>>>>> Answer nothing but this PLEASE. >>>>>> >>>>>> The answer is "no." >>>>>> >>>>>>> >>>>>>> This is why I end up getting mad! I even just explained this in my >> last >>>>>>> post. Why are you all unable to READ!!!!!!! ??????? >>>>>>> >>>>>>> Sean >>>>>>> >>>>>>> PS >>>>>>> Morons. I'm offended by your >>>>>> >>>>>> Insulting people when they are just trying to help is a good way to >> get >>>>>> ignored in the future. >>>>>> >>>>>> -- >>>>>> 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 thatkeith at mac.com Thu Apr 8 09:59:22 2021 From: thatkeith at mac.com (Keith Martin) Date: Thu, 8 Apr 2021 14:59:22 +0100 Subject: Checking the Milliseconds In-Reply-To: <37656BA3-4DEE-452D-A672-69D6F1418223@starfirelighting.com> References: <91565317-8151-4B0F-B435-0ECC08869FCD@uni-wh.de> <37656BA3-4DEE-452D-A672-69D6F1418223@starfirelighting.com> Message-ID: <8DA866FF-84FA-4FA4-85C6-B7DF9E17B6E1@mac.com> I ran the original code on my MacBook Pro (16in 2019, 2.3GHx 8 core i9). Three quarters of the results were over 4000, almost 150 of those were 4400 or above. The highest value was 4493. Average: 3873 (rounded) Median: 4081 Standard Deviation: 611 (rounded) k From thatkeith at mac.com Thu Apr 8 10:16:00 2021 From: thatkeith at mac.com (Keith Martin) Date: Thu, 8 Apr 2021 15:16:00 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: Mailing lists such as this aren?t perfect oracles and they?re not pure technical reference sources either. Most importantly, they are not one-to-one conversations; MANY more people will be reading a thread than may be actively posting to it. When a question is asked, people will respond with what they feel may be of use. Sometimes it isn?t helpful, but often even those posts will help others reading the thread to gain a better understanding of all sorts of areas within the general topic. I know I?ve learned a HUGE amount by reading threads on topics that free-wheel around with all kinds of creative and sometimes off-target (and even off topic) responses. For me, that is a big part of the value of a mailing list. I don?t read every post in this or a number of other mailing lists, but I keep everything for possible later trawling with searches. (I have roughly 142k unread emails in my inbox ? I practice inbox infinity rather than inbox zero! But it works well for me.) This is how mailing lists naturally work. If that?s not suitable, the forum allows for a somewhat more focused approach to questions and answers. What?s not so suitable or appropriate is personal abuse being thrown around. I don?t know how many people are subscribed to this list, but it will not be a small number. That?s a lot of inboxes. Frankly, anyone should be embarrassed to be ?shouting? at someone in such a large and semi-public environment. k out. --- Keith Martin Mobile: +44 (0)7909 541365 360 media production, consultancy and training: PanoramaPhotographer.com Exif Fixer 360 utility: ExifFixer.com About me: thatkeith.com --- From andre at andregarzia.com Thu Apr 8 10:45:09 2021 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 8 Apr 2021 15:45:09 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: Message-ID: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> LiveCode is waaaay less responsive on Windows than on a Mac. The script editor hangs all the time, even when you turn off all the smart stuff. Removing it from defender and stuff helps but doesn?t solve the problem. LC is quite neglected on Windows and Linux. I understand that mac is the money making machine, but the kind of hiccups I see can only be explained by no one at HQ using Windows, or they?d have noticed it by now. From bobsneidar at iotecdigital.com Thu Apr 8 10:58:20 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 8 Apr 2021 14:58:20 +0000 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <50F9A3B4-5B66-4A52-81B6-00F7070794B2@iotecdigital.com> Fine but I am on JB side on this one. I suggest everyone just create a mail rule that sends Sean?s posts to the trash. That is what I have done. Maybe at some point he will finally get that railing against people inevitably accomplishes the exact opposite of his intent, which I think is to get people to change the way they respond on the list. But somehow I do not think he WILL get it. In fact I get the sense that he just likes to rail against people. This isn?t the first time. Bob S > On Apr 8, 2021, at 7:16 AM, Keith Martin via use-livecode wrote: > > Mailing lists such as this aren?t perfect oracles and they?re not pure technical reference sources either. Most importantly, they are not one-to-one conversations; MANY more people will be reading a thread than may be actively posting to it. > > When a question is asked, people will respond with what they feel may be of use. Sometimes it isn?t helpful, but often even those posts will help others reading the thread to gain a better understanding of all sorts of areas within the general topic. > > I know I?ve learned a HUGE amount by reading threads on topics that free-wheel around with all kinds of creative and sometimes off-target (and even off topic) responses. For me, that is a big part of the value of a mailing list. I don?t read every post in this or a number of other mailing lists, but I keep everything for possible later trawling with searches. (I have roughly 142k unread emails in my inbox ? I practice inbox infinity rather than inbox zero! But it works well for me.) > > This is how mailing lists naturally work. If that?s not suitable, the forum allows for a somewhat more focused approach to questions and answers. What?s not so suitable or appropriate is personal abuse being thrown around. I don?t know how many people are subscribed to this list, but it will not be a small number. That?s a lot of inboxes. Frankly, anyone should be embarrassed to be ?shouting? at someone in such a large and semi-public environment. > > k out. > > --- > Keith Martin > Mobile: +44 (0)7909 541365 > 360 media production, consultancy and training: PanoramaPhotographer.com > Exif Fixer 360 utility: ExifFixer.com > About me: thatkeith.com > --- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 8 11:00:19 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 8 Apr 2021 15:00:19 +0000 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> Message-ID: To be fail, I do not think the problem is Livecode, I think it?s Windows, and I am not sure there is much LC can do to get around whatever it is causing these issues. It could be that LC is still a 32 bit app (it installs in the 32 bit app folder). Bob S On Apr 8, 2021, at 7:45 AM, Andre Garzia via use-livecode > wrote: LiveCode is waaaay less responsive on Windows than on a Mac. The script editor hangs all the time, even when you turn off all the smart stuff. Removing it from defender and stuff helps but doesn?t solve the problem. LC is quite neglected on Windows and Linux. I understand that mac is the money making machine, but the kind of hiccups I see can only be explained by no one at HQ using Windows, or they?d have noticed it by now. From sean at pidigital.co.uk Thu Apr 8 11:23:39 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 16:23:39 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: Hi all, It's gotten out of control, hasn't it. If you are told not to put your hand in the snake pit and you still do and get bit, it should come as little surprise to such a person that they get referred to as stupid, in the true English meaning of the word. I had asked specifically not to add in this kind of irrelevant nonsense and to stay on topic. Just to answer the question asked specifically and directly. I am happy for you all to block me and not respond to my posts if you so wish. I only rant at those who really deserve it based on their attitudes towards hijacking threads and stupidity. I've helped and continue to help plenty of people here in good manner. And I hold no grudges against any of you. I help all discriminatorily. Even JB who told me to place my wang up my own poo hole and do the dirty. Nice! He would probably never need my or anyones help as he already knows everything to root level anyway. Besides, this only ever happens in my own threads. Anyone elses I would be respectful on as I would want them to be on mine. This is a community but still contains some level of ownership individually. Bob, I know you can't read this, but I don't rail against all people. Only those who go out of their way to disrespect my specific requests and those who demonstrate it and then get upset when I call them out for it. What has happened on this thread was, if you look back over it, is completely disrespectful to me before I got provoked into retaliation. If you don't poke the lion, he won't turn around and bite you. It's that simple. Anyone who can't get that must be a moron (a medical term denoting an adult with a mental age of about 8-12) as mentioned. Sean From jacque at hyperactivesw.com Thu Apr 8 11:27:42 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Apr 2021 10:27:42 -0500 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> Message-ID: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Guys, Sean is bipolar. He's told us so, and it isn't entirely under his control. On the other hand, it isn't pleasant and it's disruptive. Sean, the problem is, if the accusations and anger keep up, you may well be banned from the list. I understand it's hard to control, but you can't continue to berate people who've done you no harm and only mean the best. >From where we are, the accusations seem unreasonable. Your targets don't know what they've done to make you angry. BTW, I've never blocked anyone on any list and I read everything. But when you get angry, I ignore it. I know what's going on but no response would help. I've also hijacked your thread and could have answered privately but I thought other listers might want to know why your recent posts are so combative. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Thu Apr 8 11:39:02 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 16:39:02 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> Message-ID: I'm running it over vnc to a remote server on a single core (2.4Ghz), 4gb virtual system running Win Server 2016 standard. I edit my code there directly and have only partial lag due mostly to the screen share, dropbox scanning and single core nature of it. I've often made my feelings known about where LC is failing. But this, for me at least, is not one of them, even with all options on except bracket highlighting (can't remember why I turned it off). If you make sure your windows system is clean as it can be you shouldn't see any serious performance issues. Maybe a bit slower just because (in my dumb opinion) windoze is rubbish compared with macOS. Photoshop on my windows pc is less responsive than on my mac. That's not Adobe's fault. LC is not responsible for what system you are running on or the performance caveats of one over the other. That's for us to deal with and handle the best way we can, I guess. But, as highlighted in another thread recently, what do I know! Sean On Thu, 8 Apr 2021 at 16:00, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > To be fail, I do not think the problem is Livecode, I think it?s Windows, > and I am not sure there is much LC can do to get around whatever it is > causing these issues. It could be that LC is still a 32 bit app (it > installs in the 32 bit app folder). > > Bob S > > > On Apr 8, 2021, at 7:45 AM, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > LiveCode is waaaay less responsive on Windows than on a Mac. > > The script editor hangs all the time, even when you turn off all the smart > stuff. Removing it from defender and stuff helps but doesn?t solve the > problem. > > LC is quite neglected on Windows and Linux. I understand that mac is the > money making machine, but the kind of hiccups I see can only be explained > by no one at HQ using Windows, or they?d have noticed it by now. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Thu Apr 8 11:49:41 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 8 Apr 2021 15:49:41 +0000 Subject: Find Replace in Script Editor with cr In-Reply-To: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <2D2D5831-F1AA-4501-8EA4-D87BE6556247@iotecdigital.com> Thanks Jacqueline. I'll take that into consideration in future posts. Bob S > On Apr 8, 2021, at 08:27 , J. Landman Gay via use-livecode wrote: > > Guys, Sean is bipolar. He's told us so, and it isn't entirely under his control. On the other hand, it isn't pleasant and it's disruptive. > > Sean, the problem is, if the accusations and anger keep up, you may well be banned from the list. I understand it's hard to control, but you can't continue to berate people who've done you no harm and only mean the best. From where we are, the accusations seem unreasonable. Your targets don't know what they've done to make you angry. > > BTW, I've never blocked anyone on any list and I read everything. But when you get angry, I ignore it. I know what's going on but no response would help. > > I've also hijacked your thread and could have answered privately but I thought other listers might want to know why your recent posts are so combative. > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Thu Apr 8 11:53:24 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 16:53:24 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: No problem, thanks Jacque. Just to kindly correct, it's not bipolar, it's BPD, Borderline Personality Disorder, or Emotionally Unstable Personality Disorder. But in this instance this is not an excuse I am using as I'm actually fairly in control as it happens. I only mentioned it as a warning to to carry on pushing it. I had made it clear, or so I thought, that anything except the specific answer to a very specific question was unwanted. This was certainly not me at my worst. Curry did the right thing in trying to diffuse the situation. Only to be ruined by others disrespectfulness afterward. I am Only disrespectful to those who show disrespect. < https://www.nhs.uk/mental-health/conditions/borderline-personality-disorder/symptoms/ > Sean On Thu, 8 Apr 2021 at 16:27, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Guys, Sean is bipolar. He's told us so, and it isn't entirely under his > control. On the other hand, it isn't pleasant and it's disruptive. > > Sean, the problem is, if the accusations and anger keep up, you may well > be > banned from the list. I understand it's hard to control, but you can't > continue to berate people who've done you no harm and only mean the best. > From where we are, the accusations seem unreasonable. Your targets don't > know what they've done to make you angry. > > BTW, I've never blocked anyone on any list and I read everything. But when > you get angry, I ignore it. I know what's going on but no response would > help. > > I've also hijacked your thread and could have answered privately but I > thought other listers might want to know why your recent posts are so > combative. > > > > > -- > 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 sundown.pacifier at icloud.com Thu Apr 8 11:54:52 2021 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Thu, 8 Apr 2021 08:54:52 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> If Sean has said he is bipolar then is it possible he is mistaken and actually a victim of government lies and abuse ? The answer is yes. I have told President Trump and President Biden about abuse to me involving BAH and Homeland Security with cover ups by the corrupt news media of in America. This involves but is by in no means limited to being poisoned in my own home and having it be infested with spiders and ants. That abuse alone is enough to cause people to break down mentally and physically. This is covered up the the corrupt politicians in congress and senate and they all hide from me like cowards. Ban the Guns! The first step is stop the abuse causing many people to break down. A couple of years ago I was poisoned in my own home while I was using the computer and I suddenly went blind. I needed to have eye surgery but I can see now. President Biden needs to explain who is going to pay the health costs for the many others being poisoned in their homes. I am already covered and he should know that since I told him he is allowed to access by medical records. How do you know Sean is bipolar and not a victim of American government hidden crimes ? Does he have any evidence other than maybe a doctor who was deceived by the government by them not knowing about these crimes? JB > On Apr 8, 2021, at 8:29 AM, J. Landman Gay via use-livecode wrote: > > ?Guys, Sean is bipolar. He's told us so, and it isn't entirely under his control. On the other hand, it isn't pleasant and it's disruptive. > > Sean, the problem is, if the accusations and anger keep up, you may well be banned from the list. I understand it's hard to control, but you can't continue to berate people who've done you no harm and only mean the best. From where we are, the accusations seem unreasonable. Your targets don't know what they've done to make you angry. > > BTW, I've never blocked anyone on any list and I read everything. But when you get angry, I ignore it. I know what's going on but no response would help. > > I've also hijacked your thread and could have answered privately but I thought other listers might want to know why your recent posts are so combative. > > > > > -- > 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 e.beugelaar at me.com Thu Apr 8 12:15:40 2021 From: e.beugelaar at me.com (Erik Beugelaar) Date: Thu, 8 Apr 2021 18:15:40 +0200 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <69D308EC-949D-4043-8C43-40B2692C9646@icloud.com> <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003201d72c92$6c782720$45687560$@me.com> After Kevin Miller explained his fight to overcome depressions at https://annihilatedepression.com/ I can remember that Sean had already explained his illness in a long thread some time ago. -----Original Message----- From: use-livecode On Behalf Of Sean Cole (Pi) via use-livecode Sent: donderdag 8 april 2021 17:53 To: How to use LiveCode Cc: Sean Cole (Pi) Subject: Re: Find Replace in Script Editor with cr No problem, thanks Jacque. Just to kindly correct, it's not bipolar, it's BPD, Borderline Personality Disorder, or Emotionally Unstable Personality Disorder. But in this instance this is not an excuse I am using as I'm actually fairly in control as it happens. I only mentioned it as a warning to to carry on pushing it. I had made it clear, or so I thought, that anything except the specific answer to a very specific question was unwanted. This was certainly not me at my worst. Curry did the right thing in trying to diffuse the situation. Only to be ruined by others disrespectfulness afterward. I am Only disrespectful to those who show disrespect. < https://www.nhs.uk/mental-health/conditions/borderline-personality-disorder/ symptoms/ > Sean On Thu, 8 Apr 2021 at 16:27, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Guys, Sean is bipolar. He's told us so, and it isn't entirely under > his control. On the other hand, it isn't pleasant and it's disruptive. > > Sean, the problem is, if the accusations and anger keep up, you may > well be banned from the list. I understand it's hard to control, but > you can't continue to berate people who've done you no harm and only > mean the best. > From where we are, the accusations seem unreasonable. Your targets > don't know what they've done to make you angry. > > BTW, I've never blocked anyone on any list and I read everything. But > when you get angry, I ignore it. I know what's going on but no > response would help. > > I've also hijacked your thread and could have answered privately but I > thought other listers might want to know why your recent posts are so > combative. > > > /> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 8 12:21:24 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Apr 2021 11:21:24 -0500 Subject: Find Replace in Script Editor with cr In-Reply-To: <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> References: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> Message-ID: <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I mistakenly remembered the diagnosis, for which Sean was gracious. However, the US government is unlikely to be involved since Sean is in the UK where they actually have humane health care. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 8, 2021 10:57:05 AM John Balgenorth via use-livecode wrote: > > How do you know Sean is bipolar and not a victim of American > government hidden crimes ? From sundown.pacifier at icloud.com Thu Apr 8 12:29:50 2021 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Thu, 8 Apr 2021 09:29:50 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I have been exposing these crimes for over 20 years and I can assure you that is wishful thinking on your part. Booz, Allen, Hamilton are a global company and they are connected at every aspect of the US government and probably many others. I went blind and that was for 6 months. My phone was disconnected around 8 years ago and I was blocked from getting a phone. I can tell you a lot but the issue is about Sean and maybe Kevin being victims of similar abuse. We live in a complex world that is does not have boundaries at the American border. JB > On Apr 8, 2021, at 9:22 AM, J. Landman Gay via use-livecode wrote: > > ?I mistakenly remembered the diagnosis, for which Sean was gracious. However, the US government is unlikely to be involved since Sean is in the UK where they actually have humane health care. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On April 8, 2021 10:57:05 AM John Balgenorth via use-livecode wrote: >> >> >> How do you know Sean is bipolar and not a victim of American >> government hidden crimes ? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Apr 8 12:47:00 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 8 Apr 2021 12:47:00 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> References: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> Message-ID: <002f01d72c96$cea2c7d0$6be85770$@net> I talk politics(including health care) all the time(ask Margaret) but this list is not the place for me. It's not because of some "rule" or "I'm afraid to show my political cards". It's for the same reason I don?t do it at RR conferences. I want to glean and learn as much information from my colleagues as possible. Even while having a pint at an RR event I learn more about our field than when I'm hanging with friends. So I will have a few pints with you good folks and maybe strum some chords or tinkle the ivories(music and the arts are my exception) but I try to limit the exchanging ideas to our field for selfish reasons not because of any "rule" or proper decorum. But that's me... 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 John Balgenorth via use-livecode Sent: Thursday, April 08, 2021 11:55 AM To: How to use LiveCode Cc: John Balgenorth Subject: Re: Find Replace in Script Editor with cr If Sean has said he is bipolar then is it possible he is mistaken and actually a victim of government lies and abuse ? The answer is yes. I have told President Trump and President Biden about abuse to me involving BAH and Homeland Security with cover ups by the corrupt news media of in America. This involves but is by in no means limited to being poisoned in my own home and having it be infested with spiders and ants. That abuse alone is enough to cause people to break down mentally and physically. This is covered up the the corrupt politicians in congress and senate and they all hide from me like cowards. Ban the Guns! The first step is stop the abuse causing many people to break down. A couple of years ago I was poisoned in my own home while I was using the computer and I suddenly went blind. I needed to have eye surgery but I can see now. President Biden needs to explain who is going to pay the health costs for the many others being poisoned in their homes. I am already covered and he should know that since I told him he is allowed to access by medical records. How do you know Sean is bipolar and not a victim of American government hidden crimes ? Does he have any evidence other than maybe a doctor who was deceived by the government by them not knowing about these crimes? JB > On Apr 8, 2021, at 8:29 AM, J. Landman Gay via use-livecode wrote: > > ?Guys, Sean is bipolar. He's told us so, and it isn't entirely under his control. On the other hand, it isn't pleasant and it's disruptive. > > Sean, the problem is, if the accusations and anger keep up, you may well be banned from the list. I understand it's hard to control, but you can't continue to berate people who've done you no harm and only mean the best. From where we are, the accusations seem unreasonable. Your targets don't know what they've done to make you angry. > > BTW, I've never blocked anyone on any list and I read everything. But when you get angry, I ignore it. I know what's going on but no response would help. > > I've also hijacked your thread and could have answered privately but I thought other listers might want to know why your recent posts are so combative. > > > /> > > -- > 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 ambassador at fourthworld.com Thu Apr 8 12:43:30 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Apr 2021 09:43:30 -0700 Subject: Help! I'm stuck In-Reply-To: <004f01d72bd2$438623f0$ca926bd0$@net> References: <004f01d72bd2$438623f0$ca926bd0$@net> Message-ID: Standalone building needs to be moved to a separate process. Handling it within the IDE process was fine as long as the only thing the Standalone Builder did was bind a copy of the engine to a copy of the stack file. But today, building a standalone means deep modifications to the stack file, and this has resulted in multiple successive layers of knock-on effects where design complications are needed to compensate for design complications put in place to compensate for earlier design complications. The end result of attempting to build standalones within the current IDE process is not merely cumbersome, but disruptive, confusing, and even requires CODE CHANGES from EVERY USER to compensate even further just for the build sequence. LC has gone from the simplest way to build apps to something no less onerous than most, and more confusing than many. Standalone building needs to be moved to a separate process. With that, LC can begin the return journey back on its path to the simplest way to build apps. -- Richard Gaskin Fourth World Systems Ralph DiMola wrote: > I never built a non-mobile standalone for the first 5 years of using > LC. For a mobile build nothing gets closed and gets built from the > stack(s) files on disk. What a surprise I got when I built my first > desktop standalone. I initially thought that something was very wrong > with the IDE and restarted. > After some searches I found that this is the correct behavior??? I > guess there is a reason for closing the stack(s) but I find it very > odd indeed. > > Ralph DiMola From dvglasgow at gmail.com Thu Apr 8 12:43:54 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 8 Apr 2021 17:43:54 +0100 Subject: BPD EUPD In-Reply-To: <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <41C7DE00-D733-44E2-B229-B67C41BD076A@gmail.com> Not going to get all professional/technical here, but this condition is *really* tough on those who have it. Think social-emotional roller coaster. It also generates challenges for those who interact with them. What allowances individuals choose to take is a matter of choice, of course. However it seems to me it would be useful for some consideration from list-parent. Not a license to offend gratuitously, but equally I would be more than happy for there to be encouragement to repair off list rather than the usual threshold for list off-booting. Cheers David Glasgow > On 8 Apr 2021, at 5:21 pm, J. Landman Gay via use-livecode wrote: > > I mistakenly remembered the diagnosis, for which Sean was gracious. However, the US government is unlikely to be involved since Sean is in the UK where they actually have humane health care. From ambassador at fourthworld.com Thu Apr 8 12:48:53 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Apr 2021 09:48:53 -0700 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> Message-ID: At the turn of the century, so soon after HyperCard's death, it was understandable that Mac users would be disproportionately represented among LC customers. For this to remain the case more than two decades later -- long past the time when most devs have never heard of HyperCard, Windows maintains it's 80+% market share, and Linux has a strongly disproportionate usage among professional developers -- would seem to evidence the difference between marketing and remarketin, between seeking growth and seeking remonitization of a fixed audience. -- Richard Gaskin Fourth World Systems Andre Garzia wrote: > LC is quite neglected on Windows and Linux. I understand that mac > is the money making machine, but the kind of hiccups I see can only > be explained by no one at HQ using Windows, or they?d have noticed > it by now. From thompsonmichael at shaw.ca Thu Apr 8 12:52:02 2021 From: thompsonmichael at shaw.ca (thompsonmichael at shaw.ca) Date: Thu, 8 Apr 2021 09:52:02 -0700 Subject: Intermittent typing delay in script editor. Message-ID: <000d01d72c97$82554870$86ffd950$@shaw.ca> I am using LC Indy 9.6.1 Build 15522 in Windows 10 on a Dell XPS - 15-9570 with a Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz Processor, with 16.0 GB (15.7 GB usable) RAM, and a Toshiba 256GB Solid State Drive. LC normally works lightning fast on this setup but over the last couple of years I would occasionally experience a sudden slow down in the script editor for no apparent reason. (Delays of seconds sometimes between typing and the type appearing on the screen) I would close everything and restart Livecode and all would be well again. It didn't happen very often so I tolerated it. Eventually I noticed this only happened when I used the 'Message Box'. I usually put results into a text field rather than use the message box but on occasion when I wrote a 'Put' command with out a destination (in error) the result the message box would appear. It was only after that that the slowdown would occur. I am still tolerating it and closing LC when it happens but wonder if anyone else has experienced this and if there is a work around. I have given up on using the Message Box deliberately unless absolutely necessary. See Lagi's post on O7Apr2021 >>>The unresponsiveness in Big Su is fixed and Ive only been asking for 3 or 4 >>>years that the unresponsiveness in windows 10 (and probably 7) >>>is fixed. >>>Unresponsive to me is typing 10 characters and seeing them appear one by >>>1 after I have finished typing , or waiting for 3 4 or more seconds >>>between each debugger step .. Michael R Thompson From sundown.pacifier at icloud.com Thu Apr 8 12:53:35 2021 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Thu, 8 Apr 2021 09:53:35 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: <002f01d72c96$cea2c7d0$6be85770$@net> References: <002f01d72c96$cea2c7d0$6be85770$@net> Message-ID: <9ADB0966-29E4-45DF-945A-CD6D14D886A0@icloud.com> The road went down that path and hiding the truth about his possible problems is not something I was willing to do. I don?t talk politics either that was all I really need to tell any of you about it the rest is something that needs to be dealt with by others. You can pretend it is not true but I can assure you President Trump and President Biden are not supporting the crimes and abuse. JB > On Apr 8, 2021, at 9:44 AM, Ralph DiMola via use-livecode wrote: > > ?I talk politics(including health care) all the time(ask Margaret) but this list is not the place for me. It's not because of some "rule" or "I'm afraid to show my political cards". It's for the same reason I don?t do it at RR conferences. I want to glean and learn as much information from my colleagues as possible. Even while having a pint at an RR event I learn more about our field than when I'm hanging with friends. So I will have a few pints with you good folks and maybe strum some chords or tinkle the ivories(music and the arts are my exception) but I try to limit the exchanging ideas to our field for selfish reasons not because of any "rule" or proper decorum. But that's me... > > 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 John Balgenorth via use-livecode > Sent: Thursday, April 08, 2021 11:55 AM > To: How to use LiveCode > Cc: John Balgenorth > Subject: Re: Find Replace in Script Editor with cr > > If Sean has said he is bipolar then is it possible he is mistaken and actually a victim of government lies and abuse ? The answer is yes. > > I have told President Trump and President Biden about abuse to me involving BAH and Homeland Security with cover ups by the corrupt news media of in America. This involves but is by in no means limited to being poisoned in my own home and having it be infested with spiders and ants. That abuse alone is enough to cause people to break down mentally and physically. This is covered up the the corrupt politicians in congress and senate and they all hide from me like cowards. > > Ban the Guns! The first step is stop the abuse causing many people to break down. > > A couple of years ago I was poisoned in my own home while I was using the computer and I suddenly went blind. I needed to have eye surgery but I can see now. > > President Biden needs to explain who is going to pay the health > costs for the many others being poisoned in their homes. I am > already covered and he should know that since I told him he is allowed to access by medical records. > > How do you know Sean is bipolar and not a victim of American government hidden crimes ? Does he have any evidence other than maybe a doctor who was deceived by the government by them not knowing about these crimes? > > JB > >> On Apr 8, 2021, at 8:29 AM, J. Landman Gay via use-livecode wrote: >> >> ?Guys, Sean is bipolar. He's told us so, and it isn't entirely under his control. On the other hand, it isn't pleasant and it's disruptive. >> >> Sean, the problem is, if the accusations and anger keep up, you may well be banned from the list. I understand it's hard to control, but you can't continue to berate people who've done you no harm and only mean the best. From where we are, the accusations seem unreasonable. Your targets don't know what they've done to make you angry. >> >> BTW, I've never blocked anyone on any list and I read everything. But when you get angry, I ignore it. I know what's going on but no response would help. >> >> I've also hijacked your thread and could have answered privately but I thought other listers might want to know why your recent posts are so combative. >> >> >> > /> >> >> -- >> 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 ambassador at fourthworld.com Thu Apr 8 12:53:41 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Apr 2021 09:53:41 -0700 Subject: Find Replace in Script Editor with cr In-Reply-To: <002f01d72c96$cea2c7d0$6be85770$@net> References: <002f01d72c96$cea2c7d0$6be85770$@net> Message-ID: #cheese If a post is offensive, delete it. If a poster is frequently offensive, add a filter to have it delete automatically. May we please discuss LiveCode? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Thu Apr 8 12:53:36 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 17:53:36 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <178b218a1b0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <06C04F8C-CBB0-4A4B-8A72-C1A66649CE1F@icloud.com> <178b249cba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Trumps effects were global ;) Sean On Thu, 8 Apr 2021 at 17:21, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I mistakenly remembered the diagnosis, for which Sean was gracious. > However, the US government is unlikely to be involved since Sean is in the > UK where they actually have humane health care. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 8, 2021 10:57:05 AM John Balgenorth via use-livecode > wrote: > > > > > How do you know Sean is bipolar and not a victim of American > > government hidden crimes ? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Thu Apr 8 13:00:23 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 18:00:23 +0100 Subject: Intermittent typing delay in script editor. In-Reply-To: <000d01d72c97$82554870$86ffd950$@shaw.ca> References: <000d01d72c97$82554870$86ffd950$@shaw.ca> Message-ID: Ooo, you are right Michael, I've had it in the past where if there were large amounts of text in either the message box response field or in a variable window (if you double click a variable in the variables list) that has a large amount of data, then it would be a tad slower. But I get that on the mac too interestingly. I just tried it by copying soo lorum ipsum into the message box response field. So this isn't limited to Windows. Interesting. Sean On Thu, 8 Apr 2021 at 17:52, thompsonmichael--- via use-livecode < use-livecode at lists.runrev.com> wrote: > I am using LC Indy 9.6.1 Build 15522 in Windows 10 on a Dell XPS - 15-9570 > with a Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz Processor, with > 16.0 GB (15.7 GB usable) RAM, and a Toshiba 256GB Solid State Drive. > > > > LC normally works lightning fast on this setup but over the last couple of > years I would occasionally experience a sudden slow down in the script > editor for no apparent reason. (Delays of seconds sometimes between typing > and the type appearing on the screen) I would close everything and restart > Livecode and all would be well again. It didn't happen very often so I > tolerated it. Eventually I noticed this only happened when I used the > 'Message Box'. I usually put results into a text field rather than use the > message box but on occasion when I wrote a 'Put' command with out a > destination (in error) the result the message box would appear. It was only > after that that the slowdown would occur. I am still tolerating it and > closing LC when it happens but wonder if anyone else has experienced this > and if there is a work around. I have given up on using the Message Box > deliberately unless absolutely necessary. > > > > See Lagi's post on O7Apr2021 > > > > >>>The unresponsiveness in Big Su is fixed and Ive only been asking for 3 > or > 4 > > >>>years that the unresponsiveness in windows 10 (and probably 7) > > >>>is fixed. > > > > >>>Unresponsive to me is typing 10 characters and seeing them appear one > by > > >>>1 after I have finished typing , or waiting for 3 4 or more seconds > > >>>between each debugger step .. > > > > > > Michael R Thompson > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Apr 8 13:06:12 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 8 Apr 2021 10:06:12 -0700 Subject: Intermittent typing delay in script editor. In-Reply-To: <000d01d72c97$82554870$86ffd950$@shaw.ca> References: <000d01d72c97$82554870$86ffd950$@shaw.ca> Message-ID: Based on the sum of anecdotal evidence, it would appear contributory factors may be primarily outdated/suboptimal Win timer APIs, coupled with overzealous file I/O from frequent DB (Dict?) accesses, perhaps others. The workaround would be time spent focusing on just those specifics. The solution would be to commit the IDE team to spending at least one full work day each week to doing their work on Windows (bonus points if they spend one day a fortnight on Linux). As a multi-platform tool, scripting work should be robustly productive regardless of platform. Wherever it isn't merits attention. Direct first-hand experience within the core team will bring about immediate awareness, and thereby resolution, of issues long before potential new users uninstall LC for its uncommon slowness on Windows (or UI anomalies/feature abandonment on Linux). -- Richard Gaskin Fourth World Systems thompsonmichael wrote: > I am using LC Indy 9.6.1 Build 15522 in Windows 10 on a Dell XPS - > 15-9570 with a Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz > Processor, with 16.0 GB (15.7 GB usable) RAM, and a Toshiba 256GB > Solid State Drive. > > LC normally works lightning fast on this setup but over the last > couple of years I would occasionally experience a sudden slow down > in the script editor for no apparent reason. (Delays of seconds > sometimes between typing and the type appearing on the screen) I would > close everything and restart Livecode and all would be well again. It > didn't happen very often so I tolerated it. Eventually I noticed this > only happened when I used the 'Message Box'. I usually put results > into a text field rather than use the message box but on occasion when > I wrote a 'Put' command with out a destination (in error) the result > the message box would appear. It was only after that that the slowdown > would occur. I am still tolerating it and closing LC when it happens > but wonder if anyone else has experienced this and if there is a work > around. I have given up on using the Message Box deliberately unless > absolutely necessary. From ahsoftware at sonic.net Thu Apr 8 13:17:09 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 8 Apr 2021 10:17:09 -0700 Subject: Intermittent typing delay in script editor. In-Reply-To: <000d01d72c97$82554870$86ffd950$@shaw.ca> References: <000d01d72c97$82554870$86ffd950$@shaw.ca> Message-ID: <1017b949-8d35-b0bb-2131-3df1f21eea0d@sonic.net> On 4/8/21 9:52 AM, thompsonmichael--- via use-livecode wrote: > LC normally works lightning fast on this setup but over the last couple of > years I would occasionally experience a sudden slow down in the script > editor for no apparent reason. (Delays of seconds sometimes between typing > and the type appearing on the screen) I would close everything and restart > Livecode and all would be well again. I see this on linux occasionally as well. It's erratic enough for me to suspect my own code, but I can never pin anything down. I'll keep an eye on my message box use. Thanks for the hint. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Thu Apr 8 13:19:44 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 18:19:44 +0100 Subject: Help! I'm stuck In-Reply-To: References: <004f01d72bd2$438623f0$ca926bd0$@net> Message-ID: Hi Richard, When you say a separate process, do you mean have the standalone builder as a separate application from the IDE? Why could it not be accomplished in the IDE where it is more convenient? Handling it within the IDE process was fine as long as the only thing > the Standalone Builder did was bind a copy of the engine to a copy of > the stack file. > Forgive my lack of knowledge, but when we compile it to an application for different platforms, what are the differences from one platform build to another, particularly regarding where it is just a stack file bound to the engine and the other way(s) not listed here? I'm genuinely interested. Sean On Thu, 8 Apr 2021 at 17:43, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Standalone building needs to be moved to a separate process. > > Handling it within the IDE process was fine as long as the only thing > the Standalone Builder did was bind a copy of the engine to a copy of > the stack file. > > But today, building a standalone means deep modifications to the stack > file, and this has resulted in multiple successive layers of knock-on > effects where design complications are needed to compensate for design > complications put in place to compensate for earlier design complications. > > The end result of attempting to build standalones within the current IDE > process is not merely cumbersome, but disruptive, confusing, and even > requires CODE CHANGES from EVERY USER to compensate even further just > for the build sequence. > > LC has gone from the simplest way to build apps to something no less > onerous than most, and more confusing than many. > > Standalone building needs to be moved to a separate process. > > With that, LC can begin the return journey back on its path to the > simplest way to build apps. > > -- > Richard Gaskin > Fourth World Systems > > > > Ralph DiMola wrote: > > > I never built a non-mobile standalone for the first 5 years of using > > LC. For a mobile build nothing gets closed and gets built from the > > stack(s) files on disk. What a surprise I got when I built my first > > desktop standalone. I initially thought that something was very wrong > > with the IDE and restarted. > > After some searches I found that this is the correct behavior??? I > > guess there is a reason for closing the stack(s) but I find it very > > odd indeed. > > > > Ralph DiMola > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 8 13:36:58 2021 From: brian at milby7.com (Brian Milby) Date: Thu, 8 Apr 2021 13:36:58 -0400 Subject: Help! I'm stuck In-Reply-To: References: Message-ID: <22FB4715-9AF3-4A95-9713-B46168153117@milby7.com> It would be a separate application, but would still be called from the IDE like today. One difference is that as a separate process it would not disrupt the current session inside the IDE. Sent from my iPhone > On Apr 8, 2021, at 1:21 PM, Sean Cole (Pi) via use-livecode wrote: > > ?Hi Richard, > > When you say a separate process, do you mean have the standalone builder as > a separate application from the IDE? Why could it not be accomplished in > the IDE where it is more convenient? > > Handling it within the IDE process was fine as long as the only thing >> the Standalone Builder did was bind a copy of the engine to a copy of >> the stack file. >> > > Forgive my lack of knowledge, but when we compile it to an application for > different platforms, what are the differences from one platform build to > another, particularly regarding where it is just a stack file bound to the > engine and the other way(s) not listed here? I'm genuinely interested. > > Sean > > >> On Thu, 8 Apr 2021 at 17:43, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Standalone building needs to be moved to a separate process. >> >> Handling it within the IDE process was fine as long as the only thing >> the Standalone Builder did was bind a copy of the engine to a copy of >> the stack file. >> >> But today, building a standalone means deep modifications to the stack >> file, and this has resulted in multiple successive layers of knock-on >> effects where design complications are needed to compensate for design >> complications put in place to compensate for earlier design complications. >> >> The end result of attempting to build standalones within the current IDE >> process is not merely cumbersome, but disruptive, confusing, and even >> requires CODE CHANGES from EVERY USER to compensate even further just >> for the build sequence. >> >> LC has gone from the simplest way to build apps to something no less >> onerous than most, and more confusing than many. >> >> Standalone building needs to be moved to a separate process. >> >> With that, LC can begin the return journey back on its path to the >> simplest way to build apps. >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> >> Ralph DiMola wrote: >> >>> I never built a non-mobile standalone for the first 5 years of using >>> LC. For a mobile build nothing gets closed and gets built from the >>> stack(s) files on disk. What a surprise I got when I built my first >>> desktop standalone. I initially thought that something was very wrong >>> with the IDE and restarted. >>> After some searches I found that this is the correct behavior??? I >>> guess there is a reason for closing the stack(s) but I find it very >>> odd indeed. >>> >>> Ralph DiMola >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Thu Apr 8 16:50:43 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 8 Apr 2021 21:50:43 +0100 Subject: Help! I'm stuck In-Reply-To: <22FB4715-9AF3-4A95-9713-B46168153117@milby7.com> References: <22FB4715-9AF3-4A95-9713-B46168153117@milby7.com> Message-ID: That **would** be good. I see what you mean. On Thu, 8 Apr 2021 at 18:36, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > It would be a separate application, but would still be called from the IDE > like today. One difference is that as a separate process it would not > disrupt the current session inside the IDE. > > Sent from my iPhone > > > On Apr 8, 2021, at 1:21 PM, Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Hi Richard, > > > > When you say a separate process, do you mean have the standalone builder > as > > a separate application from the IDE? Why could it not be accomplished in > > the IDE where it is more convenient? > > > > Handling it within the IDE process was fine as long as the only thing > >> the Standalone Builder did was bind a copy of the engine to a copy of > >> the stack file. > >> > > > > Forgive my lack of knowledge, but when we compile it to an application > for > > different platforms, what are the differences from one platform build to > > another, particularly regarding where it is just a stack file bound to > the > > engine and the other way(s) not listed here? I'm genuinely interested. > > > > Sean > > > > > >> On Thu, 8 Apr 2021 at 17:43, Richard Gaskin via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> Standalone building needs to be moved to a separate process. > >> > >> Handling it within the IDE process was fine as long as the only thing > >> the Standalone Builder did was bind a copy of the engine to a copy of > >> the stack file. > >> > >> But today, building a standalone means deep modifications to the stack > >> file, and this has resulted in multiple successive layers of knock-on > >> effects where design complications are needed to compensate for design > >> complications put in place to compensate for earlier design > complications. > >> > >> The end result of attempting to build standalones within the current IDE > >> process is not merely cumbersome, but disruptive, confusing, and even > >> requires CODE CHANGES from EVERY USER to compensate even further just > >> for the build sequence. > >> > >> LC has gone from the simplest way to build apps to something no less > >> onerous than most, and more confusing than many. > >> > >> Standalone building needs to be moved to a separate process. > >> > >> With that, LC can begin the return journey back on its path to the > >> simplest way to build apps. > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> > >> > >> > >> Ralph DiMola wrote: > >> > >>> I never built a non-mobile standalone for the first 5 years of using > >>> LC. For a mobile build nothing gets closed and gets built from the > >>> stack(s) files on disk. What a surprise I got when I built my first > >>> desktop standalone. I initially thought that something was very wrong > >>> with the IDE and restarted. > >>> After some searches I found that this is the correct behavior??? I > >>> guess there is a reason for closing the stack(s) but I find it very > >>> odd indeed. > >>> > >>> Ralph DiMola > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From waprothero at gmail.com Thu Apr 8 19:16:38 2021 From: waprothero at gmail.com (William Prothero) Date: Thu, 8 Apr 2021 16:16:38 -0700 Subject: Help! I'm stuck In-Reply-To: References: <004f01d72bd2$438623f0$ca926bd0$@net> Message-ID: Richard: What you suggest makes a lot of sense. As someone who doesn?t build complex apps very often, my first question is ?why would I turn off error notifications?? Would I miss something by turning them off when making a build? Anyway I think it would be far more straightforward to just have a different (linked) app to do the build. Also, if there is a separate app, why couldn?t it take care of a lot of the mystery of notarizing, adding certificates, etc, at the same time? That would be a huge help. Maybe it could even include an installer. Yikes, I would even pay a bit for that capability. Best, Bill > On Apr 8, 2021, at 9:43 AM, Richard Gaskin via use-livecode wrote: > > Standalone building needs to be moved to a separate process. > > Handling it within the IDE process was fine as long as the only thing the Standalone Builder did was bind a copy of the engine to a copy of the stack file. > > But today, building a standalone means deep modifications to the stack file, and this has resulted in multiple successive layers of knock-on effects where design complications are needed to compensate for design complications put in place to compensate for earlier design complications. > > The end result of attempting to build standalones within the current IDE process is not merely cumbersome, but disruptive, confusing, and even requires CODE CHANGES from EVERY USER to compensate even further just for the build sequence. > > LC has gone from the simplest way to build apps to something no less onerous than most, and more confusing than many. > > Standalone building needs to be moved to a separate process. > > With that, LC can begin the return journey back on its path to the simplest way to build apps. > > -- > Richard Gaskin > Fourth World Systems > > > > Ralph DiMola wrote: > > > I never built a non-mobile standalone for the first 5 years of using > > LC. For a mobile build nothing gets closed and gets built from the > > stack(s) files on disk. What a surprise I got when I built my first > > desktop standalone. I initially thought that something was very wrong > > with the IDE and restarted. > > After some searches I found that this is the correct behavior??? I > > guess there is a reason for closing the stack(s) but I find it very > > odd indeed. > > > > Ralph DiMola > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William Prothero waprothero at gmail.com From heather at livecode.com Fri Apr 9 04:31:45 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 9 Apr 2021 09:31:45 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: References: <002f01d72c96$cea2c7d0$6be85770$@net> Message-ID: <95DA393A-355E-45CF-99FF-18ED6A023021@livecode.com> Oh my word. That went downhill really fast, while I was peacefully sleeping. Folks. Never, ever, post politics on this mailing list. Do NOT exchange abuse. This is a place to discuss LiveCode, in a helpful and friendly fashion. If someone offends you, the best response is silence. If you must, please email me to ask for redress. I really truly do not want to ban anyone, all the posters in this thread have provided interesting and useful information in the past. However, if I do not see apologies from Sean and John Balgenorth as their next posts I will ban you both. I'm not looking for justifications, explanations, or any continuation of this thread. Two simple apologies and move on. For the avoidance of doubt, you are not apologising to each other. You are apologising to the list for posts that have offended quite a large number of people. Thank you. Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 8 Apr 2021, at 17:53, Richard Gaskin via use-livecode wrote: > > #cheese > > If a post is offensive, delete it. > > If a poster is frequently offensive, add a filter to have it delete automatically. > > May we please discuss LiveCode? > > -- > 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 thompsonmichael at shaw.ca Fri Apr 9 14:15:27 2021 From: thompsonmichael at shaw.ca (thompsonmichael at shaw.ca) Date: Fri, 9 Apr 2021 11:15:27 -0700 Subject: MalwareBytes Labeled "Livecode.exe" as Ramsomware!!! Message-ID: <000001d72d6c$53f2add0$fbd80970$@shaw.ca> Interesting pleasing encounter with MalwareBytess Support Opened a ticket at Malwarebytes support >>>Michael Thompson >>>Apr 8, 2021, 10:01 PDT >>>I have been using Livecode.exe and its previous iterations for well over 10 years. Suddenly the other day Malwarebytes labelled it "Ransomware"!! and quarantined it. I wrote an exception but am concerned about why this >>>would happen. Can you explain it to me? One minute later!! >>>Russ (Support) >>>Apr 8, 2021, 10:02 PDT >>>Hello! >>>Welcome to Malwarebytes Support. My name is Russ and I'll be helping with ticket 3428693. >>>I understand you need help with a detection. >>>I am transferring your case to our Malware Removal Specialists. You will hear from them as soon as possible. I appreciate your patience. Less than 24 hours later >>>William Rowland (Support) >>>Apr 9, 2021, 7:01 PDT >>>Hello Michael, >>>I would like to welcome you to Malwarebytes Customer Support, >>>My name is William and I will be assisting you with your ticket # 3428693. >>>Very sorry to hear about the trouble you are having. Let us do the following and see if it fixes the issue for you. >>>I have asked the researchers to check this file and I have been told that this block will be lifted. Please give it an hour or so for the update to go through. Michael P.S Anyone know how I can get my email address out the posting. I use Outlook 365 on Windows 10? From jeejeestudio at gmail.com Fri Apr 9 15:49:53 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 9 Apr 2021 21:49:53 +0200 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> Message-ID: <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> Of course it's 32bits, even the builds are 32bits on windows except they are packed in a 64bit container. PLease correct me if I'm wrong Op 8-4-2021 om 17:00 schreef Bob Sneidar via use-livecode: > To be fail, I do not think the problem is Livecode, I think it?s Windows, and I am not sure there is much LC can do to get around whatever it is causing these issues. It could be that LC is still a 32 bit app (it installs in the 32 bit app folder). > > Bob S > > > On Apr 8, 2021, at 7:45 AM, Andre Garzia via use-livecode > wrote: > > LiveCode is waaaay less responsive on Windows than on a Mac. > > The script editor hangs all the time, even when you turn off all the smart stuff. Removing it from defender and stuff helps but doesn?t solve the problem. > > LC is quite neglected on Windows and Linux. I understand that mac is the money making machine, but the kind of hiccups I see can only be explained by no one at HQ using Windows, or they?d have noticed it by now. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Apr 9 17:25:50 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 9 Apr 2021 21:25:50 +0000 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> Message-ID: Ya so LC for Windows is basically running in an emulator. Bob S > On Apr 9, 2021, at 12:49 , JeeJeeStudio via use-livecode wrote: > > Of course it's 32bits, even the builds are 32bits on windows except they are packed in a 64bit container. > > PLease correct me if I'm wrong > > Op 8-4-2021 om 17:00 schreef Bob Sneidar via use-livecode: >> To be fail, I do not think the problem is Livecode, I think it?s Windows, and I am not sure there is much LC can do to get around whatever it is causing these issues. It could be that LC is still a 32 bit app (it installs in the 32 bit app folder). >> >> Bob S From charles-lachat at orange.fr Fri Apr 9 19:50:30 2021 From: charles-lachat at orange.fr (Charles Lachat) Date: Sat, 10 Apr 2021 01:50:30 +0200 Subject: Find Replace in Script Editor with cr In-Reply-To: <95DA393A-355E-45CF-99FF-18ED6A023021@livecode.com> References: <002f01d72c96$cea2c7d0$6be85770$@net> <95DA393A-355E-45CF-99FF-18ED6A023021@livecode.com> Message-ID: Please do not ban anyone. Charles > Le 9 avr. 2021 ? 10:31, Heather Laine via use-livecode a ?crit : > > Oh my word. That went downhill really fast, while I was peacefully sleeping. > > Folks. Never, ever, post politics on this mailing list. Do NOT exchange abuse. This is a place to discuss LiveCode, in a helpful and friendly fashion. If someone offends you, the best response is silence. If you must, please email me to ask for redress. > > I really truly do not want to ban anyone, all the posters in this thread have provided interesting and useful information in the past. However, if I do not see apologies from Sean and John Balgenorth as their next posts I will ban you both. I'm not looking for justifications, explanations, or any continuation of this thread. Two simple apologies and move on. For the avoidance of doubt, you are not apologising to each other. You are apologising to the list for posts that have offended quite a large number of people. > > Thank you. > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 8 Apr 2021, at 17:53, Richard Gaskin via use-livecode wrote: >> >> #cheese >> >> If a post is offensive, delete it. >> >> If a poster is frequently offensive, add a filter to have it delete automatically. >> >> May we please discuss LiveCode? >> >> -- >> 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 curry at pair.com Sat Apr 10 17:41:35 2021 From: curry at pair.com (Curry Kenworthy) Date: Sat, 10 Apr 2021 17:41:35 -0400 Subject: Find Replace in Script Editor with cr In-Reply-To: References: Message-ID: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> Charles: > Please do not ban anyone. Somehow that struck me as a pure and beautiful sentiment! Short and simple. It grew on me during the list silence today. We can be punitive, or else help each other as we imperfectly stumble. I'd hate to see the entire list hurt for the sake of a careless word; and that is what would happen. Because weighing the pros and cons, we lose more than we gain as we dwindle in number and viewpoints/skills. Here, please allow me to do the honors: Sorry. Deepest apologies to one and all. And again sorry. May those who are offended find healing and forgiveness. May love prevail in all our interactions here and elsewhere. Hope we can move on. So many LC matters to discuss. Have a good weekend! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Sat Apr 10 19:16:26 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 10 Apr 2021 23:16:26 +0000 Subject: Find Replace in Script Editor with cr In-Reply-To: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> References: , <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> Message-ID: +1 Sent from my iPhone > On Apr 10, 2021, at 14:43, Curry Kenworthy via use-livecode wrote: > > ? > Charles: > > > Please do not ban anyone. > > Somehow that struck me as a pure and beautiful sentiment! > Short and simple. It grew on me during the list silence today. > > We can be punitive, or else help each other as we imperfectly stumble. > > I'd hate to see the entire list hurt for the sake of a careless word; > and that is what would happen. Because weighing the pros and cons, > we lose more than we gain as we dwindle in number and viewpoints/skills. > > Here, please allow me to do the honors: > > Sorry. Deepest apologies to one and all. > And again sorry. > > May those who are offended find healing and forgiveness. > May love prevail in all our interactions here and elsewhere. > > Hope we can move on. So many LC matters to discuss. Have a good weekend! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Sun Apr 11 08:18:41 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sun, 11 Apr 2021 14:18:41 +0200 Subject: Find Replace in Script Editor with cr In-Reply-To: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> Message-ID: <85d530a3-3ee2-0df2-a1b4-8f9c1a73b4ba@gmail.com> Amen! Op 10-4-2021 om 23:41 schreef Curry Kenworthy via use-livecode: > > Charles: > >> Please do not ban anyone. > > Somehow that struck me as a pure and beautiful sentiment! > Short and simple. It grew on me during the list silence today. > > We can be punitive, or else help each other as we imperfectly stumble. > > I'd hate to see the entire list hurt for the sake of a careless word; > and that is what would happen. Because weighing the pros and cons, > we lose more than we gain as we dwindle in number and viewpoints/skills. > > Here, please allow me to do the honors: > > Sorry. Deepest apologies to one and all. > And again sorry. > > May those who are offended find healing and forgiveness. > May love prevail in all our interactions here and elsewhere. > > Hope we can move on. So many LC matters to discuss. Have a good weekend! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 11 12:29:58 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 11 Apr 2021 19:29:58 +0300 Subject: Find Replace in Script Editor with cr In-Reply-To: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> Message-ID: <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> Writing as someone who has had the extremely dubious honour of being banned more than once . . . How does it go? To err is human, to forgive is divine. And if there is anyone on this use-list who has not rubbed someone up the wrong way at least once I would be very surprised. Live, Love, Learn . . . Oh, cripes, that makes me sound like an unreconstructed hippy. Love, Richmond. On 11.04.21 0:41, Curry Kenworthy via use-livecode wrote: > > Charles: > >> Please do not ban anyone. > > Somehow that struck me as a pure and beautiful sentiment! > Short and simple. It grew on me during the list silence today. > > We can be punitive, or else help each other as we imperfectly stumble. > > I'd hate to see the entire list hurt for the sake of a careless word; > and that is what would happen. Because weighing the pros and cons, > we lose more than we gain as we dwindle in number and viewpoints/skills. > > Here, please allow me to do the honors: > > Sorry. Deepest apologies to one and all. > And again sorry. > > May those who are offended find healing and forgiveness. > May love prevail in all our interactions here and elsewhere. > > Hope we can move on. So many LC matters to discuss. Have a good weekend! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sun Apr 11 15:41:37 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 11 Apr 2021 15:41:37 -0400 Subject: MalwareBytes Labeled "Livecode.exe" as Ramsomware!!! In-Reply-To: <000001d72d6c$53f2add0$fbd80970$@shaw.ca> References: <000001d72d6c$53f2add0$fbd80970$@shaw.ca> Message-ID: Thanks for reporting and getting that lifted for us. On Fri, Apr 9, 2021 at 2:17 PM thompsonmichael--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Interesting pleasing encounter with MalwareBytess Support > > > > Opened a ticket at Malwarebytes support > > >>>Michael Thompson > > >>>Apr 8, 2021, 10:01 PDT > > >>>I have been using Livecode.exe and its previous iterations for well over > 10 years. Suddenly the other day Malwarebytes labelled it "Ransomware"!! > and > quarantined it. I wrote an exception but am concerned about why this > >>>would happen. Can you explain it to me? > > > > One minute later!! > > >>>Russ (Support) > > >>>Apr 8, 2021, 10:02 PDT > > >>>Hello! > > >>>Welcome to Malwarebytes Support. My name is Russ and I'll be helping > with > ticket 3428693. > > >>>I understand you need help with a detection. > > >>>I am transferring your case to our Malware Removal Specialists. You will > hear from them as soon as possible. I appreciate your patience. > > > > Less than 24 hours later > > >>>William Rowland (Support) > > >>>Apr 9, 2021, 7:01 PDT > > >>>Hello Michael, > > >>>I would like to welcome you to Malwarebytes Customer Support, > > >>>My name is William and I will be assisting you with your ticket # > 3428693. > > >>>Very sorry to hear about the trouble you are having. Let us do the > following and see if it fixes the issue for you. > > >>>I have asked the researchers to check this file and I have been told > that > this block will be lifted. Please give it an hour or so for the update to > go > through. > > > > Michael > > > > P.S Anyone know how I can get my email address out the posting. I use > Outlook 365 on Windows 10? > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 toolbook at kestner.de Mon Apr 12 05:43:20 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Mon, 12 Apr 2021 11:43:20 +0200 Subject: Offtopic: Can anybody create a small DLL for me? Message-ID: <006701d72f80$460d38f0$d227aad0$@kestner.de> Hello, over ten years ago, I included a windows dll into one of my main LC programs, which was created by a programmer, to whom I no more have any contact. The dll only has one single function, it reads all MAC addresses from the device with all related informations, like name and kind of address and gives all the data back to LC. Now I would like to build a 64Bit version of my program and therefor need a 64Bit version of this dll. I don't have the source, so it has to be created from the scratch. If there is anybody, who is willing to do this paid job for me, please contact me PM: toolbook at kestner.de Thank you Tiemo From heather at livecode.com Mon Apr 12 06:32:28 2021 From: heather at livecode.com (Heather Laine) Date: Mon, 12 Apr 2021 11:32:28 +0100 Subject: Find Replace in Script Editor with cr In-Reply-To: <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> Message-ID: OK. The general sentiment seems to be against banning. However, if I see any more inflammatory posts from participants in this thread, I will action bans. Once again, the list demonstrates what a kind and forgiving place it is. I'm going to post the list rules again later today, when I have a moment, as I don't think I've done that for quite some time, maybe we need a refresher. Best Regards to all, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 11 Apr 2021, at 17:29, Richmond via use-livecode wrote: > > Writing as someone who has had the extremely dubious honour of being banned more than once . . . > > How does it go? > > To err is human, > to forgive is divine. > > And if there is anyone on this use-list who has not rubbed someone up the wrong way at least once I would be very surprised. > > Live, Love, Learn . . . > > Oh, cripes, that makes me sound like an unreconstructed hippy. > > Love, Richmond. > > On 11.04.21 0:41, Curry Kenworthy via use-livecode wrote: >> >> Charles: >> >>> Please do not ban anyone. >> >> Somehow that struck me as a pure and beautiful sentiment! >> Short and simple. It grew on me during the list silence today. >> >> We can be punitive, or else help each other as we imperfectly stumble. >> >> I'd hate to see the entire list hurt for the sake of a careless word; >> and that is what would happen. Because weighing the pros and cons, >> we lose more than we gain as we dwindle in number and viewpoints/skills. >> >> Here, please allow me to do the honors: >> >> Sorry. Deepest apologies to one and all. >> And again sorry. >> >> May those who are offended find healing and forgiveness. >> May love prevail in all our interactions here and elsewhere. >> >> Hope we can move on. So many LC matters to discuss. Have a good weekend! >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Apr 12 08:38:50 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 12 Apr 2021 14:38:50 +0200 Subject: Offtopic: Can anybody create a small DLL for me? In-Reply-To: <006701d72f80$460d38f0$d227aad0$@kestner.de> References: <006701d72f80$460d38f0$d227aad0$@kestner.de> Message-ID: <6317462F-FCAC-4CA8-A4AC-89FC39B9FA1F@m-r-d.de> Tiemo, if you do not find a developer for a 64bit .dll you might consider to use a Windows shell command to get a list of all available network adapters, their mac address and their status. getmac /v /FO csv for example returns a list of the Adapters as CSV with a header line getmac /v /NH /FO csv this one returns the same as the above one, but without a header line This command has to be run with Administrator right, but i am sure your dll also needed Admin rights. Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 12.04.2021 um 11:43 schrieb Tiemo via use-livecode : > > Hello, > > > > over ten years ago, I included a windows dll into one of my main LC > programs, which was created by a programmer, to whom I no more have any > contact. > > The dll only has one single function, it reads all MAC addresses from the > device with all related informations, like name and kind of address and > gives all the data back to LC. > > > > Now I would like to build a 64Bit version of my program and therefor need a > 64Bit version of this dll. I don't have the source, so it has to be created > from the scratch. > > > > If there is anybody, who is willing to do this paid job for me, please > contact me PM: toolbook at kestner.de > > > > Thank you > > > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 09:58:53 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Apr 2021 09:58:53 -0400 Subject: License Activation In-Reply-To: References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> Message-ID: <005501d72fa3$fc822000$f5866000$@net> When I started LC 9.6.1 this am I got a message that the license is corrupted. When I entered my username/password to re-activate I got this message "An error occurred while attempting to contact the server" Anyone else having problems? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From merakosp at gmail.com Mon Apr 12 10:01:05 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 12 Apr 2021 17:01:05 +0300 Subject: License Activation In-Reply-To: <005501d72fa3$fc822000$f5866000$@net> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> Message-ID: Hello Ralph, In which platform do you see this issue? Kind regards, Panos -- On Mon, 12 Apr 2021 at 16:56, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > When I started LC 9.6.1 this am I got a message that the license is > corrupted. When I entered my username/password to re-activate I got this > message "An error occurred while attempting to contact the server" Anyone > else having problems? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Mon Apr 12 10:04:20 2021 From: mark at livecode.com (Mark Waddingham) Date: Mon, 12 Apr 2021 15:04:20 +0100 Subject: License Activation In-Reply-To: <005501d72fa3$fc822000$f5866000$@net> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> Message-ID: <380e25a03426ab84b8b3fe91069952e3@livecode.com> On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: > When I started LC 9.6.1 this am I got a message that the license is > corrupted. When I entered my username/password to re-activate I got > this > message "An error occurred while attempting to contact the server" > Anyone > else having problems? Hi Ralph, Are you on Windows by any chance? If so, then do you have Kaspersky AV? The revsecurity.dll is being flagged as suspicious and being quarantined - we have got Kaspersky to re-evaluate this (several times in fact!) so it should be okay now, but you might have to update you Kaspersky virus definitions and/or get your local install to un-quarantine it. Indeed, you may have to reinstall 9.6.1 :| Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From rdimola at evergreeninfo.net Mon Apr 12 10:11:11 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Apr 2021 10:11:11 -0400 Subject: License Activation In-Reply-To: References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> Message-ID: <006101d72fa5$b3ffbcf0$1bff36d0$@net> Panos, Win 10 VM. I renamed the license files and still get the error ==> "An error occurred while attempting to contact the Server. Please try again later." Thanks 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 panagiotis merakos via use-livecode Sent: Monday, April 12, 2021 10:01 AM To: How to use LiveCode Cc: panagiotis merakos Subject: Re: License Activation Hello Ralph, In which platform do you see this issue? Kind regards, Panos -- On Mon, 12 Apr 2021 at 16:56, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > When I started LC 9.6.1 this am I got a message that the license is > corrupted. When I entered my username/password to re-activate I got > this message "An error occurred while attempting to contact the > server" Anyone else having problems? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Apr 12 10:14:53 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Apr 2021 10:14:53 -0400 Subject: License Activation In-Reply-To: <380e25a03426ab84b8b3fe91069952e3@livecode.com> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> <380e25a03426ab84b8b3fe91069952e3@livecode.com> Message-ID: <006201d72fa6$38892e70$a99b8b50$@net> Mark, Yes, I have KAV on Win 10. ARRRG But seriously... Thanks! 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 Waddingham via use-livecode Sent: Monday, April 12, 2021 10:04 AM To: How to use LiveCode Cc: Mark Waddingham Subject: Re: License Activation On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: > When I started LC 9.6.1 this am I got a message that the license is > corrupted. When I entered my username/password to re-activate I got > this message "An error occurred while attempting to contact the > server" > Anyone > else having problems? Hi Ralph, Are you on Windows by any chance? If so, then do you have Kaspersky AV? The revsecurity.dll is being flagged as suspicious and being quarantined - we have got Kaspersky to re-evaluate this (several times in fact!) so it should be okay now, but you might have to update you Kaspersky virus definitions and/or get your local install to un-quarantine it. Indeed, you may have to reinstall 9.6.1 :| 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 heather at livecode.com Mon Apr 12 10:24:46 2021 From: heather at livecode.com (Heather Laine) Date: Mon, 12 Apr 2021 15:24:46 +0100 Subject: License Activation In-Reply-To: <006201d72fa6$38892e70$a99b8b50$@net> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> <380e25a03426ab84b8b3fe91069952e3@livecode.com> <006201d72fa6$38892e70$a99b8b50$@net> Message-ID: Kaspersky confirmed to me that they had updated their virus definitions to correct this, so an update to Kaspersky followed by a reinstall of LiveCode should fix it. Annoying, but hey ho. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Apr 2021, at 15:14, Ralph DiMola via use-livecode wrote: > > Mark, > > Yes, I have KAV on Win 10. ARRRG > But seriously... Thanks! > > 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 Waddingham via use-livecode > Sent: Monday, April 12, 2021 10:04 AM > To: How to use LiveCode > Cc: Mark Waddingham > Subject: Re: License Activation > > On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: >> When I started LC 9.6.1 this am I got a message that the license is >> corrupted. When I entered my username/password to re-activate I got >> this message "An error occurred while attempting to contact the >> server" >> Anyone >> else having problems? > > Hi Ralph, > > Are you on Windows by any chance? > > If so, then do you have Kaspersky AV? > > The revsecurity.dll is being flagged as suspicious and being quarantined > - we have got Kaspersky to re-evaluate this (several times in fact!) so it > should be okay now, but you might have to update you Kaspersky virus > definitions and/or get your local install to un-quarantine it. Indeed, you > may have to reinstall 9.6.1 :| > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Apr 12 10:45:37 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 12 Apr 2021 17:45:37 +0300 Subject: [ANN] This Week in LiveCode 262 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #262 here: https://bit.ly/3mNiK60 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From rdimola at evergreeninfo.net Mon Apr 12 11:21:52 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Apr 2021 11:21:52 -0400 Subject: License Activation In-Reply-To: References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> <380e25a03426ab84b8b3fe91069952e3@livecode.com> <006201d72fa6$38892e70$a99b8b50$@net> Message-ID: <006901d72faf$93b3b7d0$bb1b2770$@net> KAV have not updated their definitions yet. I just downloaded new KAV definitions (2:52 am TZ?) and restarted the VM. When I started LC revsecurity.dll was still flagged and deleted by KAV. I had to restore the file using KAV's Backup function. Disable KAV for 1 minute, start LC, get error from Windows Defender, blow past that and LC started. 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 Heather Laine via use-livecode Sent: Monday, April 12, 2021 10:25 AM To: How to use LiveCode Cc: Heather Laine Subject: Re: License Activation Kaspersky confirmed to me that they had updated their virus definitions to correct this, so an update to Kaspersky followed by a reinstall of LiveCode should fix it. Annoying, but hey ho. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Apr 2021, at 15:14, Ralph DiMola via use-livecode wrote: > > Mark, > > Yes, I have KAV on Win 10. ARRRG But seriously... Thanks! > > 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 Waddingham via use-livecode > Sent: Monday, April 12, 2021 10:04 AM > To: How to use LiveCode > Cc: Mark Waddingham > Subject: Re: License Activation > > On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: >> When I started LC 9.6.1 this am I got a message that the license is >> corrupted. When I entered my username/password to re-activate I got >> this message "An error occurred while attempting to contact the >> server" >> Anyone >> else having problems? > > Hi Ralph, > > Are you on Windows by any chance? > > If so, then do you have Kaspersky AV? > > The revsecurity.dll is being flagged as suspicious and being > quarantined > - we have got Kaspersky to re-evaluate this (several times in fact!) > so it should be okay now, but you might have to update you Kaspersky > virus definitions and/or get your local install to un-quarantine it. > Indeed, you may have to reinstall 9.6.1 :| > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 12 12:17:46 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Apr 2021 12:17:46 -0400 Subject: License Activation In-Reply-To: <380e25a03426ab84b8b3fe91069952e3@livecode.com> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> <380e25a03426ab84b8b3fe91069952e3@livecode.com> Message-ID: <006a01d72fb7$62ecdd90$28c698b0$@net> Mark, I'm running KAV 11.4.0.223 AES 256. This is the enterprise not consumer version. I wonder is the update is only going to the consumer version? Thanks 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 Waddingham via use-livecode Sent: Monday, April 12, 2021 10:04 AM To: How to use LiveCode Cc: Mark Waddingham Subject: Re: License Activation On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: > When I started LC 9.6.1 this am I got a message that the license is > corrupted. When I entered my username/password to re-activate I got > this message "An error occurred while attempting to contact the > server" > Anyone > else having problems? Hi Ralph, Are you on Windows by any chance? If so, then do you have Kaspersky AV? The revsecurity.dll is being flagged as suspicious and being quarantined - we have got Kaspersky to re-evaluate this (several times in fact!) so it should be okay now, but you might have to update you Kaspersky virus definitions and/or get your local install to un-quarantine it. Indeed, you may have to reinstall 9.6.1 :| 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 heather at livecode.com Mon Apr 12 12:53:36 2021 From: heather at livecode.com (Heather Laine) Date: Mon, 12 Apr 2021 17:53:36 +0100 Subject: License Activation In-Reply-To: <006a01d72fb7$62ecdd90$28c698b0$@net> References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> <380e25a03426ab84b8b3fe91069952e3@livecode.com> <006a01d72fb7$62ecdd90$28c698b0$@net> Message-ID: I'll get back in touch with them. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Apr 2021, at 17:17, Ralph DiMola via use-livecode wrote: > > Mark, > > I'm running KAV 11.4.0.223 AES 256. This is the enterprise not consumer > version. I wonder is the update is only going to the consumer > version? > > Thanks > > 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 Waddingham via use-livecode > Sent: Monday, April 12, 2021 10:04 AM > To: How to use LiveCode > Cc: Mark Waddingham > Subject: Re: License Activation > > On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: >> When I started LC 9.6.1 this am I got a message that the license is >> corrupted. When I entered my username/password to re-activate I got >> this message "An error occurred while attempting to contact the >> server" >> Anyone >> else having problems? > > Hi Ralph, > > Are you on Windows by any chance? > > If so, then do you have Kaspersky AV? > > The revsecurity.dll is being flagged as suspicious and being quarantined > - we have got Kaspersky to re-evaluate this (several times in fact!) so it > should be okay now, but you might have to update you Kaspersky virus > definitions and/or get your local install to un-quarantine it. Indeed, you > may have to reinstall 9.6.1 :| > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 14:31:56 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 12 Apr 2021 14:31:56 -0400 Subject: License Activation In-Reply-To: References: <030a46c5-0d61-2d16-e03c-c87bc79b3e2b@pair.com> <82039707-87dc-2463-5092-8d43f4e4e68a@gmail.com> <005501d72fa3$fc822000$f5866000$@net> <380e25a03426ab84b8b3fe91069952e3@livecode.com> <006a01d72fb7$62ecdd90$28c698b0$@net> Message-ID: <007301d72fca$219ee640$64dcb2c0$@net> Thanks Heather. I also put in a request via my KAV enterprise account. 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 Heather Laine via use-livecode Sent: Monday, April 12, 2021 12:54 PM To: How to use LiveCode Cc: Heather Laine Subject: Re: License Activation I'll get back in touch with them. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Apr 2021, at 17:17, Ralph DiMola via use-livecode wrote: > > Mark, > > I'm running KAV 11.4.0.223 AES 256. This is the enterprise not > consumer version. I wonder is the update is only going to the consumer > version? > > Thanks > > 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 Waddingham via use-livecode > Sent: Monday, April 12, 2021 10:04 AM > To: How to use LiveCode > Cc: Mark Waddingham > Subject: Re: License Activation > > On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote: >> When I started LC 9.6.1 this am I got a message that the license is >> corrupted. When I entered my username/password to re-activate I got >> this message "An error occurred while attempting to contact the >> server" >> Anyone >> else having problems? > > Hi Ralph, > > Are you on Windows by any chance? > > If so, then do you have Kaspersky AV? > > The revsecurity.dll is being flagged as suspicious and being > quarantined > - we have got Kaspersky to re-evaluate this (several times in fact!) > so it should be okay now, but you might have to update you Kaspersky > virus definitions and/or get your local install to un-quarantine it. > Indeed, you may have to reinstall 9.6.1 :| > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 13 05:37:58 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Apr 2021 10:37:58 +0100 Subject: Offtopic: Can anybody create a small DLL for me? In-Reply-To: <006701d72f80$460d38f0$d227aad0$@kestner.de> References: <006701d72f80$460d38f0$d227aad0$@kestner.de> Message-ID: <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> Tiemo, Maybe it is possible to parse the result of shell(?ipconfig /all?) To get the same information. I?m not sure which information you?re collecting but I just run that on my windows and I could see every interface and the info about them. Best A > On 12 Apr 2021, at 10:43, Tiemo via use-livecode wrote: > > Hello, > > > > over ten years ago, I included a windows dll into one of my main LC > programs, which was created by a programmer, to whom I no more have any > contact. > > The dll only has one single function, it reads all MAC addresses from the > device with all related informations, like name and kind of address and > gives all the data back to LC. > > > > Now I would like to build a 64Bit version of my program and therefor need a > 64Bit version of this dll. I don't have the source, so it has to be created > from the scratch. > > > > If there is anybody, who is willing to do this paid job for me, please > contact me PM: toolbook at kestner.de > > > > Thank you > > > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 13 06:05:52 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Apr 2021 11:05:52 +0100 Subject: On the dangers of automated refactoring Message-ID: Hi Folks, I?ve recently read that long thread that almost got people banned and will not comment on it. What I want to comment on is about the kernel of the activity that was mentioned there: refactoring. Often in LiveCode (and most programming languages to be honest) we go coding for a long while and then realise that our code need extensive refactoring. We may have repeated a pattern over and over again and discovered that we need to change every instance of them, or something similar. There are small cases of refactoring, such as renaming a variable in a single script, that can be easily (and quite safely) be done with find & replace tools. Others are much more complex and attempting to do it over multiple scripts on a large project will result in crying and maybe needing a drink or hug. An example of a really smart IDE that is considered the most advanced in terms of refactoring are the ones based on JetBrains IDEA such as IDEA itself, Android Studio, webStorms, etc. A key part of these IDEs to do refactoring is that they have deep knowledge about the source code being written. The code is constantly parsed and assembled in a AST that is exposed internally for the refactoring tools. When you refactor code in these IDEs, you?re not really working with text, you?re telling the IDE to manipulate a tree in ways the IDE knows how to manipulate such tree. That is why when you ?rename a symbol? or ?extract selected code into method in enclosing scope? or whatever you do in these IDEs, you end up with the expected result. Find and Replace dialogs, or even custom plugins in LiveCode, don?t have the same advanced capabilities. You?re usually working with text and hoping that whatever RegEx you?re applying is error-free. And by error-free I don?t mean it is a ?valid regex?, I mean that ?it does what you expect, and your expectations are correct?. It is very hard to apply script transformations like that, you can?t be sure they?ll work for every little replacement, and for the cases where it doesn?t work, the bugs introduced might be too subtle to notice. Let me tell you folks a recent story in which I tried to do exactly that and shot myself on the foot. I?m dealing with a very large LC app. Very large, thousands and thousands of lines spread in a gazilion stacks, behaviors, and libraries. Some of these files needed refactoring. Among the various tasks I needed to do was to apply our ?variable naming scheme? to the scripts because there were variables using the wrong prefixes. Naturally, I tried being smart with find & replace. Even going as far as extracting the script into an editor with more features ?such as RegEx replacing? and trying my best to identify and replace the names I needed with vast swoops of RegEx. All the replacements worked like I wrote them. What I didn?t realise was that there was variable shadowing happening in which handler arguments were named with the same name as script-local variables, my smart replacing removed those arguments because there was no need to redeclare the script-local vars. I didn?t realise at that time, that those variables were real arguments being passed to the handlers, they just happened to have the same name as script-local vars in the same script and were in fact shadowing them. I broke all the source code. It took me a long time to work out which handlers needed arguments, and which didn?t need and were actually using the script-local vars. I tried being smart fixing broken code, and for a while it became more broken. Refactoring is hard. We don?t have a system to create and manipulate LC AST. We don?t even have unit testing libraries so that we can make sure our code works as expected. Avoid large automated refactoring at all cost, it is not worth it. Do it manually. It will be slower, but it will be safer. Best A From andre at andregarzia.com Tue Apr 13 06:09:51 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Apr 2021 11:09:51 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> Message-ID: <492D837B-7E7E-41F2-924D-8F7ECC04F99E@andregarzia.com> > On 9 Apr 2021, at 20:49, JeeJeeStudio via use-livecode wrote: > > Of course it's 32bits, even the builds are 32bits on windows except they are packed in a 64bit container. I?m not sure about that because my Surface Pro X can only run x86-32 apps and it can run LiveCode. If it was somehow wrapped in 64bits anything, it would say that it is not compatible with it. From andre at andregarzia.com Tue Apr 13 06:11:09 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Apr 2021 11:11:09 +0100 Subject: Intermittent typing delay in script editor. In-Reply-To: <1017b949-8d35-b0bb-2131-3df1f21eea0d@sonic.net> References: <000d01d72c97$82554870$86ffd950$@shaw.ca> <1017b949-8d35-b0bb-2131-3df1f21eea0d@sonic.net> Message-ID: <3357728B-4F48-4A76-AC70-8713D5A13510@andregarzia.com> I see it on my two windows machine but never on the mac?. It is intermittent and I?m yet to find a recipe, but it is real. > On 8 Apr 2021, at 18:17, Mark Wieder via use-livecode wrote: > > On 4/8/21 9:52 AM, thompsonmichael--- via use-livecode wrote: > >> LC normally works lightning fast on this setup but over the last couple of >> years I would occasionally experience a sudden slow down in the script >> editor for no apparent reason. (Delays of seconds sometimes between typing >> and the type appearing on the screen) I would close everything and restart >> Livecode and all would be well again. > > I see this on linux occasionally as well. It's erratic enough for me to suspect my own code, but I can never pin anything down. I'll keep an eye on my message box use. Thanks for the hint. > > -- > 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 andre at andregarzia.com Tue Apr 13 06:28:24 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Apr 2021 11:28:24 +0100 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> Message-ID: I like all that I read here. There are things that are really hard when building standalone apps that I don?t think should be handled by LC HQ, such as ?adding AppleScript dictionary? to your app. This is harder than it seems and it involves plist manipulation, fancy sdef xml creation, etc. This is too large a product to develop with a small target base. On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. > On 29 Mar 2021, at 22:49, Trevor DeVore via use-livecode wrote: > > On Mon, Mar 29, 2021 at 4:35 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >> I think we're all on the same page here. >> > > :thumbs_up > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Tue Apr 13 06:48:02 2021 From: david.bovill at gmail.com (David Bovill) Date: Tue, 13 Apr 2021 11:48:02 +0100 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <4db7af2a-8c97-4c18-9f81-b164b83e51b3@Spark> Hence the value of crowd-funding a version of the LiveCode language for the Graalvm. I spend a great deal of my time in LiveCode refactoring and renaming handlers. I?ve done this not so much because it is useful to my productivity, but because I see a method in the madness of spaghetti code that is worth exploring with the tools of collaborative authoring. I?d be interested to understand the nature of the gazillion stack project to see how it compares to my gazillion stack project (and I presume others). We could learn things by comparing approaches. On 13 Apr 2021, 11:07 +0100, Andre Garzia via use-livecode , wrote: > Hi Folks, > > I?ve recently read that long thread that almost got people banned and will not comment on it. What I want to comment on is about the kernel of the activity that was mentioned there: refactoring. > > Often in LiveCode (and most programming languages to be honest) we go coding for a long while and then realise that our code need extensive refactoring. We may have repeated a pattern over and over again and discovered that we need to change every instance of them, or something similar. > > There are small cases of refactoring, such as renaming a variable in a single script, that can be easily (and quite safely) be done with find & replace tools. Others are much more complex and attempting to do it over multiple scripts on a large project will result in crying and maybe needing a drink or hug. > > An example of a really smart IDE that is considered the most advanced in terms of refactoring are the ones based on JetBrains IDEA such as IDEA itself, Android Studio, webStorms, etc. A key part of these IDEs to do refactoring is that they have deep knowledge about the source code being written. The code is constantly parsed and assembled in a AST that is exposed internally for the refactoring tools. When you refactor code in these IDEs, you?re not really working with text, you?re telling the IDE to manipulate a tree in ways the IDE knows how to manipulate such tree. That is why when you ?rename a symbol? or ?extract selected code into method in enclosing scope? or whatever you do in these IDEs, you end up with the expected result. > > Find and Replace dialogs, or even custom plugins in LiveCode, don?t have the same advanced capabilities. You?re usually working with text and hoping that whatever RegEx you?re applying is error-free. And by error-free I don?t mean it is a ?valid regex?, I mean that ?it does what you expect, and your expectations are correct?. It is very hard to apply script transformations like that, you can?t be sure they?ll work for every little replacement, and for the cases where it doesn?t work, the bugs introduced might be too subtle to notice. Let me tell you folks a recent story in which I tried to do exactly that and shot myself on the foot. > > I?m dealing with a very large LC app. Very large, thousands and thousands of lines spread in a gazilion stacks, behaviors, and libraries. Some of these files needed refactoring. Among the various tasks I needed to do was to apply our ?variable naming scheme? to the scripts because there were variables using the wrong prefixes. > > Naturally, I tried being smart with find & replace. Even going as far as extracting the script into an editor with more features ?such as RegEx replacing? and trying my best to identify and replace the names I needed with vast swoops of RegEx. > > All the replacements worked like I wrote them. > > What I didn?t realise was that there was variable shadowing happening in which handler arguments were named with the same name as script-local variables, my smart replacing removed those arguments because there was no need to redeclare the script-local vars. I didn?t realise at that time, that those variables were real arguments being passed to the handlers, they just happened to have the same name as script-local vars in the same script and were in fact shadowing them. > > I broke all the source code. It took me a long time to work out which handlers needed arguments, and which didn?t need and were actually using the script-local vars. > > I tried being smart fixing broken code, and for a while it became more broken. > > Refactoring is hard. > > We don?t have a system to create and manipulate LC AST. > > We don?t even have unit testing libraries so that we can make sure our code works as expected. > > Avoid large automated refactoring at all cost, it is not worth it. Do it manually. It will be slower, but it will be safer. > > Best > A > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Tue Apr 13 07:02:38 2021 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 13 Apr 2021 19:02:38 +0800 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <8FB37671-B6C6-4F49-95B5-F20FB0A8AE08@gmail.com> Hi Andre > On 13 Apr 2021, at 18:05, Andre Garzia via use-livecode wrote: > > We don?t even have unit testing libraries so that we can make sure our code works as expected. I published a simple unit testing library on GitHub but it din?t get any traction - https://github.com/PeterWAWood/LiveCode-MiniTest Peter From andre at andregarzia.com Tue Apr 13 07:10:58 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Apr 2021 12:10:58 +0100 Subject: On the dangers of automated refactoring In-Reply-To: <8FB37671-B6C6-4F49-95B5-F20FB0A8AE08@gmail.com> References: <8FB37671-B6C6-4F49-95B5-F20FB0A8AE08@gmail.com> Message-ID: <6F19C61C-C228-4E77-A2E0-C86D18304ACC@andregarzia.com> Peter, This is neat! I also have a small test library, but mine is way less complete than yours. I never released it because it was quite incomplete. Maybe writing a tutorial or doing a small screencast showing it working might help people understand why it is important. I bet many here never used a unit testing library. PS: How?s Red Lang going? :D > On 13 Apr 2021, at 12:02, Peter W A Wood via use-livecode wrote: > > Hi Andre > >> On 13 Apr 2021, at 18:05, Andre Garzia via use-livecode wrote: >> >> We don?t even have unit testing libraries so that we can make sure our code works as expected. > > I published a simple unit testing library on GitHub but it din?t get any traction - https://github.com/PeterWAWood/LiveCode-MiniTest > > 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 williamdesmet at gmail.com Tue Apr 13 07:15:02 2021 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 13 Apr 2021 13:15:02 +0200 Subject: How do I change the textcolor of the selected text in a native iOS field? Message-ID: Hi there, How do I get the selectedText of a native iOS field? I want to change the color of the text selection in the field. How do I adapt this code I made? (this obviously only returns the first char of the text in red) ----- on changeColor mobileControlDo "field1", "focus", true put mobileControlGet ("field1", "text") into tText put char 1 of tText into tColor mobileControlSet "field1" , "text", "" & tColor mobileControlSet "field1", "textcolor", "255,0,0" on changeColor ---- greetings, William From mark at livecode.com Tue Apr 13 07:48:58 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 13 Apr 2021 12:48:58 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> Message-ID: <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> On 2021-04-09 22:25, Bob Sneidar via use-livecode wrote: > Ya so LC for Windows is basically running in an emulator. No - its either running as a 32-bit app (if you have installed the 32-bit version of LC) or as a 64-bit app (if you have installed the 64-bit version of LC) - there's no emulation going on - the difference is the processor mode the executables are run in. Windows, macOS and Linux all handle 32-bit vs 64-bit exactly the same way... The versions of the OS which can run both, have two sets of code for everything in the OS - one 32-bit and one 64-bit. The only difference is what those OSes call it / how they package it. On Windows, the 32-bit set of libraries is called WoW (Windows-on-Windows), on Linux its called 'multi-arch' or 'multilib' (I think at least?), on macOS its called 'universal executables'. macOS does have the advantage that the Mach-O binary executable format allows multiple architectures in the same binary which means it is all entirely hidden from the user. Neither PE (Windows) nor ELF (Linux) allow that, so user ends up having to choose the appropriate installer / run the appropriate installer command. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From toolbook at kestner.de Tue Apr 13 08:27:37 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Tue, 13 Apr 2021 14:27:37 +0200 Subject: AW: Offtopic: Can anybody create a small DLL for me? In-Reply-To: <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> References: <006701d72f80$460d38f0$d227aad0$@kestner.de> <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> Message-ID: <004201d73060$6419b900$2c4d2b00$@kestner.de> Thanks Matthias and Andre for pointing out for these options Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Andre Garzia via use-livecode Gesendet: Dienstag, 13. April 2021 11:38 An: How to use LiveCode Cc: Andre Garzia Betreff: Re: Offtopic: Can anybody create a small DLL for me? Tiemo, Maybe it is possible to parse the result of shell(?ipconfig /all?) To get the same information. I?m not sure which information you?re collecting but I just run that on my windows and I could see every interface and the info about them. Best A > On 12 Apr 2021, at 10:43, Tiemo via use-livecode wrote: > > Hello, > > > > over ten years ago, I included a windows dll into one of my main LC > programs, which was created by a programmer, to whom I no more have > any contact. > > The dll only has one single function, it reads all MAC addresses from > the device with all related informations, like name and kind of > address and gives all the data back to LC. > > > > Now I would like to build a 64Bit version of my program and therefor > need a 64Bit version of this dll. I don't have the source, so it has > to be created from the scratch. > > > > If there is anybody, who is willing to do this paid job for me, please > contact me PM: toolbook at kestner.de > > > > Thank you > > > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Apr 13 08:39:31 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 13 Apr 2021 13:39:31 +0100 Subject: On the dangers of automated refactoring In-Reply-To: <6F19C61C-C228-4E77-A2E0-C86D18304ACC@andregarzia.com> References: <8FB37671-B6C6-4F49-95B5-F20FB0A8AE08@gmail.com> <6F19C61C-C228-4E77-A2E0-C86D18304ACC@andregarzia.com> Message-ID: I can't speak for others, but I can personally vouch for the authenticity of that statement ? ?On 2021-04-13, 12:12 PM, "use-livecode on behalf of Andre Garzia via use-livecode" wrote: I bet many here never used a unit testing library. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Tue Apr 13 10:02:04 2021 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Apr 2021 09:02:04 -0500 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> Message-ID: <1B7F9C0E-FC81-4298-985F-C87B8BBDCE3C@sonsothunder.com> > On Apr 13, 2021, at 5:28 AM, Andre Garzia via use-livecode wrote: > > I like all that I read here. There are things that are really hard when building standalone apps that I don?t think should be handled by LC HQ, such as ?adding AppleScript dictionary? to your app. This is harder than it seems and it involves plist manipulation, fancy sdef xml creation, etc. This is too large a product to develop with a small target base. > > On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. Amen, brother! :) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Website: https://www.sonsothunder.com From brian at milby7.com Tue Apr 13 10:45:23 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 13 Apr 2021 10:45:23 -0400 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <32B41C76-DCF0-4CC4-8EAD-560DD14F6AC2@milby7.com> There is a test framework in the GitHub repository: https://github.com/livecode/livecode/tree/develop/tests Didn?t really see documentation on it, but I?m sure it could be documented and used to generate a robust unit test of our own projects. Plenty of examples there on use, just nothing on how to easily kick it off for your own projects. Sent from my iPad > On Apr 13, 2021, at 6:07 AM, Andre Garzia via use-livecode wrote: > > ?Hi Folks, > > I?ve recently read that long thread that almost got people banned and will not comment on it. What I want to comment on is about the kernel of the activity that was mentioned there: refactoring. > > Often in LiveCode (and most programming languages to be honest) we go coding for a long while and then realise that our code need extensive refactoring. We may have repeated a pattern over and over again and discovered that we need to change every instance of them, or something similar. > > There are small cases of refactoring, such as renaming a variable in a single script, that can be easily (and quite safely) be done with find & replace tools. Others are much more complex and attempting to do it over multiple scripts on a large project will result in crying and maybe needing a drink or hug. > > An example of a really smart IDE that is considered the most advanced in terms of refactoring are the ones based on JetBrains IDEA such as IDEA itself, Android Studio, webStorms, etc. A key part of these IDEs to do refactoring is that they have deep knowledge about the source code being written. The code is constantly parsed and assembled in a AST that is exposed internally for the refactoring tools. When you refactor code in these IDEs, you?re not really working with text, you?re telling the IDE to manipulate a tree in ways the IDE knows how to manipulate such tree. That is why when you ?rename a symbol? or ?extract selected code into method in enclosing scope? or whatever you do in these IDEs, you end up with the expected result. > > Find and Replace dialogs, or even custom plugins in LiveCode, don?t have the same advanced capabilities. You?re usually working with text and hoping that whatever RegEx you?re applying is error-free. And by error-free I don?t mean it is a ?valid regex?, I mean that ?it does what you expect, and your expectations are correct?. It is very hard to apply script transformations like that, you can?t be sure they?ll work for every little replacement, and for the cases where it doesn?t work, the bugs introduced might be too subtle to notice. Let me tell you folks a recent story in which I tried to do exactly that and shot myself on the foot. > > I?m dealing with a very large LC app. Very large, thousands and thousands of lines spread in a gazilion stacks, behaviors, and libraries. Some of these files needed refactoring. Among the various tasks I needed to do was to apply our ?variable naming scheme? to the scripts because there were variables using the wrong prefixes. > > Naturally, I tried being smart with find & replace. Even going as far as extracting the script into an editor with more features ?such as RegEx replacing? and trying my best to identify and replace the names I needed with vast swoops of RegEx. > > All the replacements worked like I wrote them. > > What I didn?t realise was that there was variable shadowing happening in which handler arguments were named with the same name as script-local variables, my smart replacing removed those arguments because there was no need to redeclare the script-local vars. I didn?t realise at that time, that those variables were real arguments being passed to the handlers, they just happened to have the same name as script-local vars in the same script and were in fact shadowing them. > > I broke all the source code. It took me a long time to work out which handlers needed arguments, and which didn?t need and were actually using the script-local vars. > > I tried being smart fixing broken code, and for a while it became more broken. > > Refactoring is hard. > > We don?t have a system to create and manipulate LC AST. > > We don?t even have unit testing libraries so that we can make sure our code works as expected. > > Avoid large automated refactoring at all cost, it is not worth it. Do it manually. It will be slower, but it will be safer. > > Best > A > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Apr 13 11:15:54 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 13 Apr 2021 08:15:54 -0700 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> Message-ID: On 4/13/21 4:48 AM, Mark Waddingham via use-livecode wrote: > No - its either running as a 32-bit app (if you have installed the > 32-bit version of LC) or as a 64-bit app (if you have installed the > 64-bit version of LC) - there's no emulation going on - the difference > is the processor mode the executables are run in. > > Windows, macOS and Linux all handle 32-bit vs 64-bit exactly the same > way... The versions of the OS which can run both, have two sets of code > for everything in the OS - one 32-bit and one 64-bit. The only > difference is what those OSes call it / how they package it. Hmmm... the release notes under Platform support | Windows says "Note: On 64-bit Windows installations, LiveCode runs as a 32-bit application through the WoW layer." Do the release notes need updating? -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Tue Apr 13 11:19:54 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 13 Apr 2021 16:19:54 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> Message-ID: <0b5125ff878e7d32e526f042ead3338b@livecode.com> On 2021-04-13 16:15, Mark Wieder via use-livecode wrote: > Do the release notes need updating? Hah! Yes - we've had a 64-bit windows build (separate installer) available since 9.5. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ahsoftware at sonic.net Tue Apr 13 11:28:34 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 13 Apr 2021 08:28:34 -0700 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <32426554-c1fc-57e3-f445-8b297a69931d@sonic.net> On 4/13/21 3:05 AM, Andre Garzia via use-livecode wrote: > What I didn?t realise was that there was variable shadowing happening in which handler arguments were named with the same name as script-local variables Ouch. Don't do that. I end up spending most of my coding life refactoring existing code. And while I do automated things, I'm *very* wary about the results if I'm working on a large corpus of code: save everything, make a copy of everything, save that somewhere else, do the refactor thing, make sure it still works, commit to git, rinse and repeat. Also, if the source is somewhere like dropbox then you have access to previous builds as a backup. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Tue Apr 13 11:32:01 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Apr 2021 15:32:01 +0000 Subject: Intermittent typing delay in script editor. In-Reply-To: <3357728B-4F48-4A76-AC70-8713D5A13510@andregarzia.com> References: <000d01d72c97$82554870$86ffd950$@shaw.ca> <1017b949-8d35-b0bb-2131-3df1f21eea0d@sonic.net> <3357728B-4F48-4A76-AC70-8713D5A13510@andregarzia.com> Message-ID: <0B588C71-485D-4C08-A12C-3406C0BD8BEA@iotecdigital.com> Long scripts seems to be the recipe, at least for me. Bob S > On Apr 13, 2021, at 03:11 , Andre Garzia via use-livecode wrote: > > I see it on my two windows machine but never on the mac?. It is intermittent and I?m yet to find a recipe, but it is real. > >> On 8 Apr 2021, at 18:17, Mark Wieder via use-livecode wrote: >> >> On 4/8/21 9:52 AM, thompsonmichael--- via use-livecode wrote: >> >>> LC normally works lightning fast on this setup but over the last couple of >>> years I would occasionally experience a sudden slow down in the script >>> editor for no apparent reason. (Delays of seconds sometimes between typing >>> and the type appearing on the screen) I would close everything and restart >>> Livecode and all would be well again. >> >> I see this on linux occasionally as well. It's erratic enough for me to suspect my own code, but I can never pin anything down. I'll keep an eye on my message box use. Thanks for the hint. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com From paul at researchware.com Tue Apr 13 11:37:18 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 13 Apr 2021 11:37:18 -0400 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <09f55a79-5927-0316-60df-3da5a2b6a116@researchware.com> I find revRefactor (which adds a Refactoring sub-menu under the Edit menu of the IDE Script Editor) to be a tool that I personally would like to see better integrated into the IDE. This plugin was done by Mark Wieder and is not an official part of the LiveCode IDE, but it is one place, I would very much like to see the mothership either expand on Mark's or roll their own, but integrate similar refactoring capabilities into the IDE. For example, I frequently forget what some of the menu items do and there is no easily accessible built in documentation like for much of LiveCode in general. I'd like to see it be more visible - its own menu in the script editor or elevated in some way. I have on occasion forgot I have it installed and manually renamed a handler when revRefactor can doing for me in a few clicks. The "Find Orphan Code" feature is really great, but there is not spinning busy cursor or progress indicate. Once when running on a old, large code base, I thought revFactor had hung as it took so long to display the results. I'd pay more for my business license to see these integrated into the business edition. From bobsneidar at iotecdigital.com Tue Apr 13 11:39:02 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Apr 2021 15:39:02 +0000 Subject: Offtopic: Can anybody create a small DLL for me? In-Reply-To: <004201d73060$6419b900$2c4d2b00$@kestner.de> References: <006701d72f80$460d38f0$d227aad0$@kestner.de> <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> <004201d73060$6419b900$2c4d2b00$@kestner.de> Message-ID: <929D6353-A98C-4522-BFD6-824316FCC7D0@iotecdigital.com> On Windows it's pretty easy. On MacOS it's a little trickier. Here's a function I wrote to get the default connection, which contains methods for getting the network adapters for Windows and MacOS. Enjoy: FUNCTION getDefaultNetwork pMode -- leave pMode empty for just IP and MAC info. Pass "Detail" to get more info IF the platform contains "WIN" THEN set hideconsolewindows to true put "netsh interface ip show config" into tShellCommand TRY put shell(tShellCommand) into tDefaultAdapter CATCH tError return tError END TRY -- if pMode is detail just return these results IF pMode is "Detail" THEN return tDefaultAdapter -- get the default adapter and Gateway IP addresses put lineoffset("IP Address:", tDefaultAdapter) into tIPAddressLine put word -1 of line tIPAddressLine of tDefaultAdapter into tLocalIPAddress put lineoffset("Default Gateway:", tDefaultAdapter) into tGWAddressLine put word -1 of line tGWAddressLine of tDefaultAdapter into tGWIPAddress -- get the default adapter and gateway MAC addresses put "ipconfig /all" into tShellCommand TRY put shell(tShellCommand) into tConfigData CATCH tError return tError END TRY put lineoffset(tLocalIPAddress, tConfigData) -3 into tLocalMACLine put word -1 of line tLocalMACLine of tConfigData into tLocalMACAddress put "arp -a" into tShellCommand TRY put shell(tShellCommand) into tArpData CATCH tError return tError END TRY put lineoffset(tGWIPAddress, tArpData) into tGWMACAddressLine put word 2 of line tGWMACAddressLine of tArpData into tGWMACAddress put tLocalIPAddress && tLocalMACAddress & cr & \ tGWIPAddress && tGWMACAddress into tCurrentAdapterInfo ELSE -- first we need to get the default adapter put "route get default" into tShellCommand TRY put shell(tShellCommand) into tDefaultAdapter CATCH tError return tError END TRY put lineoffset("Interface: ", tDefaultAdapter) into tInterfaceLine IF tInterfaceLine = 0 THEN return "ERROR: No default interface found!" END IF -- now we need the detail of the interface put word 2 of line tInterfaceLine of tDefaultAdapter into tDefaultInterface put "ipconfig getpacket " & tDefaultInterface into tShellCommand TRY put shell(tShellCommand) into tInterfaceDetail CATCH tError return tError END TRY -- if we didn't specifically ask for the interface and router MAC addresses, return here IF pMode is "Detail" THEN return tInterfaceDetail -- now we get the interface MAC address put lineoffset("chaddr", tInterfaceDetail) into tInterfaceMACLine put word -1 of line tInterfaceMACLine of tInterfaceDetail into tDefaultMACAddress -- and the IP address put lineoffset("yiaddr", tInterfaceDetail) into tInterfaceIPLine put word -1 of line tInterfaceIPLine of tInterfaceDetail into tDefaultIPAddress -- next we get the router IP address put lineoffset("router (ip_mult): ", tInterfaceDetail) into tRouterLine put word 3 of line tRouterLine of tInterfaceDetail into tRouterIPAddress put char 2 to -2 of tRouterIPAddress into tRouterIPAddress -- next we get the MAC address of the router interface put "arp " & tRouterIPAddress into tShellCommand TRY put shell(tShellCommand) into tArpReply CATCH tError return tError END TRY put word 4 of tArpReply into tRouterMACAddress -- finally we return the MAC addresses of the default interface and the router interface put tDefaultIPAddress && tDefaultMACAddress & cr & \ tRouterIPAddress && tRouterMACAddress into tCurrentAdapterInfo END IF return tCurrentAdapterInfo END getDefaultNetwork Bob S > On Apr 13, 2021, at 05:27 , Tiemo via use-livecode wrote: > > Thanks Matthias and Andre for pointing out for these options > > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode Im Auftrag von Andre Garzia via use-livecode > Gesendet: Dienstag, 13. April 2021 11:38 > An: How to use LiveCode > Cc: Andre Garzia > Betreff: Re: Offtopic: Can anybody create a small DLL for me? > > Tiemo, > > Maybe it is possible to parse the result of > > shell(?ipconfig /all?) > > To get the same information. I?m not sure which information you?re collecting but I just run that on my windows and I could see every interface and the info about them. > > Best > A From thatkeith at mac.com Tue Apr 13 11:43:26 2021 From: thatkeith at mac.com (Keith Martin) Date: Tue, 13 Apr 2021 16:43:26 +0100 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> Message-ID: <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> > On 13 Apr 2021, at 11:28, Andre Garzia via use-livecode wrote: > > On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. Oh boy, THIS! And everything Richard?s written in this thread. I?ve come to dread the process of making a deployable standalone, to the point where I actively avoid it. It?s a major PITA and headache inducer. This really is putting me off using LiveCode. I?m not saying ?in preference to something else,? just that the experience has become so convoluted and opaque that I work to avoid having to do it. I?m sure others feel similarly, and that is a Very Not Good Thing for LiveCode. :?( k --- Keith Martin Mobile: +44 (0)7909 541365 360 media production, consultancy and training: PanoramaPhotographer.com Exif Fixer 360 utility: ExifFixer.com About me: thatkeith.com --- From bobsneidar at iotecdigital.com Tue Apr 13 11:46:23 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Apr 2021 15:46:23 +0000 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <0b5125ff878e7d32e526f042ead3338b@livecode.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> <0b5125ff878e7d32e526f042ead3338b@livecode.com> Message-ID: <4BDF8D80-1E55-4CE3-8718-7CC384B03AA3@iotecdigital.com> Hi Mark. I downloaded LC 9.6.2 for Windows and installed it on a Server 2012 VM. It installed in the Program Files (x86) folder. I was under the impression that only happens when the app is a 32 bit app. Are you implying the standalones are 64 bit but the LC app is 32? If that were the case, then no benchmarks done in the IDE would be valid. But it's more likely I am misinformed. Bob S > On Apr 13, 2021, at 08:19 , Mark Waddingham via use-livecode wrote: > > On 2021-04-13 16:15, Mark Wieder via use-livecode wrote: >> Do the release notes need updating? > > Hah! Yes - we've had a 64-bit windows build (separate installer) available since 9.5. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Tue Apr 13 11:48:54 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Apr 2021 15:48:54 +0000 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: It's nothing short of a miracle that the shot didn't go INTO your foot. :-) Bob S > On Apr 13, 2021, at 03:05 , Andre Garzia via use-livecode wrote: > > Let me tell you folks a recent story in which I tried to do exactly that and shot myself on the foot. From bobsneidar at iotecdigital.com Tue Apr 13 11:52:09 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Apr 2021 15:52:09 +0000 Subject: On the dangers of automated refactoring In-Reply-To: <4db7af2a-8c97-4c18-9f81-b164b83e51b3@Spark> References: <4db7af2a-8c97-4c18-9f81-b164b83e51b3@Spark> Message-ID: <97E53570-798B-4DC3-BBA1-FA7C9784DB33@iotecdigital.com> We should have a contest: Who has the biggest code base. Mine's pretty big, but I doubt it's the biggest. :-) Bob S > On Apr 13, 2021, at 03:48 , David Bovill via use-livecode wrote: > > I?d be interested to understand the nature of the gazillion stack project to see how it compares to my gazillion stack project (and I presume others). We could learn things by comparing approaches. From paul at researchware.com Tue Apr 13 11:59:07 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 13 Apr 2021 11:59:07 -0400 Subject: On the dangers of automated refactoring In-Reply-To: <97E53570-798B-4DC3-BBA1-FA7C9784DB33@iotecdigital.com> References: <4db7af2a-8c97-4c18-9f81-b164b83e51b3@Spark> <97E53570-798B-4DC3-BBA1-FA7C9784DB33@iotecdigital.com> Message-ID: <662b8aa0-480f-e892-c436-39cfb42c73c3@researchware.com> On 4/13/2021 11:52 AM, Bob Sneidar via use-livecode wrote: > We should have a contest: Who has the biggest code base. Mine's pretty big, but I doubt it's the biggest.:-) > ~ 83,000 lines of Livecode script, not counting 3rd party library stacks (Wordlib, Spreadlib, lclSpell, ChartMaker) and some custom externals. From bobsneidar at iotecdigital.com Tue Apr 13 12:06:41 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 13 Apr 2021 16:06:41 +0000 Subject: On the dangers of automated refactoring In-Reply-To: <662b8aa0-480f-e892-c436-39cfb42c73c3@researchware.com> References: <4db7af2a-8c97-4c18-9f81-b164b83e51b3@Spark> <97E53570-798B-4DC3-BBA1-FA7C9784DB33@iotecdigital.com> <662b8aa0-480f-e892-c436-39cfb42c73c3@researchware.com> Message-ID: How do you find that? Github? Bob S > On Apr 13, 2021, at 08:59 , Paul Dupuis via use-livecode wrote: > > On 4/13/2021 11:52 AM, Bob Sneidar via use-livecode wrote: >> We should have a contest: Who has the biggest code base. Mine's pretty big, but I doubt it's the biggest.:-) >> > ~ 83,000 lines of Livecode script, not counting 3rd party library stacks (Wordlib, Spreadlib, lclSpell, ChartMaker) and some custom externals. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Apr 13 12:08:59 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 13 Apr 2021 17:08:59 +0100 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <4BDF8D80-1E55-4CE3-8718-7CC384B03AA3@iotecdigital.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> <0b5125ff878e7d32e526f042ead3338b@livecode.com> <4BDF8D80-1E55-4CE3-8718-7CC384B03AA3@iotecdigital.com> Message-ID: <803fe3bbace87d4996ee7b9cc388b1c2@livecode.com> On 2021-04-13 16:46, Bob Sneidar via use-livecode wrote: > Hi Mark. > > I downloaded LC 9.6.2 for Windows and installed it on a Server 2012 > VM. It installed in the Program Files (x86) folder. I was under the > impression that only happens when the app is a 32 bit app. Then you downloaded the 32-bit installer. > Are you implying the standalones are 64 bit but the LC app is 32? If > that were the case, then no benchmarks done in the IDE would be valid. > But it's more likely I am misinformed. Both 32-bit and 64-bit Windows IDEs can build 32-bit and/or 64-bit windows standalones - you can choose in the standalone builder. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From chipsm at themartinz.com Tue Apr 13 12:18:24 2021 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Tue, 13 Apr 2021 16:18:24 +0000 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <803fe3bbace87d4996ee7b9cc388b1c2@livecode.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> <0b5125ff878e7d32e526f042ead3338b@livecode.com> <4BDF8D80-1E55-4CE3-8718-7CC384B03AA3@iotecdigital.com> <803fe3bbace87d4996ee7b9cc388b1c2@livecode.com> Message-ID: Hi everyone. I am totally confused by this topic. I know that I downloaded the LC 9.6.2 RC4 64 bit windows version and Windows 10 ,latest update, refuses to run the installer. I have been watching the list and decided to just wait and see if there would be a fix for this. I have turned off my McAfee to see if that would help, but to no avail. I have also tried to install the program using the administrator option. Is there any recommendations for a solution to this problem? Is this the problem that everyone is Listing about? Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of Mark Waddingham via use-livecode Sent: Tuesday, April 13, 2021 9:09 AM To: How to use LiveCode Cc: Mark Waddingham Subject: Re: [ANN] Release 9.6.2 RC-4 On 2021-04-13 16:46, Bob Sneidar via use-livecode wrote: > Hi Mark. > > I downloaded LC 9.6.2 for Windows and installed it on a Server 2012 > VM. It installed in the Program Files (x86) folder. I was under the > impression that only happens when the app is a 32 bit app. Then you downloaded the 32-bit installer. > Are you implying the standalones are 64 bit but the LC app is 32? If > that were the case, then no benchmarks done in the IDE would be valid. > But it's more likely I am misinformed. Both 32-bit and 64-bit Windows IDEs can build 32-bit and/or 64-bit windows standalones - you can choose in the standalone builder. 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 ambassador at fourthworld.com Tue Apr 13 12:48:23 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 13 Apr 2021 09:48:23 -0700 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: Andre Garzia wrote: > What I didn?t realise was that there was variable shadowing happening > in which handler arguments were named with the same name as script- > local variables, my smart replacing removed those arguments because > there was no need to redeclare the script-local vars. I didn?t realise > at that time, that those variables were real arguments being passed to > the handlers, they just happened to have the same name as script-local > vars in the same script and were in fact shadowing them. Is this a case where "Strict Compilation Mode" or Hungarian-lite* notation may have been useful? * http://www.fourthworld.com/embassy/articles/scriptstyle.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 brian at milby7.com Tue Apr 13 12:54:09 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 13 Apr 2021 12:54:09 -0400 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <0BF36D2E-DC9F-4C67-BCFA-BDD56ED1E3CB@milby7.com> It was actually more the mis-application of Hungarian-lite. I think it compiled with strict enabled. Sent from my iPhone > On Apr 13, 2021, at 12:50 PM, Richard Gaskin via use-livecode wrote: > > ?Andre Garzia wrote: > > > What I didn?t realise was that there was variable shadowing happening > > in which handler arguments were named with the same name as script- > > local variables, my smart replacing removed those arguments because > > there was no need to redeclare the script-local vars. I didn?t realise > > at that time, that those variables were real arguments being passed to > > the handlers, they just happened to have the same name as script-local > > vars in the same script and were in fact shadowing them. > > Is this a case where "Strict Compilation Mode" or Hungarian-lite* notation may have been useful? > > > * http://www.fourthworld.com/embassy/articles/scriptstyle.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 ahsoftware at sonic.net Tue Apr 13 14:39:30 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 13 Apr 2021 11:39:30 -0700 Subject: On the dangers of automated refactoring In-Reply-To: <09f55a79-5927-0316-60df-3da5a2b6a116@researchware.com> References: <09f55a79-5927-0316-60df-3da5a2b6a116@researchware.com> Message-ID: <86006e3c-e1e6-83a0-974a-973db34fb373@sonic.net> On 4/13/21 8:37 AM, Paul Dupuis via use-livecode wrote: > I find revRefactor (which adds a Refactoring sub-menu under the Edit > menu of the IDE Script Editor) to be a tool that I personally would like > to see better integrated into the IDE. Paul - thanks for the kind words there. I took most of your advice and updated the latest build to both github and the LiveCodeShare/Online/Sample Stacks... whatever that thing's called. There's now a busy cursor for the Find Orphans feature since it's nested repeat loops, and there's a menu item added to the Help menu with some minimal help text to jog your memory. I did stop short of making it a new menu (vs menuItem)... I think it's more properly a subset of the Edit functions, but if you want to play around with it I think you'd have to modify the revMenuBar stack. Open to any other suggestions. And it's MIT-licensed, by the way, so anyone can feel free to do what they want with it. https://github.com/mwieder/revRefactor -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Apr 13 14:47:24 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 13 Apr 2021 11:47:24 -0700 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: On 4/13/21 9:48 AM, Richard Gaskin via use-livecode wrote: > Andre Garzia wrote: > > > What I didn?t realise was that there was variable shadowing happening > > in which handler arguments were named with the same name as script- > > local variables, my smart replacing removed those arguments because > > there was no need to redeclare the script-local vars. I didn?t realise > > at that time, that those variables were real arguments being passed to > > the handlers, they just happened to have the same name as script-local > > vars in the same script and were in fact shadowing them. > > Is this a case where "Strict Compilation Mode" or Hungarian-lite* > notation may have been useful? > > > * http://www.fourthworld.com/embassy/articles/scriptstyle.html > Yep. But knowing Andre I'll bet he didn't write the original code, just had the good fortune to inherit it. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Apr 13 15:03:50 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Apr 2021 14:03:50 -0500 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> Message-ID: On 4/13/21 10:43 AM, Keith Martin via use-livecode wrote: >> On 13 Apr 2021, at 11:28, Andre Garzia via use-livecode wrote: >> >> On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. > > Oh boy, THIS! +1. But for now I use Matthias' mrSignNotarize helper tool which makes the process much easier. Fill out some info, click a button, and your notarization request is sent to Apple, returned, and stapled to your app. It's an extra step which I think LC should incorporate, but for now it saves quite a bit of work. You can find it at this LC lesson, which includes all the manual steps if you want to do it that way, but at the bottom describes his automated tool as well. You can download the stack from the link at the top of the lesson. I've used it on more than one Mac app and it works. The hardest part is dealing with Apple and of course there's no help for that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeejeestudio at gmail.com Tue Apr 13 15:07:11 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Tue, 13 Apr 2021 21:07:11 +0200 Subject: [ANN] Release 9.6.2 RC-4 In-Reply-To: <803fe3bbace87d4996ee7b9cc388b1c2@livecode.com> References: <24F98870-A751-4C37-BC84-BB32EE712766@andregarzia.com> <6ac5cd9d-d775-3807-ab68-a39e5618fe5f@gmail.com> <1e11b0b42141b9e9661ad1f77690f4d2@livecode.com> <0b5125ff878e7d32e526f042ead3338b@livecode.com> <4BDF8D80-1E55-4CE3-8718-7CC384B03AA3@iotecdigital.com> <803fe3bbace87d4996ee7b9cc388b1c2@livecode.com> Message-ID: Many thanks mark for explaining. So the IDE is a real 32 bit or a real 64bit application. Am I understanding it correct that it is the same for the executable an LC user/devbuilds for Windows? the build of a stack is a real 64bit? Op di 13 apr. 2021 om 18:09 schreef Mark Waddingham via use-livecode < use-livecode at lists.runrev.com>: > On 2021-04-13 16:46, Bob Sneidar via use-livecode wrote: > > Hi Mark. > > > > I downloaded LC 9.6.2 for Windows and installed it on a Server 2012 > > VM. It installed in the Program Files (x86) folder. I was under the > > impression that only happens when the app is a 32 bit app. > > Then you downloaded the 32-bit installer. > > > Are you implying the standalones are 64 bit but the LC app is 32? If > > that were the case, then no benchmarks done in the IDE would be valid. > > But it's more likely I am misinformed. > > Both 32-bit and 64-bit Windows IDEs can build 32-bit and/or 64-bit > windows standalones - you can choose in the standalone builder. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Apr 13 15:10:17 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Apr 2021 14:10:17 -0500 Subject: How do I change the textcolor of the selected text in a native iOS field? In-Reply-To: References: Message-ID: <24b7b31f-9455-0898-a461-028f9f6c447c@hyperactivesw.com> On 4/13/21 6:15 AM, William de Smet via use-livecode wrote: > Hi there, > > How do I get the selectedText of a native iOS field? > I want to change the color of the text selection in the field. I think you want "selectedRange" which returns the start index and the length of the text selected. Judging from the dictionary it looks like it only works on multiline fields. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Tue Apr 13 15:17:50 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 13 Apr 2021 21:17:50 +0200 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> Message-ID: <127577A3-AB37-4457-B4BE-B18E558B1CE0@m-r-d.de> Jacque, and if put the that NotarizerHelperStack into the plugins folder and if you add the below code to your stack script then you can directly code sign and notarize the created macOS standalone right after it was built. ;) on standaloneSaved pFolderSavedIn if the cRevStandaloneSettings["MacOSX x86-64"] of this stack is true then answer "Do you want to notarize?" with "yes" or "No" if it ="yes" then put pFolderSavedIN & "MacOSX/" & the cRevStandaloneSettings["name"] of this stack & ".app" into tAppBundle notarizeApp tAppbundle else put "Don't notarize" end if end if pass standalonesaved end standaloneSaved on notarizeApp tAppbundle put "Now notarizing..." &return &tAppBundle after message ##path to the notarizer Stack.. ## either use an absolute path --go stack "/Users/matthias/Dropbox/My Livecode/Plugins/mrSignNotarizeHelperV2.livecode" ##or if the helper stack is in the plugins folder go stack revEnvironmentUserPluginsPath()&"/mrSignNotarizeHelperV2.livecode" put tAppbundle into fld "appbundle" of cd 1 of stack "mrSignNotarizeHelperV2" set the label of btn "action" of cd 1 of stack "mrSignNotarizeHelperV2" to "Codesign App, create & codesign DMG, then notarize DMG and staple DMG and App" set the hilite of btn "debugmode" of cd 1 of stack "mrSignNotarizeHelperV2" to false send "mouseup" to btn "start" of cd 1 of stack "mrSignNotarizeHelperV2" in 5 seconds end notarizeApp - Matthias Rebbe Life Is Too Short For Boring Code > Am 13.04.2021 um 21:03 schrieb J. Landman Gay via use-livecode : > > On 4/13/21 10:43 AM, Keith Martin via use-livecode wrote: >>> On 13 Apr 2021, at 11:28, Andre Garzia via use-livecode wrote: >>> >>> On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. >> Oh boy, THIS! > > +1. But for now I use Matthias' mrSignNotarize helper tool which makes the process much easier. Fill out some info, click a button, and your notarization request is sent to Apple, returned, and stapled to your app. > > It's an extra step which I think LC should incorporate, but for now it saves quite a bit of work. You can find it at this LC lesson, which includes all the manual steps if you want to do it that way, but at the bottom describes his automated tool as well. You can download the stack from the link at the top of the lesson. > > > > I've used it on more than one Mac app and it works. The hardest part is dealing with Apple and of course there's no help for that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Apr 13 15:26:21 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 13 Apr 2021 15:26:21 -0400 Subject: On the dangers of automated refactoring In-Reply-To: References: <4db7af2a-8c97-4c18-9f81-b164b83e51b3@Spark> <97E53570-798B-4DC3-BBA1-FA7C9784DB33@iotecdigital.com> <662b8aa0-480f-e892-c436-39cfb42c73c3@researchware.com> Message-ID: On 4/13/2021 12:06 PM, Bob Sneidar via use-livecode wrote: > How do you find that? Github? Don't remember how I found it - I think an announcement by Mark to the list, but, yup, Github: https://github.com/mwieder/revRefactor From paul at researchware.com Tue Apr 13 15:32:18 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 13 Apr 2021 15:32:18 -0400 Subject: On the dangers of automated refactoring In-Reply-To: <86006e3c-e1e6-83a0-974a-973db34fb373@sonic.net> References: <09f55a79-5927-0316-60df-3da5a2b6a116@researchware.com> <86006e3c-e1e6-83a0-974a-973db34fb373@sonic.net> Message-ID: On 4/13/2021 2:39 PM, Mark Wieder via use-livecode wrote: > On 4/13/21 8:37 AM, Paul Dupuis via use-livecode wrote: >> I find revRefactor (which adds a Refactoring sub-menu under the Edit >> menu of the IDE Script Editor) to be a tool that I personally would >> like to see better integrated into the IDE. > > Paul - thanks for the kind words there. > I took most of your advice and updated the latest build to both github > and the LiveCodeShare/Online/Sample Stacks... whatever that thing's > called. > > There's now a busy cursor for the Find Orphans feature since it's > nested repeat loops, and there's a menu item added to the Help menu > with some minimal help text to jog your memory. I did stop short of > making it a new menu (vs menuItem)... I think it's more properly a > subset of the Edit functions, but if you want to play around with it I > think you'd have to modify the revMenuBar stack. Open to any other > suggestions. > > And it's MIT-licensed, by the way, so anyone can feel free to do what > they want with it. > > https://github.com/mwieder/revRefactor > Wow! Thanks! A terrific tool by the way - and not to deprive any of the huge credit you deserve, but features such as your tool are things I would expect from the IDE of a "business" edition of LC, hence my thought LC, LTD make an arrangement with you to include it in the IDE as shipped. From curry at pair.com Tue Apr 13 17:07:07 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 13 Apr 2021 17:07:07 -0400 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: Andre: > Often in LiveCode (and most programming languages to be honest) > we go coding for a long while and then realise that our code > need extensive refactoring. We may have repeated a pattern over > and over again and discovered that we need to change every > instance of them, or something similar. Speaking to LC users as a whole rather than Andre in particular, tools to help with smart refactoring are useful. It all helps. But there's an even bigger danger than the one already described: Relying on tech to substitute for good fundamental coding skills. If a script needs many repeated changes to fix a single problem, usually that's because the code was not well-organized and modular. With good coding habits, you will excel with or without such tools. And when used carefully, they can increase your productivity. But if you have powerful tools with bad habits, you'll have trouble. Look at the F-35 stealth fighter, for example. Used in many nations. Agile coding is a key enabler in the project, but bugs are a problem. They've had cost increases and delays. Efficient coding is crucial. Whether jets or vaccines, many lives actually depend on computer code. In other words, good coding habits are more important than ever. Software will win or lose wars and determine health outcomes. You may not be in those line of work, but good habits save headaches! Well-designed code is a joy to maintain. One problem = one change. Modular, so that we're not repeating the same code with tiny variations. There will be cases where old code needs a revision, but much easier. Bob: > We should have a contest: Who has the biggest code base. > Mine's pretty big, but I doubt it's the biggest. :-) The biggest code is the most repetitive and least modular! I've seen scripts that were long enough to overwhelm the SE, yet performed fairly simple tasks. Could be 1/10 the code. Good topic. Back to work.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Tue Apr 13 19:12:26 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Apr 2021 18:12:26 -0500 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: <127577A3-AB37-4457-B4BE-B18E558B1CE0@m-r-d.de> References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> <127577A3-AB37-4457-B4BE-B18E558B1CE0@m-r-d.de> Message-ID: <6fc03c85-26b9-574b-13f3-5a860327a492@hyperactivesw.com> Cool. Thanks. I do keep NotarizationHelper in my plugins folder since I use it frequently. I probably will continue with the manual method for a while though, since I have three different apps to notarize and I have to update the General settings each time. Maybe later I'll revise your script to fill in the data for me. What I did not realize until I wasted a lot of time today is that the ASC changes depending on the app password, the ID Application, or something else I can't identify. It kept telling me I wasn't a member of my own developer account. I finally ran the Terminal command that returns all the ASCs and my ASC was different than it was before. People who are a member of only one account won't have that problem, but it took me a long time to figure out what was wrong. Once I had the right ASC your helper did its work gracefully. On 4/13/21 2:17 PM, matthias rebbe via use-livecode wrote: > Jacque, > and if put the that NotarizerHelperStack into the plugins folder and if you add the below code to your stack script > then you can directly code sign and notarize the created macOS standalone right after it was built. ;) > > on standaloneSaved pFolderSavedIn > > if the cRevStandaloneSettings["MacOSX x86-64"] of this stack is true > > then > > answer "Do you want to notarize?" with "yes" or "No" > > if it ="yes" > > then > > put pFolderSavedIN & "MacOSX/" & the cRevStandaloneSettings["name"] of this stack & ".app" into tAppBundle > > notarizeApp tAppbundle > > else > > put "Don't notarize" > > end if > > end if > > pass standalonesaved > > end standaloneSaved > > > on notarizeApp tAppbundle > put "Now notarizing..." &return &tAppBundle after message > > ##path to the notarizer Stack.. > ## either use an absolute path > --go stack "/Users/matthias/Dropbox/My Livecode/Plugins/mrSignNotarizeHelperV2.livecode" > > ##or if the helper stack is in the plugins folder > go stack revEnvironmentUserPluginsPath()&"/mrSignNotarizeHelperV2.livecode" > > put tAppbundle into fld "appbundle" of cd 1 of stack "mrSignNotarizeHelperV2" > > set the label of btn "action" of cd 1 of stack "mrSignNotarizeHelperV2" to "Codesign App, create & codesign DMG, then notarize DMG and staple DMG and App" > > set the hilite of btn "debugmode" of cd 1 of stack "mrSignNotarizeHelperV2" to false > > send "mouseup" to btn "start" of cd 1 of stack "mrSignNotarizeHelperV2" in 5 seconds > > end notarizeApp > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 13.04.2021 um 21:03 schrieb J. Landman Gay via use-livecode : >> >> On 4/13/21 10:43 AM, Keith Martin via use-livecode wrote: >>>> On 13 Apr 2021, at 11:28, Andre Garzia via use-livecode wrote: >>>> >>>> On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. >>> Oh boy, THIS! >> >> +1. But for now I use Matthias' mrSignNotarize helper tool which makes the process much easier. Fill out some info, click a button, and your notarization request is sent to Apple, returned, and stapled to your app. >> >> It's an extra step which I think LC should incorporate, but for now it saves quite a bit of work. You can find it at this LC lesson, which includes all the manual steps if you want to do it that way, but at the bottom describes his automated tool as well. You can download the stack from the link at the top of the lesson. >> >> >> >> I've used it on more than one Mac app and it works. The hardest part is dealing with Apple and of course there's no help for that. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Tue Apr 13 19:23:33 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 14 Apr 2021 01:23:33 +0200 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: <6fc03c85-26b9-574b-13f3-5a860327a492@hyperactivesw.com> References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> <127577A3-AB37-4457-B4BE-B18E558B1CE0@m-r-d.de> <6fc03c85-26b9-574b-13f3-5a860327a492@hyperactivesw.com> Message-ID: Couldn't you search for the ASC provider in the helper stack pressing the "Loupe" icon in the general settings? - Matthias Rebbe Life Is Too Short For Boring Code > Am 14.04.2021 um 01:12 schrieb J. Landman Gay via use-livecode : > > Cool. Thanks. I do keep NotarizationHelper in my plugins folder since I use it frequently. > > I probably will continue with the manual method for a while though, since I have three different apps to notarize and I have to update the General settings each time. Maybe later I'll revise your script to fill in the data for me. > > What I did not realize until I wasted a lot of time today is that the ASC changes depending on the app password, the ID Application, or something else I can't identify. It kept telling me I wasn't a member of my own developer account. I finally ran the Terminal command that returns all the ASCs and my ASC was different than it was before. > > People who are a member of only one account won't have that problem, but it took me a long time to figure out what was wrong. Once I had the right ASC your helper did its work gracefully. > > > On 4/13/21 2:17 PM, matthias rebbe via use-livecode wrote: >> Jacque, >> and if put the that NotarizerHelperStack into the plugins folder and if you add the below code to your stack script >> then you can directly code sign and notarize the created macOS standalone right after it was built. ;) >> on standaloneSaved pFolderSavedIn >> if the cRevStandaloneSettings["MacOSX x86-64"] of this stack is true >> then >> answer "Do you want to notarize?" with "yes" or "No" >> if it ="yes" >> then >> put pFolderSavedIN & "MacOSX/" & the cRevStandaloneSettings["name"] of this stack & ".app" into tAppBundle >> notarizeApp tAppbundle >> else >> put "Don't notarize" >> end if >> end if >> pass standalonesaved >> end standaloneSaved >> on notarizeApp tAppbundle >> put "Now notarizing..." &return &tAppBundle after message >> ##path to the notarizer Stack.. >> ## either use an absolute path >> --go stack "/Users/matthias/Dropbox/My Livecode/Plugins/mrSignNotarizeHelperV2.livecode" >> ##or if the helper stack is in the plugins folder >> go stack revEnvironmentUserPluginsPath()&"/mrSignNotarizeHelperV2.livecode" >> put tAppbundle into fld "appbundle" of cd 1 of stack "mrSignNotarizeHelperV2" >> set the label of btn "action" of cd 1 of stack "mrSignNotarizeHelperV2" to "Codesign App, create & codesign DMG, then notarize DMG and staple DMG and App" >> set the hilite of btn "debugmode" of cd 1 of stack "mrSignNotarizeHelperV2" to false >> send "mouseup" to btn "start" of cd 1 of stack "mrSignNotarizeHelperV2" in 5 seconds >> end notarizeApp >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >>> Am 13.04.2021 um 21:03 schrieb J. Landman Gay via use-livecode : >>> >>> On 4/13/21 10:43 AM, Keith Martin via use-livecode wrote: >>>>> On 13 Apr 2021, at 11:28, Andre Garzia via use-livecode wrote: >>>>> >>>>> On the other hand, I think that the SB should create standalones that can actually be deployed, this means that it should be able to handle notarisation on the mac out-of-the-box. >>>> Oh boy, THIS! >>> >>> +1. But for now I use Matthias' mrSignNotarize helper tool which makes the process much easier. Fill out some info, click a button, and your notarization request is sent to Apple, returned, and stapled to your app. >>> >>> It's an extra step which I think LC should incorporate, but for now it saves quite a bit of work. You can find it at this LC lesson, which includes all the manual steps if you want to do it that way, but at the bottom describes his automated tool as well. You can download the stack from the link at the top of the lesson. >>> >>> >>> >>> I've used it on more than one Mac app and it works. The hardest part is dealing with Apple and of course there's no help for that. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 13 20:11:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Apr 2021 19:11:22 -0500 Subject: We don't need a Player (was Re: New(?) Idea for Standalones) In-Reply-To: References: <40d11896-11c9-dbe4-47eb-8905893a4d69@fourthworld.com> <59DDFDD7-8F0C-4E38-86CE-474411E741D5@mac.com> <127577A3-AB37-4457-B4BE-B18E558B1CE0@m-r-d.de> <6fc03c85-26b9-574b-13f3-5a860327a492@hyperactivesw.com> Message-ID: <178cdb7dc10.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I tried that but I don't keep Xcode in the root of the Applications folder and the stack gave a warning. When I moved it there, the Xcode commands couldn't find it because I'd set the Xcode default to a copy in a subfolder. Maybe a future update can determine the user's Xcode location. I have three copies because different versions of LC require different versions of Xcode. What took the most time was figuring out what was wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 13, 2021 6:26:02 PM matthias rebbe via use-livecode wrote: > Couldn't you search for the ASC provider in the helper stack pressing the > "Loupe" icon in the general settings? > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > >> Am 14.04.2021 um 01:12 schrieb J. Landman Gay via use-livecode >> : >> >> Cool. Thanks. I do keep NotarizationHelper in my plugins folder since I use >> it frequently. >> >> I probably will continue with the manual method for a while though, since I >> have three different apps to notarize and I have to update the General >> settings each time. Maybe later I'll revise your script to fill in the data >> for me. >> >> What I did not realize until I wasted a lot of time today is that the ASC >> changes depending on the app password, the ID Application, or something >> else I can't identify. It kept telling me I wasn't a member of my own >> developer account. I finally ran the Terminal command that returns all the >> ASCs and my ASC was different than it was before. >> >> People who are a member of only one account won't have that problem, but it >> took me a long time to figure out what was wrong. Once I had the right ASC >> your helper did its work gracefully. >> >> >> On 4/13/21 2:17 PM, matthias rebbe via use-livecode wrote: >>> Jacque, >>> and if put the that NotarizerHelperStack into the plugins folder and if you >>> add the below code to your stack script >>> then you can directly code sign and notarize the created macOS standalone >>> right after it was built. ;) >>> on standaloneSaved pFolderSavedIn >>> if the cRevStandaloneSettings["MacOSX x86-64"] of this stack is true >>> then >>> answer "Do you want to notarize?" with "yes" or "No" >>> if it ="yes" >>> then >>> put pFolderSavedIN & "MacOSX/" & the cRevStandaloneSettings["name"] of this >>> stack & ".app" into tAppBundle >>> notarizeApp tAppbundle >>> else >>> put "Don't notarize" >>> end if >>> end if >>> pass standalonesaved >>> end standaloneSaved >>> on notarizeApp tAppbundle >>> put "Now notarizing..." &return &tAppBundle after message >>> ##path to the notarizer Stack.. >>> ## either use an absolute path >>> --go stack "/Users/matthias/Dropbox/My >>> Livecode/Plugins/mrSignNotarizeHelperV2.livecode" >>> ##or if the helper stack is in the plugins folder >>> go stack revEnvironmentUserPluginsPath()&"/mrSignNotarizeHelperV2.livecode" >>> put tAppbundle into fld "appbundle" of cd 1 of stack "mrSignNotarizeHelperV2" >>> set the label of btn "action" of cd 1 of stack "mrSignNotarizeHelperV2" to >>> "Codesign App, create & codesign DMG, then notarize DMG and staple DMG and App" >>> set the hilite of btn "debugmode" of cd 1 of stack "mrSignNotarizeHelperV2" >>> to false >>> send "mouseup" to btn "start" of cd 1 of stack "mrSignNotarizeHelperV2" in >>> 5 seconds >>> end notarizeApp >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>>> Am 13.04.2021 um 21:03 schrieb J. Landman Gay via use-livecode >>>> : >>>> >>>> On 4/13/21 10:43 AM, Keith Martin via use-livecode wrote: >>>>>> On 13 Apr 2021, at 11:28, Andre Garzia via >>>>>> use-livecode wrote: >>>>>> >>>>>> On the other hand, I think that the SB should create standalones that can >>>>>> actually be deployed, this means that it should be able to handle >>>>>> notarisation on the mac out-of-the-box. >>>>> Oh boy, THIS! >>>> >>>> +1. But for now I use Matthias' mrSignNotarize helper tool which makes the >>>> process much easier. Fill out some info, click a button, and your >>>> notarization request is sent to Apple, returned, and stapled to your app. >>>> >>>> It's an extra step which I think LC should incorporate, but for now it >>>> saves quite a bit of work. You can find it at this LC lesson, which >>>> includes all the manual steps if you want to do it that way, but at the >>>> bottom describes his automated tool as well. You can download the stack >>>> from the link at the top of the lesson. >>>> >>>> >>>> >>>> I've used it on more than one Mac app and it works. The hardest part is >>>> dealing with Apple and of course there's no help for that. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Apr 13 23:00:32 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 13 Apr 2021 20:00:32 -0700 Subject: Offtopic: Can anybody create a small DLL for me? In-Reply-To: <929D6353-A98C-4522-BFD6-824316FCC7D0@iotecdigital.com> References: <006701d72f80$460d38f0$d227aad0$@kestner.de> <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> <004201d73060$6419b900$2c4d2b00$@kestner.de> <929D6353-A98C-4522-BFD6-824316FCC7D0@iotecdigital.com> Message-ID: <120ab553-0c60-3192-faa1-876cc14f7542@sonic.net> On linux it's very easy sudo arp-scan -l will give you a nice sorted list. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Tue Apr 13 23:29:21 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 13 Apr 2021 23:29:21 -0400 Subject: Mobile Scroller Advice Message-ID: Greetings on this lovely Tuesday evening. I'm in need of a little mobile scroller wisdom. I'm working on an app that runs on mobile devices (Apple and Android). We are presenting an image and have enabled the ability for the user to tap on the image to zoom in. Everything is working except the only way that I have been able to get the scroller to work reliably is to place the image at the top/left of the group. What we would really like to do is keep the image centered on the screen as it expands. It may be totally obvious, but before I spend a bunch of time throwing darts and hoping for a bullseye, I thought it would be good to at least ask for a little help. Thanks for any assistance you can provide, Brian From bobsneidar at iotecdigital.com Wed Apr 14 00:06:55 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 14 Apr 2021 04:06:55 +0000 Subject: Offtopic: Can anybody create a small DLL for me? In-Reply-To: <120ab553-0c60-3192-faa1-876cc14f7542@sonic.net> References: <006701d72f80$460d38f0$d227aad0$@kestner.de> <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> <004201d73060$6419b900$2c4d2b00$@kestner.de> <929D6353-A98C-4522-BFD6-824316FCC7D0@iotecdigital.com> <120ab553-0c60-3192-faa1-876cc14f7542@sonic.net> Message-ID: How do you tell which is the default adapter? Bob S > On Apr 13, 2021, at 8:00 PM, Mark Wieder via use-livecode wrote: > > On linux it's very easy > > sudo arp-scan -l > > will give you a nice sorted list. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Apr 14 00:11:27 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 14 Apr 2021 04:11:27 +0000 Subject: Offtopic: Can anybody create a small DLL for me? In-Reply-To: References: <006701d72f80$460d38f0$d227aad0$@kestner.de> <6C217D22-525C-40A9-AFE8-C9A9AB39F045@andregarzia.com> <004201d73060$6419b900$2c4d2b00$@kestner.de> <929D6353-A98C-4522-BFD6-824316FCC7D0@iotecdigital.com> <120ab553-0c60-3192-faa1-876cc14f7542@sonic.net> Message-ID: Plus sudo will require authentication, yes? That would not be automated. The purpose of my function is to be able to detect the default adapter and compare it to a stored last known adapter to see if it has changed. If it has, I have my app re-authenticate. Bob S On Apr 13, 2021, at 9:06 PM, Bob Sneidar via use-livecode > wrote: How do you tell which is the default adapter? Bob S On Apr 13, 2021, at 8:00 PM, Mark Wieder via use-livecode > wrote: On linux it's very easy sudo arp-scan -l will give you a nice sorted list. -- Mark Wieder ahsoftware at gmail.com From andre at andregarzia.com Wed Apr 14 05:19:18 2021 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 14 Apr 2021 10:19:18 +0100 Subject: On the dangers of automated refactoring In-Reply-To: <32426554-c1fc-57e3-f445-8b297a69931d@sonic.net> References: <32426554-c1fc-57e3-f445-8b297a69931d@sonic.net> Message-ID: > On 13 Apr 2021, at 16:28, Mark Wieder via use-livecode wrote: > > Ouch. Don't do that. I agree, that was not my decision. I maintaining this code but I?m not the original developer. From andre at andregarzia.com Wed Apr 14 05:20:54 2021 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 14 Apr 2021 10:20:54 +0100 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: Safety boots are a must for developing safe code. > On 13 Apr 2021, at 16:48, Bob Sneidar via use-livecode wrote: > > It's nothing short of a miracle that the shot didn't go INTO your foot. :-) > > Bob S > > >> On Apr 13, 2021, at 03:05 , Andre Garzia via use-livecode wrote: >> >> Let me tell you folks a recent story in which I tried to do exactly that and shot myself on the foot. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Wed Apr 14 05:23:18 2021 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 14 Apr 2021 10:23:18 +0100 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <58C49319-B845-40D0-93B8-6607BE0D90B8@andregarzia.com> That is the main issue, the code was using the wrong hungarian-lite prefixes. You?d see something like on myHandler pDataA ? end myHandler But, lo and behold, on top of the script there would be something like local pDataA Now, is that an argument to a handler? a script-local? It depends! Strict compilation mode doesn?t care about variable shadowing. > On 13 Apr 2021, at 17:48, Richard Gaskin via use-livecode wrote: > > Andre Garzia wrote: > > > What I didn?t realise was that there was variable shadowing happening > > in which handler arguments were named with the same name as script- > > local variables, my smart replacing removed those arguments because > > there was no need to redeclare the script-local vars. I didn?t realise > > at that time, that those variables were real arguments being passed to > > the handlers, they just happened to have the same name as script-local > > vars in the same script and were in fact shadowing them. > > Is this a case where "Strict Compilation Mode" or Hungarian-lite* notation may have been useful? > > > * http://www.fourthworld.com/embassy/articles/scriptstyle.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 peterwawood at gmail.com Wed Apr 14 05:24:46 2021 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 14 Apr 2021 17:24:46 +0800 Subject: On the dangers of automated refactoring In-Reply-To: <6F19C61C-C228-4E77-A2E0-C86D18304ACC@andregarzia.com> References: <8FB37671-B6C6-4F49-95B5-F20FB0A8AE08@gmail.com> <6F19C61C-C228-4E77-A2E0-C86D18304ACC@andregarzia.com> Message-ID: <88627997-CA5F-4AF3-9DAB-52504A535B01@gmail.com> Thanks Andre I enjoyed putting the library together though at the time unit testing and LiveCode just don?t go together. Personally I find developing with tests gives me peace of mind about my code. As for refactoring, normally defined as the process of improving code without changing it?s behaviour, having a set of tests make it so much more productive. LiveCode provides a really great platform for unit testing. The language makes it so much more simple to write unit tests of GUIs than any other language that I know. Even my small testing library could drive a GUI script. I don?t spend much time with LiveCode these days. I always wanted to explore the multimedia capabilities of LiveCode which seem to surfing off into the ether. I never really put the time into getting on top of the multimedia aspects of LiveCode and, in all probability, lack the creativity to build anything of note. PS Red Lang is going slowly. I haven?t been involved for a while. It?s mainly legacy Rebol, JavaScript, a little Lua and more JavaScript work for me these days. > On 13 Apr 2021, at 19:10, Andre Garzia via use-livecode wrote: > > Peter, > > This is neat! > > I also have a small test library, but mine is way less complete than yours. I never released it because it was quite incomplete. > > Maybe writing a tutorial or doing a small screencast showing it working might help people understand why it is important. I bet many here never used a unit testing library. > > PS: How?s Red Lang going? :D > >> On 13 Apr 2021, at 12:02, Peter W A Wood via use-livecode wrote: >> >> Hi Andre >> >>> On 13 Apr 2021, at 18:05, Andre Garzia via use-livecode wrote: >>> >>> We don?t even have unit testing libraries so that we can make sure our code works as expected. >> >> I published a simple unit testing library on GitHub but it din?t get any traction - https://github.com/PeterWAWood/LiveCode-MiniTest >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Wed Apr 14 09:51:12 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 14 Apr 2021 09:51:12 -0400 Subject: revBrowserNavigate Message-ID: <7bc55868a8a86d8f34142423b76d1587@souslelogo.com> Hi list, I am using revBrowserNavigate and have the following problem : sometimes some urls won't display, but they display fine when I enter them in the address bar of the browser. What am I missing and what should I check ? I am using LC Community 8.1.10. Thanks in advance. Best, jbv From panos.merakos at livecode.com Wed Apr 14 10:25:38 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 14 Apr 2021 17:25:38 +0300 Subject: [ANN] Release 9.6.2 RC-5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.2 RC-5. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.2 RC-5 comes with 2 regression fixes: - revUpdateGeometry in resizeStack handler causes a lock up when maximizing/unmaximizing stack on Big Sur - Script Editor not resizable - it is freezing up on Big Sur For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_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.1.x - LiveCode builds iOS apps using the iOS 14.1 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 end of June 2020, Apple is only accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From jacque at hyperactivesw.com Wed Apr 14 12:09:01 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Apr 2021 11:09:01 -0500 Subject: Mobile Scroller Advice In-Reply-To: References: Message-ID: <178d1249d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm a little confused. Do you want the zoom to happen within a group with a scroller? I've done this a different way. Delete any existing scroller, lock the screen, resize the image and its group, unlock the screen with a visual effect like zoom in or whatever. Then recreate the scroller at the new group size. Is that what you're asking? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 13, 2021 10:31:58 PM Brian Milby via use-livecode wrote: > Greetings on this lovely Tuesday evening. I'm in need of a little mobile > scroller wisdom. > > I'm working on an app that runs on mobile devices (Apple and Android). We > are presenting an image and have enabled the ability for the user to tap on > the image to zoom in. Everything is working except the only way that I > have been able to get the scroller to work reliably is to place the image > at the top/left of the group. What we would really like to do is keep the > image centered on the screen as it expands. > > It may be totally obvious, but before I spend a bunch of time throwing > darts and hoping for a bullseye, I thought it would be good to at least ask > for a little help. > > Thanks for any assistance you can provide, > Brian > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 14 12:43:17 2021 From: brian at milby7.com (Brian Milby) Date: Wed, 14 Apr 2021 12:43:17 -0400 Subject: Mobile Scroller Advice In-Reply-To: <178d1249d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <178d1249d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8AE72381-B531-4308-A01F-E1CD519C3DA2@milby7.com> It starts zoomed out with the whole image showing. A tap will zoom in about 25% each time until fully zoomed in (pixel match to display). The idea is that the image will zoom from the center instead of from the top/left. No transition effects are currently used. At each size, the user can scroll around the entire image. (It would actually be best to zoom around what is currently visible, but that is easy once I figure out the other piece.) The issue is that if viewing a very wide panorama, then jumping to the left side isn?t very appealing. Currently I do delete and recreate the scroller for each zoom, it just didn?t work right with the image centered in the group. Thanks, Brian Sent from my iPhone > On Apr 14, 2021, at 12:10 PM, J. Landman Gay via use-livecode wrote: > > ?I'm a little confused. Do you want the zoom to happen within a group with a scroller? > > I've done this a different way. Delete any existing scroller, lock the screen, resize the image and its group, unlock the screen with a visual effect like zoom in or whatever. Then recreate the scroller at the new group size. > > Is that what you're asking? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On April 13, 2021 10:31:58 PM Brian Milby via use-livecode wrote: >> >> Greetings on this lovely Tuesday evening. I'm in need of a little mobile >> scroller wisdom. >> >> I'm working on an app that runs on mobile devices (Apple and Android). We >> are presenting an image and have enabled the ability for the user to tap on >> the image to zoom in. Everything is working except the only way that I >> have been able to get the scroller to work reliably is to place the image >> at the top/left of the group. What we would really like to do is keep the >> image centered on the screen as it expands. >> >> It may be totally obvious, but before I spend a bunch of time throwing >> darts and hoping for a bullseye, I thought it would be good to at least ask >> for a little help. >> >> Thanks for any assistance you can provide, >> Brian >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 14 13:22:39 2021 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 14 Apr 2021 19:22:39 +0200 Subject: How do I change the textcolor of the selected text in a native iOS field? In-Reply-To: <24b7b31f-9455-0898-a461-028f9f6c447c@hyperactivesw.com> References: <24b7b31f-9455-0898-a461-028f9f6c447c@hyperactivesw.com> Message-ID: Thanks for pointing me to "selectedRange". put mobileControlGet ("field1", "selectedRange") into myTest -- answer myTest //gives range 1,5 mobileControlSet "field1", "textColor", "255,0,0" This doesn't work because all text will be colored and not just the selectedRange. greetings, William Op di 13 apr. 2021 om 21:11 schreef J. Landman Gay via use-livecode < use-livecode at lists.runrev.com>: > On 4/13/21 6:15 AM, William de Smet via use-livecode wrote: > > Hi there, > > > > How do I get the selectedText of a native iOS field? > > I want to change the color of the text selection in the field. > > I think you want "selectedRange" which returns the start index and the > length of the text > selected. Judging from the dictionary it looks like it only works on > multiline fields. > > > -- > 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 Wed Apr 14 13:46:39 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 14 Apr 2021 12:46:39 -0500 Subject: On the dangers of automated refactoring In-Reply-To: References: Message-ID: <9a1a83d7-b0a3-8b0d-cd57-523fe09055ee@hyperactivesw.com> On 4/13/21 4:07 PM, Curry Kenworthy via use-livecode wrote: > > The biggest code is the most repetitive and least modular! Not always, but often. I try to aim for the smallest code base, so I think the contest should be to solve a complex problem with the least amount of code. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Apr 14 15:15:18 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 14 Apr 2021 19:15:18 +0000 Subject: Windows 64 bit LC Still slow Message-ID: <86B8933A-6E0C-44CC-B90E-BCD7E146E982@iotecdigital.com> Just an update to a prior thread (which I cannot seem to find), LC for Windows 64 bit version is just as slow at accessing databases (and I will assume saving files) as the 32 bit version. I had previously brain farted and tested with the 32 bit version, but as far as I can tell there is not improvement in performance with 64 bit. Bob S From matthias_livecode_150811 at m-r-d.de Wed Apr 14 15:22:55 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 14 Apr 2021 21:22:55 +0200 Subject: Windows 64 bit LC Still slow In-Reply-To: <86B8933A-6E0C-44CC-B90E-BCD7E146E982@iotecdigital.com> References: <86B8933A-6E0C-44CC-B90E-BCD7E146E982@iotecdigital.com> Message-ID: <63A477AE-D9B9-478C-81E4-94EF722A143E@m-r-d.de> Should 64-bit programs be faster? I thought the advantage of 64bit programs is that they can access more memory (more than 3GB) and that they can perform 64-bit register operations, whatever that is. ;) Matthias Rebbe - Matthias Rebbe Life Is Too Short For Boring Code > Am 14.04.2021 um 21:15 schrieb Bob Sneidar via use-livecode : > > Just an update to a prior thread (which I cannot seem to find), LC for Windows 64 bit version is just as slow at accessing databases (and I will assume saving files) as the 32 bit version. I had previously brain farted and tested with the 32 bit version, but as far as I can tell there is not improvement in performance with 64 bit. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Apr 14 15:38:59 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 14 Apr 2021 20:38:59 +0100 Subject: On the dangers of automated refactoring In-Reply-To: <58C49319-B845-40D0-93B8-6607BE0D90B8@andregarzia.com> References: <58C49319-B845-40D0-93B8-6607BE0D90B8@andregarzia.com> Message-ID: On 14/04/2021 10:23, Andre Garzia via use-livecode wrote: > That is the main issue, the code was using the wrong hungarian-lite prefixes. You?d see something like > > on myHandler pDataA > ? > end myHandler > > > But, lo and behold, on top of the script there would be something like > > local pDataA > > Now, is that an argument to a handler? a script-local? It depends! Strict compilation mode doesn?t care about variable shadowing. Never mind strict compilation mode, I think this should be a "compile" error anyway. With or without strict-compilation : ? variable shadowing with a script-local and a handler-local is an error. ? variable shadowing with a parameter and a handler-local is an error. why on earth is variable shadowing between a script-local and a parameter not also an error. Alex. From bobsneidar at iotecdigital.com Wed Apr 14 15:54:57 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 14 Apr 2021 19:54:57 +0000 Subject: Windows 64 bit LC Still slow In-Reply-To: <86B8933A-6E0C-44CC-B90E-BCD7E146E982@iotecdigital.com> References: <86B8933A-6E0C-44CC-B90E-BCD7E146E982@iotecdigital.com> Message-ID: 32 bit programs running under a 64 bit OS have to run through an ?emulator? (that is probably not the right term for it). I was simply saying that I think we can eliminate the witness as a possible cause for why Windows standalone and the IDE run so much slower than on MacOS or Linux. Bob S > On Apr 14, 2021, at 12:15 PM, Bob Sneidar via use-livecode wrote: > > Just an update to a prior thread (which I cannot seem to find), LC for Windows 64 bit version is just as slow at accessing databases (and I will assume saving files) as the 32 bit version. I had previously brain farted and tested with the 32 bit version, but as far as I can tell there is not improvement in performance with 64 bit. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Apr 14 16:01:02 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 14 Apr 2021 16:01:02 -0400 Subject: On the dangers of automated refactoring In-Reply-To: References: <58C49319-B845-40D0-93B8-6607BE0D90B8@andregarzia.com> Message-ID: <007501d73168$e82f6920$b88e3b60$@net> Good question... I'm thinking it's the same reason that with strict compilation enabled a variable in a repeat loop does not have to be declared as a script local. If it is declared as a script local no shadow error occurs. A handler parameter in a way is the same as it doesn't need parameters to be declared. What is the scope of the variable vs. the handler parameter when the handler is running? That's bigger question. 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 Alex Tweedly via use-livecode Sent: Wednesday, April 14, 2021 3:39 PM To: use-livecode at lists.runrev.com Cc: Alex Tweedly Subject: Re: On the dangers of automated refactoring On 14/04/2021 10:23, Andre Garzia via use-livecode wrote: > That is the main issue, the code was using the wrong hungarian-lite > prefixes. You?d see something like > > on myHandler pDataA > ? > end myHandler > > > But, lo and behold, on top of the script there would be something like > > local pDataA > > Now, is that an argument to a handler? a script-local? It depends! Strict compilation mode doesn?t care about variable shadowing. Never mind strict compilation mode, I think this should be a "compile" error anyway. With or without strict-compilation : variable shadowing with a script-local and a handler-local is an error. variable shadowing with a parameter and a handler-local is an error. why on earth is variable shadowing between a script-local and a parameter not also an error. 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 curry at pair.com Wed Apr 14 16:06:25 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 14 Apr 2021 16:06:25 -0400 Subject: On the dangers of automated refactoring In-Reply-To: <9a1a83d7-b0a3-8b0d-cd57-523fe09055ee@hyperactivesw.com> References: <9a1a83d7-b0a3-8b0d-cd57-523fe09055ee@hyperactivesw.com> Message-ID: Me: >> The biggest code is the most repetitive and least modular! Jacqueline: > Not always, but often. I try to aim for the smallest code base, > so I think the contest should be to solve a complex problem > with the least amount of code. Yes, but not brevity for its own sake! Rather for maintainability, efficiency, and to avoid the code-org messes that people try to refactor their way out of after practicing bad habits. The optimal balance of brevity with performance, readability, and maintainability is where we'll find the best code! That'll be fairly tight code, but not always the very smallest. I do love concise code; I've seen some whopping humongous scripts! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From alex at tweedly.net Wed Apr 14 18:13:00 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 14 Apr 2021 23:13:00 +0100 Subject: On the dangers of automated refactoring In-Reply-To: <007501d73168$e82f6920$b88e3b60$@net> References: <58C49319-B845-40D0-93B8-6607BE0D90B8@andregarzia.com> <007501d73168$e82f6920$b88e3b60$@net> Message-ID: On 14/04/2021 21:01, Ralph DiMola via use-livecode wrote: > Good question... I'm thinking it's the same reason that with strict compilation enabled a variable in a repeat loop does not have to be declared as a script local. If it is declared as a script local no shadow error occurs. A handler parameter in a way is the same as it doesn't need parameters to be declared. > > What is the scope of the variable vs. the handler parameter when the handler is running? That's bigger question. The parameter is different from the script-local variable (i.e. changing it within the handler changes the parameter, not the script-local). (and, btw, the same non-reporting happens if it's a global shadowed by a parameter name). Alex. From bobsneidar at iotecdigital.com Wed Apr 14 18:16:53 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 14 Apr 2021 22:16:53 +0000 Subject: Windows 64 bit LC Still slow In-Reply-To: References: <86B8933A-6E0C-44CC-B90E-BCD7E146E982@iotecdigital.com> Message-ID: <813CEE24-BAEC-4C81-BBE1-CC61875420DF@iotecdigital.com> I think we can eliminate the BITNESS (stupid spell correct) Bob S > On Apr 14, 2021, at 12:54 , Bob Sneidar via use-livecode wrote: > > I think we can eliminate the witness as a possible cause From bobsneidar at iotecdigital.com Wed Apr 14 18:19:11 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 14 Apr 2021 22:19:11 +0000 Subject: On the dangers of automated refactoring In-Reply-To: References: <9a1a83d7-b0a3-8b0d-cd57-523fe09055ee@hyperactivesw.com> Message-ID: <1FD59A34-E90E-4F05-9CFF-D61E7F0BD74E@iotecdigital.com> For my part, I call a function and put the result into a variable. I try not to nest fucntions because I cannot easily tell what the result of each function is, making it harder to troubleshoot, and also to read my own code! For that reason my code is fairly verbose. Bob S > On Apr 14, 2021, at 13:06 , Curry Kenworthy via use-livecode wrote: > > Me: > > >> The biggest code is the most repetitive and least modular! > > Jacqueline: > > > Not always, but often. I try to aim for the smallest code base, > > so I think the contest should be to solve a complex problem > > with the least amount of code. > > Yes, but not brevity for its own sake! Rather for maintainability, > efficiency, and to avoid the code-org messes that people try to > refactor their way out of after practicing bad habits. > > The optimal balance of brevity with performance, readability, and maintainability is where we'll find the best code! > > That'll be fairly tight code, but not always the very smallest. > I do love concise code; I've seen some whopping humongous scripts! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ From brian at milby7.com Wed Apr 14 23:08:27 2021 From: brian at milby7.com (Brian Milby) Date: Wed, 14 Apr 2021 23:08:27 -0400 Subject: Mobile Scroller Advice In-Reply-To: <8AE72381-B531-4308-A01F-E1CD519C3DA2@milby7.com> References: <178d1249d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <8AE72381-B531-4308-A01F-E1CD519C3DA2@milby7.com> Message-ID: Thanks to a little off list help from Jacque, I was able to get this working. Here's the key piece: wait 10 milliseconds -- Panos workaround, bug #18924 mobileControlSet pName, "hScroll", the hScroll of control pName mobileControlSet pName, "vScroll", the vScroll of control pName The workaround in the bug report actually says wait 0 ms, but I found that I had to increase it a bit for it to work on my test Pixel (I didn't try to see how low I could go though). I'm replying to myself to put the information out there in case someone is searching the archives. Thanks all, Brian On Wed, Apr 14, 2021 at 12:43 PM Brian Milby wrote: > It starts zoomed out with the whole image showing. A tap will zoom in > about 25% each time until fully zoomed in (pixel match to display). The > idea is that the image will zoom from the center instead of from the > top/left. No transition effects are currently used. > > At each size, the user can scroll around the entire image. (It would > actually be best to zoom around what is currently visible, but that is easy > once I figure out the other piece.) > > The issue is that if viewing a very wide panorama, then jumping to the > left side isn?t very appealing. > > Currently I do delete and recreate the scroller for each zoom, it just > didn?t work right with the image centered in the group. > > Thanks, > Brian > > Sent from my iPhone > > > On Apr 14, 2021, at 12:10 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?I'm a little confused. Do you want the zoom to happen within a group > with a scroller? > > > > I've done this a different way. Delete any existing scroller, lock the > screen, resize the image and its group, unlock the screen with a visual > effect like zoom in or whatever. Then recreate the scroller at the new > group size. > > > > Is that what you're asking? > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > >> On April 13, 2021 10:31:58 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Greetings on this lovely Tuesday evening. I'm in need of a little > mobile > >> scroller wisdom. > >> > >> I'm working on an app that runs on mobile devices (Apple and Android). > We > >> are presenting an image and have enabled the ability for the user to > tap on > >> the image to zoom in. Everything is working except the only way that I > >> have been able to get the scroller to work reliably is to place the > image > >> at the top/left of the group. What we would really like to do is keep > the > >> image centered on the screen as it expands. > >> > >> It may be totally obvious, but before I spend a bunch of time throwing > >> darts and hoping for a bullseye, I thought it would be good to at least > ask > >> for a little help. > >> > >> Thanks for any assistance you can provide, > >> Brian > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 Thu Apr 15 05:31:52 2021 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 15 Apr 2021 10:31:52 +0100 Subject: On the dangers of automated refactoring In-Reply-To: <1FD59A34-E90E-4F05-9CFF-D61E7F0BD74E@iotecdigital.com> References: <9a1a83d7-b0a3-8b0d-cd57-523fe09055ee@hyperactivesw.com> <1FD59A34-E90E-4F05-9CFF-D61E7F0BD74E@iotecdigital.com> Message-ID: <30B20322-81CA-4678-9605-3838B63AC1FA@andregarzia.com> I like verbose code that is full of comments. I often have to revisit code that has been made by me five or even ten years ago, and usually never touched again since then. I need to be able to understand it without relying on my memory from way back when. That is why I often prefer code that is easier to maintain and understand over terse code. I understand that Jacque is not advocating for terseness, just for doing maintainable small codebases, which is exactly how I like to operate as well. In my mind, if a function is growing longer than the screen, then it is a really good candidate for breaking it up into smaller functions. As for the shadowing problem on the codebase I?m working, it is not really by design, it is how the code evolved. Mistakes were made, and now we?re all fixing them. It is just a good example how an attempt of RegEx based refactoring failed because the codebase had gotchas in it that I haven?t noticed before doing extensive refactoring and breaking stuff. Variable shadowing is a dangerous thing, for me it sits alongside globals as king and queen of the kingdom of "stuff that will come back to haunt you?. And that is the main issue: Without a more comprehensive knowledge of the code in a script, you can?t really assume that all variables with the same name, point to the same variable. Trying a "rename symbol? kind of procedure that acts on the whole script, might end up renaming the wrong variables. That is part of what happened to me. This is specially dangerous when globals are involved, as the global is renamed in a script but maybe not in others. In systems that load and unload stacks in demand, you can?t be sure that all occurrences of that global are in memory for you to search, there might be stacks lying on disk that use it that you?re not aware. This can happen on large codebases that are trying to save memory by being smart with what they put in memory. As you can see, this has also happened to us. > On 14 Apr 2021, at 23:19, Bob Sneidar via use-livecode wrote: > > For my part, I call a function and put the result into a variable. I try not to nest fucntions because I cannot easily tell what the result of each function is, making it harder to troubleshoot, and also to read my own code! For that reason my code is fairly verbose. > > Bob S > > >> On Apr 14, 2021, at 13:06 , Curry Kenworthy via use-livecode wrote: >> >> Me: >> >>>> The biggest code is the most repetitive and least modular! >> >> Jacqueline: >> >>> Not always, but often. I try to aim for the smallest code base, >>> so I think the contest should be to solve a complex problem >>> with the least amount of code. >> >> Yes, but not brevity for its own sake! Rather for maintainability, >> efficiency, and to avoid the code-org messes that people try to >> refactor their way out of after practicing bad habits. >> >> The optimal balance of brevity with performance, readability, and maintainability is where we'll find the best code! >> >> That'll be fairly tight code, but not always the very smallest. >> I do love concise code; I've seen some whopping humongous scripts! :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Apr 15 11:16:40 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 15 Apr 2021 17:16:40 +0200 Subject: Positioning object in a loclocked group Message-ID: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Hi all, I am sure there is a technical reason for this! 8-) I have a group set to 600*600 pixel and loclocked. Inside of the group there are two invisible objects, a button and a graphic. Now if I: ... create btn "b1" in grp "THE group" ## and set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY ... where whateverX and Y are definitively inside of that group! Then the button stays however in the topleft corner of the group. Even moving the button some pixels to right or down does not work. Why, oh, why? :-) Thanks for any insight! 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 Thu Apr 15 11:28:37 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 15 Apr 2021 11:28:37 -0400 Subject: Positioning object in a loclocked group In-Reply-To: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: I find positioning objects by script inside a location locked groups to be very non-intuitive as well. I wish there was a mode by which all object in a group - in the special mode - could be set and referenced by coordinates relative to the group. Something like set the relative loc of btn X in group Y to 120,120 -- places the center of the button 120px right and down from the left, top of the group (where ever that is) On 4/15/2021 11:16 AM, Klaus major-k via use-livecode wrote: > Hi all, > > I am sure there is a technical reason for this! 8-) > > I have a group set to 600*600 pixel and loclocked. > Inside of the group there are two invisible objects, > a button and a graphic. > > Now if I: > ... > create btn "b1" in grp "THE group" > ## and > set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY > ... > where whateverX and Y are definitively inside of that group! > > Then the button stays however in the topleft corner of the group. > Even moving the button some pixels to right or down does not work. > Why, oh, why? :-) > > Thanks for any insight! > > > 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 stephen at barncard.com Thu Apr 15 11:32:32 2021 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 15 Apr 2021 08:32:32 -0700 Subject: Positioning object in a loclocked group In-Reply-To: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: Well for one thing there?s a keyword in the name of the object. Try using a name like ?TheGroup? On Thu, Apr 15, 2021 at 08:17 Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I am sure there is a technical reason for this! 8-) > > I have a group set to 600*600 pixel and loclocked. > Inside of the group there are two invisible objects, > a button and a graphic. > > Now if I: > ... > create btn "b1" in grp "THE group" > ## and > set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY > ... > where whateverX and Y are definitively inside of that group! > > Then the button stays however in the topleft corner of the group. > Even moving the button some pixels to right or down does not work. > Why, oh, why? :-) > > Thanks for any insight! > > > 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 > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From klaus at major-k.de Thu Apr 15 11:44:05 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 15 Apr 2021 17:44:05 +0200 Subject: Positioning object in a loclocked group In-Reply-To: References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: <9348D772-6D24-4DA6-B850-AA3E6B2CD818@major-k.de> Hi Stepehen, > Am 15.04.2021 um 17:32 schrieb Stephen Barncard via use-livecode : > > Well for one thing there?s a keyword in the name of the object. > Try using a name like ?TheGroup? since this is a string, it does not matter! The actual name of my group is "galerie_km", but that does not change anything. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Thu Apr 15 12:07:30 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 15 Apr 2021 09:07:30 -0700 Subject: Positioning object in a loclocked group In-Reply-To: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: Klaus Major wrote: > I have a group set to 600*600 pixel and loclocked. > Inside of the group there are two invisible objects, > a button and a graphic. > > Now if I: > ... > create btn "b1" in grp "THE group" > ## and > set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY > ... > where whateverX and Y are definitively inside of that group! > > Then the button stays however in the topleft corner of the group. > Even moving the button some pixels to right or down does not work. > Why, oh, why? :-) This is counter to my experience, but I may not be understanding the issue. If you have a simple sample stack that evidences this, I can take a moment tonight to poke around and adjust the properties to set it right, and report back what was needed. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Thu Apr 15 12:22:02 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 15 Apr 2021 09:22:02 -0700 Subject: Positioning object in a loclocked group In-Reply-To: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: <93bf41ac-02bf-cbf1-2f78-88a84d102726@sonic.net> On 4/15/21 8:16 AM, Klaus major-k via use-livecode wrote: > Then the button stays however in the topleft corner of the group. > Even moving the button some pixels to right or down does not work. > Why, oh, why? :-) > > Thanks for any insight! Is it any different if you lock messages? -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Thu Apr 15 12:26:24 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 15 Apr 2021 18:26:24 +0200 Subject: Positioning object in a loclocked group In-Reply-To: References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: Hi Richard and all, > Am 15.04.2021 um 18:07 schrieb Richard Gaskin via use-livecode : > > Klaus Major wrote: >> I have a group set to 600*600 pixel and loclocked. >> Inside of the group there are two invisible objects, a button and a graphic. >> Now if I: >> ... >> create btn "b1" in grp "THE group" >> ## and >> set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY >> ... >> where whateverX and Y are definitively inside of that group! >> Then the button stays however in the topleft corner of the group. >> Even moving the button some pixels to right or down does not work. >> Why, oh, why? :-) > > This is counter to my experience, but I may not be understanding the issue. > If you have a simple sample stack that evidences this, I can take a moment tonight to poke around and adjust the properties to set it right, and report back what was needed. Thank you for your kind offer! I created a fresh stack with a grp and now it works!? -------------------------------------------- on mouseUp pMouseButton create button "b1" in grp "el_testo" set the loc of button "b1" of grp "el_testo" to the loc of this cd end mouseUp -------------------------------------------- No idea what was wrong with my other stack? Temporary hiccup maybe? :-) > > -- > Richard Gaskin 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 Thu Apr 15 12:27:21 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Apr 2021 11:27:21 -0500 Subject: Positioning object in a loclocked group In-Reply-To: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> References: <37AAAF61-D537-4C76-A752-03BC9497E48F@major-k.de> Message-ID: <178d65bc228.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That happened to me once and it turned out that I had a duplicate invisible control that was moving instead. If you turn on "show invisibles" you might find something. The extra control may not even be in the same group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 15, 2021 10:18:46 AM Klaus major-k via use-livecode wrote: > Hi all, > > I am sure there is a technical reason for this! 8-) > > I have a group set to 600*600 pixel and loclocked. > Inside of the group there are two invisible objects, > a button and a graphic. > > Now if I: > ... > create btn "b1" in grp "THE group" > ## and > set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY > ... > where whateverX and Y are definitively inside of that group! > > Then the button stays however in the topleft corner of the group. > Even moving the button some pixels to right or down does not work. > Why, oh, why? :-) > > Thanks for any insight! > > > 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 jacque at hyperactivesw.com Thu Apr 15 15:44:02 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 15 Apr 2021 14:44:02 -0500 Subject: How do I change the textcolor of the selected text in a native iOS field? In-Reply-To: References: <24b7b31f-9455-0898-a461-028f9f6c447c@hyperactivesw.com> Message-ID: <18c78223-13bc-0b17-8376-5299a8537af2@hyperactivesw.com> Yeah, I'm afraid you're right. I don't see any way set set a property on a range of characters in a native input control. If the app doesn't strictly need copy/paste you could probably use a LC field instead. On 4/14/21 12:22 PM, William de Smet via use-livecode wrote: > Thanks for pointing me to "selectedRange". > > put mobileControlGet ("field1", "selectedRange") into myTest > -- answer myTest //gives range 1,5 > mobileControlSet "field1", "textColor", "255,0,0" > > This doesn't work because all text will be colored and not just the > selectedRange. > > > greetings, > > William > > > > > Op di 13 apr. 2021 om 21:11 schreef J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com>: > >> On 4/13/21 6:15 AM, William de Smet via use-livecode wrote: >>> Hi there, >>> >>> How do I get the selectedText of a native iOS field? >>> I want to change the color of the text selection in the field. >> >> I think you want "selectedRange" which returns the start index and the >> length of the text >> selected. Judging from the dictionary it looks like it only works on >> multiline fields. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From thompsonmichael at shaw.ca Thu Apr 15 17:06:41 2021 From: thompsonmichael at shaw.ca (thompsonmichael at shaw.ca) Date: Thu, 15 Apr 2021 14:06:41 -0700 Subject: Positioning object in a loclocked group (Klaus major-k) Message-ID: <002601d7323b$3c55bc70$b5013550$@shaw.ca> Klaus: I am working with LC 9.6.1 Indy on a Dell PC running Windows 10. I first find a point in the group (in this case the topleft of btn "Button 1" Adjust it a little and then set the topright of the newly created button "New Button". This would be the equivalent of your "where whateverX and Y are definitively inside of that group" The script below works on my setup: There is a loclocked group named "Display Group" with an image and a button "Button 1" A button labeled "Create and Place a New Button in Group 'Display Group' out side the group has the following script: on mouseUp Lock Screen Put "Display Group" into tGroupName Put the width of btn "Button 1" of group tGroupName into tWidth Put the height of btn "Button 1" of group tGroupName into tHeight Create button "New Button" in group tGroupName ## Optional resizing of the new button Set the width btn "New Button" of group tGroupName to tWidth Set the height of btn "New Button" of group tGroupName to tHeight ## Get a point to locate the new button. Put the topLeft of btn "Button 1" of group tGroupName into tLocalTL Subtract 4 from item 1 of tLocalTL ## This tLocalTL is equivalent to your "whateverX,Y" Set the topRight of btn "New Button" of group tGroupName to tLocalTL end mouseUp This also works: On MouseUp Put "Display Group" into tGroupName Put the rect of group tGroupName into tGroupRect Put the loc of group tGroupName into tGroupLoc Put 99,232 into tNewBtnLoc --Put 400,400 into tNewBtnloc ## Try a point outside the rect of the loclocked group if tNewBtnLoc is within tGroupRect then Create button "New Button" in group tGroupName Set the loc of btn "New Button" to tNewBtnLoc else Answer "The position of the New button would be outside the bounds of the locked Group and therefore not visible on screen. Either unlock the group or choose a new location within the rect of the group ("& tGroupRect &")" --Answer "tGroupLoc = "& tGroupLoc &return&"tGroupRect = "&tGroupRect &return& "tNewBtnLoc = "&tNewBtnLoc end MouseUp Michael R Thompson From curry at pair.com Thu Apr 15 17:32:42 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 15 Apr 2021 17:32:42 -0400 Subject: On the dangers of automated refactoring In-Reply-To: <30B20322-81CA-4678-9605-3838B63AC1FA@andregarzia.com> References: <30B20322-81CA-4678-9605-3838B63AC1FA@andregarzia.com> Message-ID: <76e81f87-ca0b-d722-8ceb-eda75be0c972@pair.com> Andre: > I like verbose code that is full of comments. Ah yes, comments are good! But comments do not make code verbose. Terse code can be heavily commented, and vice versa. Commenting is not closely related to my issue, nor perhaps to yours. Me: > But there's an even bigger danger than the one already described: > If a script needs many repeated changes to fix a single problem, > usually that's because the code was not well-organized and modular. Among all truly gigantic scripts that perform simple tasks, usually you find habits of repetitive typing/pasting the same code. For example, some people like to write out iterations themselves, rather than using a repeat loop! It's like doing all the leg work. "Hey Mr. Computer, let me do that for you!" But it creates problems. Other people take a block of code or a handler for a task, copy it, paste it, and make a few modifications again for a similar task. And again. And again. Until there are dozens of similar blocks. That works great until a problem shows up in one of the blocks. After fixing it, congrats; only 49 other similar blocks to evaluate! Each may require the same fix, or a slightly different fix, or none; because each repeated code block or handler is a unique variation. This turns what should be a tiny change into a mammoth undertaking. :) Those are the habits that come back to haunt people later. They are easy to avoid with good habits, harder to fix down the road! That's why I'm careful to frequently warn about keeping code modular. > Trying a "rename symbol? kind of procedure that acts on the > whole script, might end up renaming the wrong variables. I agree; it's a problem. Each portion of a script should be handled with caution, with awareness of context, and with backups in place. Keyhole surgery, first do no harm, are my approach to operating on code. Good topic! Back to work.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ingar.roggen at sosiologi.uio.no Thu Apr 15 18:26:34 2021 From: ingar.roggen at sosiologi.uio.no (Ingar Roggen) Date: Thu, 15 Apr 2021 22:26:34 +0000 Subject: How do I change the textcolor of the selected text in a native iOS field? In-Reply-To: <18c78223-13bc-0b17-8376-5299a8537af2@hyperactivesw.com> References: <24b7b31f-9455-0898-a461-028f9f6c447c@hyperactivesw.com> , <18c78223-13bc-0b17-8376-5299a8537af2@hyperactivesw.com> Message-ID: <1618525594621.49256@sosiologi.uio.no> ________________________________________ From: use-livecode on behalf of J. Landman Gay via use-livecode Sent: 15 April 2021 21:44 To: How to use LiveCode Cc: J. Landman Gay Subject: Re: How do I change the textcolor of the selected text in a native iOS field? Yeah, I'm afraid you're right. I don't see any way set set a property on a range of characters in a native input control. If the app doesn't strictly need copy/paste you could probably use a LC field instead. On 4/14/21 12:22 PM, William de Smet via use-livecode wrote: > Thanks for pointing me to "selectedRange". > > put mobileControlGet ("field1", "selectedRange") into myTest > -- answer myTest //gives range 1,5 > mobileControlSet "field1", "textColor", "255,0,0" > > This doesn't work because all text will be colored and not just the > selectedRange. > > > greetings, > > William > > > > > Op di 13 apr. 2021 om 21:11 schreef J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com>: > >> On 4/13/21 6:15 AM, William de Smet via use-livecode wrote: >>> Hi there, >>> >>> How do I get the selectedText of a native iOS field? >>> I want to change the color of the text selection in the field. >> >> I think you want "selectedRange" which returns the start index and the >> length of the text >> selected. Judging from the dictionary it looks like it only works on >> multiline fields. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Apr 16 05:43:34 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 16 Apr 2021 10:43:34 +0100 Subject: Snapshot image density In-Reply-To: <1618525594621.49256@sosiologi.uio.no> References: <24b7b31f-9455-0898-a461-028f9f6c447c@hyperactivesw.com> <18c78223-13bc-0b17-8376-5299a8537af2@hyperactivesw.com> <1618525594621.49256@sosiologi.uio.no> Message-ID: <83E3C0D2-7BF0-424D-B962-DA98EAEEF842@gmail.com> Hi Livecoders, I have been thinking about offering snapshot image density options on an app which currently only offers (import) snapshot size options. I chose import snapshot script variant because users? machines may well react badly to an attempt to save an image (security). However, most of the software they use will allow a clipboard image to be pasted into a record. First question: Is it right that import snapshot doesn?t offer image density options as export snapshot does? If that is correct, (it is what the dictionary on 9.6.0 shows) question the second?.should I just export to the temp folder, immediately import, copy to clipboard and proceed as before? Or is there a more elegant route? (I suppose there is also a question 2.5, are temp folders always available irrespective of the severity of security restrictions which might be imposed?) The density options I want to offer are Screen (96 DPI) Print (300 DPI) Publication (1000 DPI) 3rd (double barrelled) question? Would the correct syntax to set up for publication density be 'put 1000 into snapshotArray[?density?]? and then to actually capture? 'export snapshot from objectref with metadata snapshotArray[?density?] to file ?SeeSR.png" as PNG I would investigate myself if I had the time, but sadly I also have to earn a living through my day job. Best Wishes, David Glasgow From klaus at major-k.de Fri Apr 16 06:23:31 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 12:23:31 +0200 Subject: Android splash and icon Message-ID: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> Hi friends, the docs are quite sparse on this, or did I miss this? But I already found that we need a 48*48 pixel png (really that small?) for an icon for our android apps. But what about the "splash"? What do we need to supply here? Or ist is enough to "fake" a splash screen with the first card of the stack? Know what I mean? App opens shows the first card as a "splash" screen and then automatically goes to the next card, which is the actual application. Thanks for any hints! P.S. Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever, and I am currently making my first steps on mobile. However the phone is just for testing with LC, I do not intend to actually make phone calls with it. :-) What I can say so far is, that the "Android Barcode Scanner" widget is really, really fast in scanning e.g. QR-codes. It recognizes the code before we can actually see it sharp- and clearly in the preview of the widget. :-D Now I have to find out how to pass the APK to a customer of mine without the use of the Google Play Store or something. Unfortunately my customer does not have a 64bit version of Windows, so installing "Android Studio" (64 bit only!) is not an option. I tried all available hints on the internet***, downloaded it and the phone asked me if I want to install that thing, I clicked YES and after a second I see: App was not installed (or what this tells in english) ***"Unknown software" etc... No dice so far. I will find a way... :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Fri Apr 16 07:58:21 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 13:58:21 +0200 Subject: Android Barcode Scanner widget Message-ID: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> Hi all, a problem with the barcode sacanner on Android. I have this script: --------------------------------------------- on barcodeDetected pBarcode, pID put pBarcode["raw value"] into tBarCode ## It definitively works answer tBarCode ## This works, too, fetch data from a good ol' lookup table: put tierinfo(tBarCode) into tData answer tData ## So tData is NOT empty, just a TAB delimited line of text if tData = EMPTY then exit to top end if ## The rest is never executed :-/ mobileVibrate 1 lock screen set itemdel to TAB set the icon of btn "bild" of grp "tierinfo" to item 3 of tData put item 5 of tData into fld "name" of grp "tierinfo2" ## Hide the widget hide widget "barcoder" ## Show button "scan again" show button "neuscannen" put item 5 of tData into tSound unlock screen if the environment = "mobile" then play (specialfolderpath("resources") & "/" & tSound) end if end barcodeDetected ------------------------------------------------------ However it does not vibrate nor is the rest of the script is being executed. What am I missing? 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 klaus at major-k.de Fri Apr 16 09:42:38 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 15:42:38 +0200 Subject: Android splash and icon In-Reply-To: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> References: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> Message-ID: <5D5A9A47-B0A0-41B5-A8C9-20DE293C0A38@major-k.de> Hi all, maybe this is helpful to others... > Am 16.04.2021 um 12:23 schrieb Klaus major-k via use-livecode : > ... > Now I have to find out how to pass the APK to a customer of mine without > the use of the Google Play Store or something. > > Unfortunately my customer does not have a 64bit version of Windows, so > installing "Android Studio" (64 bit only!) is not an option. > I tried all available hints on the internet***, downloaded it and the phone asked > me if I want to install that thing, I clicked YES and after a second I see: > App was not installed (or what this tells in english) > > ***"Unknown software" etc... > > No dice so far. > > I will find a way... :-) And I did! :-) I searched the LC android froum and read a lot of entries until I found the final hint: I selected "do not sign" in the Android settings, because I do not have any Google Dev ID or whatever (yet), but had to change it to "Sign for development only". Then I put it on my "Google Drive" and could finally install it from there on my own device! Puhhh... :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Fri Apr 16 11:17:42 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Apr 2021 08:17:42 -0700 Subject: Snapshot image density In-Reply-To: <83E3C0D2-7BF0-424D-B962-DA98EAEEF842@gmail.com> References: <83E3C0D2-7BF0-424D-B962-DA98EAEEF842@gmail.com> Message-ID: <4b3ac070-be72-2c37-10f6-6fce61d0ae08@fourthworld.com> David V Glasgow wrote: > Is it right that import snapshot doesn?t offer image density options > as export snapshot does? Is the metadata["density"] settable? I haven't used it so I can't say, but given how snapshotting works I'd be surprised if it lets us control the pixel density of LC's imaging buffer. My hunch is that it's there to inform other programs which may be used to display the image. I'd love to be wrong on that. > should I just export to the temp folder, immediately import, copy to > clipboard and proceed as before? Or is there a more elegant route? As of v7 or so you can also export to a variable, which can then be used to set the data of an image object without the intermediary file I/O. > are temp folders always available irrespective of the severity of > security restrictions which might be imposed?) Good question. I don't know; I'd always had the impression that tmp is a sort of free-for-all where sensitive data is understood to be inappropriate. Maybe modern systems sandbox tmp by app? -- 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 andrew at midwestcoastmedia.com Fri Apr 16 12:39:20 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Fri, 16 Apr 2021 12:39:20 -0400 Subject: Android splash and icon In-Reply-To: References: Message-ID: The Standalone Application Settings for this are not as intuitive as they could be. You do not need a splash screen, because it in fact does nothing on Android. The 48x48 icon you needed was the Status Bar Icon that is only used for Push/Local notifications. It would be nice if there was a tooltip on this like there is for the iOS icon variants that said what pixel size you needed. It would be even nicer if the Answer File window that opened up when you clicked the ? also told you that pixel dimension requirement so you could tell which file you were looking for. ?Andrew Bell > Date: Fri, 16 Apr 2021 12:23:31 +0200 > From: Klaus major-k > To: How to use LiveCode > Subject: Android splash and icon > > Hi friends, > > the docs are quite sparse on this, or did I miss this? > But I already found that we need a 48*48 pixel png > (really that small?) for an icon for our android apps. > > But what about the "splash"? > What do we need to supply here? > > Or ist is enough to "fake" a splash screen with the first card of the stack? > > Know what I mean? > App opens shows the first card as a "splash" screen and then automatically > goes to the next card, which is the actual application. > > Thanks for any hints! > > P.S. > Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever, > and I am currently making my first steps on mobile. > > However the phone is just for testing with LC, I do not intend to actually > make phone calls with it. :-) > > What I can say so far is, that the "Android Barcode Scanner" widget is really, > really fast in scanning e.g. QR-codes. It recognizes the code before we can > actually see it sharp- and clearly in the preview of the widget. :-D > > Now I have to find out how to pass the APK to a customer of mine without > the use of the Google Play Store or something. > > Unfortunately my customer does not have a 64bit version of Windows, so > installing "Android Studio" (64 bit only!) is not an option. > I tried all available hints on the internet***, downloaded it and the phone asked > me if I want to install that thing, I clicked YES and after a second I see: > App was not installed (or what this tells in english) > > ***"Unknown software" etc... > > No dice so far. > > I will find a way... :-) > > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > From klaus at major-k.de Fri Apr 16 12:48:43 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 18:48:43 +0200 Subject: Android splash and icon In-Reply-To: References: Message-ID: <05E284B9-041A-4AA1-A16E-3208F948536F@major-k.de> Hi Andrew, > Am 16.04.2021 um 18:39 schrieb Andrew at MidWest Coast Media via use-livecode : > > The Standalone Application Settings for this are not as intuitive as they could be. well said. :-) > You do not need a splash screen, because it in fact does nothing on Android. Ah, OK, thank you. > The 48x48 icon you needed was the Status Bar Icon that is only used for Push/Local notifications. It would be nice if there was a tooltip on this like there is for the iOS icon variants that said what pixel size you needed. It would be even nicer if the Answer File window that opened up when you clicked the ? also told you that pixel dimension requirement so you could tell which file you were looking for. Thanks, anyone knows how big the icon needs to be? Maybe even several icons in one file like the ICO files on Windows? Or any link to some useful page? On "android.developer" they only say -> 48 pixel, but that seems a bit too small, not? > ?Andrew Bell Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Fri Apr 16 14:18:57 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Apr 2021 13:18:57 -0500 Subject: Android splash and icon In-Reply-To: <05E284B9-041A-4AA1-A16E-3208F948536F@major-k.de> References: <05E284B9-041A-4AA1-A16E-3208F948536F@major-k.de> Message-ID: <0f2c4bce-af02-f2d0-a530-fee0c44aa15c@hyperactivesw.com> On 4/16/21 11:48 AM, Klaus major-k via use-livecode wrote: > Thanks, anyone knows how big the icon needs to be? > Maybe even several icons in one file like the ICO files on Windows? You can use any size you like and Android will scale it as needed. I used to use 96px because that was about as large as most phones would need, but I see that my last app used 1024px due to higher resolutions on newer devices. However, that app used a different type of icon. That's because Android has switched to bundled icons similar to iOS; they call it "adaptive icons". This takes some doing but Panos has outlined the instructions in a bug report here: This icon format is now required for submissions to the Play Store (or soon will be, I can't recall) and it does make icons look better. You need to create the base files in Android Studio, then make the changes Panos describes. On the other hand, if this is just for you and your client, you can use a single PNG at any size, at least for now. Future versions of Android OS may no longer support the older icon format. Congratulations on your first mobile device. Welcome to the new world. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Fri Apr 16 14:27:31 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 20:27:31 +0200 Subject: Android splash and icon In-Reply-To: <0f2c4bce-af02-f2d0-a530-fee0c44aa15c@hyperactivesw.com> References: <05E284B9-041A-4AA1-A16E-3208F948536F@major-k.de> <0f2c4bce-af02-f2d0-a530-fee0c44aa15c@hyperactivesw.com> Message-ID: <088D4581-C9B2-44A3-998A-9B0CBB37BFAE@major-k.de> Hi Jaques, > Am 16.04.2021 um 20:18 schrieb J. Landman Gay via use-livecode : > > On 4/16/21 11:48 AM, Klaus major-k via use-livecode wrote: >> Thanks, anyone knows how big the icon needs to be? >> Maybe even several icons in one file like the ICO files on Windows? > > You can use any size you like and Android will scale it as needed. I used to use 96px because that was about as large as most phones would need, but I see that my last app used 1024px due to higher resolutions on newer devices. However, that app used a different type of icon. > That's because Android has switched to bundled icons similar to iOS; they call it "adaptive icons". This takes some doing but Panos has outlined the instructions in a bug report here: ah, straigth forward as we are used with LC. 8-) > This icon format is now required for submissions to the Play Store (or soon will be, I can't recall) and it does make icons look better. You need to create the base files in Android Studio, then make the changes Panos describes. On the other hand, if this is just for you and your client, you can use a single PNG at any size, at least for now. Future versions of Android OS may no longer support the older icon format. OK, thank you very much! > Congratulations on your first mobile device. Welcome to the new world. :) Yo, if the steps to the new world would not be so steep... ;-) > -- > 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 Fri Apr 16 14:27:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Apr 2021 13:27:40 -0500 Subject: Android splash and icon In-Reply-To: <5D5A9A47-B0A0-41B5-A8C9-20DE293C0A38@major-k.de> References: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> <5D5A9A47-B0A0-41B5-A8C9-20DE293C0A38@major-k.de> Message-ID: <3df354e6-74c5-a747-b8eb-209397d412c6@hyperactivesw.com> On 4/16/21 8:42 AM, Klaus major-k via use-livecode wrote: > I searched the LC android froum and read a lot of entries until I found the final hint: > I selected "do not sign" in the Android settings, because I do not have any Google > Dev ID or whatever (yet), but had to change it to "Sign for development only". > > Then I put it on my "Google Drive" and could finally install it from there on my own device! That's one way. Another way is to turn off the verification that Android uses when installing a new app. Android ships with a restriction that only allows apps downloaded from the Play Store. You can remove that restriction by turning it off in Settings (the exact method varies depending on the version of the OS on the phone.) This explains it if you're curious: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Fri Apr 16 14:31:50 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 20:31:50 +0200 Subject: Android splash and icon In-Reply-To: <3df354e6-74c5-a747-b8eb-209397d412c6@hyperactivesw.com> References: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> <5D5A9A47-B0A0-41B5-A8C9-20DE293C0A38@major-k.de> <3df354e6-74c5-a747-b8eb-209397d412c6@hyperactivesw.com> Message-ID: Hi Jaques, > Am 16.04.2021 um 20:27 schrieb J. Landman Gay via use-livecode : > > On 4/16/21 8:42 AM, Klaus major-k via use-livecode wrote: >> I searched the LC android froum and read a lot of entries until I found the final hint: >> I selected "do not sign" in the Android settings, because I do not have any Google >> Dev ID or whatever (yet), but had to change it to "Sign for development only". >> Then I put it on my "Google Drive" and could finally install it from there on my own device! > > That's one way. Another way is to turn off the verification that Android uses when installing a new app. Android ships with a restriction that only allows apps downloaded from the Play Store. You can remove that restriction by turning it off in Settings (the exact method varies depending on the version of the OS on the phone.) > > This explains it if you're curious: > I already tried that, but failed because I had checked the wrong "sign" setting as I found out later. Will try again in the next time, 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 jacque at hyperactivesw.com Fri Apr 16 15:05:02 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Apr 2021 14:05:02 -0500 Subject: Android splash and icon In-Reply-To: <088D4581-C9B2-44A3-998A-9B0CBB37BFAE@major-k.de> References: <05E284B9-041A-4AA1-A16E-3208F948536F@major-k.de> <0f2c4bce-af02-f2d0-a530-fee0c44aa15c@hyperactivesw.com> <088D4581-C9B2-44A3-998A-9B0CBB37BFAE@major-k.de> Message-ID: On 4/16/21 1:27 PM, Klaus major-k via use-livecode wrote: > Yo, if the steps to the new world would not be so steep... ;-) They're only steep for a little while. I'm very enthusiastic about Android and I find it does so much more than iOS. I couldn't live without the special features and capabilities that only Google provides. If you need help, feel free to contact me off-list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeejeestudio at gmail.com Fri Apr 16 15:38:22 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 16 Apr 2021 21:38:22 +0200 Subject: Android Barcode Scanner widget In-Reply-To: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> Message-ID: <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> Hoi Klaus, on mouseUp if the environment is "mobile" then ?? mobileVibrate 3 ?? end if end mouseUp the vibrate has nothing to do with the barcode reader. But it could be a Rights issue, you can check if the app has rights to use the vibration, requsting these are also in the dictionary Op 16-4-2021 om 13:58 schreef Klaus major-k via use-livecode: > Hi all, > > a problem with the barcode sacanner on Android. > I have this script: > --------------------------------------------- > on barcodeDetected pBarcode, pID > put pBarcode["raw value"] into tBarCode > > ## It definitively works > answer tBarCode > > ## This works, too, fetch data from a good ol' lookup table: > put tierinfo(tBarCode) into tData > answer tData > > ## So tData is NOT empty, just a TAB delimited line of text > if tData = EMPTY then > exit to top > end if > > ## The rest is never executed :-/ > mobileVibrate 1 > > lock screen > set itemdel to TAB > set the icon of btn "bild" of grp "tierinfo" to item 3 of tData > put item 5 of tData into fld "name" of grp "tierinfo2" > > ## Hide the widget > hide widget "barcoder" > > ## Show button "scan again" > show button "neuscannen" > put item 5 of tData into tSound > unlock screen > if the environment = "mobile" then > play (specialfolderpath("resources") & "/" & tSound) > end if > end barcodeDetected > ------------------------------------------------------ > However it does not vibrate nor is the rest of the script is being executed. > What am I missing? > > 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 jeejeestudio at gmail.com Fri Apr 16 15:47:37 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 16 Apr 2021 21:47:37 +0200 Subject: revBrowserNavigate In-Reply-To: <7bc55868a8a86d8f34142423b76d1587@souslelogo.com> References: <7bc55868a8a86d8f34142423b76d1587@souslelogo.com> Message-ID: <6df6e579-eba1-1ea2-1769-ce58755d62ce@gmail.com> Why don't you use or test the latest 9.x.x version ? maybe a piece of script would help. Op 14-4-2021 om 15:51 schreef jbv via use-livecode: > Hi list, > I am using revBrowserNavigate and have the following problem : > sometimes some urls won't display, but they display fine when > I enter them in the address bar of the browser. > What am I missing and what should I check ? > I am using LC Community 8.1.10. > > Thanks in advance. Best, > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 16 15:54:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 21:54:34 +0200 Subject: Android Barcode Scanner widget In-Reply-To: <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> Message-ID: <930F22A4-AF4D-44BF-9B52-0B027F231724@major-k.de> Hoi JeeJee, > Am 16.04.2021 um 21:38 schrieb JeeJeeStudio via use-livecode : > > Hoi Klaus, > > on mouseUp > > if the environment is "mobile" then > mobileVibrate 3 > end if > end mouseUp > > the vibrate has nothing to do with the barcode reader. > But it could be a Rights issue, you can check if the app has rights to use the vibration, requsting these are also in the dictionary AHA! :-) Great hint, did not think of it, will check this tomorrow! Hartelijk bedankt! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Fri Apr 16 15:56:34 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 21:56:34 +0200 Subject: Android splash and icon In-Reply-To: References: <05E284B9-041A-4AA1-A16E-3208F948536F@major-k.de> <0f2c4bce-af02-f2d0-a530-fee0c44aa15c@hyperactivesw.com> <088D4581-C9B2-44A3-998A-9B0CBB37BFAE@major-k.de> Message-ID: Hi Jaques, > Am 16.04.2021 um 21:05 schrieb J. Landman Gay via use-livecode : > > On 4/16/21 1:27 PM, Klaus major-k via use-livecode wrote: >> Yo, if the steps to the new world would not be so steep... ;-) > > They're only steep for a little while. I'm very enthusiastic about Android and I find it does so much more than iOS. I couldn't live without the special features and capabilities that only Google provides. > > If you need help, feel free to contact me off-list. very kind, thank you very much, Jaques, will surely do! Sooner or later... :-) > -- > 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 Fri Apr 16 15:59:26 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 16 Apr 2021 14:59:26 -0500 Subject: Android Barcode Scanner widget In-Reply-To: <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> Message-ID: <5de7c140-75d5-f1c0-d10a-bcf6be67d3e9@hyperactivesw.com> On 4/16/21 2:38 PM, JeeJeeStudio via use-livecode wrote: > But it could be a Rights issue, you can check if the app has rights to use the vibration, > requsting these are also in the dictionary I can't get it to work either on my Pixel phone, nothing happens. There are no permission settings to control vibration. The phone is running Android 11, maybe something has changed for newer devices. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Fri Apr 16 16:04:43 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 16 Apr 2021 22:04:43 +0200 Subject: Android Barcode Scanner widget In-Reply-To: <5de7c140-75d5-f1c0-d10a-bcf6be67d3e9@hyperactivesw.com> References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> <5de7c140-75d5-f1c0-d10a-bcf6be67d3e9@hyperactivesw.com> Message-ID: Hi Jaques, > Am 16.04.2021 um 21:59 schrieb J. Landman Gay via use-livecode : > > On 4/16/21 2:38 PM, JeeJeeStudio via use-livecode wrote: >> But it could be a Rights issue, you can check if the app has rights to use the vibration, requsting these are also in the dictionary > > I can't get it to work either on my Pixel phone, nothing happens. There are no permission settings to control vibration. The phone is running Android 11, maybe something has changed for newer devices. I will comment out that part, see what happens and report back. Tomorrow. ;-) > -- > 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 dvglasgow at gmail.com Sat Apr 17 05:23:16 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sat, 17 Apr 2021 10:23:16 +0100 Subject: Snapshot image density In-Reply-To: <4b3ac070-be72-2c37-10f6-6fce61d0ae08@fourthworld.com> References: <83E3C0D2-7BF0-424D-B962-DA98EAEEF842@gmail.com> <4b3ac070-be72-2c37-10f6-6fce61d0ae08@fourthworld.com> Message-ID: <98BFC141-183A-42D8-8655-CBB9F804F512@gmail.com> Thanks Richard. > On 16 Apr 2021, at 4:17 pm, Richard Gaskin via use-livecode wrote: > > David V Glasgow wrote: > > > Is it right that import snapshot doesn?t offer image density options > > as export snapshot does? > > Is the metadata["density"] settable? > > I haven't used it so I can't say, but given how snapshotting works I'd be surprised if it lets us control the pixel density of LC's imaging buffer. My hunch is that it's there to inform other programs which may be used to display the image. I'd love to be wrong on that. > Hmmm maybe I have just completely misunderstood. The parameters dictionary entry for export snapshot says: object: Any valid object reference. size: The width,height of the snapshot in pixels. metadata array: The metadata is an array of metadata. Currently the only key supported is "density" with a value in pixels per inch (ppi). import snapshot parameters include rectDescription and stackRef, then : objectRef: Any valid card or control object reference. sizeDescription: The width and height of the snapshot in pixels, in the form height,width. no mention of a metadata array > > > should I just export to the temp folder, immediately import, copy to > > clipboard and proceed as before? Or is there a more elegant route? > > As of v7 or so you can also export to a variable, which can then be used to set the data of an image object without the intermediary file I/O. Thanks! That is useful to know. > > > > are temp folders always available irrespective of the severity of > > security restrictions which might be imposed?) > > Good question. I don't know; I'd always had the impression that tmp is a sort of free-for-all where sensitive data is understood to be inappropriate. Maybe modern systems sandbox tmp by app? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web Thanks for the information Richard, I will just have to try it out I guess. Maybe at the weekend. Cheers David G From klaus at major-k.de Sat Apr 17 06:36:22 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 17 Apr 2021 12:36:22 +0200 Subject: Android Barcode Scanner widget In-Reply-To: References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> <5de7c140-75d5-f1c0-d10a-bcf6be67d3e9@hyperactivesw.com> Message-ID: <7B22C1CF-2B53-41E2-8F30-6D7124751337@major-k.de> Hi all, > Am 16.04.2021 um 22:04 schrieb Klaus major-k via use-livecode : > > Hi Jaques, > >> Am 16.04.2021 um 21:59 schrieb J. Landman Gay via use-livecode : >> >> On 4/16/21 2:38 PM, JeeJeeStudio via use-livecode wrote: >>> But it could be a Rights issue, you can check if the app has rights to use the vibration, requsting these are also in the dictionary >> >> I can't get it to work either on my Pixel phone, nothing happens. There are no permission settings to control vibration. The phone is running Android 11, maybe something has changed for newer devices. > > I will comment out that part, see what happens and report back. > Tomorrow. ;-) oh boy, there IS in fact a permission checkbox for "Vibration", go figure!? :-D That explains my inconvenience. So back to work now, thanks for all hints so far, have a nice weekend! 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 Sat Apr 17 12:32:55 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 17 Apr 2021 11:32:55 -0500 Subject: Android Barcode Scanner widget In-Reply-To: <7B22C1CF-2B53-41E2-8F30-6D7124751337@major-k.de> References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> <5de7c140-75d5-f1c0-d10a-bcf6be67d3e9@hyperactivesw.com> <7B22C1CF-2B53-41E2-8F30-6D7124751337@major-k.de> Message-ID: <178e0ad92d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I see vibration permissions for specific actions (calls, keyboard, etc.) but no general permission for the entire device. Maybe this varies by manufacturer or OS version. Anyway, I'd like to know if it works now. Failure to vibrate shouldn't abort the rest of the handler. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 17, 2021 5:38:25 AM Klaus major-k via use-livecode wrote: > Hi all, > >> Am 16.04.2021 um 22:04 schrieb Klaus major-k via use-livecode >> : >> >> Hi Jaques, >> >>> Am 16.04.2021 um 21:59 schrieb J. Landman Gay via use-livecode >>> : >>> >>> On 4/16/21 2:38 PM, JeeJeeStudio via use-livecode wrote: >>>> But it could be a Rights issue, you can check if the app has rights to use >>>> the vibration, requsting these are also in the dictionary >>> >>> I can't get it to work either on my Pixel phone, nothing happens. There are >>> no permission settings to control vibration. The phone is running Android >>> 11, maybe something has changed for newer devices. >> >> I will comment out that part, see what happens and report back. >> Tomorrow. ;-) > > oh boy, there IS in fact a permission checkbox for "Vibration", go figure!? :-D > That explains my inconvenience. > > So back to work now, thanks for all hints so far, have a nice weekend! > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Apr 17 13:21:00 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Apr 2021 10:21:00 -0700 Subject: Snapshot image density In-Reply-To: <98BFC141-183A-42D8-8655-CBB9F804F512@gmail.com> References: <98BFC141-183A-42D8-8655-CBB9F804F512@gmail.com> Message-ID: <92df7968-b763-5252-0f62-77270d2191ae@fourthworld.com> David V Glasgow wrote: > On 16 Apr 2021, at 4:17 pm, Richard Gaskin wrote: >> >> Is the metadata["density"] settable? >> >> I haven't used it so I can't say, but given how snapshotting works >> I'd be surprised if it lets us control the pixel density of LC's >> imaging buffer. My hunch is that it's there to inform other programs >> which may be used to display the image. I'd love to be wrong on that. >> > > Hmmm maybe I have just completely misunderstood. The parameters > dictionary entry for export snapshot says: ... > metadata array: The metadata is an array of metadata. Currently > the only key supported is "density" with a value in pixels per inch > (ppi). ... > no mention of a metadata array What did I miss? The formatting of some Dict entries are still being tidied for Browser display so I sometimes overlook details there. >>> are temp folders always available irrespective of the severity of >>> security restrictions which might be imposed?) >> >> Good question. I don't know; I'd always had the impression that tmp >> is a sort of free-for-all where sensitive data is understood to be >> inappropriate. Maybe modern systems sandbox tmp by app? > > Thanks for the information Richard, I will just have to try it out I > guess. Maybe at the weekend. Please keep us posted with what you find. -- 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 jbv at souslelogo.com Sat Apr 17 14:00:52 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 17 Apr 2021 14:00:52 -0400 Subject: launch url and then close Message-ID: <58f1ae1f85486d0b8d36dc8a4f80a92e@souslelogo.com> Hi list, On desktop, when a browser window is opened outside of LC using the "launch url" command, is there a way to close the browser window after a while from the LC script ? I am not talking about the revbrowser, but the actual default browser. I guess the answer is "no", as I haven't found anything in the doc nor in the forum, but I'm asking anyway. And second question : when a URL is used in a revbrowser, the default browser is used by LC, but does it use the same http header as when the same url is entered in the address bar of the actual browser ? Thanks in advance From jeejeestudio at gmail.com Sat Apr 17 15:20:00 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 17 Apr 2021 21:20:00 +0200 Subject: Android Barcode Scanner widget In-Reply-To: <178e0ad92d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5A56EC95-79D3-4796-8B18-4BC1F75DE594@major-k.de> <9189d119-ddc7-06c6-0eb3-a0636d1a630e@gmail.com> <5de7c140-75d5-f1c0-d10a-bcf6be67d3e9@hyperactivesw.com> <7B22C1CF-2B53-41E2-8F30-6D7124751337@major-k.de> <178e0ad92d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Altijd welkom Klaus! Well I know there is a permission and although I did not request it in an app, one of my apps uses the vibration and on my Android 10 Xiaomi phone it asked for permission. Did not needed to give permission on an Android 8.1 So I hope it helps. Schones wochen ende! Op 17-4-2021 om 18:32 schreef J. Landman Gay via use-livecode: > I see vibration permissions for specific actions (calls, keyboard, > etc.) but no general permission for the entire device. Maybe this > varies by manufacturer or OS version. Anyway, I'd like to know if it > works now. Failure to vibrate shouldn't abort the rest of the handler. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 17, 2021 5:38:25 AM Klaus major-k via use-livecode > wrote: > >> Hi all, >> >>> Am 16.04.2021 um 22:04 schrieb Klaus major-k via use-livecode >>> : >>> >>> Hi Jaques, >>> >>>> Am 16.04.2021 um 21:59 schrieb J. Landman Gay via use-livecode >>>> : >>>> >>>> On 4/16/21 2:38 PM, JeeJeeStudio via use-livecode wrote: >>>>> But it could be a Rights issue, you can check if the app has >>>>> rights to use the vibration, requsting these are also in the >>>>> dictionary >>>> >>>> I can't get it to work either on my Pixel phone, nothing happens. >>>> There are no permission settings to control vibration. The phone is >>>> running Android 11, maybe something has changed for newer devices. >>> >>> I will comment out that part, see what happens and report back. >>> Tomorrow. ;-) >> >> oh boy, there IS in fact a permission checkbox for "Vibration", go >> figure!? :-D >> That explains my inconvenience. >> >> So back to work now, thanks for all hints so far, have a nice weekend! >> >> >> 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 tom at makeshyft.com Sat Apr 17 19:02:02 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 17 Apr 2021 19:02:02 -0400 Subject: launch url and then close In-Reply-To: <58f1ae1f85486d0b8d36dc8a4f80a92e@souslelogo.com> References: <58f1ae1f85486d0b8d36dc8a4f80a92e@souslelogo.com> Message-ID: If you really need to you can use VB Script to set focus of the window and the sending ALT-F4 keystrokes. or a VB Script command to close a window. Or Applescript .....if on mac. I'm sorry I cannot provide an example at the moment. But I hope that can set you on your way. On Sat, Apr 17, 2021 at 2:02 PM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > On desktop, when a browser window is opened outside > of LC using the "launch url" command, is there a way > to close the browser window after a while from the > LC script ? > I am not talking about the revbrowser, but the actual > default browser. > I guess the answer is "no", as I haven't found anything > in the doc nor in the forum, but I'm asking anyway. > > And second question : when a URL is used in a revbrowser, > the default browser is used by LC, but does it use the > same http header as when the same url is entered in the > address bar of the actual browser ? > > Thanks in advance > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Apr 17 19:02:35 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 17 Apr 2021 19:02:35 -0400 Subject: launch url and then close In-Reply-To: References: <58f1ae1f85486d0b8d36dc8a4f80a92e@souslelogo.com> Message-ID: sorry.... look up "do as" command for more info. On Sat, Apr 17, 2021 at 7:02 PM Tom Glod wrote: > If you really need to you can use VB Script to set focus of the window and > the sending ALT-F4 keystrokes. > or a VB Script command to close a window. > > Or Applescript .....if on mac. > > I'm sorry I cannot provide an example at the moment. But I hope that can > set you on your way. > > > > On Sat, Apr 17, 2021 at 2:02 PM jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi list, >> On desktop, when a browser window is opened outside >> of LC using the "launch url" command, is there a way >> to close the browser window after a while from the >> LC script ? >> I am not talking about the revbrowser, but the actual >> default browser. >> I guess the answer is "no", as I haven't found anything >> in the doc nor in the forum, but I'm asking anyway. >> >> And second question : when a URL is used in a revbrowser, >> the default browser is used by LC, but does it use the >> same http header as when the same url is entered in the >> address bar of the actual browser ? >> >> Thanks in advance >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From christer at mindcrea.com Sun Apr 18 14:31:35 2021 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Sun, 18 Apr 2021 21:31:35 +0300 Subject: Coming back from the past...? Message-ID: <158523F9-F2B3-4A52-8689-F6A5B1B38860@mindcrea.com> The last developments I did was back in 2016 - five long years ago, using Indy. Just for fun, I did a fast research and found out that there still might be market opportunity for the app I worked on. Trying to find out what?s new since 2016: - major developments in LC? - status in target adoptions, iOS vs Android, WEB adoption (Android was clean, Apple painful, HTML not there yet) in 2016? - Apple vs Google support & ease of use status (Google piece of cake, Apple very painful)? - cloud i.e. On-rev availability, compatibility with mobile engine version (not fully compatible)? - major restrictions & obstacles in publishing for Apple & Google (continuous tax changes in charging)? Rgds Pyyhti? Christer christer at mindcrea.com +358-400-410216 From gwjapp at gmail.com Mon Apr 19 11:52:37 2021 From: gwjapp at gmail.com (Gabe J) Date: Mon, 19 Apr 2021 10:52:37 -0500 Subject: Multiple stacks showing at once on mobile Message-ID: Hey All, Is it possible to have more than one stack showing at a time on mobile? Or is it always one stack showing at full-screen? Gabe From bobsneidar at iotecdigital.com Mon Apr 19 11:57:38 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Apr 2021 15:57:38 +0000 Subject: Android splash and icon In-Reply-To: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> References: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> Message-ID: <4F6C4AAF-87DD-453F-91CA-99BC32906997@iotecdigital.com> They can still find you and know everything about you. Unless your tin foil had is in working order. ;-) Bob S > On Apr 16, 2021, at 03:23 , Klaus major-k via use-livecode wrote: > > P.S. > Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever, > and I am currently making my first steps on mobile. > > However the phone is just for testing with LC, I do not intend to actually > make phone calls with it. :-) From ahsoftware at sonic.net Mon Apr 19 12:29:38 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 09:29:38 -0700 Subject: lineOffset wildcard Message-ID: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> I'm sure I'm missing something simple here but... I need to use a wildcard in the lineOffset function but I can't seem to find the correct invocation. put lineoffset("local*"&tFunctionName, tScript) into tPos always returns zero put lineoffset(tFunctionName, tScript) into tPos of course returns a line number, but possibly not the right one put lineoffset("local"&&tFunctionName, tScript) into tPos gives me the correct line in some cases but fails for local tSomeFunction,tOtherFunction Can anyone give me the correct syntax for using a wildcard string as an argument to lineOffset? Thanks in advance - I've spent enough time on my own trying to figger this out. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Mon Apr 19 12:37:04 2021 From: brian at milby7.com (Brian Milby) Date: Mon, 19 Apr 2021 12:37:04 -0400 Subject: Multiple stacks showing at once on mobile In-Reply-To: References: Message-ID: <75179261-5014-4E3E-B1F3-50A7A23270B9@milby7.com> Currently only one at a time, even if it does not render with content covering the whole screen (some full screen modes have black borders) Sent from my iPhone > On Apr 19, 2021, at 11:54 AM, Gabe J via use-livecode wrote: > > ?Hey All, > > Is it possible to have more than one stack showing at a time on mobile? Or > is it always one stack showing at full-screen? > > Gabe > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Apr 19 14:02:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Apr 2021 18:02:36 +0000 Subject: lineOffset wildcard In-Reply-To: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> Message-ID: <0992FD8E-7B50-4B33-9F67-554DFD83E1E0@iotecdigital.com> I think either matchText, or else wholematches used with some form of xOffset is what you want. Bob S > On Apr 19, 2021, at 09:29 , Mark Wieder via use-livecode wrote: > > I'm sure I'm missing something simple here but... > > I need to use a wildcard in the lineOffset function but I can't seem to find the correct invocation. > > put lineoffset("local*"&tFunctionName, tScript) into tPos > always returns zero > > put lineoffset(tFunctionName, tScript) into tPos > of course returns a line number, but possibly not the right one > > put lineoffset("local"&&tFunctionName, tScript) into tPos > gives me the correct line in some cases but fails for > local tSomeFunction,tOtherFunction > > Can anyone give me the correct syntax for using a wildcard string as an argument to lineOffset? Thanks in advance - I've spent enough time on my own trying to figger this out. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 19 14:04:33 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Apr 2021 13:04:33 -0500 Subject: lineOffset wildcard In-Reply-To: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> Message-ID: <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> On 4/19/21 11:29 AM, Mark Wieder via use-livecode wrote: > I'm sure I'm missing something simple here but... > > I need to use a wildcard in the lineOffset function but I can't seem to find the correct > invocation. > > put lineoffset("local*"&tFunctionName, tScript) into tPos > always returns zero > > put lineoffset(tFunctionName, tScript) into tPos > of course returns a line number, but possibly not the right one > > put lineoffset("local"&&tFunctionName, tScript) into tPos > gives me the correct line in some cases but fails for > local tSomeFunction,tOtherFunction > > Can anyone give me the correct syntax for using a wildcard string as an argument to lineOffset? > Thanks in advance - I've spent enough time on my own trying to figger this out. > I don't think lineoffset supports wildcards, but you could do it with matchChunk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Apr 19 14:13:41 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Apr 2021 18:13:41 +0000 Subject: lineOffset wildcard In-Reply-To: <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> Message-ID: <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> Why even embed the function? put "local" & tString & functionName() into tSearchString set wholeMatches to true put lineOffset(tSearchString) into tLine Or am I misunderstanding the problem (again)? :-) Bob S > On Apr 19, 2021, at 11:04 , J. Landman Gay via use-livecode wrote: > > On 4/19/21 11:29 AM, Mark Wieder via use-livecode wrote: >> I'm sure I'm missing something simple here but... >> I need to use a wildcard in the lineOffset function but I can't seem to find the correct invocation. >> put lineoffset("local*"&tFunctionName, tScript) into tPos >> always returns zero >> put lineoffset(tFunctionName, tScript) into tPos >> of course returns a line number, but possibly not the right one >> put lineoffset("local"&&tFunctionName, tScript) into tPos >> gives me the correct line in some cases but fails for >> local tSomeFunction,tOtherFunction >> Can anyone give me the correct syntax for using a wildcard string as an argument to lineOffset? Thanks in advance - I've spent enough time on my own trying to figger this out. > > I don't think lineoffset supports wildcards, but you could do it with matchChunk. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 19 14:20:36 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Apr 2021 13:20:36 -0500 Subject: Android splash and icon In-Reply-To: <4F6C4AAF-87DD-453F-91CA-99BC32906997@iotecdigital.com> References: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> <4F6C4AAF-87DD-453F-91CA-99BC32906997@iotecdigital.com> Message-ID: It's unlikely if the phone makes no calls, doesn't download any apps, and has location, targeted ads, and other relevant permissions turned off. I have four test phones, only one has an actual phone number, and the other three only connect to my Mac and are largely invisible to the world. I keep my tin foil hat on all the time. Up until Google required us to create a Google+ account (ick) I looked up what Google knew about me (which they don't show you any more.) Google thought I was a 35-year-old male and had no other info. Tin foil hats work! On 4/19/21 10:57 AM, Bob Sneidar via use-livecode wrote: > They can still find you and know everything about you. Unless your tin foil had is in working order. ;-) > > Bob S > > >> On Apr 16, 2021, at 03:23 , Klaus major-k via use-livecode wrote: >> >> P.S. >> Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever, >> and I am currently making my first steps on mobile. >> >> However the phone is just for testing with LC, I do not intend to actually >> make phone calls with it. :-) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Mon Apr 19 14:47:51 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 11:47:51 -0700 Subject: lineOffset wildcard In-Reply-To: <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> Message-ID: On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: > I don't think lineoffset supports wildcards, but you could do it with > matchChunk. > Ah! matchChunk and the the number of lines of... etc... That should do it. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 19 14:49:24 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 11:49:24 -0700 Subject: lineOffset wildcard In-Reply-To: <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> Message-ID: On 4/19/21 11:13 AM, Bob Sneidar via use-livecode wrote: > Why even embed the function? > > put "local" & tString & functionName() into tSearchString > set wholeMatches to true > put lineOffset(tSearchString) into tLine > > Or am I misunderstanding the problem (again)? :-) Been there. the wholematches doesn't affect the offset functions. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Apr 19 15:11:11 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Apr 2021 19:11:11 +0000 Subject: lineOffset wildcard In-Reply-To: References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> Message-ID: <8ED5FBF1-E906-48BA-9A75-5A602C61F80D@iotecdigital.com> Someone needs to update the dictionary then. wholeMatches Syntax set the wholeMatches to {true | false} Summary Specifies whether the lineOffset, wordOffset, and itemOffset functions search only for entire lines, words, or items. Bob S > On Apr 19, 2021, at 11:49 , Mark Wieder via use-livecode wrote: > > On 4/19/21 11:13 AM, Bob Sneidar via use-livecode wrote: >> Why even embed the function? >> put "local" & tString & functionName() into tSearchString >> set wholeMatches to true >> put lineOffset(tSearchString) into tLine >> Or am I misunderstanding the problem (again)? :-) > > Been there. > the wholematches doesn't affect the offset functions. > > -- > Mark Wieder > ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 19 15:32:42 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 12:32:42 -0700 Subject: lineOffset wildcard In-Reply-To: <8ED5FBF1-E906-48BA-9A75-5A602C61F80D@iotecdigital.com> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> <8ED5FBF1-E906-48BA-9A75-5A602C61F80D@iotecdigital.com> Message-ID: <9b2ff9d8-9792-c4d3-e715-cdb5347d6139@sonic.net> On 4/19/21 12:11 PM, Bob Sneidar via use-livecode wrote: > Someone needs to update the dictionary then. > > wholeMatches > > Syntax > set the wholeMatches to {true | false} > > Summary > Specifies whether the lineOffset, wordOffset, and itemOffset functions search only for entire lines, words, or items. Here's what I meant: setting the wholeMatches to true will match the input string verbatim, without regard to wildcards. So lineOffset("local tFunction", ttext) will only match local tFunction and lineOffset("local*tFunction", tText) will only match local*tFunction not local tFunction and not local someThing, tFunction, somethingElse -- Mark Wieder ahsoftware at gmail.com From kray at sonsothunder.com Mon Apr 19 16:02:59 2021 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 19 Apr 2021 15:02:59 -0500 Subject: lineOffset wildcard In-Reply-To: References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> Message-ID: <4971A20C-9FDD-4B2F-BF08-39B147475FA3@sonsothunder.com> > On Apr 19, 2021, at 1:47 PM, Mark Wieder via use-livecode wrote: > > On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: > >> I don't think lineoffset supports wildcards, but you could do it with matchChunk. > > Ah! matchChunk and the the number of lines of... etc... > That should do it. Another way to do it is to use 'filter' to get the text of the line that matches your wildcard, and then 'lineOffset' to find that line: put tScript into tTemp filter tTemp with ("local*" & tFunctionName & "*") put lineOffset((cr & tTemp & cr),(cr & tScript & cr)) into tPos Not sure if 'filter' is faster than 'matchChunk' when dealing with large scripts, but I have a feeling it might be... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Website: https://www.sonsothunder.com From bobsneidar at iotecdigital.com Mon Apr 19 18:02:39 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 19 Apr 2021 22:02:39 +0000 Subject: lineOffset wildcard In-Reply-To: <9b2ff9d8-9792-c4d3-e715-cdb5347d6139@sonic.net> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> <8ED5FBF1-E906-48BA-9A75-5A602C61F80D@iotecdigital.com> <9b2ff9d8-9792-c4d3-e715-cdb5347d6139@sonic.net> Message-ID: IOC I guess I did misunderstand after all. Bob S On Apr 19, 2021, at 12:32 PM, Mark Wieder via use-livecode > wrote: On 4/19/21 12:11 PM, Bob Sneidar via use-livecode wrote: Someone needs to update the dictionary then. wholeMatches Syntax set the wholeMatches to {true | false} Summary Specifies whether the lineOffset, wordOffset, and itemOffset functions search only for entire lines, words, or items. Here's what I meant: setting the wholeMatches to true will match the input string verbatim, without regard to wildcards. So lineOffset("local tFunction", ttext) will only match local tFunction and lineOffset("local*tFunction", tText) will only match local*tFunction not local tFunction and not local someThing, tFunction, somethingElse -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 19 19:03:27 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 16:03:27 -0700 Subject: lineOffset wildcard In-Reply-To: References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <984AD9C7-8438-468A-BA97-03B9042EEC8E@iotecdigital.com> <8ED5FBF1-E906-48BA-9A75-5A602C61F80D@iotecdigital.com> <9b2ff9d8-9792-c4d3-e715-cdb5347d6139@sonic.net> Message-ID: On 4/19/21 3:02 PM, Bob Sneidar via use-livecode wrote: > IOC I guess I did misunderstand after all. Nah... I should have worded it differently to start with. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 19 20:58:51 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 17:58:51 -0700 Subject: lineOffset wildcard In-Reply-To: <4971A20C-9FDD-4B2F-BF08-39B147475FA3@sonsothunder.com> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <4971A20C-9FDD-4B2F-BF08-39B147475FA3@sonsothunder.com> Message-ID: <0807d556-9ff8-5a21-4872-131fda05d213@sonic.net> On 4/19/21 1:02 PM, Ken Ray wrote: >> On Apr 19, 2021, at 1:47 PM, Mark Wieder via use-livecode >> > >> wrote: >> >> On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: >> >>> I don't think lineoffset supports wildcards, but you could do it with >>> matchChunk. >> >> Ah! matchChunk and the the number of lines of... etc... >> That should do it. > > Another way to do it is to use 'filter' to get the text of the line that > matches your wildcard, and then 'lineOffset' to find that line: > > put tScript into tTemp > filter tTemp with ("local*" & tFunctionName & "*") > put lineOffset((cr & tTemp & cr),(cr & tScript & cr)) into tPos > > Not sure if 'filter' is faster than 'matchChunk' when dealing with large > scripts, but I have a feeling it might be... Thanks, Ken. I'll try benchmarking this against Jacque's suggestion of matchChunk. Filter is normally pretty fast, but I'll have to use the regex version, and I'm not sure what the speed implications will be. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 19 21:14:52 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 18:14:52 -0700 Subject: lineOffset wildcard In-Reply-To: <0807d556-9ff8-5a21-4872-131fda05d213@sonic.net> References: <87296854-3909-fdea-fbca-9e756dc75b3b@sonic.net> <27327500-e468-51ea-cd32-558caddce8ba@hyperactivesw.com> <4971A20C-9FDD-4B2F-BF08-39B147475FA3@sonsothunder.com> <0807d556-9ff8-5a21-4872-131fda05d213@sonic.net> Message-ID: > I'll try benchmarking this against Jacque's suggestion of matchChunk. > Filter is normally pretty fast, but I'll have to use the regex version, > and I'm not sure what the speed implications will be. Benchmark result averages over 10 runs on a 2700-line script: filter lines of script 2612.6ms filter script 2572.1ms matchChunk 2424.3ms the code: put "^local.*"&tLocal&".*" into tRegexString put matchChunk(tScript, tRegexString, tStartPos, tEndPos) into tFound? if tFound? then put the number of lines in char 1 to tStartPos of tScript into tLine end if filter tScript with regex tRegexString into tFoundScript # alternate: no appreciable difference in timing # filter tScript with "local*"&tLocal&"*" into tFoundScript if tFoundScript is not empty then put lineoffset(tFoundScript, tScript) into tLine end if So matchChunk plus "the number of lines" is faster by ~150 milliseconds over 2700 lines of text than filter plus lineOffset. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 19 22:35:21 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 19 Apr 2021 19:35:21 -0700 Subject: rant: truewordOffset Message-ID: I'm also annoyed at truewordOffset. Consider this: you can get an offset in truewords (the number of truewords that occur before the given argument, but you can't get an offset *to* a given trueword. put truewordOffset(tString, tText, tSkip) will give you a value in truewords. And you can plug that value into tSkip for the next iteration to find the next occurence of the string. But only a string. You can't say put truewordOffset(trueword tTrueWord, tText, tSkip) And yes, I've got a one-line workaround for it, but what use is this on its own? You can't just say put truewordOffset("font", tText) into tOffset because it might encounter "fontTable" first. I can't come up with a use for truewordOffset the way it currently exists, and it isn't used in any of the IDE stacks, so apparently the team didn't have a use for it either. -- Mark Wieder ahsoftware at gmail.com From andre at andregarzia.com Tue Apr 20 06:46:45 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 20 Apr 2021 11:46:45 +0100 Subject: Enhancement request: show the execution contexts in debugger UI Message-ID: <52076627-B69C-4466-9612-B2F165705F11@andregarzia.com> Hi Folks, I?ve just submit an enhancement request to add a pane to the script editor to show the execution contexts in the debugger UI. I hope others feel like this is a good enhancement and will join in to support it. https://quality.livecode.com/show_bug.cgi?id=23175 Best A From alex at tweedly.net Tue Apr 20 07:21:37 2021 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 20 Apr 2021 12:21:37 +0100 Subject: Enhancement request: show the execution contexts in debugger UI In-Reply-To: <52076627-B69C-4466-9612-B2F165705F11@andregarzia.com> References: <52076627-B69C-4466-9612-B2F165705F11@andregarzia.com> Message-ID: I will join in to support (as soon as I remember which password gives me access). But I think it would be more useful to have this displayed as a "value" palette - similar to what you get when you double-click a variable - rather than another tabbed pane. Alex. On 20/04/2021 11:46, Andre Garzia via use-livecode wrote: > Hi Folks, > > I?ve just submit an enhancement request to add a pane to the script editor to show the execution contexts in the debugger UI. I hope others feel like this is a good enhancement and will join in to support it. > > https://quality.livecode.com/show_bug.cgi?id=23175 > > Best > A > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Apr 20 07:25:48 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 20 Apr 2021 13:25:48 +0200 Subject: native scroller cuts off parts of last line in a field Message-ID: Hi all, see subject... I have a field, I grouped it and in the IDE I show the vscrollbar of that group. I added two extra EMPTY lines at the end of that field AFTER the last line, and in the IDE I can read the last line and see the bit of white space below. Then I created a native scroller according to the LC lesseon and it works fine. -------------------------------------------------------------- ommand scrollererstellen put the rect of grp "scrollgroup" into tScrollerRect put 0,0,(the formattedWidth of group "scrollgroup"),(the formattedHeight of group "scrollgroup") into tContentRect mobileControlCreate "scroller", "links" mobileControlSet "links", "rect", tScrollerRect mobileControlSet "links", "contentRect", tContentRect mobileControlSet "links", "visible", true mobileControlSet "links", "scrollingEnabled", true mobileControlSet "links", "vIndicator", true mobileControlSet "links", "vscroll", 0 end scrollererstellen on scrollerDidScroll hOffset, vOffset set the vScroll of group "scrollgroup" to vOffset end scrollerDidScroll -------------------------------------------------------------- However the lower part of the last line is cut off in the native scroller and I do not see the two empty lines!? What am I missing? 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 brian at milby7.com Tue Apr 20 07:48:52 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 20 Apr 2021 07:48:52 -0400 Subject: native scroller cuts off parts of last line in a field In-Reply-To: References: Message-ID: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> I think that is just a bug. See here for workaround idea: https://github.com/Himalayan-Academy/Siva-Siva-App/blob/nightly/behaviors/behavior_mobileScroller.livecodescript Basic idea is to add 60 or so px to content region and then adjust a bit when not at the top. Requires adjustments in scrollerDidScroll handler. Thanks, Brian Sent from my iPhone > On Apr 20, 2021, at 7:26 AM, Klaus major-k via use-livecode wrote: > > ?Hi all, > > see subject... > > I have a field, I grouped it and in the IDE I show the vscrollbar > of that group. I added two extra EMPTY lines at the end of that field > AFTER the last line, and in the IDE I can read the last line and see the bit > of white space below. > > Then I created a native scroller according to the LC lesseon and it works fine. > -------------------------------------------------------------- > ommand scrollererstellen > put the rect of grp "scrollgroup" into tScrollerRect > put 0,0,(the formattedWidth of group "scrollgroup"),(the formattedHeight of group "scrollgroup") into tContentRect > mobileControlCreate "scroller", "links" > mobileControlSet "links", "rect", tScrollerRect > mobileControlSet "links", "contentRect", tContentRect > mobileControlSet "links", "visible", true > mobileControlSet "links", "scrollingEnabled", true > mobileControlSet "links", "vIndicator", true > mobileControlSet "links", "vscroll", 0 > end scrollererstellen > > on scrollerDidScroll hOffset, vOffset > set the vScroll of group "scrollgroup" to vOffset > end scrollerDidScroll > -------------------------------------------------------------- > However the lower part of the last line is cut off in the native scroller and I > do not see the two empty lines!? > What am I missing? > > 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 Tue Apr 20 07:56:37 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 20 Apr 2021 13:56:37 +0200 Subject: native scroller cuts off parts of last line in a field In-Reply-To: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> References: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> Message-ID: <8432F6A0-93B2-481E-BC5C-581F8843C1AE@major-k.de> Hi Brian, > Am 20.04.2021 um 13:48 schrieb Brian Milby via use-livecode : > > I think that is just a bug. wonderful! :-( > See here for workaround idea: > https://github.com/Himalayan-Academy/Siva-Siva-App/blob/nightly/behaviors/behavior_mobileScroller.livecodescript > Basic idea is to add 60 or so px to content region and then adjust a bit when not at the top. Requires adjustments in scrollerDidScroll handler. I even added a line of WHITE text (field has white background) at the end, but obviously LC does not see this!? Will try the workaround thank you! > Thanks, no, I thank YOU! 8-) > Brian Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From e.beugelaar at me.com Tue Apr 20 08:51:33 2021 From: e.beugelaar at me.com (e.beugelaar at me.com) Date: Tue, 20 Apr 2021 12:51:33 +0000 Subject: native scroller cuts off parts of last line in a field In-Reply-To: <8432F6A0-93B2-481E-BC5C-581F8843C1AE@major-k.de> References: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com>, <8432F6A0-93B2-481E-BC5C-581F8843C1AE@major-k.de> Message-ID: I am still wondering why layout issues anno 2021 has to be programmed manually for all devices. It is nonsense and don't make sense. I started programming with Clipper 5.x in text base environments and even in that period we had ClipDAS, i was co-writer of it, to draw virtual screens. Is it really so hard to add a general page designer to deal with positioning objects anno 2021! I dont want to spent my time on this stupid rect issues but instead focus on the business logic etc. Jesus. Met vriendelijke groet, Erik Beugelaar ________________________________ From: use-livecode on behalf of Klaus major-k via use-livecode Sent: Tuesday, April 20, 2021 1:56:37 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: native scroller cuts off parts of last line in a field Hi Brian, > Am 20.04.2021 um 13:48 schrieb Brian Milby via use-livecode : > > I think that is just a bug. wonderful! :-( > See here for workaround idea: > https://github.com/Himalayan-Academy/Siva-Siva-App/blob/nightly/behaviors/behavior_mobileScroller.livecodescript > Basic idea is to add 60 or so px to content region and then adjust a bit when not at the top. Requires adjustments in scrollerDidScroll handler. I even added a line of WHITE text (field has white background) at the end, but obviously LC does not see this!? Will try the workaround thank you! > Thanks, no, I thank YOU! 8-) > Brian Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Tue Apr 20 09:00:18 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 20 Apr 2021 13:00:18 +0000 Subject: rant: truewordOffset Message-ID: <9881C2B8-E497-4740-8AE5-6960EA6BA047@uni-wh.de> Mark Wieder wrote You can't just say put truewordOffset("font", tText) into tOffset because it might encounter "fontTable" first. If I set wholematches to true it works for me Kind regards Bernd From craig at starfirelighting.com Tue Apr 20 09:11:06 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 20 Apr 2021 09:11:06 -0400 Subject: Android splash and icon In-Reply-To: References: <20B71793-3240-40D1-B9D7-B608507CE52C@major-k.de> <4F6C4AAF-87DD-453F-91CA-99BC32906997@iotecdigital.com> Message-ID: <89178997-29B9-49BA-BE59-EED67A92EA56@starfirelighting.com> Security stuff aside, the comedian Gary Gulman asserts that the phone is the least used app on his phone. Craig > On Apr 19, 2021, at 2:20 PM, J. Landman Gay via use-livecode wrote: > > It's unlikely if the phone makes no calls, doesn't download any apps, and has location, targeted ads, and other relevant permissions turned off. I have four test phones, only one has an actual phone number, and the other three only connect to my Mac and are largely invisible to the world. > > I keep my tin foil hat on all the time. Up until Google required us to create a Google+ account (ick) I looked up what Google knew about me (which they don't show you any more.) Google thought I was a 35-year-old male and had no other info. Tin foil hats work! > > On 4/19/21 10:57 AM, Bob Sneidar via use-livecode wrote: >> They can still find you and know everything about you. Unless your tin foil had is in working order. ;-) >> Bob S >>> On Apr 16, 2021, at 03:23 , Klaus major-k via use-livecode wrote: >>> >>> P.S. >>> Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever, >>> and I am currently making my first steps on mobile. >>> >>> However the phone is just for testing with LC, I do not intend to actually >>> make phone calls with it. :-) > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Apr 20 12:04:55 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 20 Apr 2021 09:04:55 -0700 Subject: rant: truewordOffset In-Reply-To: <9881C2B8-E497-4740-8AE5-6960EA6BA047@uni-wh.de> References: <9881C2B8-E497-4740-8AE5-6960EA6BA047@uni-wh.de> Message-ID: On 4/20/21 6:00 AM, Niggemann, Bernd via use-livecode wrote: > Mark Wieder wrote > You can't just say > > put truewordOffset("font", tText) into tOffset > because it might encounter "fontTable" first. > > > If I set wholematches to true it works for me Unfortunately not here. Even with wholematches true truewordOffset("BT", tText) also catches instances of "btn" as well as "bt" I have to check the result: put truewordOffset(tValue, tText) into tPos if trueword tPos of pText is tValue then # we found a trueword end if -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Apr 20 12:05:35 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Apr 2021 11:05:35 -0500 Subject: Enhancement request: show the execution contexts in debugger UI In-Reply-To: <52076627-B69C-4466-9612-B2F165705F11@andregarzia.com> References: <52076627-B69C-4466-9612-B2F165705F11@andregarzia.com> Message-ID: <178f007a098.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There's a popdown button at the top left of the editor that shows the execution contexts. Do you need more information than that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2021 5:49:28 AM Andre Garzia via use-livecode wrote: > Hi Folks, > > I?ve just submit an enhancement request to add a pane to the script editor > to show the execution contexts in the debugger UI. I hope others feel like > this is a good enhancement and will join in to support it. > > https://quality.livecode.com/show_bug.cgi?id=23175 > > > Best > A > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 20 12:11:11 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 20 Apr 2021 11:11:11 -0500 Subject: native scroller cuts off parts of last line in a field In-Reply-To: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> References: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> Message-ID: <178f00cc118.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There's a thread here on the list somewhere when I had the same problem. I did need to add some pixels to the height of the scroller. I wonder if formattedHeight is miscalculated on mobile. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2021 6:51:25 AM Brian Milby via use-livecode wrote: > I think that is just a bug. See here for workaround idea: > > https://github.com/Himalayan-Academy/Siva-Siva-App/blob/nightly/behaviors/behavior_mobileScroller.livecodescript > > Basic idea is to add 60 or so px to content region and then adjust a bit > when not at the top. Requires adjustments in scrollerDidScroll handler. > > Thanks, > Brian > > Sent from my iPhone > >> On Apr 20, 2021, at 7:26 AM, Klaus major-k via use-livecode >> wrote: >> >> ?Hi all, >> >> see subject... >> >> I have a field, I grouped it and in the IDE I show the vscrollbar >> of that group. I added two extra EMPTY lines at the end of that field >> AFTER the last line, and in the IDE I can read the last line and see the bit >> of white space below. >> >> Then I created a native scroller according to the LC lesseon and it works fine. >> -------------------------------------------------------------- >> ommand scrollererstellen >> put the rect of grp "scrollgroup" into tScrollerRect >> put 0,0,(the formattedWidth of group "scrollgroup"),(the formattedHeight of >> group "scrollgroup") into tContentRect >> mobileControlCreate "scroller", "links" >> mobileControlSet "links", "rect", tScrollerRect >> mobileControlSet "links", "contentRect", tContentRect >> mobileControlSet "links", "visible", true >> mobileControlSet "links", "scrollingEnabled", true >> mobileControlSet "links", "vIndicator", true >> mobileControlSet "links", "vscroll", 0 >> end scrollererstellen >> >> on scrollerDidScroll hOffset, vOffset >> set the vScroll of group "scrollgroup" to vOffset >> end scrollerDidScroll >> -------------------------------------------------------------- >> However the lower part of the last line is cut off in the native scroller and I >> do not see the two empty lines!? >> What am I missing? >> >> 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 mark at livecode.com Tue Apr 20 12:12:58 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 20 Apr 2021 17:12:58 +0100 Subject: rant: truewordOffset In-Reply-To: References: <9881C2B8-E497-4740-8AE5-6960EA6BA047@uni-wh.de> Message-ID: On 2021-04-20 17:04, Mark Wieder via use-livecode wrote: > On 4/20/21 6:00 AM, Niggemann, Bernd via use-livecode wrote: >> Mark Wieder wrote >> You can't just say >> >> put truewordOffset("font", tText) into tOffset >> because it might encounter "fontTable" first. >> >> >> If I set wholematches to true it works for me > > Unfortunately not here. Even with wholematches true Works fine here too: set the wholeMatches to true put trueWordOffset("BT", "foo btn") => 0 set the wholeMatches to false put trueWordOffset("BT", "foo btn") => 2 Warmest Regards, Mark. P.S. Remember wholeMatches is a handler-local property not global - I only mention that because it sounds like it isn't actually the value you think when you are calling trueWordOffset. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ahsoftware at sonic.net Tue Apr 20 12:21:16 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 20 Apr 2021 09:21:16 -0700 Subject: rant: truewordOffset In-Reply-To: References: <9881C2B8-E497-4740-8AE5-6960EA6BA047@uni-wh.de> Message-ID: On 4/20/21 9:12 AM, Mark Waddingham via use-livecode wrote: > Works fine here too: > > set the wholeMatches to true > put trueWordOffset("BT", "foo btn") > ? => 0 > > set the wholeMatches to false > put trueWordOffset("BT", "foo btn") > ? => 2 > > Warmest Regards, > > Mark. > > P.S. Remember wholeMatches is a handler-local property not global - I > only mention that because it sounds like it isn't actually the value you > think when you are calling trueWordOffset. > nvm. Actually this was a side effect of another function. The truewordOffset function is indeed doing what it should, and I'm quite relieved to find that this was just an error in my own code. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Tue Apr 20 12:43:51 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 20 Apr 2021 18:43:51 +0200 Subject: native scroller cuts off parts of last line in a field In-Reply-To: <178f00cc118.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> <178f00cc118.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <518E9B4C-BBFA-4067-AEBE-FD15A7320847@major-k.de> Hi all, FYI, I created a report: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Tue Apr 20 15:58:48 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 20 Apr 2021 12:58:48 -0700 Subject: What exactly does "put" do on Server? Message-ID: Normally, HTTP is used for request-reply patterns, where the server receives the request, does some processing to it, and then sends back the reply. In a faceless environment like Server, "put" goes to stdout, yes? So when we say "put tData", then the contents of tData are handed back to Apache which then sends them along to the client. So what happens when I have a script that uses multiple "put" statements? Does LC Server buffer all "put" output together and send it as one string back to the client? If so, why do I see faster results if I collect data myself and use only one "put"? If not, how does it write a meaningful header, since the length can't be known in advance? What exactly is the Server engine doing with "put"? -- 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 tom at makeshyft.com Tue Apr 20 16:06:24 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 20 Apr 2021 16:06:24 -0400 Subject: What exactly does "put" do on Server? In-Reply-To: References: Message-ID: Following, I've wondered this, but never had enough motivation to test it. On Tue, Apr 20, 2021 at 4:00 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Normally, HTTP is used for request-reply patterns, where the server > receives the request, does some processing to it, and then sends back > the reply. > > In a faceless environment like Server, "put" goes to stdout, yes? So > when we say "put tData", then the contents of tData are handed back to > Apache which then sends them along to the client. > > So what happens when I have a script that uses multiple "put" statements? > > Does LC Server buffer all "put" output together and send it as one > string back to the client? > > If so, why do I see faster results if I collect data myself and use only > one "put"? > > If not, how does it write a meaningful header, since the length can't be > known in advance? > > What exactly is the Server engine doing with "put"? > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From markclark at mac.com Tue Apr 20 16:56:37 2021 From: markclark at mac.com (Mark Clark) Date: Tue, 20 Apr 2021 15:56:37 -0500 Subject: AWSS3 Redux In-Reply-To: <97D93A53-02B8-4536-A13A-0165E21DE738@me.com> References: <97D93A53-02B8-4536-A13A-0165E21DE738@me.com> Message-ID: <639FF896-2D39-4D49-83B1-A5389BE45B17@mac.com> The new ability to add an arbitrary S3 endpoint is pretty handy. Since I don?t think it?s made its way into an RC just yet, I was wondering if anyone has built a standalone with that feature enabled. So far my attempts have failed. Is there a knob to turn that I should know, but don?t? I have tried auto includes and manual inclusions (I added the alt aws library to my 9.6.2 RC2) Json lib MIME Library Amazon Web Services Object Repository Library (which I admit I got nothing there) Internet SSL & Encryption mergJSON tsNet Thanks, Mark From tom at makeshyft.com Tue Apr 20 17:48:38 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 20 Apr 2021 17:48:38 -0400 Subject: AWSS3 Redux In-Reply-To: <639FF896-2D39-4D49-83B1-A5389BE45B17@mac.com> References: <97D93A53-02B8-4536-A13A-0165E21DE738@me.com> <639FF896-2D39-4D49-83B1-A5389BE45B17@mac.com> Message-ID: Mark, Check the comments in the bug report for this ...and the new library file is attached by Monte. I agree...its handy + more. On Tue, Apr 20, 2021 at 4:58 PM Mark Clark via use-livecode < use-livecode at lists.runrev.com> wrote: > The new ability to add an arbitrary S3 endpoint is pretty handy. Since I > don?t think it?s made its way into an RC just yet, I was wondering if > anyone has built a standalone with that feature enabled. So far my attempts > have failed. Is there a knob to turn that I should know, but don?t? > > I have tried auto includes and manual inclusions (I added the alt aws > library to my 9.6.2 RC2) > > Json lib > MIME Library > Amazon Web Services > Object Repository Library (which I admit I got nothing there) > Internet > SSL & Encryption > mergJSON > tsNet > > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Tue Apr 20 21:01:34 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 20 Apr 2021 18:01:34 -0700 Subject: What exactly does "put" do on Server? In-Reply-To: References: Message-ID: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> Postman shows a single reply to the client from Apache. strace on the server shows each "put" implemented at the system level as a write to stdout. So it looks to me like Apache buffers writes it receives and sends all of it to the client in one go, with a header that accurately accounts for the total size of multiple "put"s in the Content-Length. I'm still curious to know how Apache knows when to send to the client - does it wait for the CGI to terminate? But for now, at least it seems we have an answer to the question of whether LC Server or Apache buffers the writes. -- Richard Gaskin Fourth World Systems Tom Glod wrote: > Following, I've wondered this, but never had enough motivation to test it. > > On Tue, Apr 20, 2021 at 4:00 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Normally, HTTP is used for request-reply patterns, where the server >> receives the request, does some processing to it, and then sends back >> the reply. >> >> In a faceless environment like Server, "put" goes to stdout, yes? So >> when we say "put tData", then the contents of tData are handed back to >> Apache which then sends them along to the client. >> >> So what happens when I have a script that uses multiple "put" statements? >> >> Does LC Server buffer all "put" output together and send it as one >> string back to the client? >> >> If so, why do I see faster results if I collect data myself and use only >> one "put"? >> >> If not, how does it write a meaningful header, since the length can't be >> known in advance? >> >> What exactly is the Server engine doing with "put"? >> >> -- >> Richard Gaskin >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 From ahsoftware at sonic.net Tue Apr 20 21:22:55 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 20 Apr 2021 18:22:55 -0700 Subject: What exactly does "put" do on Server? In-Reply-To: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> References: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> Message-ID: <9e753e46-904e-3316-f9d4-dde1bfab4d78@sonic.net> On 4/20/21 6:01 PM, Richard Gaskin via use-livecode wrote: > Postman shows a single reply to the client from Apache. > > strace on the server shows each "put" implemented at the system level as > a write to stdout. > > So it looks to me like Apache buffers writes it receives and sends all > of it to the client in one go, with a header that accurately accounts > for the total size of multiple "put"s in the Content-Length. > > I'm still curious to know how Apache knows when to send to the client - > does it wait for the CGI to terminate? > > But for now, at least it seems we have an answer to the question of > whether LC Server or Apache buffers the writes. Interesting. It's sounding like the stdout writes are being buffered until LC yields its process back to the system, and then Apache's process can pick things up again. But obviously I don't know. -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Tue Apr 20 22:09:51 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 20 Apr 2021 19:09:51 -0700 Subject: Typing Text Into a Locked Field -- Win Surface Message-ID: <412DA7E3-2708-40C9-BA9A-55B37D113D32@me.com> Hi, I have a customer (in China) who is reporting that she is able to type text into a locked field on a Windows Surface device. Context: a LC 9.6.1 runtime application installed on a Windows Surface computer (appears to be a laptop). Field settings: lockText = true transversalOn = true autoHilite = true Video sent to me: https://webfiles-pb.s3.us-east-1.amazonaws.com/video/TypeTextInLockedField.mp4 Another user in China with a standard Windows computer cannot reproduce that. I don?t have a Surface to try it out, but my Windows in Parallels installation of the app shows it functioning normally. Does anyone with a Surface see that happen? Peter Bogdanoff ArtsInteractive From bobsneidar at iotecdigital.com Wed Apr 21 11:15:58 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 21 Apr 2021 15:15:58 +0000 Subject: Typing Text Into a Locked Field -- Win Surface In-Reply-To: <412DA7E3-2708-40C9-BA9A-55B37D113D32@me.com> References: <412DA7E3-2708-40C9-BA9A-55B37D113D32@me.com> Message-ID: <3B675A9A-3C38-4EDA-B51F-ABBA2D0F9455@iotecdigital.com> Duplicate field? Bob S > On Apr 20, 2021, at 19:09 , Peter Bogdanoff via use-livecode wrote: > > Hi, > > I have a customer (in China) who is reporting that she is able to type text into a locked field on a Windows Surface device. > > Context: a LC 9.6.1 runtime application installed on a Windows Surface computer (appears to be a laptop). > > Field settings: > lockText = true > transversalOn = true > autoHilite = true From roland.huettmann at gmail.com Wed Apr 21 12:12:34 2021 From: roland.huettmann at gmail.com (R.H.) Date: Wed, 21 Apr 2021 18:12:34 +0200 Subject: Bug? Specific binary character throws errors in scripts (even when commented out) Message-ID: I am reading binary data from a .LNK file on Windows 10 using LC 9.6.1. There is a character that looks visually like a dot ".", but it is not, and using the chartonum() function or placing it in a script (even when commented out) results in an error message. The whole script will not work and be interpreted. I overcame the problem using this fragment in my parseSymbolicLink() function. ...put URL("binfile:"&pFilePath) into tContent1 ...put binaryDecode("a*",tContent1,tContent2) ...repeat for each char tChar in tContent1 .....put chartonum(tChar) into n .....if n > 31 then put tChar after tContent3 ...end repeat But nevertheless, it made me be curious. Also, probably everyone has seen this, sometimes, especially in list fields, characters scramble up in one place and become unreadable, this happens with some characters it seems, but also just with usual ASCII in long strings. It happens from time to time and I see it at least for the last 10 years... Are there such codepoints/characters that are known to stop the system from working in a script and using any function on them? Roland From bobsneidar at iotecdigital.com Wed Apr 21 12:31:11 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 21 Apr 2021 16:31:11 +0000 Subject: Bug? Specific binary character throws errors in scripts (even when commented out) In-Reply-To: References: Message-ID: <8091017D-8AF9-473F-94C3-839C84EB320C@iotecdigital.com> Hi Roland. I had similar issues with non-printing characters when drag-dropping data from an OCR'd PDF. Apparently in order for Adobe to get the OCR's text to get close to the positioning of the "text" in a scanned image, they have to pull some shenanigans. I used a similar approach to yours, which I call cleanAscii() which simply iterates through every character in the dragdata ["text"] and copies only the printable characters to a new variable which it returns. Bob S > On Apr 21, 2021, at 09:12 , R.H. via use-livecode wrote: > > I am reading binary data from a .LNK file on Windows 10 using LC 9.6.1. > > There is a character that looks visually like a dot ".", but it is not, and > using the chartonum() function or placing it in a script (even when > commented out) results in an error message. The whole script will not work > and be interpreted. > > I overcame the problem using this fragment in my parseSymbolicLink() > function. > > ...put URL("binfile:"&pFilePath) into tContent1 > ...put binaryDecode("a*",tContent1,tContent2) > ...repeat for each char tChar in tContent1 > .....put chartonum(tChar) into n > .....if n > 31 then put tChar after tContent3 > ...end repeat > > But nevertheless, it made me be curious. > > Also, probably everyone has seen this, sometimes, especially in list > fields, characters scramble up in one place and become unreadable, this > happens with some characters it seems, but also just with usual ASCII in > long strings. It happens from time to time and I see it at least for the > last 10 years... > > Are there such codepoints/characters that are known to stop the system from > working in a script and using any function on them? > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Apr 21 12:38:53 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 21 Apr 2021 12:38:53 -0400 Subject: What exactly does "put" do on Server? In-Reply-To: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> References: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> Message-ID: <004901d736cc$d3e15ff0$7ba41fd0$@net> If it's a POST then you must set the "Content-Length" in the header for xhttp requests. The client(chrome anyway) will fail. GETs don't require "Content-Length" to be set in the header. I don't know how multiple "put"s work for xhttp. Now I'm curious... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Tuesday, April 20, 2021 9:02 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: What exactly does "put" do on Server? Postman shows a single reply to the client from Apache. strace on the server shows each "put" implemented at the system level as a write to stdout. So it looks to me like Apache buffers writes it receives and sends all of it to the client in one go, with a header that accurately accounts for the total size of multiple "put"s in the Content-Length. I'm still curious to know how Apache knows when to send to the client - does it wait for the CGI to terminate? But for now, at least it seems we have an answer to the question of whether LC Server or Apache buffers the writes. -- Richard Gaskin Fourth World Systems Tom Glod wrote: > Following, I've wondered this, but never had enough motivation to test it. > > On Tue, Apr 20, 2021 at 4:00 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Normally, HTTP is used for request-reply patterns, where the server >> receives the request, does some processing to it, and then sends back >> the reply. >> >> In a faceless environment like Server, "put" goes to stdout, yes? So >> when we say "put tData", then the contents of tData are handed back to >> Apache which then sends them along to the client. >> >> So what happens when I have a script that uses multiple "put" statements? >> >> Does LC Server buffer all "put" output together and send it as one >> string back to the client? >> >> If so, why do I see faster results if I collect data myself and use only >> one "put"? >> >> If not, how does it write a meaningful header, since the length can't be >> known in advance? >> >> What exactly is the Server engine doing with "put"? >> >> -- >> Richard Gaskin >> > > > -- > 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 klaus at major-k.de Wed Apr 21 13:25:49 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 21 Apr 2021 19:25:49 +0200 Subject: native scroller cuts off parts of last line in a field In-Reply-To: <518E9B4C-BBFA-4067-AEBE-FD15A7320847@major-k.de> References: <9FD2A7D7-E200-4062-9BE7-BFFB956EFEED@milby7.com> <178f00cc118.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <518E9B4C-BBFA-4067-AEBE-FD15A7320847@major-k.de> Message-ID: <3E6347D9-7315-45B2-84E5-4D838993AFCF@major-k.de> > Am 20.04.2021 um 18:43 schrieb Klaus major-k via use-livecode : > > Hi all, > > FYI, I created a report: > since this is a basic and VERY important feature, please add a comment. Especially if this is also the case on iOS, thanks! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From markclark at mac.com Wed Apr 21 13:58:16 2021 From: markclark at mac.com (Mark Clark) Date: Wed, 21 Apr 2021 12:58:16 -0500 Subject: use-livecode Digest, Vol 211, Issue 27 (AWSS3 in standalone) In-Reply-To: References: Message-ID: <7FAEFFA3-9ADA-4C0D-996D-3EAC88519810@mac.com> Thanks Tom?I am using it within the dev envionment and it?s a godsend, for sure:) Much better than calling s3cmd or mc client from shell. But my problem (and it must be mine, lol) is that the same stack that runs well within the development environment fails when I save it as a standalone. So that?s sort of where I am stuck. I have hesitated to file a bug since it is likely just something wrong with me/my environment. Have you been able to create a standalone with the new version? Did you search for inclusions or hand pick them?did I omit something from the list? I just dunno:) I dropped in the replacement from the bug report area and all is well within dev. Build standalone, just doesn?t work at all. From the Mac console I am seeing this (why is this being done, I wonder) asynchronously fetching CRL (http://crl.identrust.com/DSTROOTCAX3CRL.crl) for client (Report Server[26475]/0#-1 LF=0) And also-- UNIX error exception: 17 which may be? Macro: int EEXIST ?File exists.? An existing file was specified in a context where it only makes sense to specify a new file. And finally this-- LSExceptions shared instance invalidated for timeout. I did go ahead and codesign-notarize, etc., but still no love. Are you able to build a standalone using the new lib? At least if I know someone else is successful I can be alone in my failures..;) Mark > On Apr 21, 2021, at 11:00 AM, use-livecode-request at lists.runrev.com wrote: > > Check the comments in the bug report for this ...and the new library file > is attached by Monte. > I agree...its handy + more. From lists at mangomultimedia.com Wed Apr 21 14:02:56 2021 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 21 Apr 2021 13:02:56 -0500 Subject: Changes to revsecurity.dylib in LC 9.6.2? Message-ID: This is a question for the LIveCode engineers. Did anything change with how revsecurity.dylib is built for LC 9.6.2 compared to previous versions of LC? I just built my application using LC 9.6.2 RC-5 in order to test. I'm packaging the app with Levure, which uses the Standalone Builder. The app works just fine when built with LC 9.6.1 RC 1 and it works in the LC 9.6.2 RC-5 IDE. The app also works when run on Windows. But when I run the application on macOS encryption calls fails with the error "ssl library not found". Looking at the Console logs on macOS I see this error default 12:49:42.154433-0500 kernel /Users/xyz/path-to-app/Contents/MacOS/revsecurity.dylib: Possible race detected. Rejecting. A search for "Possible race detected. Rejecting" lead me to this thread where an Apple engineer asked if the file that was loading is "built against a modern macOS SDK (10.9 or later)?" (there is no answer yet). https://developer.apple.com/forums/thread/677250 I'm going to do some further testing where I swap out the old revsecurity.dylib and also try running the app prior to signing and notarization. I'll provide an update once I am able to run those tests. -- Trevor DeVore ScreenSteps www.screensteps.com From merakosp at gmail.com Wed Apr 21 14:10:00 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 21 Apr 2021 21:10:00 +0300 Subject: Changes to revsecurity.dylib in LC 9.6.2? In-Reply-To: References: Message-ID: Hello Trevor, Are you using any entitlements when signing the standalone? Could you try adding the one that disables library validation? Kind regards, Panos On Wed, 21 Apr 2021, 21:04 Trevor DeVore via use-livecode, < use-livecode at lists.runrev.com> wrote: > This is a question for the LIveCode engineers. Did anything change with how > revsecurity.dylib is built for LC 9.6.2 compared to previous versions of > LC? > > I just built my application using LC 9.6.2 RC-5 in order to test. I'm > packaging the app with Levure, which uses the Standalone Builder. The app > works just fine when built with LC 9.6.1 RC 1 and it works in the LC 9.6.2 > RC-5 IDE. The app also works when run on Windows. But when I run the > application on macOS encryption calls fails with the error "ssl library not > found". > > Looking at the Console logs on macOS I see this error > > default 12:49:42.154433-0500 kernel > /Users/xyz/path-to-app/Contents/MacOS/revsecurity.dylib: Possible race > detected. Rejecting. > > A search for "Possible race detected. Rejecting" lead me to this thread > where an Apple engineer asked if the file that was loading is "built > against a modern macOS SDK (10.9 or later)?" (there is no answer yet). > > https://developer.apple.com/forums/thread/677250 > > I'm going to do some further testing where I swap out the old > revsecurity.dylib and also try running the app prior to signing and > notarization. I'll provide an update once I am able to run those tests. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at midwestcoastmedia.com Wed Apr 21 14:10:59 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Wed, 21 Apr 2021 14:10:59 -0400 Subject: native scroller cuts off parts of last line in a field In-Reply-To: References: Message-ID: Sorry to chime in late, but do you have the fullscreenMode of the stack set? This sounds like a problem that I noticed @ https://quality.livecode.com/show_bug.cgi?id=21456 ?Andrew Bell > > Date: Tue, 20 Apr 2021 18:43:51 +0200 > From: Klaus major-k > Subject: Re: native scroller cuts off parts of last line in a field > Message-ID: <518E9B4C-BBFA-4067-AEBE-FD15A7320847 at major-k.de> > Content-Type: text/plain; charset=us-ascii > > Hi all, > > FYI, I created a report: > > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > From merakosp at gmail.com Wed Apr 21 14:17:46 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 21 Apr 2021 21:17:46 +0300 Subject: Changes to revsecurity.dylib in LC 9.6.2? In-Reply-To: References: Message-ID: Also, I am not entirely sure but I think LC 9.6.2 rc-1 and above was built with xcode 12.x, whereas 9.6.1 was built with Xcode 11.x. However, in both cases LC was built against the macosx10.9 sdk. Btw, the error msg and what you see looks similar to this report about revzip https://quality.livecode.com/show_bug.cgi?id=23176, that's why I suggested using entitlements when signing. Cheers, Panos On Wed, 21 Apr 2021, 21:10 panagiotis merakos, wrote: > Hello Trevor, > > Are you using any entitlements when signing the standalone? Could you try > adding the one that disables library validation? > > Kind regards, > Panos > > On Wed, 21 Apr 2021, 21:04 Trevor DeVore via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> This is a question for the LIveCode engineers. Did anything change with >> how >> revsecurity.dylib is built for LC 9.6.2 compared to previous versions of >> LC? >> >> I just built my application using LC 9.6.2 RC-5 in order to test. I'm >> packaging the app with Levure, which uses the Standalone Builder. The app >> works just fine when built with LC 9.6.1 RC 1 and it works in the LC 9.6.2 >> RC-5 IDE. The app also works when run on Windows. But when I run the >> application on macOS encryption calls fails with the error "ssl library >> not >> found". >> >> Looking at the Console logs on macOS I see this error >> >> default 12:49:42.154433-0500 kernel >> /Users/xyz/path-to-app/Contents/MacOS/revsecurity.dylib: Possible race >> detected. Rejecting. >> >> A search for "Possible race detected. Rejecting" lead me to this thread >> where an Apple engineer asked if the file that was loading is "built >> against a modern macOS SDK (10.9 or later)?" (there is no answer yet). >> >> https://developer.apple.com/forums/thread/677250 >> >> I'm going to do some further testing where I swap out the old >> revsecurity.dylib and also try running the app prior to signing and >> notarization. I'll provide an update once I am able to run those tests. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From klaus at major-k.de Wed Apr 21 14:37:01 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 21 Apr 2021 20:37:01 +0200 Subject: native scroller cuts off parts of last line in a field In-Reply-To: References: Message-ID: <087ED626-5753-4A59-A9B2-75C4F7D6EE44@major-k.de> Hi andrew, > Am 21.04.2021 um 20:10 schrieb Andrew at MidWest Coast Media via use-livecode : > > Sorry to chime in late, but do you have the fullscreenMode of the stack set? yes, sure! :-D > This sounds like a problem that I noticed @ https://quality.livecode.com/show_bug.cgi?id=21456 Thank you, that is exactly what I experienced, I added a comment. Hopefully this serious showstopper will get fixed soon! > ?Andrew Bell >> >> Date: Tue, 20 Apr 2021 18:43:51 +0200 >> >> Hi all, >> FYI, I created a report: >> Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From lists at mangomultimedia.com Wed Apr 21 14:56:56 2021 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 21 Apr 2021 13:56:56 -0500 Subject: Changes to revsecurity.dylib in LC 9.6.2? In-Reply-To: References: Message-ID: On Wed, Apr 21, 2021 at 1:19 PM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Also, I am not entirely sure but I think LC 9.6.2 rc-1 and above was built > with xcode 12.x, whereas 9.6.1 was built with Xcode 11.x. However, in both > cases LC was built against the macosx10.9 sdk. > > Btw, the error msg and what you see looks similar to this report about > revzip https://quality.livecode.com/show_bug.cgi?id=23176, that's why I > suggested using entitlements when signing. Panos, Adding the `com.apple.security.cs.disable-library-validation` entitlement solved the problem. Thanks! It does make me wonder why it is needed, however. I would prefer not to disable a check if possible. Regardless, I'm happy to have the app running again. -- Trevor DeVore ScreenSteps www.screensteps.com From klaus at major-k.de Thu Apr 22 09:17:09 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 22 Apr 2021 15:17:09 +0200 Subject: PDF Widget Message-ID: <3C0B025F-F022-47E6-8853-3ADFDB56C448@major-k.de> Hi all, as far as I know the "PDF widget" is only available in the BUSINESS Version of Livecode. I already asked this in the past, but I would like to be able to buy this widget separately. Any idea if LC is planning to sell this separately at some time in the future? 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 Thu Apr 22 09:21:52 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 22 Apr 2021 09:21:52 -0400 Subject: ios field widget Message-ID: I'm working on moving a tmc2 project to widgets and I noticed for the first time that there isn't an ios field widget. There's an android field widget and an macos field widget, but no ios field widget. Obviously we can code one out, but does someone have a widget? Are there any widget collections? Bonus points - are there x-platform UI widgets? From tom at makeshyft.com Thu Apr 22 18:14:48 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 22 Apr 2021 18:14:48 -0400 Subject: use-livecode Digest, Vol 211, Issue 27 (AWSS3 in standalone) In-Reply-To: <7FAEFFA3-9ADA-4C0D-996D-3EAC88519810@mac.com> References: <7FAEFFA3-9ADA-4C0D-996D-3EAC88519810@mac.com> Message-ID: oh yes....sorry ...you are right..I missed that part ...I thought that if you replaced the file it would build with the new amazon web services library. I will try to make a standalone, and I'll report. Won't be till sometime tomorrow. Talk soon Mark, Tom On Wed, Apr 21, 2021 at 1:59 PM Mark Clark via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Tom?I am using it within the dev envionment and it?s a godsend, for > sure:) Much better than calling s3cmd or mc client from shell. > > But my problem (and it must be mine, lol) is that the same stack that runs > well within the development environment fails when I save it as a > standalone. So that?s sort of where I am stuck. I have hesitated to file a > bug since it is likely just something wrong with me/my environment. Have > you been able to create a standalone with the new version? Did you search > for inclusions or hand pick them?did I omit something from the list? I just > dunno:) I dropped in the replacement from the bug report area and all is > well within dev. Build standalone, just doesn?t work at all. > > From the Mac console I am seeing this (why is this being done, I wonder) > > asynchronously fetching CRL (http://crl.identrust.com/DSTROOTCAX3CRL.crl) > for client (Report Server[26475]/0#-1 LF=0) > > > And also-- > > UNIX error exception: 17 > > which may be? > Macro: int EEXIST > ?File exists.? An existing file was specified in a context where it only > makes sense to specify a new file. > > And finally this-- > > LSExceptions shared instance invalidated for timeout. > > > I did go ahead and codesign-notarize, etc., but still no love. Are you > able to build a standalone using the new lib? At least if I know someone > else is successful I can be alone in my failures..;) > > Mark > > > > > > > > > On Apr 21, 2021, at 11:00 AM, use-livecode-request at lists.runrev.com > wrote: > > > > Check the comments in the bug report for this ...and the new library file > > is attached by Monte. > > I agree...its handy + more. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 klaus at major-k.de Fri Apr 23 07:08:23 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 23 Apr 2021 13:08:23 +0200 Subject: PDF Widget In-Reply-To: <3C0B025F-F022-47E6-8853-3ADFDB56C448@major-k.de> References: <3C0B025F-F022-47E6-8853-3ADFDB56C448@major-k.de> Message-ID: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> > Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode : > > Hi all, > > as far as I know the "PDF widget" is only available in the > BUSINESS Version of Livecode. > > I already asked this in the past, but I would like to be > able to buy this widget separately. > > Any idea if LC is planning to sell this separately at some time > in the future? > > > Best > > Klaus noone else interested in buying that widget separately? -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Fri Apr 23 07:12:15 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 23 Apr 2021 13:12:15 +0200 Subject: cameracontrol, knowing the physical resolution of the camera Message-ID: Hi all, we have this wonderful "cameracontrol" in LC. :-) Is there a way to get the physical resolution of the devices camera BEFORE we do -> cameracontrollset "el camera", tRect Or at least its aspect ratio? Know what I mean? We definitively need this info to be able to set up a correct RECT for the control with no "cut off" sides. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From toolbook at kestner.de Fri Apr 23 07:13:10 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Fri, 23 Apr 2021 13:13:10 +0200 Subject: Failed to get the keychain item Message-ID: <000601d73831$a52976f0$ef7c64d0$@kestner.de> Hello, I am trying to notarize an app the first time. I followed Matthias exquisite LiveCode guideline for codesigning and notarizing and am using his nice helper tool. I created an app specific password online in my Apple-ID account and put it into the preferences of the notarize tool of Matthias. I get the error: Failed to get the password for the keychain item. The keychain item "myPassword" was not found. What am I missing? Or how do I have to import the app specific password from my Apple account into my local keychain, so that the notarizing process can find it? I didn't found a "download" and no hint in the documents. Any idea? Thank you Tiemo From brian at milby7.com Fri Apr 23 07:20:33 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 23 Apr 2021 07:20:33 -0400 Subject: PDF Widget In-Reply-To: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> Message-ID: <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> Either that or everyone that wants it has business edition? Sent from my iPhone > On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: > > ? > >> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode : >> >> Hi all, >> >> as far as I know the "PDF widget" is only available in the >> BUSINESS Version of Livecode. >> >> I already asked this in the past, but I would like to be >> able to buy this widget separately. >> >> Any idea if LC is planning to sell this separately at some time >> in the future? >> >> >> Best >> >> Klaus > > noone else interested in buying that widget separately? > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Apr 23 07:24:25 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 23 Apr 2021 13:24:25 +0200 Subject: PDF Widget In-Reply-To: <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> Message-ID: <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> > Am 23.04.2021 um 13:20 schrieb Brian Milby via use-livecode : > > Either that or everyone that wants it has business edition? EVERYONE needs and wants it, but not everyone has the business edition! :-D > Sent from my iPhone > >> On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: >> >> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode : >>> >>> Hi all, >>> >>> as far as I know the "PDF widget" is only available in the >>> BUSINESS Version of Livecode. >>> >>> I already asked this in the past, but I would like to be >>> able to buy this widget separately. >>> >>> Any idea if LC is planning to sell this separately at some time >>> in the future? >>> >>> Best >>> >>> Klaus >> >> noone else interested in buying that widget separately? -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tore.nilsen at me.com Fri Apr 23 07:28:43 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 23 Apr 2021 13:28:43 +0200 Subject: PDF Widget In-Reply-To: <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> Message-ID: Not everyone needs it. I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. I do however think that it would be a good thing if it was possible to buy widgets on a per widget basis. That would enhance the LiveCode experience in my mind. Best regards Tore Nilsen > 23. apr. 2021 kl. 13:24 skrev Klaus major-k via use-livecode : > > > >> Am 23.04.2021 um 13:20 schrieb Brian Milby via use-livecode : >> >> Either that or everyone that wants it has business edition? > > EVERYONE needs and wants it, but not everyone has the business edition! :-D > >> Sent from my iPhone >> >>> On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: >>> >>> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode : >>>> >>>> Hi all, >>>> >>>> as far as I know the "PDF widget" is only available in the >>>> BUSINESS Version of Livecode. >>>> >>>> I already asked this in the past, but I would like to be >>>> able to buy this widget separately. >>>> >>>> Any idea if LC is planning to sell this separately at some time >>>> in the future? >>>> >>>> Best >>>> >>>> Klaus >>> >>> noone else interested in buying that widget separately? > > -- > 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 matthias_livecode_150811 at m-r-d.de Fri Apr 23 07:35:28 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Apr 2021 13:35:28 +0200 Subject: Failed to get the keychain item In-Reply-To: <000601d73831$a52976f0$ef7c64d0$@kestner.de> References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> Message-ID: Tiemo Did you follow Step 7 Addendum 1 which describes how to add your password to the keychain. If you want to, you can call me by phone. It's easier to explain in German. ;) Regards Matthias Von meinem iPhone gesendet > Am 23.04.2021 um 13:14 schrieb Tiemo via use-livecode : > > ?Hello, > > > > I am trying to notarize an app the first time. > > I followed Matthias exquisite LiveCode guideline for codesigning and > notarizing and am using his nice helper tool. > > I created an app specific password online in my Apple-ID account and put it > into the preferences of the notarize tool of Matthias. > > I get the error: > > Failed to get the password for the keychain item. The keychain item > "myPassword" was not found. > > > > What am I missing? Or how do I have to import the app specific password from > my Apple account into my local keychain, so that the notarizing process can > find it? I didn't found a "download" and no hint in the documents. > > > > Any idea? > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode - Matthias Rebbe Life Is Too Short For Boring Code From klaus at major-k.de Fri Apr 23 07:48:09 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 23 Apr 2021 13:48:09 +0200 Subject: PDF Widget In-Reply-To: References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> Message-ID: Hi Tore, > Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode : > > Not everyone needs it. that was just a little joke. :-) > I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything > I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. It would be enough, at least for me, if we could display a PDF (directly as a control) in a stack and NOT inside of a browser widget, which is not working "out of the box" on Android. > I do however think that it would be a good thing if it was possible to buy widgets on a per widget basis. > That would enhance the LiveCode experience in my mind. Definitively! > Best regards > Tore Nilsen > >> 23. apr. 2021 kl. 13:24 skrev Klaus major-k via use-livecode : >>> >>> Either that or everyone that wants it has business edition? >> EVERYONE needs and wants it, but not everyone has the business edition! :-D >>> Sent from my iPhone >>>> >>>>> Hi all, >>>>> >>>>> as far as I know the "PDF widget" is only available in the >>>>> BUSINESS Version of Livecode. >>>>> >>>>> I already asked this in the past, but I would like to be >>>>> able to buy this widget separately. >>>>> >>>>> Any idea if LC is planning to sell this separately at some time >>>>> in the future? >>>>> >>>>> Best >>>>> >>>>> Klaus >>>> >>>> noone else interested in buying that widget separately? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From andrew at midwestcoastmedia.com Fri Apr 23 10:19:03 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Fri, 23 Apr 2021 10:19:03 -0400 Subject: iOS push notifications on Windows Message-ID: <4AF4130C-EB4C-4D6D-AE6B-A51397E7450C@midwestcoastmedia.com> The updated push notification lesson works great on macOS! https://lessons.livecode.com/m/4069/l/1380237-how-to-send-http-2-based-push-notifications-in-ios Can this be done from any other platform? I receive the following error when running the same codebase from a Windows standalone: 'sh' is not recognized as an internal or external command, operable program or batch file. ?Andrew Bell From merakosp at gmail.com Fri Apr 23 11:11:07 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 23 Apr 2021 18:11:07 +0300 Subject: iOS push notifications on Windows In-Reply-To: <4AF4130C-EB4C-4D6D-AE6B-A51397E7450C@midwestcoastmedia.com> References: <4AF4130C-EB4C-4D6D-AE6B-A51397E7450C@midwestcoastmedia.com> Message-ID: Hello Andrew, The lesson was written and tested on a Mac. But yeah, on Windows, when trying to execute "sh /path/to/send.sh" either directly from the terminal or via the shell command using LC, it is expected to throw an error. You _might_ be able to work around this by changing the .sh extension to .bat if you are on Windows, and instead of "sh /path/to/send.sh" use "/path/to/send.bat". If I find some time I'll experiment with this and update the lesson next week, unless you get there first :) Kind regards, Panos -- On Fri, 23 Apr 2021 at 17:20, Andrew at MidWest Coast Media via use-livecode wrote: > The updated push notification lesson works great on macOS! > > https://lessons.livecode.com/m/4069/l/1380237-how-to-send-http-2-based-push-notifications-in-ios > > Can this be done from any other platform? I receive the following error > when running the same codebase from a Windows standalone: > 'sh' is not recognized as an internal or external command, > operable program or batch file. > > ?Andrew Bell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Apr 23 11:35:22 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 23 Apr 2021 15:35:22 +0000 Subject: Failed to get the keychain item In-Reply-To: References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> Message-ID: That's because Germans use bigger words. :-) Bob S > On Apr 23, 2021, at 04:35 , matthias rebbe via use-livecode wrote: > > If you want to, you can call me by phone. It's easier to explain in German. ;) > > Regards > > Matthias > > Von meinem iPhone gesendet From mark at livecode.com Fri Apr 23 11:54:25 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 23 Apr 2021 16:54:25 +0100 Subject: iOS push notifications on Windows In-Reply-To: References: <4AF4130C-EB4C-4D6D-AE6B-A51397E7450C@midwestcoastmedia.com> Message-ID: <2201eb5125415627f075429313030a60@livecode.com> On 2021-04-23 16:11, panagiotis merakos via use-livecode wrote: > Hello Andrew, > > The lesson was written and tested on a Mac. But yeah, on Windows, when > trying to execute "sh /path/to/send.sh" either directly from the > terminal or via the shell command using LC, it is expected to throw an > error. You _might_ be able to work around this by changing the .sh > extension to .bat if you are on Windows, and instead of "sh > /path/to/send.sh" use "/path/to/send.bat". > > If I find some time I'll experiment with this and update the lesson > next > week, unless you get there first :) Unfortunately bash scripts are incompatible with bat(ch) - they are both 'shells' but the latter is distinctly tied to Windows - so you'd need to translate the script from bash to batch. (There are windows builds of Curl that run on windows - they use exactly the same arguments / options). That being said, if you want a quick way to get UNIX style shell scripts to work - then you could install Cygwin and the commands used in said shell script (is it just curl?) - you can then run the shell script from the cygwin terminal. Cygwin is basically a lot of UNIXy stuff compiled to run on Windows with an emulation layer for POSIX system calls mapped to Windows. You might also want to investigate Microsoft's own relatively new 'UNIX on Windows' stuff - although I think that is restricted to recentish versions of Windows 10. There, they basically run a custom linux kernel on top of Windows to give you a Linux environment which interoperates quite well alongside Windows. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Fri Apr 23 12:07:50 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 23 Apr 2021 18:07:50 +0200 Subject: iOS push notifications on Windows In-Reply-To: <2201eb5125415627f075429313030a60@livecode.com> References: <4AF4130C-EB4C-4D6D-AE6B-A51397E7450C@midwestcoastmedia.com> <2201eb5125415627f075429313030a60@livecode.com> Message-ID: <6F8988D8-DB24-42FC-B3C6-087E4F6A1EDC@m-r-d.de> Hi, i see that among openssl also curl is used in the shell script. So shouldn't Livecode be able to do the curl stuff with tsNet instead? Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.04.2021 um 17:54 schrieb Mark Waddingham via use-livecode : > > On 2021-04-23 16:11, panagiotis merakos via use-livecode wrote: >> Hello Andrew, >> The lesson was written and tested on a Mac. But yeah, on Windows, when >> trying to execute "sh /path/to/send.sh" either directly from the >> terminal or via the shell command using LC, it is expected to throw an >> error. You _might_ be able to work around this by changing the .sh >> extension to .bat if you are on Windows, and instead of "sh >> /path/to/send.sh" use "/path/to/send.bat". >> If I find some time I'll experiment with this and update the lesson next >> week, unless you get there first :) > > Unfortunately bash scripts are incompatible with bat(ch) - they are both 'shells' but the latter is distinctly tied to Windows - so you'd need to translate the script from bash to batch. (There are windows builds of Curl that run on windows - they use exactly the same arguments / options). > > That being said, if you want a quick way to get UNIX style shell scripts to work - then you could install Cygwin and the commands used in said shell script (is it just curl?) - you can then run the shell script from the cygwin terminal. > > Cygwin is basically a lot of UNIXy stuff compiled to run on Windows with an emulation layer for POSIX system calls mapped to Windows. > > You might also want to investigate Microsoft's own relatively new 'UNIX on Windows' stuff - although I think that is restricted to recentish versions of Windows 10. There, they basically run a custom linux kernel on top of Windows to give you a Linux environment which interoperates quite well alongside Windows. > > 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 keith.clarke at me.com Fri Apr 23 12:10:58 2021 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 23 Apr 2021 17:10:58 +0100 Subject: Show Tree widget row contents on hover? Message-ID: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> Hi folks, I?m experimenting with a tree widget and indentation means that row content gets truncated, so I?m wondering if there is any simple way to show the current row?s content in a tooltip on hover? The dictionary doesn?t mention any mouse-related messages and the highlightedElement property returns a path as a comma-delimited list of array keys but not the row?s content. Am I missing some LiveCode magic here that?s too obvious to document? Thanks in advance. Keith From hlowe at me.com Fri Apr 23 12:35:07 2021 From: hlowe at me.com (HENRY LOWE) Date: Fri, 23 Apr 2021 09:35:07 -0700 Subject: Show Tree widget row contents on hover? In-Reply-To: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> References: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> Message-ID: <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> Keith, Take a look at the widget?s ActionInspect message. The actionInspect message is sent to the widget's script object when the inspect icon is clicked on. The inspect icon appears when the value string of a particular array element contains a newline character, OR if it is too large to fit in the space provided. The pPath parameter contains the path to the element whose icon was clicked. Use the ActionInspect pPath message to get the array element and then use a contextual menu to display the truncated element (tElement): set the text of btn ?TreeView_Contextual_Menu" to tElement popup button ?TreeView_Contextual_Menu" This requires the user to click on the inspect icon of the truncated array element element to display the full element. I agree that it would be nice to do this with a hover. Henry > On Apr 23, 2021, at 9:10 AM, Keith Clarke via use-livecode wrote: > > Hi folks, > I?m experimenting with a tree widget and indentation means that row content gets truncated, so I?m wondering if there is any simple way to show the current row?s content in a tooltip on hover? > > The dictionary doesn?t mention any mouse-related messages and the highlightedElement property returns a path as a comma-delimited list of array keys but not the row?s content. > > Am I missing some LiveCode magic here that?s too obvious to document? > > Thanks in advance. > 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 Fri Apr 23 13:57:10 2021 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 23 Apr 2021 18:57:10 +0100 Subject: Show Tree widget row contents on hover? In-Reply-To: <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> References: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> Message-ID: Thanks for responding Henry. I did try that property when I found no hover capability on the Tree widget. I set the widget to read-only and scripted... on actionInspect pPath put the arrayData of widget "Tree" into aContent replace comma with "][" in pPath answer aContent & "[" & pPath & "]" end actionInspect ?however, like the highlightedElement property, this still returns the element?s key rather than its content, despite my feeble attempts at post-processing. Hence the second part of my question which reveals my lack of array syntax knowledge! :) Best, Keith > On 23 Apr 2021, at 17:35, HENRY LOWE via use-livecode wrote: > > Keith, > > Take a look at the widget?s ActionInspect message. > > The actionInspect message is sent to the widget's script object when the inspect icon is clicked on. > The inspect icon appears when the value string of a particular array element contains a newline character, > OR if it is too large to fit in the space provided. The pPath parameter contains the path to the element whose icon was clicked. > > Use the ActionInspect pPath message to get the array element and then use a contextual menu to display the truncated element (tElement): > > set the text of btn ?TreeView_Contextual_Menu" to tElement > popup button ?TreeView_Contextual_Menu" > > This requires the user to click on the inspect icon of the truncated array element element to display the full element. > > I agree that it would be nice to do this with a hover. > > Henry > >> On Apr 23, 2021, at 9:10 AM, Keith Clarke via use-livecode wrote: >> >> Hi folks, >> I?m experimenting with a tree widget and indentation means that row content gets truncated, so I?m wondering if there is any simple way to show the current row?s content in a tooltip on hover? >> >> The dictionary doesn?t mention any mouse-related messages and the highlightedElement property returns a path as a comma-delimited list of array keys but not the row?s content. >> >> Am I missing some LiveCode magic here that?s too obvious to document? >> >> Thanks in advance. >> 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 bobsneidar at iotecdigital.com Fri Apr 23 14:13:06 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 23 Apr 2021 18:13:06 +0000 Subject: Show Tree widget row contents on hover? In-Reply-To: References: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> Message-ID: Is this what you are looking for? on mouseUp put the arrayData of widget "Tree View" into tDataA put tDataA [1] into tValue1 put tDataA [2] into tValue2 -- etc... end mouseUp I am unsure of what you are trying to do. Are you trying to put the items of a list into a tree view widget? put the arrayData of widget "Tree View" into tDataA put item 1 of tList into tDataA [1] put item 2 of tList into tDataA [2] -- etc... set the arrayData of widget "Tree View" to tDataA you can do this in a loop of course. Bob S > On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode wrote: > > Thanks for responding Henry. > > I did try that property when I found no hover capability on the Tree widget. I set the widget to read-only and scripted... > on actionInspect pPath > > put the arrayData of widget "Tree" into aContent > > replace comma with "][" in pPath > > answer aContent & "[" & pPath & "]" > > end actionInspect > > ?however, like the highlightedElement property, this still returns the element?s key rather than its content, despite my feeble attempts at post-processing. > > Hence the second part of my question which reveals my lack of array syntax knowledge! :) > Best, > Keith From bobsneidar at iotecdigital.com Fri Apr 23 14:17:54 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 23 Apr 2021 18:17:54 +0000 Subject: Show Tree widget row contents on hover? In-Reply-To: References: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> Message-ID: Okay I see you are setting the tooltip. set the tooltip of widget "Tree View" to tDataA [1] or whatever the element is. Bob S > On Apr 23, 2021, at 11:13 , Bob Sneidar via use-livecode wrote: > > Is this what you are looking for? > > on mouseUp > put the arrayData of widget "Tree View" into tDataA > put tDataA [1] into tValue1 > put tDataA [2] into tValue2 > -- etc... > end mouseUp > > I am unsure of what you are trying to do. Are you trying to put the items of a list into a tree view widget? > > put the arrayData of widget "Tree View" into tDataA > put item 1 of tList into tDataA [1] > put item 2 of tList into tDataA [2] > -- etc... > set the arrayData of widget "Tree View" to tDataA > > you can do this in a loop of course. > > Bob S > > >> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode wrote: >> >> Thanks for responding Henry. >> >> I did try that property when I found no hover capability on the Tree widget. I set the widget to read-only and scripted... >> on actionInspect pPath >> >> put the arrayData of widget "Tree" into aContent >> >> replace comma with "][" in pPath >> >> answer aContent & "[" & pPath & "]" >> >> end actionInspect >> >> ?however, like the highlightedElement property, this still returns the element?s key rather than its content, despite my feeble attempts at post-processing. >> >> Hence the second part of my question which reveals my lack of array syntax knowledge! :) >> 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 Fri Apr 23 15:33:10 2021 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 23 Apr 2021 20:33:10 +0100 Subject: Show Tree widget row contents on hover? In-Reply-To: References: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> Message-ID: <8D8D31F7-18AF-4472-8291-CE564A26C662@me.com> Thanks Bob for the syntax for setting the widget?s tooltip. That?ll help once I have some sensible data appearing in the answer dialogue box that I can use in the tooltip. My key problem now is how to translate the comma-delimited path returned by the actionInspect function - pPath - of the form 'Key1,Key2,Key3' ?to the correct syntax to have the array return the content of Key3. My code below converts pPath to LiveCode array key syntax, i.e. [Key1][Key2][Key3] ...and then concatenates this after aContent, the name of the array variable into which the widget?s arrayData has been extracted. As far as I can tell, this should resolve to... answer aContent[Key1][Key2][Key3] ...which should return the content of Key3 but I?m seeing '[Key1][Key2][Key3]? in the answer dialogue box. Any clues? Best, Keith > On 23 Apr 2021, at 19:17, Bob Sneidar via use-livecode wrote: > > Okay I see you are setting the tooltip. > > set the tooltip of widget "Tree View" to tDataA [1] > > or whatever the element is. > > Bob S > > >> On Apr 23, 2021, at 11:13 , Bob Sneidar via use-livecode wrote: >> >> Is this what you are looking for? >> >> on mouseUp >> put the arrayData of widget "Tree View" into tDataA >> put tDataA [1] into tValue1 >> put tDataA [2] into tValue2 >> -- etc... >> end mouseUp >> >> I am unsure of what you are trying to do. Are you trying to put the items of a list into a tree view widget? >> >> put the arrayData of widget "Tree View" into tDataA >> put item 1 of tList into tDataA [1] >> put item 2 of tList into tDataA [2] >> -- etc... >> set the arrayData of widget "Tree View" to tDataA >> >> you can do this in a loop of course. >> >> Bob S >> >> >>> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode wrote: >>> >>> Thanks for responding Henry. >>> >>> I did try that property when I found no hover capability on the Tree widget. I set the widget to read-only and scripted... >>> on actionInspect pPath >>> >>> put the arrayData of widget "Tree" into aContent >>> >>> replace comma with "][" in pPath >>> >>> answer aContent & "[" & pPath & "]" >>> >>> end actionInspect >>> >>> ?however, like the highlightedElement property, this still returns the element?s key rather than its content, despite my feeble attempts at post-processing. >>> >>> Hence the second part of my question which reveals my lack of array syntax knowledge! :) >>> 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 jacque at hyperactivesw.com Fri Apr 23 16:53:15 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Apr 2021 15:53:15 -0500 Subject: Show Tree widget row contents on hover? In-Reply-To: <8D8D31F7-18AF-4472-8291-CE564A26C662@me.com> References: <6EFE3799-CDE8-4DB6-8834-454C4C16AEC0@me.com> <93350C52-C367-422D-8DCE-5B8907E0EBE6@me.com> <8D8D31F7-18AF-4472-8291-CE564A26C662@me.com> Message-ID: <48de8056-109c-ed6e-d9a2-563ef369696c@hyperactivesw.com> On 4/23/21 2:33 PM, Keith Clarke via use-livecode wrote: > Thanks Bob for the syntax for setting the widget?s tooltip. That?ll help once I have some sensible data appearing in the answer dialogue box that I can use in the tooltip. > > My key problem now is how to translate the comma-delimited path returned by the actionInspect function - pPath - of the form 'Key1,Key2,Key3' ?to the correct syntax to have the array return the content of Key3. > I think it's failing because concatenation isn't working with array syntax. Does this work better: answer aContent[item 1 of pPath][item 2 of pPath][item 3 of pPath] -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 23 17:02:05 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Apr 2021 16:02:05 -0500 Subject: IOS required SDK Message-ID: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, I'm still on Mojave. Does this mean I need to update to Big Sur or Catalina before I can build for iOS? I don't suppose there's any way to do it on Mojave? I've been dreading this... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Fri Apr 23 17:13:58 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 23 Apr 2021 17:13:58 -0400 Subject: IOS required SDK In-Reply-To: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> References: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> Message-ID: <649d34f6-364d-6608-3e12-63f60d0e04e6@researchware.com> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: > Apple will require SDK 14 for new or updated iOS apps. Due to > incompatible 32-bit software, I'm still on Mojave. Does this mean I > need to update to Big Sur or Catalina before I can build for iOS? > > I don't suppose there's any way to do it on Mojave? I've been dreading > this... > I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big Sur VMs as I too have 32 bit software I want to be able to continue to run. I do macOS development under Mojave and only use the Catalina and/or Big Sur VMs for testing or builds (if for some reason I need to check a build under one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs are of course slower, but he ability to back them up, clone them, restore to a specific save point and such I think outweigh? the speed as a developer tool. From jacque at hyperactivesw.com Fri Apr 23 17:43:02 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 23 Apr 2021 16:43:02 -0500 Subject: IOS required SDK In-Reply-To: <649d34f6-364d-6608-3e12-63f60d0e04e6@researchware.com> References: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> <649d34f6-364d-6608-3e12-63f60d0e04e6@researchware.com> Message-ID: <38f2c9e3-3aa7-e618-68d8-ae3c162d1db7@hyperactivesw.com> Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs for all of 10 minutes but it looks a bit complicated. Did you need to partition your hard drive? It also says to put the OS intaller on a DVD but of course we don't have DVD drives any more. Does the mounted OS install image work? On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote: > On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: >> Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, >> I'm still on Mojave. Does this mean I need to update to Big Sur or Catalina before I can >> build for iOS? >> >> I don't suppose there's any way to do it on Mojave? I've been dreading this... >> > > I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big Sur VMs as I too > have 32 bit software I want to be able to continue to run. I do macOS development under Mojave > and only use the Catalina and/or Big Sur VMs for testing or builds (if for some reason I need > to check a build under one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs > are of course slower, but he ability to back them up, clone them, restore to a specific save > point and such I think outweigh? the speed as a developer tool. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 scott at elementarysoftware.com Fri Apr 23 18:45:24 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 23 Apr 2021 15:45:24 -0700 Subject: IOS required SDK In-Reply-To: <38f2c9e3-3aa7-e618-68d8-ae3c162d1db7@hyperactivesw.com> References: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> <649d34f6-364d-6608-3e12-63f60d0e04e6@researchware.com> <38f2c9e3-3aa7-e618-68d8-ae3c162d1db7@hyperactivesw.com> Message-ID: <6D8B3E99-8B32-4532-AE8B-6B121B4035E9@elementarysoftware.com> I did it the other way around (just last month!) I set up a VM (Parallels) for running Catalina for older 32 bit apps. I was primarily trying to get my older Adobe CS6 apps to work? though even with all the original disks (and a drive), reinstalling ancient apps turned out to be more problematic than I had hoped. So maintaining your current install and doing a VM for 64bit makes more sense to me now. -- 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 Apr 23, 2021, at 2:43 PM, J. Landman Gay via use-livecode wrote: > > Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs for all of 10 minutes but it looks a bit complicated. Did you need to partition your hard drive? It also says to put the OS intaller on a DVD but of course we don't have DVD drives any more. Does the mounted OS install image work? > > On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote: >> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: >>> Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, I'm still on Mojave. Does this mean I need to update to Big Sur or Catalina before I can build for iOS? >>> >>> I don't suppose there's any way to do it on Mojave? I've been dreading this... >>> >> I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big Sur VMs as I too have 32 bit software I want to be able to continue to run. I do macOS development under Mojave and only use the Catalina and/or Big Sur VMs for testing or builds (if for some reason I need to check a build under one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs are of course slower, but he ability to back them up, clone them, restore to a specific save point and such I think outweigh the speed as a developer tool. >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 paul at researchware.com Fri Apr 23 19:31:14 2021 From: paul at researchware.com (Paul Dupuis) Date: Fri, 23 Apr 2021 19:31:14 -0400 Subject: IOS required SDK In-Reply-To: <38f2c9e3-3aa7-e618-68d8-ae3c162d1db7@hyperactivesw.com> References: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> <649d34f6-364d-6608-3e12-63f60d0e04e6@researchware.com> <38f2c9e3-3aa7-e618-68d8-ae3c162d1db7@hyperactivesw.com> Message-ID: No need to partition drives with VMs. You *do* need a good chunk of free disk space, for example for Catalina, you probably want a minimum of a 50GB "drive" (a VM file on disk) and for Big Sur, I went to 100GB, but I have a 1TB hard disk. We also have a MacMini here with a bunch of external USB disk drives and a ton of partitions each with a different macOS from 10.9 up to 10.15, but rebooting to a different macOS version for testing is a pain in the butt compared to VMs. All you really need is (1) VirtualBox for macOS and (2) installation file(s) for the macOS's you want to install. For current and most recent OS, these can usually be downloaded from the Apple Developer site. For anything older, you have to do some hunting as Apple does not have an archive of older version of macOS for developers (that I can find!) It is easiest if the installer for macOS is an .iso disk image. Then you run VirtualBox, create a new VM, set it for macOS, create a disk of the suitable size. Mount the .iso image file as a "virtual" disc drive and start it up and follow the macOS install instructions. (there is devils in the details, but that really is the jist) On 4/23/2021 5:43 PM, J. Landman Gay via use-livecode wrote: > Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs > for all of 10 minutes but it looks a bit complicated. Did you need to > partition your hard drive? It also says to put the OS intaller on a > DVD but of course we don't have DVD drives any more. Does the mounted > OS install image work? > > On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote: >> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: >>> Apple will require SDK 14 for new or updated iOS apps. Due to >>> incompatible 32-bit software, I'm still on Mojave. Does this mean I >>> need to update to Big Sur or Catalina before I can build for iOS? >>> >>> I don't suppose there's any way to do it on Mojave? I've been >>> dreading this... >>> >> >> I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina >> and Big Sur VMs as I too have 32 bit software I want to be able to >> continue to run. I do macOS development under Mojave and only use the >> Catalina and/or Big Sur VMs for testing or builds (if for some reason >> I need to check a build under one of those OSes. Both Catalina and >> Big Sur work with VirtualBox. VMs are of course slower, but he >> ability to back them up, clone them, restore to a specific save point >> and such I think outweigh? the speed as a developer tool. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Sat Apr 24 07:10:19 2021 From: keith.clarke at me.com (Keith Clarke) Date: Sat, 24 Apr 2021 12:10:19 +0100 Subject: Dynamic scripted nested array keys? Message-ID: Hi folks, Inspired by Jaque?s (working - thank you!) response to my question ?Show Tree widget row contents on hover? I?ve isolated the final piece of that puzzle that leaves me baffled. Specifically, can LiveCode accept a dynamically built key for a nested multi-dimensional array? Copy the button script recipe below to see the problem. Perhaps the LC array experts here can help explain why Jaque?s hard-wired key definition works but my attempts to replicate this syntax via scripting to support variable depth of arrays get ignored? Is it my syntax or just the way arrays work in LC?? on mouseUp pButtonNumber # Create a nested array put "Content" into tArray["key1"]["key2"]["key3"]["key4"] # Replicate the path response from the Tree widget actionInspect function put "key1,key2,key3,key4" into pPath # Jaque's 'hard-wired' array key recipe works! answer tArray[item 1 of pPath][item 2 of pPath][item 3 of pPath][item 4 of pPath] --returns 'Content' # Replicate Jaque's syntax dynamically put the number of items in pPath into tKeyCount put empty into iNum repeat for each item i in pPath add 1 to iNum # Try building the full key string put "[" & item iNum of pPath & "]"after tKey1 # Try building keys string to 'embed' into the regular array key syntax put item iNum of pPath after tKey2 if iNum < tKeyCount then put "][" after tKey2 # Try building by each key if i is not empty then put "[" & item iNum of pPath & "]" after tArray2 end repeat # Dynamic tKey1 results answer tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...seems 'correct' answer tArray & tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic key definition is not appended to array(?) # Dynamic tKey2 results answer tKey2 -- returns '"key1"]["key2"]["key3"]["key4"' answer tArray[tKey2] -- returns null ...dynamic key definition is not understood (as first level key)? answer tArray2 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic key definition is not appended to array(?) end mouseUp Best, Keith From paul at researchware.com Sat Apr 24 09:04:24 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 24 Apr 2021 09:04:24 -0400 Subject: Dynamic scripted nested array keys? In-Reply-To: References: Message-ID: <191593d8-6842-baa0-c95c-9d50a8a643eb@researchware.com> I have only partially been following this thread, but if you need to find the array 'content' in an arbitrary nested array from a comma delimited path of array keys, recursion is the way to do it: function fetchArrayContentFromPath pArray,pPath ? -- pArray is an array ? -- pPath is a comma delimited 'path' of array keys to the desired content ? local tKey ? if pArray is not an array then ??? return pArray -- I have reached the content, so return that content ? else if pPath is empty then ??? return pArray -- should not happen in a tree widget, but this is if the path ends in an array instead of the content of an array element ? else ??? put item 1 of pPath into tKey -- get the key of element in the currnet path ??? delete item 1 of pPath??????? -- remove it from the current path, so the path is the next set of key(s) ??? return fetchArrayContentFromPath(pArray[tKey],pPath) - recursively fetch the remainig keys from the currnet array element ? end if end fetchArrayContentFromPath It will not matter is the 'path' is key1,key1 or key1,key2,key3,key4,key5,key6,key7, or whatever. On 4/24/2021 7:10 AM, Keith Clarke via use-livecode wrote: > Hi folks, > Inspired by Jaque?s (working - thank you!) response to my question ?Show Tree widget row contents on hover? I?ve isolated the final piece of that puzzle that leaves me baffled. > > Specifically, can LiveCode accept a dynamically built key for a nested multi-dimensional array? Copy the button script recipe below to see the problem. > > Perhaps the LC array experts here can help explain why Jaque?s hard-wired key definition works but my attempts to replicate this syntax via scripting to support variable depth of arrays get ignored? Is it my syntax or just the way arrays work in LC?? > on mouseUp pButtonNumber > > # Create a nested array > > put "Content" into tArray["key1"]["key2"]["key3"]["key4"] > > > # Replicate the path response from the Tree widget actionInspect function > > put "key1,key2,key3,key4" into pPath > > > # Jaque's 'hard-wired' array key recipe works! > > answer tArray[item 1 of pPath][item 2 of pPath][item 3 of pPath][item 4 of pPath] --returns 'Content' > > > # Replicate Jaque's syntax dynamically > > put the number of items in pPath into tKeyCount > > put empty into iNum > > repeat for each item i in pPath > > add 1 to iNum > > # Try building the full key string > > put "[" & item iNum of pPath & "]"after tKey1 > > > # Try building keys string to 'embed' into the regular array key syntax > > put item iNum of pPath after tKey2 > > if iNum < tKeyCount then put "][" after tKey2 > > > # Try building by each key > > if i is not empty then put "[" & item iNum of pPath & "]" after tArray2 > > end repeat > > > # Dynamic tKey1 results > > answer tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...seems 'correct' > > answer tArray & tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic key definition is not appended to array(?) > > > # Dynamic tKey2 results > > answer tKey2 -- returns '"key1"]["key2"]["key3"]["key4"' > > answer tArray[tKey2] -- returns null ...dynamic key definition is not understood (as first level key)? > > > answer tArray2 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic key definition is not appended to array(?) > > end mouseUp > > > 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 brian at milby7.com Sat Apr 24 09:26:03 2021 From: brian at milby7.com (Brian Milby) Date: Sat, 24 Apr 2021 09:26:03 -0400 Subject: Dynamic scripted nested array keys? In-Reply-To: <191593d8-6842-baa0-c95c-9d50a8a643eb@researchware.com> References: <191593d8-6842-baa0-c95c-9d50a8a643eb@researchware.com> Message-ID: Easiest way is to use split... Given a tree widget this will take a path from field 1 and put the value at that path in field 2 on mouseUp pMouseButton local tTree, tLoc put the arrayData of widget 1 into tTree put field 1 into tLoc split tLoc by comma put tTree[tLoc] into field 2 end mouseUp Thanks, Brian On Sat, Apr 24, 2021 at 9:06 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I have only partially been following this thread, but if you need to > find the array 'content' in an arbitrary nested array from a comma > delimited path of array keys, recursion is the way to do it: > > function fetchArrayContentFromPath pArray,pPath > -- pArray is an array > -- pPath is a comma delimited 'path' of array keys to the desired > content > local tKey > if pArray is not an array then > return pArray -- I have reached the content, so return that content > else if pPath is empty then > return pArray -- should not happen in a tree widget, but this is if > the path ends in an array instead of the content of an array element > else > put item 1 of pPath into tKey -- get the key of element in the > currnet path > delete item 1 of pPath -- remove it from the current path, > so the path is the next set of key(s) > return fetchArrayContentFromPath(pArray[tKey],pPath) - recursively > fetch the remainig keys from the currnet array element > end if > end fetchArrayContentFromPath > > It will not matter is the 'path' is key1,key1 or > key1,key2,key3,key4,key5,key6,key7, or whatever. > > > On 4/24/2021 7:10 AM, Keith Clarke via use-livecode wrote: > > Hi folks, > > Inspired by Jaque?s (working - thank you!) response to my question ?Show > Tree widget row contents on hover? I?ve isolated the final piece of that > puzzle that leaves me baffled. > > > > Specifically, can LiveCode accept a dynamically built key for a nested > multi-dimensional array? Copy the button script recipe below to see the > problem. > > > > Perhaps the LC array experts here can help explain why Jaque?s > hard-wired key definition works but my attempts to replicate this syntax > via scripting to support variable depth of arrays get ignored? Is it my > syntax or just the way arrays work in LC?? > > on mouseUp pButtonNumber > > > > # Create a nested array > > > > put "Content" into tArray["key1"]["key2"]["key3"]["key4"] > > > > > > # Replicate the path response from the Tree widget actionInspect function > > > > put "key1,key2,key3,key4" into pPath > > > > > > # Jaque's 'hard-wired' array key recipe works! > > > > answer tArray[item 1 of pPath][item 2 of pPath][item 3 of pPath][item 4 > of pPath] --returns 'Content' > > > > > > # Replicate Jaque's syntax dynamically > > > > put the number of items in pPath into tKeyCount > > > > put empty into iNum > > > > repeat for each item i in pPath > > > > add 1 to iNum > > > > # Try building the full key string > > > > put "[" & item iNum of pPath & "]"after tKey1 > > > > > > # Try building keys string to 'embed' into the regular array key syntax > > > > put item iNum of pPath after tKey2 > > > > if iNum < tKeyCount then put "][" after tKey2 > > > > > > # Try building by each key > > > > if i is not empty then put "[" & item iNum of pPath & "]" after tArray2 > > > > end repeat > > > > > > # Dynamic tKey1 results > > > > answer tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...seems > 'correct' > > > > answer tArray & tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' > ...dynamic key definition is not appended to array(?) > > > > > > # Dynamic tKey2 results > > > > answer tKey2 -- returns '"key1"]["key2"]["key3"]["key4"' > > > > answer tArray[tKey2] -- returns null ...dynamic key definition is not > understood (as first level key)? > > > > > > answer tArray2 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic > key definition is not appended to array(?) > > > > end mouseUp > > > > > > 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 brian at milby7.com Sat Apr 24 09:31:09 2021 From: brian at milby7.com (Brian Milby) Date: Sat, 24 Apr 2021 09:31:09 -0400 Subject: Dynamic scripted nested array keys? In-Reply-To: References: <191593d8-6842-baa0-c95c-9d50a8a643eb@researchware.com> Message-ID: I guess I should reply to myself and say why this works. At some point the feature was added that you could use an array as an index into an array. The format is a one based ordered array of keys. So tPath[1] is the first level key, tPath[2] is the second level, etc. If you wanted to get tTree["one"]["two"] then tPath[1]="one" and tPath[2]="two" so you could just get tTree[tPath]. Since comma is the default path delimiter (which can be changed), you can use split to turn a path list into a path array. On Sat, Apr 24, 2021 at 9:26 AM Brian Milby wrote: > Easiest way is to use split... > > Given a tree widget this will take a path from field 1 and put the value > at that path in field 2 > > on mouseUp pMouseButton > local tTree, tLoc > put the arrayData of widget 1 into tTree > put field 1 into tLoc > split tLoc by comma > put tTree[tLoc] into field 2 > end mouseUp > > Thanks, > Brian > > On Sat, Apr 24, 2021 at 9:06 AM Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I have only partially been following this thread, but if you need to >> find the array 'content' in an arbitrary nested array from a comma >> delimited path of array keys, recursion is the way to do it: >> >> function fetchArrayContentFromPath pArray,pPath >> -- pArray is an array >> -- pPath is a comma delimited 'path' of array keys to the desired >> content >> local tKey >> if pArray is not an array then >> return pArray -- I have reached the content, so return that content >> else if pPath is empty then >> return pArray -- should not happen in a tree widget, but this is if >> the path ends in an array instead of the content of an array element >> else >> put item 1 of pPath into tKey -- get the key of element in the >> currnet path >> delete item 1 of pPath -- remove it from the current path, >> so the path is the next set of key(s) >> return fetchArrayContentFromPath(pArray[tKey],pPath) - recursively >> fetch the remainig keys from the currnet array element >> end if >> end fetchArrayContentFromPath >> >> It will not matter is the 'path' is key1,key1 or >> key1,key2,key3,key4,key5,key6,key7, or whatever. >> >> >> On 4/24/2021 7:10 AM, Keith Clarke via use-livecode wrote: >> > Hi folks, >> > Inspired by Jaque?s (working - thank you!) response to my question >> ?Show Tree widget row contents on hover? I?ve isolated the final piece of >> that puzzle that leaves me baffled. >> > >> > Specifically, can LiveCode accept a dynamically built key for a nested >> multi-dimensional array? Copy the button script recipe below to see the >> problem. >> > >> > Perhaps the LC array experts here can help explain why Jaque?s >> hard-wired key definition works but my attempts to replicate this syntax >> via scripting to support variable depth of arrays get ignored? Is it my >> syntax or just the way arrays work in LC?? >> > on mouseUp pButtonNumber >> > >> > # Create a nested array >> > >> > put "Content" into tArray["key1"]["key2"]["key3"]["key4"] >> > >> > >> > # Replicate the path response from the Tree widget actionInspect >> function >> > >> > put "key1,key2,key3,key4" into pPath >> > >> > >> > # Jaque's 'hard-wired' array key recipe works! >> > >> > answer tArray[item 1 of pPath][item 2 of pPath][item 3 of pPath][item 4 >> of pPath] --returns 'Content' >> > >> > >> > # Replicate Jaque's syntax dynamically >> > >> > put the number of items in pPath into tKeyCount >> > >> > put empty into iNum >> > >> > repeat for each item i in pPath >> > >> > add 1 to iNum >> > >> > # Try building the full key string >> > >> > put "[" & item iNum of pPath & "]"after tKey1 >> > >> > >> > # Try building keys string to 'embed' into the regular array key syntax >> > >> > put item iNum of pPath after tKey2 >> > >> > if iNum < tKeyCount then put "][" after tKey2 >> > >> > >> > # Try building by each key >> > >> > if i is not empty then put "[" & item iNum of pPath & "]" after tArray2 >> > >> > end repeat >> > >> > >> > # Dynamic tKey1 results >> > >> > answer tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...seems >> 'correct' >> > >> > answer tArray & tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' >> ...dynamic key definition is not appended to array(?) >> > >> > >> > # Dynamic tKey2 results >> > >> > answer tKey2 -- returns '"key1"]["key2"]["key3"]["key4"' >> > >> > answer tArray[tKey2] -- returns null ...dynamic key definition is not >> understood (as first level key)? >> > >> > >> > answer tArray2 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic >> key definition is not appended to array(?) >> > >> > end mouseUp >> > >> > >> > 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 paul at researchware.com Sat Apr 24 11:27:43 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 24 Apr 2021 11:27:43 -0400 Subject: Dynamic scripted nested array keys? In-Reply-To: References: <191593d8-6842-baa0-c95c-9d50a8a643eb@researchware.com> Message-ID: On 4/24/2021 9:31 AM, Brian Milby via use-livecode wrote: > I guess I should reply to myself and say why this works. At some point the > feature was added that you could use an array as an index into an array. > The format is a one based ordered array of keys. So tPath[1] is the first > level key, tPath[2] is the second level, etc. If you wanted to get > tTree["one"]["two"] then tPath[1]="one" and tPath[2]="two" so you could > just get tTree[tPath]. Since comma is the default path delimiter (which > can be changed), you can use split to turn a path list into a path array. I never heard of this! Thanks. p.s I can not find any reference to this 'feature' in the 9.6.2rc5 dictionary. Do you know if this is documented anywhere? From keith.clarke at me.com Sat Apr 24 13:11:07 2021 From: keith.clarke at me.com (Keith Clarke) Date: Sat, 24 Apr 2021 18:11:07 +0100 Subject: Dynamic scripted nested array keys? In-Reply-To: References: <191593d8-6842-baa0-c95c-9d50a8a643eb@researchware.com> Message-ID: <7CAD38E2-28C8-4ACF-A5A1-E76F9AF4306D@me.com> Thanks Brian this conversion to pPath to an array of keys hit the nail on the head. So, for anyone else looking to show the (full non-truncated) content of a node in a read-only Tree widget in a tooltip, by clicking the actionInspect icon, is? on actionInspect pPath put the arrayData of widget "Tree" into aContent -- get the Tree's data split pPath by comma -- convert pPath from list to an array of keys set the tooltip of widget "Tree" to aContent[pPath] -- the current Tree node's content end actionInspect Thanks too Jaque, Paul, Bob & Henry for playing! :-) Best, Keith > On 24 Apr 2021, at 14:31, Brian Milby via use-livecode wrote: > > I guess I should reply to myself and say why this works. At some point the > feature was added that you could use an array as an index into an array. > The format is a one based ordered array of keys. So tPath[1] is the first > level key, tPath[2] is the second level, etc. If you wanted to get > tTree["one"]["two"] then tPath[1]="one" and tPath[2]="two" so you could > just get tTree[tPath]. Since comma is the default path delimiter (which > can be changed), you can use split to turn a path list into a path array. > > On Sat, Apr 24, 2021 at 9:26 AM Brian Milby wrote: > >> Easiest way is to use split... >> >> Given a tree widget this will take a path from field 1 and put the value >> at that path in field 2 >> >> on mouseUp pMouseButton >> local tTree, tLoc >> put the arrayData of widget 1 into tTree >> put field 1 into tLoc >> split tLoc by comma >> put tTree[tLoc] into field 2 >> end mouseUp >> >> Thanks, >> Brian >> >> On Sat, Apr 24, 2021 at 9:06 AM Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I have only partially been following this thread, but if you need to >>> find the array 'content' in an arbitrary nested array from a comma >>> delimited path of array keys, recursion is the way to do it: >>> >>> function fetchArrayContentFromPath pArray,pPath >>> -- pArray is an array >>> -- pPath is a comma delimited 'path' of array keys to the desired >>> content >>> local tKey >>> if pArray is not an array then >>> return pArray -- I have reached the content, so return that content >>> else if pPath is empty then >>> return pArray -- should not happen in a tree widget, but this is if >>> the path ends in an array instead of the content of an array element >>> else >>> put item 1 of pPath into tKey -- get the key of element in the >>> currnet path >>> delete item 1 of pPath -- remove it from the current path, >>> so the path is the next set of key(s) >>> return fetchArrayContentFromPath(pArray[tKey],pPath) - recursively >>> fetch the remainig keys from the currnet array element >>> end if >>> end fetchArrayContentFromPath >>> >>> It will not matter is the 'path' is key1,key1 or >>> key1,key2,key3,key4,key5,key6,key7, or whatever. >>> >>> >>> On 4/24/2021 7:10 AM, Keith Clarke via use-livecode wrote: >>>> Hi folks, >>>> Inspired by Jaque?s (working - thank you!) response to my question >>> ?Show Tree widget row contents on hover? I?ve isolated the final piece of >>> that puzzle that leaves me baffled. >>>> >>>> Specifically, can LiveCode accept a dynamically built key for a nested >>> multi-dimensional array? Copy the button script recipe below to see the >>> problem. >>>> >>>> Perhaps the LC array experts here can help explain why Jaque?s >>> hard-wired key definition works but my attempts to replicate this syntax >>> via scripting to support variable depth of arrays get ignored? Is it my >>> syntax or just the way arrays work in LC?? >>>> on mouseUp pButtonNumber >>>> >>>> # Create a nested array >>>> >>>> put "Content" into tArray["key1"]["key2"]["key3"]["key4"] >>>> >>>> >>>> # Replicate the path response from the Tree widget actionInspect >>> function >>>> >>>> put "key1,key2,key3,key4" into pPath >>>> >>>> >>>> # Jaque's 'hard-wired' array key recipe works! >>>> >>>> answer tArray[item 1 of pPath][item 2 of pPath][item 3 of pPath][item 4 >>> of pPath] --returns 'Content' >>>> >>>> >>>> # Replicate Jaque's syntax dynamically >>>> >>>> put the number of items in pPath into tKeyCount >>>> >>>> put empty into iNum >>>> >>>> repeat for each item i in pPath >>>> >>>> add 1 to iNum >>>> >>>> # Try building the full key string >>>> >>>> put "[" & item iNum of pPath & "]"after tKey1 >>>> >>>> >>>> # Try building keys string to 'embed' into the regular array key syntax >>>> >>>> put item iNum of pPath after tKey2 >>>> >>>> if iNum < tKeyCount then put "][" after tKey2 >>>> >>>> >>>> # Try building by each key >>>> >>>> if i is not empty then put "[" & item iNum of pPath & "]" after tArray2 >>>> >>>> end repeat >>>> >>>> >>>> # Dynamic tKey1 results >>>> >>>> answer tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' ...seems >>> 'correct' >>>> >>>> answer tArray & tKey1 -- returns '["key1"]["key2"]["key3"]["key4"]' >>> ...dynamic key definition is not appended to array(?) >>>> >>>> >>>> # Dynamic tKey2 results >>>> >>>> answer tKey2 -- returns '"key1"]["key2"]["key3"]["key4"' >>>> >>>> answer tArray[tKey2] -- returns null ...dynamic key definition is not >>> understood (as first level key)? >>>> >>>> >>>> answer tArray2 -- returns '["key1"]["key2"]["key3"]["key4"]' ...dynamic >>> key definition is not appended to array(?) >>>> >>>> end mouseUp >>>> >>>> >>>> Best, >>>> Keith >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Apr 24 14:30:35 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Apr 2021 13:30:35 -0500 Subject: IOS required SDK In-Reply-To: References: <4883ac01-8315-aa85-0c12-a3417f694a21@hyperactivesw.com> <649d34f6-364d-6608-3e12-63f60d0e04e6@researchware.com> <38f2c9e3-3aa7-e618-68d8-ae3c162d1db7@hyperactivesw.com> Message-ID: <1790525d0f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks to both you and Scott. I'm still unsure how to proceed. There is really only one 32-bit app I need to maintain and I have an ancient MacBook Air that is stuck at Mac OS High Sierra. I could move the app there and update my main working Mac to Big Sur. My main concern is that the Air will fail and I'll lose all the accumulated data. Maybe I'll keep good backups and pray. If it does bite the dust I'll move to a VM with Mojave on it. In my case I don't use the app often enough to make that an inconvenience. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 23, 2021 6:33:43 PM Paul Dupuis via use-livecode wrote: > No need to partition drives with VMs. You *do* need a good chunk of free > disk space, for example for Catalina, you probably want a minimum of a > 50GB "drive" (a VM file on disk) and for Big Sur, I went to 100GB, but I > have a 1TB hard disk. > > We also have a MacMini here with a bunch of external USB disk drives and > a ton of partitions each with a different macOS from 10.9 up to 10.15, > but rebooting to a different macOS version for testing is a pain in the > butt compared to VMs. > > All you really need is (1) VirtualBox for macOS and (2) installation > file(s) for the macOS's you want to install. For current and most recent > OS, these can usually be downloaded from the Apple Developer site. For > anything older, you have to do some hunting as Apple does not have an > archive of older version of macOS for developers (that I can find!) It > is easiest if the installer for macOS is an .iso disk image. Then you > run VirtualBox, create a new VM, set it for macOS, create a disk of the > suitable size. Mount the .iso image file as a "virtual" disc drive and > start it up and follow the macOS install instructions. (there is devils > in the details, but that really is the jist) > > > On 4/23/2021 5:43 PM, J. Landman Gay via use-livecode wrote: >> Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs >> for all of 10 minutes but it looks a bit complicated. Did you need to >> partition your hard drive? It also says to put the OS intaller on a >> DVD but of course we don't have DVD drives any more. Does the mounted >> OS install image work? >> >> On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote: >>> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: >>>> Apple will require SDK 14 for new or updated iOS apps. Due to >>>> incompatible 32-bit software, I'm still on Mojave. Does this mean I >>>> need to update to Big Sur or Catalina before I can build for iOS? >>>> >>>> I don't suppose there's any way to do it on Mojave? I've been >>>> dreading this... >>>> >>> >>> I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina >>> and Big Sur VMs as I too have 32 bit software I want to be able to >>> continue to run. I do macOS development under Mojave and only use the >>> Catalina and/or Big Sur VMs for testing or builds (if for some reason >>> I need to check a build under one of those OSes. Both Catalina and >>> Big Sur work with VirtualBox. VMs are of course slower, but he >>> ability to back them up, clone them, restore to a specific save point >>> and such I think outweigh the speed as a developer tool. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Sat Apr 24 15:31:00 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 24 Apr 2021 21:31:00 +0200 Subject: PDF Widget In-Reply-To: References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> Message-ID: Aber Klaus, for just displaying a PDF, you could use the browser widget Op 23-4-2021 om 13:48 schreef Klaus major-k via use-livecode: > Hi Tore, > >> Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode : >> >> Not everyone needs it. > that was just a little joke. :-) > >> I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything >> I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. > It would be enough, at least for me, if we could display a PDF (directly as a control) in a stack and > NOT inside of a browser widget, which is not working "out of the box" on Android. > >> I do however think that it would be a good thing if it was possible to buy widgets on a per widget basis. >> That would enhance the LiveCode experience in my mind. > Definitively! > >> Best regards >> Tore Nilsen >> >>> 23. apr. 2021 kl. 13:24 skrev Klaus major-k via use-livecode : >>>> Either that or everyone that wants it has business edition? >>> EVERYONE needs and wants it, but not everyone has the business edition! :-D >>>> Sent from my iPhone >>>>>> Hi all, >>>>>> >>>>>> as far as I know the "PDF widget" is only available in the >>>>>> BUSINESS Version of Livecode. >>>>>> >>>>>> I already asked this in the past, but I would like to be >>>>>> able to buy this widget separately. >>>>>> >>>>>> Any idea if LC is planning to sell this separately at some time >>>>>> in the future? >>>>>> >>>>>> Best >>>>>> >>>>>> Klaus >>>>> noone else interested in buying that widget separately? > 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 Sat Apr 24 16:37:59 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 24 Apr 2021 22:37:59 +0200 Subject: PDF Widget In-Reply-To: References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> Message-ID: <7FF5E485-C6EB-4EB7-9B8A-40F03A14E6D3@major-k.de> > Am 24.04.2021 um 21:31 schrieb JeeJeeStudio via use-livecode : > > Aber Klaus, for just displaying a PDF, you could use the browser widget Maar JeeJee, I wrote: ... directly as a control) in a stack and NOT inside of a browser widget, which is not working "out of the box" on Android. Yes, call me lazy... 8-) > Op 23-4-2021 om 13:48 schreef Klaus major-k via use-livecode: >> Hi Tore, >> >>> Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode : >>> >>> Not everyone needs it. >> that was just a little joke. :-) >> >>> I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything >>> I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. >> It would be enough, at least for me, if we could display a PDF (directly as a control) in a stack and >> NOT inside of a browser widget, which is not working "out of the box" on Android. >> >>> I do however think that it would be a good thing if it was possible to buy widgets on a per widget basis. >>> That would enhance the LiveCode experience in my mind. >> Definitively! >> >>> Best regards >>> Tore Nilsen Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From rdimola at evergreeninfo.net Sat Apr 24 20:16:31 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 24 Apr 2021 20:16:31 -0400 Subject: PDF Widget In-Reply-To: <7FF5E485-C6EB-4EB7-9B8A-40F03A14E6D3@major-k.de> References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> <7FF5E485-C6EB-4EB7-9B8A-40F03A14E6D3@major-k.de> Message-ID: <002e01d73968$417e57a0$c47b06e0$@net> I have used pdfjs on Android. When the URL of the page ends in PDF then you download it(if not on local device already). You can view the PDF via pdfjs in the browser widget. It does not work on desktop locally because browsers can't access local files. I tested in the IDE using a web server. 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 Klaus major-k via use-livecode Sent: Saturday, April 24, 2021 4:38 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: PDF Widget > Am 24.04.2021 um 21:31 schrieb JeeJeeStudio via use-livecode : > > Aber Klaus, for just displaying a PDF, you could use the browser > widget Maar JeeJee, I wrote: ... directly as a control) in a stack and NOT inside of a browser widget, which is not working "out of the box" on Android. Yes, call me lazy... 8-) > Op 23-4-2021 om 13:48 schreef Klaus major-k via use-livecode: >> Hi Tore, >> >>> Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode : >>> >>> Not everyone needs it. >> that was just a little joke. :-) >> >>> I had the business edition for a year and for what it is worth, the >>> pdf-widget did not offer anything I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. >> It would be enough, at least for me, if we could display a PDF >> (directly as a control) in a stack and NOT inside of a browser widget, which is not working "out of the box" on Android. >> >>> I do however think that it would be a good thing if it was possible to buy widgets on a per widget basis. >>> That would enhance the LiveCode experience in my mind. >> Definitively! >> >>> Best regards >>> Tore Nilsen 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 scott at elementarysoftware.com Sun Apr 25 04:04:12 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 25 Apr 2021 01:04:12 -0700 Subject: App fails to launch after code signing Message-ID: I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch. It reports success for code signing, notarization and staplication. I?m using a lightly modified version of Matthias Rebbe?s great < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows: "valid on disk? "satisfies its Designated Requirement" When I look in the console I see this happens when the app tries to launch: "AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46? This app uses the following inclusions (added manually) tsNet mergJSON Revolution Zip Internet DataGrid The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn?t do anything like that. Any ideas what this might mean? -- 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 Sun Apr 25 06:36:51 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 25 Apr 2021 03:36:51 -0700 Subject: App fails to launch after code signing In-Reply-To: References: Message-ID: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 5) which is what I had been using. And it worked? which is great but I have no idea why. ? Scott > On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode wrote: > > I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch. > > It reports success for code signing, notarization and staplication. > I?m using a lightly modified version of Matthias Rebbe?s great < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows: > > "valid on disk? > "satisfies its Designated Requirement" > > When I look in the console I see this happens when the app tries to launch: > > "AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46? > > This app uses the following inclusions (added manually) > tsNet > mergJSON > Revolution Zip > Internet > DataGrid > > The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn?t do anything like that. Any ideas what this might mean? > > -- > 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 jeejeestudio at gmail.com Sun Apr 25 07:22:59 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sun, 25 Apr 2021 13:22:59 +0200 Subject: PDF Widget In-Reply-To: <7FF5E485-C6EB-4EB7-9B8A-40F03A14E6D3@major-k.de> References: <806FDE9A-233F-4B05-8DD7-68914412EDC6@major-k.de> <1B123CD6-FCE5-4DCB-9C49-2B76867C33D4@milby7.com> <4C79B7E3-C251-402E-B2F8-EA82AE19A9E3@major-k.de> <7FF5E485-C6EB-4EB7-9B8A-40F03A14E6D3@major-k.de> Message-ID: <4fa21395-dc88-7b47-4d44-0e9465b8dffd@gmail.com> hhhmmm, yes, sorry let me refrase that.... What I did is download the pdf then opened an external browser, and as soon the browser was closed it went back to the app. Don't know exactly anymore why I did not use the browser widget, so I was remembering it wrong. But probably because displaying a pDF sucks Big TIme on Android within LC using Indy that time. (just like our prime minister, he remembers nothing and has no recollection of it or remembered it wrong :) ) If it helps, what I did was: local tFile, tHier, tHeaders,tResult on mouseUp ?? tsNetInit ?? if the environment is "mobile" then --ok for Android and iOS ????? set the defaultFolder to specialFolderPath("documents") ????? put specialFolderPath("documents") & "/help.pdf" into tHier ?? end if ?? put tsNetGetFile("1", tHier, "https://www.somewebpage.nl/folder/help.pdf", tHeaders, "transferComplete") into tResult end mouseUp on helpdownloaded ?? if the environment is "mobile" then --ok for Android and iOS ????? put specialFolderPath("documents") & "/help.pdf" into tFile ?? end if ?? if there is a file tFile then ????? if the platform is "android" then ???????? mobileToast "Help file is gedownload", "short" ????? --this works OK with external browser on Android--downloaden en dan kopieren naar sdcard ????? put URL ("binfile:" & specialFolderPath("documents") & "/help.pdf") into URL ("binfile:/mnt/sdcard/help.pdf") ????? launch url "file:/mnt/sdcard/help.pdf" ????? end if ?? else ????? mobileToast "No file" ?? end if end helpdownloaded on transferComplete pID, pResult, pBytes, pCurlCode ?? local tData ?? --answer tsNetGetStatus("1") ?? if pCurlCode is not 0 then ????? answer tsNetRetrError(pID) ?? --else ????? --answer "File has been downloaded" ?? end if ?? tsNetCloseConn pID ?? helpdownloaded end transferComplete Op 24-4-2021 om 22:37 schreef Klaus major-k via use-livecode: > >> Am 24.04.2021 um 21:31 schrieb JeeJeeStudio via use-livecode : >> >> Aber Klaus, for just displaying a PDF, you could use the browser widget > Maar JeeJee, I wrote: > ... directly as a control) in a stack and > NOT inside of a browser widget, which is not working "out of the box" on Android. > > Yes, call me lazy... 8-) > >> Op 23-4-2021 om 13:48 schreef Klaus major-k via use-livecode: >>> Hi Tore, >>> >>>> Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode : >>>> >>>> Not everyone needs it. >>> that was just a little joke. :-) >>> >>>> I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything >>>> I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. >>> It would be enough, at least for me, if we could display a PDF (directly as a control) in a stack and >>> NOT inside of a browser widget, which is not working "out of the box" on Android. >>> >>>> I do however think that it would be a good thing if it was possible to buy widgets on a per widget basis. >>>> That would enhance the LiveCode experience in my mind. >>> Definitively! >>> >>>> Best regards >>>> Tore Nilsen > 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 phil at liverpool.ac.uk Sun Apr 25 09:43:22 2021 From: phil at liverpool.ac.uk (Jimmieson, Phil) Date: Sun, 25 Apr 2021 13:43:22 +0000 Subject: App fails to launch after code signing In-Reply-To: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> References: , <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> Message-ID: <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> Hi Scott, I had something similar with an app that uses revZip. Have a look at this discussion on livecode?s bug reporter site: https://quality.livecode.com/show_bug.cgi?id=23176 Sent from my iPhone On 25 Apr 2021, at 11:38, scott--- via use-livecode wrote: ?I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 5) which is what I had been using. And it worked? which is great but I have no idea why. ? Scott On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode wrote: I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch. It reports success for code signing, notarization and staplication. I?m using a lightly modified version of Matthias Rebbe?s great < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows: "valid on disk? "satisfies its Designated Requirement" When I look in the console I see this happens when the app tries to launch: "AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46? This app uses the following inclusions (added manually) tsNet mergJSON Revolution Zip Internet DataGrid The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn?t do anything like that. Any ideas what this might mean? -- 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sun Apr 25 19:44:57 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 25 Apr 2021 16:44:57 -0700 Subject: App fails to launch after code signing In-Reply-To: <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> References: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> Message-ID: Thanks for that pointer, Phil. It is suggestive of where I should start digging first. ? Scott > On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode wrote: > > Hi Scott, > > I had something similar with an app that uses revZip. Have a look at this discussion on livecode?s bug reporter site: > > > https://quality.livecode.com/show_bug.cgi?id=23176 > > Sent from my iPhone > > On 25 Apr 2021, at 11:38, scott--- via use-livecode wrote: > > ?I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 5) which is what I had been using. And it worked? which is great but I have no idea why. > > ? > Scott > > > On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode wrote: > > I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch. > > It reports success for code signing, notarization and staplication. > I?m using a lightly modified version of Matthias Rebbe?s great < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows: > > "valid on disk? > "satisfies its Designated Requirement" > > When I look in the console I see this happens when the app tries to launch: > > "AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46? > > This app uses the following inclusions (added manually) > tsNet > mergJSON > Revolution Zip > Internet > DataGrid > > The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn?t do anything like that. Any ideas what this might mean? > > -- > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 25 20:43:55 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 25 Apr 2021 17:43:55 -0700 Subject: App fails to launch after code signing In-Reply-To: References: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> Message-ID: <03FDA39F-3768-422C-9B5E-DF2DD6844407@me.com> Also, you don?t want to test the app/installer before signing it?that could cause things to fail. Peter > On Apr 25, 2021, at 4:44 PM, scott--- via use-livecode wrote: > > Thanks for that pointer, Phil. It is suggestive of where I should start digging first. > > ? > Scott > >> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode wrote: >> >> Hi Scott, >> >> I had something similar with an app that uses revZip. Have a look at this discussion on livecode?s bug reporter site: >> >> >> https://quality.livecode.com/show_bug.cgi?id=23176 >> >> Sent from my iPhone >> >> On 25 Apr 2021, at 11:38, scott--- via use-livecode wrote: >> >> ?I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 5) which is what I had been using. And it worked? which is great but I have no idea why. >> >> ? >> Scott >> >> >> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode wrote: >> >> I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch. >> >> It reports success for code signing, notarization and staplication. >> I?m using a lightly modified version of Matthias Rebbe?s great < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows: >> >> "valid on disk? >> "satisfies its Designated Requirement" >> >> When I look in the console I see this happens when the app tries to launch: >> >> "AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46? >> >> This app uses the following inclusions (added manually) >> tsNet >> mergJSON >> Revolution Zip >> Internet >> DataGrid >> >> The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn?t do anything like that. Any ideas what this might mean? >> >> -- >> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 26 00:28:38 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 25 Apr 2021 21:28:38 -0700 Subject: App fails to launch after code signing In-Reply-To: <03FDA39F-3768-422C-9B5E-DF2DD6844407@me.com> References: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> <03FDA39F-3768-422C-9B5E-DF2DD6844407@me.com> Message-ID: <69C2DC76-158A-4C1D-B3E7-25B560D1911E@elementarysoftware.com> Adding the entitlement did the trick (I thought that I had tried it already but apparently not.) Oddly, I found that if I just swapped the revzip.bundle with one from an earlier version of LC I was able to build it without entitlements. Thanks for the help. ?Scott ps. Out of curiosity, what might cause the app/installer to change if it were launched before signing? > On Apr 25, 2021, at 5:43 PM, Peter Bogdanoff via use-livecode wrote: > > Also, you don?t want to test the app/installer before signing it?that could cause things to fail. > > Peter > >> On Apr 25, 2021, at 4:44 PM, scott--- via use-livecode wrote: >> >> Thanks for that pointer, Phil. It is suggestive of where I should start digging first. >> >> ? >> Scott >> >>> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode wrote: >>> >>> Hi Scott, >>> >>> I had something similar with an app that uses revZip. Have a look at this discussion on livecode?s bug reporter site: >>> >>> >>> https://quality.livecode.com/show_bug.cgi?id=23176 >>> >>> Sent from my iPhone >>> >>> On 25 Apr 2021, at 11:38, scott--- via use-livecode wrote: >>> >>> ?I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 5) which is what I had been using. And it worked? which is great but I have no idea why. >>> >>> ? >>> Scott >>> >>> >>> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode wrote: >>> >>> I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch. >>> >>> It reports success for code signing, notarization and staplication. >>> I?m using a lightly modified version of Matthias Rebbe?s great < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows: >>> >>> "valid on disk? >>> "satisfies its Designated Requirement" >>> >>> When I look in the console I see this happens when the app tries to launch: >>> >>> "AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46? >>> >>> This app uses the following inclusions (added manually) >>> tsNet >>> mergJSON >>> Revolution Zip >>> Internet >>> DataGrid >>> >>> The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn?t do anything like that. Any ideas what this might mean? >>> >>> -- >>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 02:09:12 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 26 Apr 2021 01:09:12 -0500 Subject: App fails to launch after code signing In-Reply-To: <69C2DC76-158A-4C1D-B3E7-25B560D1911E@elementarysoftware.com> References: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> <03FDA39F-3768-422C-9B5E-DF2DD6844407@me.com> <69C2DC76-158A-4C1D-B3E7-25B560D1911E@elementarysoftware.com> Message-ID: <1790ccbc740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I was wondering the same thing, and also why an older version of revZip didn't need entitlements to be set. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 25, 2021 11:31:25 PM scott--- via use-livecode wrote: > > ps. Out of curiosity, what might cause the app/installer to change if it > were launched before signing? From phil at liverpool.ac.uk Mon Apr 26 02:19:34 2021 From: phil at liverpool.ac.uk (Jimmieson, Phil) Date: Mon, 26 Apr 2021 06:19:34 +0000 Subject: App fails to launch after code signing In-Reply-To: <1790ccbc740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> <03FDA39F-3768-422C-9B5E-DF2DD6844407@me.com> <69C2DC76-158A-4C1D-B3E7-25B560D1911E@elementarysoftware.com>, <1790ccbc740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0F82B3CF-11D1-467B-BD3E-DE4AACD469ED@liverpool.ac.uk> Panos said that the older version of revZip was built with an older version of Xcode (11.x), vs the newer revZip (Xcode 12.x), so presumably the difference is due to that... Sent from my iPad > On 26 Apr 2021, at 07:11, J. Landman Gay via use-livecode wrote: > > ?I was wondering the same thing, and also why an older version of revZip didn't need entitlements to be set. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On April 25, 2021 11:31:25 PM scott--- via use-livecode wrote: >> >> ps. Out of curiosity, what might cause the app/installer to change if it were launched before signing? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Apr 26 02:46:27 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 26 Apr 2021 09:46:27 +0300 Subject: App fails to launch after code signing In-Reply-To: <0F82B3CF-11D1-467B-BD3E-DE4AACD469ED@liverpool.ac.uk> References: <774966B8-D925-4ABD-8CCF-FD8D5D7F998F@elementarysoftware.com> <8A8AE81E-B299-468F-A7C7-2D97C74E14CF@liverpool.ac.uk> <03FDA39F-3768-422C-9B5E-DF2DD6844407@me.com> <69C2DC76-158A-4C1D-B3E7-25B560D1911E@elementarysoftware.com> <1790ccbc740.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0F82B3CF-11D1-467B-BD3E-DE4AACD469ED@liverpool.ac.uk> Message-ID: Hello all, Yes, indeed, it seems the culprit is the Xcode version. We build LiveCode (and its externals) against the MacOSX 10.9 SDK, and set the minimum deployment version, again, to MacOSX 10.9. If you examine the externals using the "otool" command (otool -l /path/to/your.dylib | grep -B 1 -A 3 LC_VERSION_MIN), which returns some info about the SDKs used, it returns: - - in LC 9.6.1 (built with Xcode 11.x): Load command 8 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.9 sdk 10.9 - but in LC 9.6.2 RC-X (built with Xcode 12.x): Load command 8 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.9 sdk n/a The "sdk n/a" part creates the problem. This happens because when signing with hardened runtime enabled (this is a requirement for the the notarization), then the "library validation" check is enabled by default, and for this to work all the components must be built with at least the MacOSX 10.9 sdk. But the "sdk n/a" part means that it does not know what version of the sdk was used, so the library validation feature blocks the externals from being launched. This is why disabling the library validation is a temporary workaround. We are investigating this, so as you do not need to disable library validation just for loading the LC externals. Kind regards, Panos -- On Mon, 26 Apr 2021 at 09:20, Jimmieson, Phil via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos said that the older version of revZip was built with an older > version of Xcode (11.x), vs the newer revZip (Xcode 12.x), so presumably > the difference is due to that... > > Sent from my iPad > > > On 26 Apr 2021, at 07:11, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?I was wondering the same thing, and also why an older version of revZip > didn't need entitlements to be set. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > >> On April 25, 2021 11:31:25 PM scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ps. Out of curiosity, what might cause the app/installer to change if > it were launched before signing? > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Mon Apr 26 04:41:52 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Mon, 26 Apr 2021 10:41:52 +0200 Subject: AW: Failed to get the keychain item In-Reply-To: References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> Message-ID: <006401d73a78$01da4fd0$058eef70$@kestner.de> Found it (just too much informations at once), thanks for the perfect docs! Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von matthias rebbe via use-livecode Gesendet: Freitag, 23. April 2021 13:35 An: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Betreff: Re: Failed to get the keychain item Tiemo Did you follow Step 7 Addendum 1 which describes how to add your password to the keychain. If you want to, you can call me by phone. It's easier to explain in German. ;) Regards Matthias Von meinem iPhone gesendet > Am 23.04.2021 um 13:14 schrieb Tiemo via use-livecode : > > ?Hello, > > > > I am trying to notarize an app the first time. > > I followed Matthias exquisite LiveCode guideline for codesigning and > notarizing and am using his nice helper tool. > > I created an app specific password online in my Apple-ID account and > put it into the preferences of the notarize tool of Matthias. > > I get the error: > > Failed to get the password for the keychain item. The keychain item > "myPassword" was not found. > > > > What am I missing? Or how do I have to import the app specific > password from my Apple account into my local keychain, so that the > notarizing process can find it? I didn't found a "download" and no hint in the documents. > > > > Any idea? > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode - Matthias Rebbe Life Is Too Short For Boring Code _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Apr 26 12:20:34 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 26 Apr 2021 19:20:34 +0300 Subject: [ANN] This Week in LiveCode 263 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #263 here: https://bit.ly/3eB3LYW This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From waprothero at gmail.com Mon Apr 26 15:03:22 2021 From: waprothero at gmail.com (William Prothero) Date: Mon, 26 Apr 2021 12:03:22 -0700 Subject: Simple Datagrid task? In-Reply-To: <006401d73a78$01da4fd0$058eef70$@kestner.de> References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> <006401d73a78$01da4fd0$058eef70$@kestner.de> Message-ID: <22B9EFB2-3A3D-40E2-8B6C-E5750013F05C@gmail.com> Folks: I?m wanting to use a datagrid to store data that I enter by hand. Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? Could somebody point me to a tutorial that lets me do this simple task with a datagrid? Thanks, Bill From Hakan at Exformedia.se Tue Apr 27 08:20:46 2021 From: Hakan at Exformedia.se (hakan@exformedia.se) Date: Tue, 27 Apr 2021 14:20:46 +0200 Subject: Simple Datagrid task? In-Reply-To: <22B9EFB2-3A3D-40E2-8B6C-E5750013F05C@gmail.com> References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> <006401d73a78$01da4fd0$058eef70$@kestner.de> <22B9EFB2-3A3D-40E2-8B6C-E5750013F05C@gmail.com> Message-ID: <8F8FF709-D86E-4358-B685-AA2F22313DA4@Exformedia.se> On the second tab in the preferences pane there is a checkbox that says ?Allow text editing?. If you have that selected you can edit the text by double-clicking a cell. Or do you need something else? :-H?kan > On 26 Apr 2021, at 21:03, William Prothero via use-livecode wrote: > > Folks: > I?m wanting to use a datagrid to store data that I enter by hand. > > Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. > > I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. > > I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? > > Could somebody point me to a tutorial that lets me do this simple task with a datagrid? > > Thanks, > Bill > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 27 09:27:10 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 27 Apr 2021 09:27:10 -0400 Subject: Simple Datagrid task? In-Reply-To: <8F8FF709-D86E-4358-B685-AA2F22313DA4@Exformedia.se> References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> <006401d73a78$01da4fd0$058eef70$@kestner.de> <22B9EFB2-3A3D-40E2-8B6C-E5750013F05C@gmail.com> <8F8FF709-D86E-4358-B685-AA2F22313DA4@Exformedia.se> Message-ID: <7E1640CA-A8EE-44E1-96B5-0EBB4543ED61@rogers.com> HI Here is a great resource stack on DataGrids you can see how to perform different actions. It has 8 different Datagrid forms showing different aspects. See Datagrid Form 7 of the stack. DG7: User input, user edit text, wrap text, sum column of numbers https://forums.livecode.com/viewtopic.php?f=7&t=20130&p=102026&hilit=datagrid+expand+rows#p102026 Martin > On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode wrote: > > On the second tab in the preferences pane there is a checkbox that says ?Allow text editing?. If you have that selected you can edit the text by double-clicking a cell. > > Or do you need something else? > > :-H?kan > >> On 26 Apr 2021, at 21:03, William Prothero via use-livecode wrote: >> >> Folks: >> I?m wanting to use a datagrid to store data that I enter by hand. >> >> Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. >> >> I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. >> >> I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? >> >> Could somebody point me to a tutorial that lets me do this simple task with a datagrid? >> >> Thanks, >> Bill >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 27 09:29:19 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 27 Apr 2021 09:29:19 -0400 Subject: Simple Datagrid task? In-Reply-To: <7E1640CA-A8EE-44E1-96B5-0EBB4543ED61@rogers.com> References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> <006401d73a78$01da4fd0$058eef70$@kestner.de> <22B9EFB2-3A3D-40E2-8B6C-E5750013F05C@gmail.com> <8F8FF709-D86E-4358-B685-AA2F22313DA4@Exformedia.se> <7E1640CA-A8EE-44E1-96B5-0EBB4543ED61@rogers.com> Message-ID: <46DAF8E0-3670-4B15-A5C7-19632B50302D@rogers.com> Hi again Actually this is a better link for this resource. https://forums.livecode.com/viewtopic.php?f=7&t=20130 Martin Koob > On Apr 27, 2021, at 9:27 AM, Martin Koob wrote: > > HI > > Here is a great resource stack on DataGrids you can see how to perform different actions. It has 8 different Datagrid forms showing different aspects. See Datagrid Form 7 of the stack. > DG7: User input, user edit text, wrap text, sum column of numbers > > https://forums.livecode.com/viewtopic.php?f=7&t=20130&p=102026&hilit=datagrid+expand+rows#p102026 > > Martin > > >> On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode wrote: >> >> On the second tab in the preferences pane there is a checkbox that says ?Allow text editing?. If you have that selected you can edit the text by double-clicking a cell. >> >> Or do you need something else? >> >> :-H?kan >> >>> On 26 Apr 2021, at 21:03, William Prothero via use-livecode wrote: >>> >>> Folks: >>> I?m wanting to use a datagrid to store data that I enter by hand. >>> >>> Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. >>> >>> I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. >>> >>> I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? >>> >>> Could somebody point me to a tutorial that lets me do this simple task with a datagrid? >>> >>> Thanks, >>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Tue Apr 27 09:50:23 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 27 Apr 2021 09:50:23 -0400 Subject: Simple Datagrid task? In-Reply-To: <8F8FF709-D86E-4358-B685-AA2F22313DA4@Exformedia.se> References: <000601d73831$a52976f0$ef7c64d0$@kestner.de> <006401d73a78$01da4fd0$058eef70$@kestner.de> <22B9EFB2-3A3D-40E2-8B6C-E5750013F05C@gmail.com> <8F8FF709-D86E-4358-B685-AA2F22313DA4@Exformedia.se> Message-ID: <09D633C8-F49E-4F9E-8563-302184BB363F@rogers.com> Hi I wanted to give you more of an explanation of how to get enter text in field to work. Just refreshing my own memory I had to go back to my project. So as H?kan said you have to first allow editing. Then you can?t just enter text into a cell and have it deal with it. You have to use a Datagrid command EditTextField Here is the handler I use in my project which I adapted from the DG7 form of the DGForms.zip file that you can download here: https://forums.livecode.com/viewtopic.php?f=7&t=20130 -------------------- on mouseDoubleUp pMouseBtnNum local theKey -- Example of how to edit the contents of a field. -- By passing the index of the record associated with copy of this template being displayed and -- a key (array key) the data grid will automatically save the changes the user -- makes and refresh the UI by calling FillInData and resizeControl. if pMouseBtnNum is 1 then if the dgProps["allow editing"] of the dgControl of me then put the short name of the target into sEditedField switch sEditedField case "RaterComments" put "CriteriaComments" into theKey EditFieldText the long id of the target, the dgIndex of me, theKey break case "title" put "title" into theKey EditFieldText the long id of the target, the dgIndex of me, theKey break end switch end if end if pass mouseDoubleUp end mouseDoubleUp ?????? Hope this helps. Martin Koob > On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode wrote: > > On the second tab in the preferences pane there is a checkbox that says ?Allow text editing?. If you have that selected you can edit the text by double-clicking a cell. > > Or do you need something else? > > :-H?kan > >> On 26 Apr 2021, at 21:03, William Prothero via use-livecode wrote: >> >> Folks: >> I?m wanting to use a datagrid to store data that I enter by hand. >> >> Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. >> >> I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. >> >> I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? >> >> Could somebody point me to a tutorial that lets me do this simple task with a datagrid? >> >> Thanks, >> Bill >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Tue Apr 27 11:07:23 2021 From: waprothero at gmail.com (William Prothero) Date: Tue, 27 Apr 2021 08:07:23 -0700 Subject: Simple Datagrid task? In-Reply-To: <09D633C8-F49E-4F9E-8563-302184BB363F@rogers.com> References: <09D633C8-F49E-4F9E-8563-302184BB363F@rogers.com> Message-ID: <0E4115B0-40AB-4117-9ACF-B609FEC0302A@gmail.com> Thanks for your help. I hate to ask such newby questions, but I?m really busy, and what I needed to do seemed so basic. Best, Bill William Prothero https://earthlearningsolutions.org > On Apr 27, 2021, at 6:51 AM, Martin Koob wrote: > > ?Hi > > I wanted to give you more of an explanation of how to get enter text in field to work. Just refreshing my own memory I had to go back to my project. > > So as H?kan said you have to first allow editing. > > Then you can?t just enter text into a cell and have it deal with it. You have to use a Datagrid command EditTextField > > Here is the handler I use in my project which I adapted from the DG7 form of the DGForms.zip file that you can download here: > https://forums.livecode.com/viewtopic.php?f=7&t=20130 > > > -------------------- > on mouseDoubleUp pMouseBtnNum > > local theKey > > > -- Example of how to edit the contents of a field. > > -- By passing the index of the record associated with copy of this template being displayed and > > -- a key (array key) the data grid will automatically save the changes the user > > -- makes and refresh the UI by calling FillInData and resizeControl. > > if pMouseBtnNum is 1 then > > if the dgProps["allow editing"] of the dgControl of me then > > put the short name of the target into sEditedField > > switch sEditedField > > case "RaterComments" > > put "CriteriaComments" into theKey > > EditFieldText the long id of the target, the dgIndex of me, theKey > > break > > case "title" > > put "title" into theKey > > EditFieldText the long id of the target, the dgIndex of me, theKey > > break > > end switch > > end if > > end if > > pass mouseDoubleUp > end mouseDoubleUp > > > ?????? > > Hope this helps. > > Martin Koob > > >> On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode wrote: >> >> On the second tab in the preferences pane there is a checkbox that says ?Allow text editing?. If you have that selected you can edit the text by double-clicking a cell. >> >> Or do you need something else? >> >> :-H?kan >> >>>> On 26 Apr 2021, at 21:03, William Prothero via use-livecode wrote: >>> >>> Folks: >>> I?m wanting to use a datagrid to store data that I enter by hand. >>> >>> Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. >>> >>> I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. >>> >>> I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? >>> >>> Could somebody point me to a tutorial that lets me do this simple task with a datagrid? >>> >>> Thanks, >>> Bill >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 27 11:19:17 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 27 Apr 2021 11:19:17 -0400 Subject: Simple Datagrid task? In-Reply-To: <0E4115B0-40AB-4117-9ACF-B609FEC0302A@gmail.com> References: <09D633C8-F49E-4F9E-8563-302184BB363F@rogers.com> <0E4115B0-40AB-4117-9ACF-B609FEC0302A@gmail.com> Message-ID: <36231CA5-1014-493B-B6AB-5697A053ABB4@rogers.com> Bill I totally understand. I struggled with this a few months ago partly because it is counter intuitive that I couldn?t just enter text in a field in the DataGrid that I could edit and partly because I couldn?t figure out how to do it from the docs. Finally I found the example stack and worked it through. So I am happy to help people avoid the rut I had fallen into on this issue or help newbie?s avoid the rut. Plus if I type it out here I might find just find it again when I forget how to do it in a couple of years. That has happened more than once. Look online for a solution to a problem, find the answer and then find that I had written it. :-( Martin > On Apr 27, 2021, at 11:07 AM, William Prothero via use-livecode wrote: > > Thanks for your help. I hate to ask such newby questions, but I?m really busy, and what I needed to do seemed so basic. > > Best, > Bill > > William Prothero > https://earthlearningsolutions.org > >> On Apr 27, 2021, at 6:51 AM, Martin Koob wrote: >> >> ?Hi >> >> I wanted to give you more of an explanation of how to get enter text in field to work. Just refreshing my own memory I had to go back to my project. >> >> So as H?kan said you have to first allow editing. >> >> Then you can?t just enter text into a cell and have it deal with it. You have to use a Datagrid command EditTextField >> >> Here is the handler I use in my project which I adapted from the DG7 form of the DGForms.zip file that you can download here: >> https://forums.livecode.com/viewtopic.php?f=7&t=20130 >> >> >> -------------------- >> on mouseDoubleUp pMouseBtnNum >> >> local theKey >> >> >> -- Example of how to edit the contents of a field. >> >> -- By passing the index of the record associated with copy of this template being displayed and >> >> -- a key (array key) the data grid will automatically save the changes the user >> >> -- makes and refresh the UI by calling FillInData and resizeControl. >> >> if pMouseBtnNum is 1 then >> >> if the dgProps["allow editing"] of the dgControl of me then >> >> put the short name of the target into sEditedField >> >> switch sEditedField >> >> case "RaterComments" >> >> put "CriteriaComments" into theKey >> >> EditFieldText the long id of the target, the dgIndex of me, theKey >> >> break >> >> case "title" >> >> put "title" into theKey >> >> EditFieldText the long id of the target, the dgIndex of me, theKey >> >> break >> >> end switch >> >> end if >> >> end if >> >> pass mouseDoubleUp >> end mouseDoubleUp >> >> >> ?????? >> >> Hope this helps. >> >> Martin Koob >> >> >>> On Apr 27, 2021, at 8:20 AM, hakan--- via use-livecode wrote: >>> >>> On the second tab in the preferences pane there is a checkbox that says ?Allow text editing?. If you have that selected you can edit the text by double-clicking a cell. >>> >>> Or do you need something else? >>> >>> :-H?kan >>> >>>>> On 26 Apr 2021, at 21:03, William Prothero via use-livecode wrote: >>>> >>>> Folks: >>>> I?m wanting to use a datagrid to store data that I enter by hand. >>>> >>>> Seems this oughta be quite simple, but ?.. messing with the docs is frustrating. >>>> >>>> I want to be able to click on an empty cell in a datagrid, have it open, and enter a number or text. Then I want to store the values to a file. I have no problem with using dgArray to get the data and store it, but the simple act of opening a cell so I can enter a number eludes me. >>>> >>>> I?m sure there must be tutorials, but I guess I?m impatient to sort through them. When I started looking around, I see there?s a problem trying to enter data into an empty cell. I need to do this. The cells with data open and let me enter values when I double click, but ??. empty ones? >>>> >>>> Could somebody point me to a tutorial that lets me do this simple task with a datagrid? >>>> >>>> Thanks, >>>> Bill >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Hakan at Exformedia.se Wed Apr 28 04:15:07 2021 From: Hakan at Exformedia.se (hakan@exformedia.se) Date: Wed, 28 Apr 2021 10:15:07 +0200 Subject: Simple Datagrid task? In-Reply-To: <36231CA5-1014-493B-B6AB-5697A053ABB4@rogers.com> References: <09D633C8-F49E-4F9E-8563-302184BB363F@rogers.com> <0E4115B0-40AB-4117-9ACF-B609FEC0302A@gmail.com> <36231CA5-1014-493B-B6AB-5697A053ABB4@rogers.com> Message-ID: <3B591381-C005-4504-98C8-0B78A985C139@Exformedia.se> Just got a D?j? Vu :) :-H?kan > On 27 Apr 2021, at 17:19, Martin Koob via use-livecode wrote: > > Look online for a solution to a problem, find the answer and then find that I had written it From benr_mc at cogapp.com Wed Apr 28 13:33:17 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 28 Apr 2021 18:33:17 +0100 Subject: access DOM in browser widget? Message-ID: Is there a way to access the DOM from the browser widget? TIA, Ben From tom at makeshyft.com Wed Apr 28 14:08:09 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 28 Apr 2021 14:08:09 -0400 Subject: access DOM in browser widget? In-Reply-To: References: Message-ID: Hi Ben...... You can run JS in the browser widget..... Found this .... https://forums.livecode.com/viewtopic.php?t=31730 But if yoiu need any more of a direct way accessing it....I don't know of one. On Wed, Apr 28, 2021 at 1:34 PM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > > Is there a way to access the DOM from the browser widget? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From benr at cogapp.com Wed Apr 28 14:33:17 2021 From: benr at cogapp.com (Ben Rubinstein) Date: Wed, 28 Apr 2021 19:33:17 +0100 Subject: access DOM in browser widget? In-Reply-To: References: Message-ID: Thanks for responding Tom > But if yoiu need any more of a direct way accessing it....I don't know of > one. Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and be able to access the DOM (not the htmlText) in LiveCode script. It's not my page so I can't add javascript to it. Does anyone know if this is possible? TIA, Ben From martyknappster at gmail.com Wed Apr 28 14:40:29 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 28 Apr 2021 11:40:29 -0700 Subject: Stacks not removed from memory? Message-ID: <148A186D-E0AE-4125-B982-6B52DBB12681@gmail.com> Is anybody else experiencing with LC 9.6.2 rc5 that stacks with destroyStack set to true are not always removed from memory when they're closed? It's been happening to me in the IDE and standalones but not every time. And even when I specifically go to another stack, set that stack to the defaultStack, that any script with ?of this stack? throws an error because it thinks "this stack" it's the stack I just closed. Marty From tore.nilsen at me.com Wed Apr 28 14:44:12 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 28 Apr 2021 20:44:12 +0200 Subject: access DOM in browser widget? In-Reply-To: References: Message-ID: <8129EEAB-71A3-4C28-8B32-67CEE7D194F0@me.com> Have you had a look at "do in widget" in the Dictionary? You can actually perform JavaScript from LC on content in the browser widget. Best regards Tore > 28. apr. 2021 kl. 20:33 skrev Ben Rubinstein via use-livecode : > > > Thanks for responding Tom > >> But if yoiu need any more of a direct way accessing it....I don't know of one. > Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and be able to access the DOM (not the htmlText) in LiveCode script. > > It's not my page so I can't add javascript to it. > > Does anyone know if this is possible? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Wed Apr 28 23:34:33 2021 From: david.bovill at gmail.com (David Bovill) Date: Thu, 29 Apr 2021 04:34:33 +0100 Subject: Rust In-Reply-To: <004901d736cc$d3e15ff0$7ba41fd0$@net> References: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> <004901d736cc$d3e15ff0$7ba41fd0$@net> Message-ID: I need to interface with an open-source project that is being ported to rust (from C++). I would like to make an extensions library to add new syntax to my scripts. Is the way to go to create some C code that interfaces with rust -?https://docs.rust-embedded.org/book/interoperability/rust-with-c.html Or? From monte at appisle.net Wed Apr 28 23:59:37 2021 From: monte at appisle.net (Monte Goulding) Date: Thu, 29 Apr 2021 13:59:37 +1000 Subject: Rust In-Reply-To: References: <0b67a2b1-c679-5f47-0b62-85142d073688@fourthworld.com> <004901d736cc$d3e15ff0$7ba41fd0$@net> Message-ID: > On 29 Apr 2021, at 1:34 pm, David Bovill via use-livecode wrote: > > I need to interface with an open-source project that is being ported to rust (from C++). I would like to make an extensions library to add new syntax to my scripts. > > Is the way to go to create some C code that interfaces with rust - https://docs.rust-embedded.org/book/interoperability/rust-with-c.html If you read the page you link then you will know the answer is yes ;-) Also from the looks of things you should be able to make a shared library you can call from LCB by following the directions there. Cheers Monte From curry at pair.com Thu Apr 29 04:31:04 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 29 Apr 2021 04:31:04 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: Message-ID: (Full disclosure: Testing a "Cheerful Rant" format to see whether employing some humor is more effective when letting off steam, and hopefully even slipping a bit of common sense past politically-correct radars under the cover of attempted wit. We'll see how this fares, compared to the Standard Angry Rants and reflexive Community Defensive Reactions that we see every couple of weeks when people "Chimp Out" after a nasty ground-and-pound session with lovely LiveCode bugs! Trigger warning: may or may not induce mild chuckling, or in adverse cases traumatic Frontline Flashbacks to your bug battle days with intermittent seizures and a nasty full-body rash.) So...first to apologize for being less talkative here on the list during the last week: I've been spending some intimate time with one of LC's least-polished and buggiest features. Yep, I'm back on "paste" and related areas! It's a part of LC where you could choose to devote the entire remaining years of your life to the Bug Monkhood, filing thousands of bug reports and feature requests. Or you can file the most important dozen reports, avoid full-time Monkhood, and sum it up as: this area of LiveCode looks only "half-finished." It was a case of Codus Interruptus, apparently. More details on that and some other news to follow soon, when I've finished more workarounds, so that I can meet the client deadline and then file the bug reports.... Meanwhile, here's a dilemma of another sort: While working on paste and related areas that seem only half-finished in the LC Engine, I've been luxuriating in the blissful experience of having my coding and debugging interrupted by crashes and freezes. Did I lose any work, you might inquire? Ha ha, that'll be the day! You're talking to a person so save-compulsive that I can't even type a message like this without saving the draft after every sentence. (Save.) LC has trained me well, in the style of Pavlov's mutts. (Save, salivate.) So that's not even a problem. No, the trouble is trying to decide whether my all-time favorite should be the Crash or the Hang. Both are elegant ways of ending a work session. Yet each has its attractions, and even LiveCode's trusty conditioning hasn't provided me with a clear answer on which is better. (Wait, or has it? Save, salivate, wag.) Crashing instantly out to the Desktop is convenient, because you're all set to relaunch LC again with not so much as an extra click. You can relaunch and crash, relaunch and crash, almost as fast as one of those toy monkeys with the cymbals, and with a similar overall appearance. After you've done a few repeats, you also get a quicker start on your Cheerful Rant or your bug report. The complete instant crash (as long as the app simply disappears, with no system dialogs) is the epitome of a very clean and crisp user experience; I have to admire the purism. Finally, the nostalgia factor is huge: it really takes me back to LC 1.1.1 and my first days here. ("Hey, where'd the IDE go?") Thus, the winner for classic style might be the Instant Crash. All the Cool Kids do this; you should too! However, having the Engine "hang" can provide additional useful clues to the cause of the problem, in around 13% of all cases. That's automatically making lemons into lemonade, as long as your computer monitor was built up-to-snuff in Silicon Santa's third world sweatshops and the helpful clues don't "burn in" to the screen. The Hang also provides much of your recommended daily amount of Task Manager exercise with force-quit repetitions to bulk up mouse-hand and mouse-finger musculature on one side of your body, hermit-crab style. The asymmetric look will be trending any day now. Meanwhile your CPU gets an extra workout too, and this provides an excellent test of your OS kernel in throttling and managing out-of-control processes. (Usually that means LC.) This even warms up your laptop on those cold mornings. And when someone asks you "how's it hanging" you can quip a very technical answer with the computer usage stats for that particular bug. ("Yeah my homie, it's hanging around 37% CPU load today.") Altogether, that's a ton of added value; the Hang has a lot of bang for the buck! This is Fat Jolly Giant Panda Buffet of session endings. (For some there might be a childish tit-for-tat psychological appeal for the "Hang" in exercising control and closure over deciding when to force LC to quit. However, I would argue that's illusory; force-quit is almost always reactive. LC consistently maintains the iniative. The IDE arbitrarily chooses the moment and the manner to unceremoniously end your workflow, then forces you to take additional steps just to cool down your chip. Your only true choice is whether to relaunch or not. Therefore LC is calling the shots: LC = Pavlov. You're hoping for a little Beefaroni, maybe even a pat on the head: You = mutt. Force-quit, salivate.) Therefore...if I had a tiny antimatter emitter pointed at my forehead and some little alien dude was demanding in that I chose one or the other right now, I guess I'd go with the Quick Complete Crash. It saves considerable time and energy over the force quits. That's valuable energy to use for workarounds, bug reports, and the obligatory Cheerful Rant. Plus your hardware may last a bit longer. Fortunately, as long as no little alien dude shows up and holds the universe ransom, there's really no need to choose between the Crash and the Hang. As long as you code with LC frequently, and test more of its features, you can have both! BTW, Jonathan Swift was completely misguided in his implications, thus correct at face value: indeed cannabilism is preferable to potatoes. Likewise, you can bet every last well-chewed bone of that scrumptious feast on the obvious fact that LC bugginess bears absolutely no relationship whatsoever to LC refactoring or development philosophy, and furthermore that software releases can never be "stable" because that word has been conveniently redefined already. Thus, evil is actually good and necessary, as Eddie Murphy said once in a "sermon" of sorts. OK, now that the Cheerful Rant is completed, with only a few dozen anti-humorists and stable-strategic-ambiguists offended (you can't please everyone) back to the workarounds! Indeed the lame humor seemed effective here on my end for stress relief, although I probably caused innumerable casualties and crises around the world with this little experiment. Luckily I've found a way of avoiding this particular LC Engine hang - I think - so I'll press on to the next glitchy LC area. Pasting is actually getting pretty good. Nearing the final stretch of this deadline, so I'll be able to start writing recipes and filing bug reports soon, and hopefully these workarounds and improvements will eventually find their way into one of my addons so that others can benefit. That will come after some updates for existing addons, of course. Moving toward a next-gen workflow to facilitate more frequent updates and more commonality between addons.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From marksmithhfx at gmail.com Thu Apr 29 06:28:41 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 29 Apr 2021 11:28:41 +0100 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: Message-ID: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> Rants aside, here?s an odd pasting issue I ran into the other day. To cut to the chase, basically I can make a field become unmodifiable with respect to TEXT parameters (excluding align) by pasting anything from Apples TextEdit tool into the field. Is that just something quirky in my setup or do others have the same problem? I?ve also tried with Atom and did not see the same problem? Sorry to hear of all your crashes and hangs Curry. I suspect you are exercising LC a lot more vigorously than I am as a crash a year is a surprise to me (excluding working with DG?s where one has to tip toe cautiously to avoid ?breaking? the grid. I guess that would be considered a hang). Mark > On Apr 29, 2021, at 9:31 AM, Curry Kenworthy via use-livecode wrote: > > > (Full disclosure: Testing a "Cheerful Rant" format to see whether employing some humor is more effective when letting off steam, and hopefully even slipping a bit of common sense past politically-correct radars under the cover of attempted wit. We'll see how this fares, compared to the Standard Angry Rants and reflexive Community Defensive Reactions that we see every couple of weeks when people "Chimp Out" after a nasty ground-and-pound session with lovely LiveCode bugs! Trigger warning: may or may not induce mild chuckling, or in adverse cases traumatic Frontline Flashbacks to your bug battle days with intermittent seizures and a nasty full-body rash.) > > So...first to apologize for being less talkative here on the list during the last week: I've been spending some intimate time with one of LC's least-polished and buggiest features. Yep, I'm back on "paste" and related areas! It's a part of LC where you could choose to devote the entire remaining years of your life to the Bug Monkhood, filing thousands of bug reports and feature requests. Or you can file the most important dozen reports, avoid full-time Monkhood, and sum it up as: this area of LiveCode looks only "half-finished." It was a case of Codus Interruptus, apparently. > > More details on that and some other news to follow soon, when I've finished more workarounds, so that I can meet the client deadline and then file the bug reports.... > > Meanwhile, here's a dilemma of another sort: > > While working on paste and related areas that seem only half-finished in the LC Engine, I've been luxuriating in the blissful experience of having my coding and debugging interrupted by crashes and freezes. Did I lose any work, you might inquire? Ha ha, that'll be the day! You're talking to a person so save-compulsive that I can't even type a message like this without saving the draft after every sentence. (Save.) LC has trained me well, in the style of Pavlov's mutts. (Save, salivate.) So that's not even a problem. > > No, the trouble is trying to decide whether my all-time favorite should be the Crash or the Hang. > > Both are elegant ways of ending a work session. Yet each has its attractions, and even LiveCode's trusty conditioning hasn't provided me with a clear answer on which is better. (Wait, or has it? Save, salivate, wag.) > > Crashing instantly out to the Desktop is convenient, because you're all set to relaunch LC again with not so much as an extra click. You can relaunch and crash, relaunch and crash, almost as fast as one of those toy monkeys with the cymbals, and with a similar overall appearance. > > After you've done a few repeats, you also get a quicker start on your Cheerful Rant or your bug report. The complete instant crash (as long as the app simply disappears, with no system dialogs) is the epitome of a very clean and crisp user experience; I have to admire the purism. Finally, the nostalgia factor is huge: it really takes me back to LC 1.1.1 and my first days here. ("Hey, where'd the IDE go?") Thus, the winner for classic style might be the Instant Crash. All the Cool Kids do this; you should too! > > However, having the Engine "hang" can provide additional useful clues to the cause of the problem, in around 13% of all cases. That's automatically making lemons into lemonade, as long as your computer monitor was built up-to-snuff in Silicon Santa's third world sweatshops and the helpful clues don't "burn in" to the screen. The Hang also provides much of your recommended daily amount of Task Manager exercise with force-quit repetitions to bulk up mouse-hand and mouse-finger musculature on one side of your body, hermit-crab style. The asymmetric look will be trending any day now. > > Meanwhile your CPU gets an extra workout too, and this provides an excellent test of your OS kernel in throttling and managing out-of-control processes. (Usually that means LC.) This even warms up your laptop on those cold mornings. And when someone asks you "how's it hanging" you can quip a very technical answer with the computer usage stats for that particular bug. ("Yeah my homie, it's hanging around 37% CPU load today.") Altogether, that's a ton of added value; the Hang has a lot of bang for the buck! This is Fat Jolly Giant Panda Buffet of session endings. > > (For some there might be a childish tit-for-tat psychological appeal for the "Hang" in exercising control and closure over deciding when to force LC to quit. However, I would argue that's illusory; force-quit is almost always reactive. LC consistently maintains the iniative. The IDE arbitrarily chooses the moment and the manner to unceremoniously end your workflow, then forces you to take additional steps just to cool down your chip. Your only true choice is whether to relaunch or not. Therefore LC is calling the shots: LC = Pavlov. You're hoping for a little Beefaroni, maybe even a pat on the head: You = mutt. Force-quit, salivate.) > > Therefore...if I had a tiny antimatter emitter pointed at my forehead and some little alien dude was demanding in that I chose one or the other right now, I guess I'd go with the Quick Complete Crash. It saves considerable time and energy over the force quits. That's valuable energy to use for workarounds, bug reports, and the obligatory Cheerful Rant. Plus your hardware may last a bit longer. > > Fortunately, as long as no little alien dude shows up and holds the universe ransom, there's really no need to choose between the Crash and the Hang. As long as you code with LC frequently, and test more of its features, you can have both! > > BTW, Jonathan Swift was completely misguided in his implications, thus correct at face value: indeed cannabilism is preferable to potatoes. Likewise, you can bet every last well-chewed bone of that scrumptious feast on the obvious fact that LC bugginess bears absolutely no relationship whatsoever to LC refactoring or development philosophy, and furthermore that software releases can never be "stable" because that word has been conveniently redefined already. Thus, evil is actually good and necessary, as Eddie Murphy said once in a "sermon" of sorts. > > OK, now that the Cheerful Rant is completed, with only a few dozen anti-humorists and stable-strategic-ambiguists offended (you can't please everyone) back to the workarounds! Indeed the lame humor seemed effective here on my end for stress relief, although I probably caused innumerable casualties and crises around the world with this little experiment. > > Luckily I've found a way of avoiding this particular LC Engine hang - I think - so I'll press on to the next glitchy LC area. Pasting is actually getting pretty good. Nearing the final stretch of this deadline, so I'll be able to start writing recipes and filing bug reports soon, and hopefully these workarounds and improvements will eventually find their way into one of my addons so that others can benefit. That will come after some updates for existing addons, of course. Moving toward a next-gen workflow to facilitate more frequent updates and more commonality between addons.... > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Thu Apr 29 08:35:14 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 29 Apr 2021 14:35:14 +0200 Subject: Export an animated gif Message-ID: <3CBAB5F4-1EC1-41BC-9264-A0CF3FD692DE@me.com> I am currently working on a utility to reduce image size (width and height) of selected images, among them are some very large animated gifs. When I try to export these gifs to a file, only one frame gets exported. Is it possible at all to export animated gifs, and if so, how? Best regards Tore Nilsen From craig at starfirelighting.com Thu Apr 29 09:00:09 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 29 Apr 2021 09:00:09 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> References: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> Message-ID: Mark. Am I understanding that you can paste text from textEdit into a LC field, and that renders the field unusable? I see nothing like this. I rarely actually do that, though now and then use textEdit as a scratchpad to then load into a field. Is this actually something you see all the time? Craig > On Apr 29, 2021, at 6:28 AM, Mark Smith via use-livecode wrote: > > Rants aside, here?s an odd pasting issue I ran into the other day. To cut to the chase, basically I can make a field become unmodifiable with respect to TEXT parameters (excluding align) by pasting anything from Apples TextEdit tool into the field. Is that just something quirky in my setup or do others have the same problem? I?ve also tried with Atom and did not see the same problem? > > Sorry to hear of all your crashes and hangs Curry. I suspect you are exercising LC a lot more vigorously than I am as a crash a year is a surprise to me (excluding working with DG?s where one has to tip toe cautiously to avoid ?breaking? the grid. I guess that would be considered a hang). > > Mark > > >> On Apr 29, 2021, at 9:31 AM, Curry Kenworthy via use-livecode wrote: >> >> >> (Full disclosure: Testing a "Cheerful Rant" format to see whether employing some humor is more effective when letting off steam, and hopefully even slipping a bit of common sense past politically-correct radars under the cover of attempted wit. We'll see how this fares, compared to the Standard Angry Rants and reflexive Community Defensive Reactions that we see every couple of weeks when people "Chimp Out" after a nasty ground-and-pound session with lovely LiveCode bugs! Trigger warning: may or may not induce mild chuckling, or in adverse cases traumatic Frontline Flashbacks to your bug battle days with intermittent seizures and a nasty full-body rash.) >> >> So...first to apologize for being less talkative here on the list during the last week: I've been spending some intimate time with one of LC's least-polished and buggiest features. Yep, I'm back on "paste" and related areas! It's a part of LC where you could choose to devote the entire remaining years of your life to the Bug Monkhood, filing thousands of bug reports and feature requests. Or you can file the most important dozen reports, avoid full-time Monkhood, and sum it up as: this area of LiveCode looks only "half-finished." It was a case of Codus Interruptus, apparently. >> >> More details on that and some other news to follow soon, when I've finished more workarounds, so that I can meet the client deadline and then file the bug reports.... >> >> Meanwhile, here's a dilemma of another sort: >> >> While working on paste and related areas that seem only half-finished in the LC Engine, I've been luxuriating in the blissful experience of having my coding and debugging interrupted by crashes and freezes. Did I lose any work, you might inquire? Ha ha, that'll be the day! You're talking to a person so save-compulsive that I can't even type a message like this without saving the draft after every sentence. (Save.) LC has trained me well, in the style of Pavlov's mutts. (Save, salivate.) So that's not even a problem. >> >> No, the trouble is trying to decide whether my all-time favorite should be the Crash or the Hang. >> >> Both are elegant ways of ending a work session. Yet each has its attractions, and even LiveCode's trusty conditioning hasn't provided me with a clear answer on which is better. (Wait, or has it? Save, salivate, wag.) >> >> Crashing instantly out to the Desktop is convenient, because you're all set to relaunch LC again with not so much as an extra click. You can relaunch and crash, relaunch and crash, almost as fast as one of those toy monkeys with the cymbals, and with a similar overall appearance. >> >> After you've done a few repeats, you also get a quicker start on your Cheerful Rant or your bug report. The complete instant crash (as long as the app simply disappears, with no system dialogs) is the epitome of a very clean and crisp user experience; I have to admire the purism. Finally, the nostalgia factor is huge: it really takes me back to LC 1.1.1 and my first days here. ("Hey, where'd the IDE go?") Thus, the winner for classic style might be the Instant Crash. All the Cool Kids do this; you should too! >> >> However, having the Engine "hang" can provide additional useful clues to the cause of the problem, in around 13% of all cases. That's automatically making lemons into lemonade, as long as your computer monitor was built up-to-snuff in Silicon Santa's third world sweatshops and the helpful clues don't "burn in" to the screen. The Hang also provides much of your recommended daily amount of Task Manager exercise with force-quit repetitions to bulk up mouse-hand and mouse-finger musculature on one side of your body, hermit-crab style. The asymmetric look will be trending any day now. >> >> Meanwhile your CPU gets an extra workout too, and this provides an excellent test of your OS kernel in throttling and managing out-of-control processes. (Usually that means LC.) This even warms up your laptop on those cold mornings. And when someone asks you "how's it hanging" you can quip a very technical answer with the computer usage stats for that particular bug. ("Yeah my homie, it's hanging around 37% CPU load today.") Altogether, that's a ton of added value; the Hang has a lot of bang for the buck! This is Fat Jolly Giant Panda Buffet of session endings. >> >> (For some there might be a childish tit-for-tat psychological appeal for the "Hang" in exercising control and closure over deciding when to force LC to quit. However, I would argue that's illusory; force-quit is almost always reactive. LC consistently maintains the iniative. The IDE arbitrarily chooses the moment and the manner to unceremoniously end your workflow, then forces you to take additional steps just to cool down your chip. Your only true choice is whether to relaunch or not. Therefore LC is calling the shots: LC = Pavlov. You're hoping for a little Beefaroni, maybe even a pat on the head: You = mutt. Force-quit, salivate.) >> >> Therefore...if I had a tiny antimatter emitter pointed at my forehead and some little alien dude was demanding in that I chose one or the other right now, I guess I'd go with the Quick Complete Crash. It saves considerable time and energy over the force quits. That's valuable energy to use for workarounds, bug reports, and the obligatory Cheerful Rant. Plus your hardware may last a bit longer. >> >> Fortunately, as long as no little alien dude shows up and holds the universe ransom, there's really no need to choose between the Crash and the Hang. As long as you code with LC frequently, and test more of its features, you can have both! >> >> BTW, Jonathan Swift was completely misguided in his implications, thus correct at face value: indeed cannabilism is preferable to potatoes. Likewise, you can bet every last well-chewed bone of that scrumptious feast on the obvious fact that LC bugginess bears absolutely no relationship whatsoever to LC refactoring or development philosophy, and furthermore that software releases can never be "stable" because that word has been conveniently redefined already. Thus, evil is actually good and necessary, as Eddie Murphy said once in a "sermon" of sorts. >> >> OK, now that the Cheerful Rant is completed, with only a few dozen anti-humorists and stable-strategic-ambiguists offended (you can't please everyone) back to the workarounds! Indeed the lame humor seemed effective here on my end for stress relief, although I probably caused innumerable casualties and crises around the world with this little experiment. >> >> Luckily I've found a way of avoiding this particular LC Engine hang - I think - so I'll press on to the next glitchy LC area. Pasting is actually getting pretty good. Nearing the final stretch of this deadline, so I'll be able to start writing recipes and filing bug reports soon, and hopefully these workarounds and improvements will eventually find their way into one of my addons so that others can benefit. That will come after some updates for existing addons, of course. Moving toward a next-gen workflow to facilitate more frequent updates and more commonality between addons.... >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Thu Apr 29 10:19:48 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 29 Apr 2021 15:19:48 +0100 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> Message-ID: <44FE45D4-9090-4983-95C1-3925DC2A58F1@gmail.com> Hi Craig, Yes, unusable from the perspective of changing the font size, boldness, underline, italics etc (alignment still works). The field still accepts text, I just can?t edit the style anymore. Also, bizarrely, if I remove the pasted text and just type in it directly I still have the same deficit. In other words, the field is knackered. I have to delete it and create a new one if I want to do any edits to the format. Also, this happens if I grab a label and just paste text from TextEdit into the contents window. Same effect. It certainly has been persisting ever since I noticed it a few days ago. Not sure I ever pasted text from TextEdit before so hard to say how long this has been an issue. None of this is reproducible with Atom. Just with TextEdit (v 1.15). LC 9.6.1 on Catalina 10.15.7 Mark > On Apr 29, 2021, at 2:00 PM, Craig Newman via use-livecode wrote: > > Mark. > > Am I understanding that you can paste text from textEdit into a LC field, and that renders the field unusable? I see nothing like this. I rarely actually do that, though now and then use textEdit as a scratchpad to then load into a field. > > Is this actually something you see all the time? > > Craig > >> On Apr 29, 2021, at 6:28 AM, Mark Smith via use-livecode wrote: >> >> Rants aside, here?s an odd pasting issue I ran into the other day. To cut to the chase, basically I can make a field become unmodifiable with respect to TEXT parameters (excluding align) by pasting anything from Apples TextEdit tool into the field. Is that just something quirky in my setup or do others have the same problem? I?ve also tried with Atom and did not see the same problem? >> >> Sorry to hear of all your crashes and hangs Curry. I suspect you are exercising LC a lot more vigorously than I am as a crash a year is a surprise to me (excluding working with DG?s where one has to tip toe cautiously to avoid ?breaking? the grid. I guess that would be considered a hang). >> >> Mark >> >> >>> On Apr 29, 2021, at 9:31 AM, Curry Kenworthy via use-livecode wrote: >>> >>> >>> (Full disclosure: Testing a "Cheerful Rant" format to see whether employing some humor is more effective when letting off steam, and hopefully even slipping a bit of common sense past politically-correct radars under the cover of attempted wit. We'll see how this fares, compared to the Standard Angry Rants and reflexive Community Defensive Reactions that we see every couple of weeks when people "Chimp Out" after a nasty ground-and-pound session with lovely LiveCode bugs! Trigger warning: may or may not induce mild chuckling, or in adverse cases traumatic Frontline Flashbacks to your bug battle days with intermittent seizures and a nasty full-body rash.) >>> >>> So...first to apologize for being less talkative here on the list during the last week: I've been spending some intimate time with one of LC's least-polished and buggiest features. Yep, I'm back on "paste" and related areas! It's a part of LC where you could choose to devote the entire remaining years of your life to the Bug Monkhood, filing thousands of bug reports and feature requests. Or you can file the most important dozen reports, avoid full-time Monkhood, and sum it up as: this area of LiveCode looks only "half-finished." It was a case of Codus Interruptus, apparently. >>> >>> More details on that and some other news to follow soon, when I've finished more workarounds, so that I can meet the client deadline and then file the bug reports.... >>> >>> Meanwhile, here's a dilemma of another sort: >>> >>> While working on paste and related areas that seem only half-finished in the LC Engine, I've been luxuriating in the blissful experience of having my coding and debugging interrupted by crashes and freezes. Did I lose any work, you might inquire? Ha ha, that'll be the day! You're talking to a person so save-compulsive that I can't even type a message like this without saving the draft after every sentence. (Save.) LC has trained me well, in the style of Pavlov's mutts. (Save, salivate.) So that's not even a problem. >>> >>> No, the trouble is trying to decide whether my all-time favorite should be the Crash or the Hang. >>> >>> Both are elegant ways of ending a work session. Yet each has its attractions, and even LiveCode's trusty conditioning hasn't provided me with a clear answer on which is better. (Wait, or has it? Save, salivate, wag.) >>> >>> Crashing instantly out to the Desktop is convenient, because you're all set to relaunch LC again with not so much as an extra click. You can relaunch and crash, relaunch and crash, almost as fast as one of those toy monkeys with the cymbals, and with a similar overall appearance. >>> >>> After you've done a few repeats, you also get a quicker start on your Cheerful Rant or your bug report. The complete instant crash (as long as the app simply disappears, with no system dialogs) is the epitome of a very clean and crisp user experience; I have to admire the purism. Finally, the nostalgia factor is huge: it really takes me back to LC 1.1.1 and my first days here. ("Hey, where'd the IDE go?") Thus, the winner for classic style might be the Instant Crash. All the Cool Kids do this; you should too! >>> >>> However, having the Engine "hang" can provide additional useful clues to the cause of the problem, in around 13% of all cases. That's automatically making lemons into lemonade, as long as your computer monitor was built up-to-snuff in Silicon Santa's third world sweatshops and the helpful clues don't "burn in" to the screen. The Hang also provides much of your recommended daily amount of Task Manager exercise with force-quit repetitions to bulk up mouse-hand and mouse-finger musculature on one side of your body, hermit-crab style. The asymmetric look will be trending any day now. >>> >>> Meanwhile your CPU gets an extra workout too, and this provides an excellent test of your OS kernel in throttling and managing out-of-control processes. (Usually that means LC.) This even warms up your laptop on those cold mornings. And when someone asks you "how's it hanging" you can quip a very technical answer with the computer usage stats for that particular bug. ("Yeah my homie, it's hanging around 37% CPU load today.") Altogether, that's a ton of added value; the Hang has a lot of bang for the buck! This is Fat Jolly Giant Panda Buffet of session endings. >>> >>> (For some there might be a childish tit-for-tat psychological appeal for the "Hang" in exercising control and closure over deciding when to force LC to quit. However, I would argue that's illusory; force-quit is almost always reactive. LC consistently maintains the iniative. The IDE arbitrarily chooses the moment and the manner to unceremoniously end your workflow, then forces you to take additional steps just to cool down your chip. Your only true choice is whether to relaunch or not. Therefore LC is calling the shots: LC = Pavlov. You're hoping for a little Beefaroni, maybe even a pat on the head: You = mutt. Force-quit, salivate.) >>> >>> Therefore...if I had a tiny antimatter emitter pointed at my forehead and some little alien dude was demanding in that I chose one or the other right now, I guess I'd go with the Quick Complete Crash. It saves considerable time and energy over the force quits. That's valuable energy to use for workarounds, bug reports, and the obligatory Cheerful Rant. Plus your hardware may last a bit longer. >>> >>> Fortunately, as long as no little alien dude shows up and holds the universe ransom, there's really no need to choose between the Crash and the Hang. As long as you code with LC frequently, and test more of its features, you can have both! >>> >>> BTW, Jonathan Swift was completely misguided in his implications, thus correct at face value: indeed cannabilism is preferable to potatoes. Likewise, you can bet every last well-chewed bone of that scrumptious feast on the obvious fact that LC bugginess bears absolutely no relationship whatsoever to LC refactoring or development philosophy, and furthermore that software releases can never be "stable" because that word has been conveniently redefined already. Thus, evil is actually good and necessary, as Eddie Murphy said once in a "sermon" of sorts. >>> >>> OK, now that the Cheerful Rant is completed, with only a few dozen anti-humorists and stable-strategic-ambiguists offended (you can't please everyone) back to the workarounds! Indeed the lame humor seemed effective here on my end for stress relief, although I probably caused innumerable casualties and crises around the world with this little experiment. >>> >>> Luckily I've found a way of avoiding this particular LC Engine hang - I think - so I'll press on to the next glitchy LC area. Pasting is actually getting pretty good. Nearing the final stretch of this deadline, so I'll be able to start writing recipes and filing bug reports soon, and hopefully these workarounds and improvements will eventually find their way into one of my addons so that others can benefit. That will come after some updates for existing addons, of course. Moving toward a next-gen workflow to facilitate more frequent updates and more commonality between addons.... >>> >>> Best wishes, >>> >>> Curry Kenworthy >>> >>> Custom Software Development >>> "Better Methods, Better Results" >>> LiveCode Training and Consulting >>> http://livecodeconsulting.com/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Apr 29 10:38:11 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 29 Apr 2021 10:38:11 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> References: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> Message-ID: <08ec88ab-6107-90b4-cc46-1f406e2d2a97@researchware.com> It seems that if you are making an application in LiveCode where a user can copy from 3rd party apps and paste into your LiveCode app, you almost have to add a routine to scrub the clipboard data of any "problem" data - which sees to be any non printable characters - or problems occur. I thought one of the differences between clipboardData, fullClipboardData, and rawClipboardData was that LC 'scrubbed' the contents to ensure the correct format for the key used, but I have not found that to be the case. I think enough people run into clipboard problems when developing in LC that some overhaul of the LC code for interacting with the clipboard is warranted to improve reliability. From ambassador at fourthworld.com Thu Apr 29 12:18:45 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Apr 2021 09:18:45 -0700 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> References: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> Message-ID: Mark Smith wrote: > here?s an odd pasting issue I ran into the other day. To cut to the > chase, basically I can make a field become unmodifiable with respect > to TEXT parameters (excluding align) by pasting anything from Apples > TextEdit tool into the field. By what means were you attempting to modify the text styles? If you modify the text styling properties of the field object itself, remember that style runs within the field will override those. You could have your script paste with putting the clipboardData["text"] into the selection, and you can strip style runs to inherit field properties with "put fld X into fld X". -- 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 andrew at midwestcoastmedia.com Thu Apr 29 12:33:34 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 29 Apr 2021 12:33:34 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: Message-ID: <1360969C-608B-4365-8430-58788B284449@midwestcoastmedia.com> I have an app that put?s a lot of text into a variable (an entire web page worth of HTML) that if I copy from the breakpoint inspector in the Script Editor and paste into Dreamweaver (for a quick preview) the text appears as what appears to be Chinese. My workaround is to paste that into a Text Only document in TextEdit, then copy THAT text from TextEdit and paste into Dreamweaver. Does the Edit > Paste Unformatted still render as the previous RTF? ?Andrew Bell > > Date: Thu, 29 Apr 2021 15:19:48 +0100 > From: Mark Smith > To: How to use LiveCode > Subject: Re: Complete Crash or Engine Hang: which is better? > Content-Type: text/plain; charset=utf-8 > > Hi Craig, > > Yes, unusable from the perspective of changing the font size, boldness, underline, italics etc (alignment still works). The field still accepts text, I just can?t edit the style anymore. Also, bizarrely, if I remove the pasted text and just type in it directly I still have the same deficit. In other words, the field is knackered. I have to delete it and create a new one if I want to do any edits to the format. Also, this happens if I grab a label and just paste text from TextEdit into the contents window. Same effect. > > It certainly has been persisting ever since I noticed it a few days ago. Not sure I ever pasted text from TextEdit before so hard to say how long this has been an issue. None of this is reproducible with Atom. Just with TextEdit (v 1.15). LC 9.6.1 on Catalina 10.15.7 > > Mark From marksmithhfx at gmail.com Thu Apr 29 13:13:42 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 29 Apr 2021 18:13:42 +0100 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> Message-ID: <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> Thanks Richard, that probably explains it. There are style runs in the TextEdit text (and not, say, in Atom or some other editor). It was just odd to me because I think (quite simplistically) of text being text and not expecting them to have style runs, but of course they can. This also began because not only could I not change my text, someone else previously had this problem and eventually fixed it by deleting the fields and starting over (https://forums.livecode.com/viewtopic.php?f=7&t=32727 ). I now suspect it may have been style runs in their text as well. I don?t tend to run into this sort of problem because I?m rarely concerned with the style of text, but in this particular case I actually did want to change the font size and color and couldn?t, and that had me puzzled. Ok good, I think you've solved this. Thanks for weighing in. Mark > On Apr 29, 2021, at 5:18 PM, Richard Gaskin via use-livecode wrote: > > Mark Smith wrote: > > > here?s an odd pasting issue I ran into the other day. To cut to the > > chase, basically I can make a field become unmodifiable with respect > > to TEXT parameters (excluding align) by pasting anything from Apples > > TextEdit tool into the field. > > By what means were you attempting to modify the text styles? > > If you modify the text styling properties of the field object itself, remember that style runs within the field will override those. > > You could have your script paste with putting the clipboardData["text"] into the selection, and you can strip style runs to inherit field properties with "put fld X into fld X". > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Apr 29 13:40:15 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 29 Apr 2021 13:40:15 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> References: <4E3D4B07-EBCA-46A7-8CD2-48D4C9147752@gmail.com> <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> Message-ID: Since you are doing clipboard stuff.... when the clibpboardData["html"] is set ...and then you paste into VSCode ... the spaces are unrecognized characters. on windows, not sure about the others. Cheers, Tom On Thu, Apr 29, 2021 at 1:15 PM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Richard, that probably explains it. There are style runs in the > TextEdit text (and not, say, in Atom or some other editor). It was just odd > to me because I think (quite simplistically) of text being text and not > expecting them to have style runs, but of course they can. This also began > because not only could I not change my text, someone else previously had > this problem and eventually fixed it by deleting the fields and starting > over (https://forums.livecode.com/viewtopic.php?f=7&t=32727 < > https://forums.livecode.com/viewtopic.php?f=7&t=32727>). I now suspect it > may have been style runs in their text as well. I don?t tend to run into > this sort of problem because I?m rarely concerned with the style of text, > but in this particular case I actually did want to change the font size and > color and couldn?t, and that had me puzzled. Ok good, I think you've solved > this. Thanks for weighing in. > > Mark > > > On Apr 29, 2021, at 5:18 PM, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Mark Smith wrote: > > > > > here?s an odd pasting issue I ran into the other day. To cut to the > > > chase, basically I can make a field become unmodifiable with respect > > > to TEXT parameters (excluding align) by pasting anything from Apples > > > TextEdit tool into the field. > > > > By what means were you attempting to modify the text styles? > > > > If you modify the text styling properties of the field object itself, > remember that style runs within the field will override those. > > > > You could have your script paste with putting the clipboardData["text"] > into the selection, and you can strip style runs to inherit field > properties with "put fld X into fld X". > > > > -- > > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Thu Apr 29 14:02:19 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Apr 2021 11:02:19 -0700 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: Message-ID: Tom Glod wrote: > when the clibpboardData["html"] is set ...and then you paste into > VSCode... the spaces are unrecognized characters. All spaces, or just multiple spaces being rendered as a single space? If the latter, that would seem a design choice by the host app for that data format type, since it's customary for HTML to render only one space and ignore any others. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Thu Apr 29 14:19:26 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 29 Apr 2021 14:19:26 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: References: Message-ID: Goo test, though single spaces are included. Come to think of it, maybe its the php checker plugin I have .... and maybe its isolated to php..... although I also wrote dart and I'm pretty sure it happened there too. I will test more. Cheers, Tom On Thu, Apr 29, 2021 at 2:04 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > when the clibpboardData["html"] is set ...and then you paste into > > VSCode... the spaces are unrecognized characters. > > All spaces, or just multiple spaces being rendered as a single space? > > If the latter, that would seem a design choice by the host app for that > data format type, since it's customary for HTML to render only one space > and ignore any others. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Thu Apr 29 14:23:03 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Apr 2021 11:23:03 -0700 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> References: <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> Message-ID: <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> Mark Smith wrote: > Thanks Richard, that probably explains it. There are style runs in > the TextEdit text (and not, say, in Atom or some other editor). It > was just odd to me because I think (quite simplistically) of text > being text and not expecting them to have style runs, but of course > they can. Here's a fun exercise, well worth a few minutes of playing around: make a field, style some text in it, make a tree widget, and run this in the Message Box: set the arrayData of widget 1 to the styledText of fld 1 The styledText array is a great representation of field contents, much faster to work with than most HTML-parsing methods, and offering good insight into the internals of LC fields, being the closes match we have from a scripting interface to the underlying field structures. The v5.something engine added some super-awesome text properties, with paragraph-level formatting and more. Seeing them laid out in array format (the tree widget is great for that) really illuminates how things are laid out. > This also began because not only could I not change my text, someone > else previously had this problem and eventually fixed it by deleting > the fields and starting over > (https://forums.livecode.com/viewtopic.php?f=7&t=32727) Yeah, I posted pretty much the same comment there, but like much of what I used to write in the forums it was ignored in favor of doing a lot of unnecessary work. :) > I now suspect it may have been style runs in their text as well. When things show up that look like extreme problems that would affect nearly every user, it's probably not a regression. Not that the team's automated testing can catch everything (though it catches a lot), but just that bugs that affect large numbers of people in ways that prevent core use of the product generally don't live long, if they live long enough to get past early beta at all. So if we truly had mysteriously immutable text styling, chances are good it would be caught in a Preview build, long before RC. Good enough to check style runs, anyway. :) > I don?t tend to run into this sort of problem because I?m rarely > concerned with the style of text, but in this particular case I > actually did want to change the font size and color and couldn?t, > and that had me puzzled. Ok good, I think you've solved this. > Thanks for weighing in. Happy to help others avoid pitfalls I've run into myself. I hope that solves it for you. I had a head-scratching moment over exactly this many years ago. Just sharing what I've learned, so others don't have to replicate my mistakes. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Thu Apr 29 14:31:44 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 29 Apr 2021 20:31:44 +0200 Subject: install custom apps from Google Drive, known limits? Message-ID: Hi all, I created two Android apps and put them on my Google Drive. Then I installed one app from there, no problem. Then I installed the other app from there, also no problem. But I was very suprised that only the second installed app was left on my cellphone. The first one was obvioulsy overwritten!? Before you ask, of course the apps have different names! 8-) I searched the internet, but did not find any info about this. Is this a known limitation for "custom apps" installed from Google Drive? Thanks for any insight! 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 Thu Apr 29 14:48:41 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 29 Apr 2021 21:48:41 +0300 Subject: install custom apps from Google Drive, known limits? In-Reply-To: References: Message-ID: Hello Klaus, A rough guess is that both appd had the same Identifier (e.g. "com.yourcompany.yourapp"). This is what makes an app unique - not the display name. Kind regards, Panos -- On Thu, 29 Apr 2021 at 21:32, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I created two Android apps and put them on my Google Drive. > Then I installed one app from there, no problem. > Then I installed the other app from there, also no problem. > > But I was very suprised that only the second installed app was > left on my cellphone. The first one was obvioulsy overwritten!? > > Before you ask, of course the apps have different names! 8-) > > I searched the internet, but did not find any info about this. > Is this a known limitation for "custom apps" installed from Google Drive? > > Thanks for any insight! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Thu Apr 29 14:51:38 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 29 Apr 2021 20:51:38 +0200 Subject: install custom apps from Google Drive, known limits? In-Reply-To: References: Message-ID: <9C334773-2931-46E3-8DB7-2F6FEDA9D028@major-k.de> Hi Panos, > Am 29.04.2021 um 20:48 schrieb panagiotis merakos via use-livecode : > > Hello Klaus, > > A rough guess is that both appd had the same Identifier (e.g. > "com.yourcompany.yourapp"). This is what makes an app unique - not the > display name. AHA! Thank you very much! I knew I was missing something important! :-) > Kind regards, > Panos 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 Thu Apr 29 15:05:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Apr 2021 14:05:40 -0500 Subject: install custom apps from Google Drive, known limits? In-Reply-To: References: Message-ID: Android uses the identifier ("com.mydomain.appname") to determine if it is the same app. If the identifiers are identical it will overwrite or, sometimes, not install at all if the version codes are the same. The name (or "Label") is for display only and doesn't affect installations. So for two different apps, you want two different identifiers. For each version of each app, increment the version number too. com.mydomain.appname1 version 1 -- initial build com.mydomain.appname1 version 2 -- an update com.mydomain.appname2 version 1 -- second app com.mydomain.appname2 version 2 -- second app update Note that the version codes don't have to be incremental and can even count backwards. Android only checks to see if they're different. On 4/29/21 1:31 PM, Klaus major-k via use-livecode wrote: > Hi all, > > I created two Android apps and put them on my Google Drive. > Then I installed one app from there, no problem. > Then I installed the other app from there, also no problem. > > But I was very suprised that only the second installed app was > left on my cellphone. The first one was obvioulsy overwritten!? > > Before you ask, of course the apps have different names! 8-) > > I searched the internet, but did not find any info about this. > Is this a known limitation for "custom apps" installed from Google Drive? > > Thanks for any insight! > > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Apr 29 15:08:35 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 29 Apr 2021 21:08:35 +0200 Subject: install custom apps from Google Drive, known limits? In-Reply-To: References: Message-ID: <31BA928D-0736-43A8-99E2-7720B5AB3BE0@major-k.de> Hi Jaques, > Am 29.04.2021 um 21:05 schrieb J. Landman Gay via use-livecode : > > Android uses the identifier ("com.mydomain.appname") to determine if it is the same app. If the identifiers are identical it will overwrite or, sometimes, not install at all if the version codes are the same. The name (or "Label") is for display only and doesn't affect installations. > So for two different apps, you want two different identifiers. For each version of each app, increment the version number too. > com.mydomain.appname1 version 1 -- initial build > com.mydomain.appname1 version 2 -- an update > com.mydomain.appname2 version 1 -- second app > com.mydomain.appname2 version 2 -- second app update > Note that the version codes don't have to be incremental and can even count backwards. Android only checks to see if they're different. thank you very much, very helpful! > > > On 4/29/21 1:31 PM, Klaus major-k via use-livecode wrote: >> Hi all, >> I created two Android apps and put them on my Google Drive. >> Then I installed one app from there, no problem. >> Then I installed the other app from there, also no problem. >> But I was very suprised that only the second installed app was >> left on my cellphone. The first one was obvioulsy overwritten!? >> Before you ask, of course the apps have different names! 8-) >> I searched the internet, but did not find any info about this. >> Is this a known limitation for "custom apps" installed from Google Drive? >> Thanks for any insight! 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 Thu Apr 29 15:23:23 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 29 Apr 2021 15:23:23 -0400 Subject: dg with native controls in template Message-ID: Let's say we want to have a scrolling area, like a DG, and we want one of the columns in that thing to be a native radio button on mobile, which we can activate with touch. I'm not aware of a way to do that in LC at present. Yes? No? Maybe so? From marksmithhfx at gmail.com Thu Apr 29 15:26:48 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 29 Apr 2021 20:26:48 +0100 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> References: <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> Message-ID: <2E79B00A-A673-41DD-9957-046315926F55@gmail.com> I figured as much but was just probing to fill in my own gaps in knowledge. Glad you piped in to clear up the confusion for me ? > On Apr 29, 2021, at 7:23 PM, Richard Gaskin via use-livecode wrote: > > When things show up that look like extreme problems that would affect nearly every user, it's probably not a regression. Not that the team's automated testing can catch everything (though it catches a lot), but just that bugs that affect large numbers of people in ways that prevent core use of the product generally don't live long, if they live long enough to get past early beta at all. From rdimola at evergreeninfo.net Thu Apr 29 15:40:19 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 29 Apr 2021 15:40:19 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> References: <6FDD5A12-55D5-4762-AD8B-61D59F4CCDF6@gmail.com> <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> Message-ID: <004a01d73d2f$7f96b760$7ec42620$@net> Style runs can also speed up your app. I have a scrolling group of 1 field with 200 lines. I put ellipses on every line that the text does not fit horizontally. Doing this in the field became impractical after the number of lines got too large. The solution was to assemble a styled text array(using mesuretext) and then inserting the styled array into the field. I have to go back and look but I think there was a 10x or more performance increase for my average case. In any case it became sub-second instead of seconds. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From marksmithhfx at gmail.com Thu Apr 29 15:46:58 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 29 Apr 2021 20:46:58 +0100 Subject: dg with native controls in template In-Reply-To: References: Message-ID: <4E37980E-1DE3-497D-BE74-8452CDDB4CA4@gmail.com> You can put an SVG Icon or a graphic image into a DG column, would either of those work? Then you just need to script the behaviour of the widget or graphic when it?s tapped on. I do something similar with check and uncheck SVG icons. > On Apr 29, 2021, at 8:23 PM, Mike Kerner via use-livecode wrote: > > Let's say we want to have a scrolling area, like a DG, and we want one of > the columns in that thing to be a native radio button on mobile, which we > can activate with touch. > I'm not aware of a way to do that in LC at present. > Yes? > No? > Maybe so? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Hakan at Exformedia.se Fri Apr 30 04:13:09 2021 From: Hakan at Exformedia.se (hakan@exformedia.se) Date: Fri, 30 Apr 2021 10:13:09 +0200 Subject: cameracontrol, knowing the physical resolution of the camera In-Reply-To: References: Message-ID: If you don?t set the rect at all you get an image at maximum resolution. At least I do on my Mac and my iPhone :) There is also a CameraControlGet( ?myCamera?, ?qualityPresets?) you can call. On my Mac it returns: photo,high,medium,low,352x288,640x480,1280x720,320x240,960x540,iFrame960x540,iFrame1280x720 From where you can get possible ?native? dimensions. :-H?kan > On 23 Apr 2021, at 13:12, Klaus major-k via use-livecode wrote: > > Hi all, > > we have this wonderful "cameracontrol" in LC. :-) > > Is there a way to get the physical resolution of the > devices camera BEFORE we do > -> cameracontrollset "el camera", tRect > Or at least its aspect ratio? > > Know what I mean? > > We definitively need this info to be able to set up a correct > RECT for the control with no "cut off" sides. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Apr 30 09:44:50 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 30 Apr 2021 09:44:50 -0400 Subject: dg with native controls in template In-Reply-To: <4E37980E-1DE3-497D-BE74-8452CDDB4CA4@gmail.com> References: <4E37980E-1DE3-497D-BE74-8452CDDB4CA4@gmail.com> Message-ID: not a terrible idea. We could probably also just set the hilite of a row. Something I've never tried: different hilite colors based on values in the rows... On Thu, Apr 29, 2021 at 3:48 PM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > You can put an SVG Icon or a graphic image into a DG column, would either > of those work? Then you just need to script the behaviour of the widget or > graphic when it?s tapped on. I do something similar with check and uncheck > SVG icons. > > > On Apr 29, 2021, at 8:23 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Let's say we want to have a scrolling area, like a DG, and we want one of > > the columns in that thing to be a native radio button on mobile, which we > > can activate with touch. > > I'm not aware of a way to do that in LC at present. > > Yes? > > No? > > Maybe so? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 curry at pair.com Fri Apr 30 11:58:20 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 30 Apr 2021 11:58:20 -0400 Subject: Complete Crash or Engine Hang: which is better? In-Reply-To: <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> References: <821850d3-9689-876e-42ab-0105e52fc15a@fourthworld.com> Message-ID: <089ec4ea-b955-4748-b7df-30f91abd190b@pair.com> Mark: > Sorry to hear of all your crashes and hangs Curry. Thanks! The crashes and hangs are only the icing on the cake; 90% of the calories are normal bugs, glitches, and poor quality of feature support. But I actually love bug-hunting, and finding a crash or hang is like a trophy specimen. (When I start to NOT love bug-hunting is when there are so many issues that I realize this part of LC simply isn't well-coded.) Since I'm working on this, LC pasting will improve one way or the other: either through Engine fixes (especially the crashers) and/or my own lib. Improvement is inevitable; I've made up my mind to ensure that. :) Paul: > some overhaul of the LC code for interacting with the clipboard > is warranted to improve reliability. Amen! Thank you for that sentiment. I heartily agree. With one caveat: with LC, I'm getting leery of words like "refactor" and "overhaul." That's because after all the excitement of a shiny new revision, too often the new code is just as buggy and limited as the old code was. From half-finished, to half-finished. Different, yet same. I think what LC needs, in areas like the Player and the Paste, is not necessarily just shiny new code, but rather fully-finished code. Whether that builds on the old, or starts fresh, I don't care. Either way a feature needs to be finished and polished, not roughed in. For example, I am aware that the Player API needs updating. That will be good! But after doing so, the Team should polish the Player up a bit. Don't leave it glitchy and buggy, the way we found it a year ago. Maybe one additional caveat: Resources are always limited, of course, so if it comes down to choosing between polishing the Player, versus polishing Paste, I'd say the Team should mainly polish the Player! Because I can (and am) polishing Paste up quite a bit myself. LC shoulda, woulda, coulda done it MUCH better in the first place. But I can fix some high-level stuff myself, other than the crashers. LC Team should improve the Player, optimize the Engine, etc. Richard: > bugs that affect large numbers of people in ways that > prevent core use of the product generally don't live long, > if they live long enough to get past early beta at all. I wish that were true! It probably is, in certain areas. (And "large numbers" and "core use" provide nice cover fire. Who knows, Paste might be a core use for more than a handful of people.) The truth is that our Community, like most, has some social Cliques. And every Clique has certain areas that it promotes over others. The principles of "squeaky wheel" and "see what you want to see" apply. The most vocal Clique may not be very "large" but they are very loud, having an outsized effect on what gets added and fixed, versus ignored. In their own areas of interest/need, they may notice bugs quickly. Very good. But why have I been finding so many 5- and 10-year old bugs? Seems like the Cliques missed a few. And of course the areas they aren't looking at, the areas they aren't promoting, may not seem important. I'm not saying that's a sin; everyone has preferences and interests. But to "the rest of us" some of those ignored areas are very important. From time to time, I ensure that other Voices and Narratives are heard. Hopefully before people get frustrated and look for greener pastures. Not to worry! Paste, and other areas, are improving by the day.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From brian at milby7.com Fri Apr 30 13:22:36 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 30 Apr 2021 13:22:36 -0400 Subject: dg with native controls in template In-Reply-To: References: Message-ID: <4ADC1314-F0C6-4C0A-8F73-3AF0409AF6E9@milby7.com> I?m going to say that with the way the DG manages controls it would be an uphill battle to get something native to work. One of the native widgets may work, but I have not purchased that set to test it out. The one potential issue would be layers. Since native controls layer on top of LC controls, if the control was supposed to be partially visible it may be fully visible (not sure if the group would clip it properly). Sent from my iPhone > On Apr 30, 2021, at 9:47 AM, Mike Kerner via use-livecode wrote: > > ?not a terrible idea. > We could probably also just set the hilite of a row. > Something I've never tried: different hilite colors based on values in the > rows... > >> On Thu, Apr 29, 2021 at 3:48 PM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> You can put an SVG Icon or a graphic image into a DG column, would either >> of those work? Then you just need to script the behaviour of the widget or >> graphic when it?s tapped on. I do something similar with check and uncheck >> SVG icons. >> >>> On Apr 29, 2021, at 8:23 PM, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Let's say we want to have a scrolling area, like a DG, and we want one of >>> the columns in that thing to be a native radio button on mobile, which we >>> can activate with touch. >>> I'm not aware of a way to do that in LC at present. >>> Yes? >>> No? >>> Maybe so? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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