From livfoss at mac.com Fri Nov 1 06:23:30 2019 From: livfoss at mac.com (Graham Samuel) Date: Fri, 1 Nov 2019 11:23:30 +0100 Subject: Learning from scratch - any recommendations? Message-ID: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> I was disappointed that I only got one reply to my query about LC as a platform for learning programming - I thought this was a big thing with quite a few people on this list, some of whom are actually educators. Since I?ve failed in this, can someone suggest a better way of getting an answer (e.g. forums, mother ship)? TIA Graham I wrote: > I have been approached by one of my family to ask what would be the first steps for someone (a young adult) to enable them to enter the world of app design and programming. Obviously I need to ask more questions myself, such as whether this would be to get a job, or simply as an educational exercise, or maybe to provide a launchpad for a startup idea. However, even at this stage, of course my thoughts turned to LiveCode. > > So my question to the community is, how would such a person start off - assuming they?re intelligent, very familiar with consumer-level technology such as smart phones, tablets, laptop computers for study etc. and social media, but probably have never seen or thought about what is involved in designing, implementing and publishing an app (I would just say ?a program?, but that shows how old I am) on any platform? If it is LC (and why not?), are the published lessons sufficient? What is the view of those on this list who do actually teach this stuff? > > The trouble for me is that I have been around all this for 50 years (more, to be truthful) and so can?t project myself well into the mind of that kind of newbie. One guess is that one way to start would be to find a cheap hardware platform (probably an Android tablet) and try to use the LC Community Edition to allow me to create something for that; but that idea may be stupid, particularly as one would need a different platform to actually do the development work. > > Hoping for some insights > > Graham From panos.merakos at livecode.com Fri Nov 1 10:08:12 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 1 Nov 2019 16:08:12 +0200 Subject: Release 9.5.1 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.5.1 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.5.1 RC-1 comes with more than 20 bugfixes, including corrections and enhancements in dozens of Dictionary entries. Also, the long standing crash-when-debugging issue, originally fixed in 9.0.5, is now fixed in 9.5.1 RC-1 as well. Note that support for building with Xcode 11.1 was originally planned for this release. However, because of some changes in the iOS 13 SDK (Apple has removed the MPMoviePlayerController that was used by our iOS player), we had to refactor our iOS player implementation. Due to the invasiveness of this change, it was deemed outside the remit of a maintenance release and thus support for Xcode 11+ will appear in 9.6 - the first dp of which will appear shortly. In any case, note that you do NOT need to build your standalone with Xcode 11+ to support deployment to iOS 13+ devices. You can still use Xcode 10.1 to build the standalone app, and it will continue to run on iOS 13+ devices. Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04+ 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_5_1/LiveCodeNotes-9_5_1_rc_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From bobsneidar at iotecdigital.com Fri Nov 1 11:00:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 Nov 2019 15:00:18 +0000 Subject: Learning from scratch - any recommendations? In-Reply-To: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> Message-ID: <378F8308-E8BF-44E9-A7A8-1A02D4E0334F@iotecdigital.com> I'm not really qualified to answer that, so I was mum, but if I had to answer and couldn't be held to account... ;-) I would say that any young person who wants to become a programmer or app designer (not sure the distinction) will need a degree, pure and simple. Otherwise they will not even get past HR. Livecode is not going to help them do that. What Livecode is GREAT for methinks, is introducing someone to development without bogging them down in all the specifics of other mid level languages. There are I'm sure great articles you can search for about basic coding principles. Things like make code readable, thinking about and diagramming out what the program will actually do, consistent and understandable variable and command naming, breaking everything down into discreet tasks, inclusion of error checking etc. Bob S > On Nov 1, 2019, at 03:23 , Graham Samuel via use-livecode wrote: > > I was disappointed that I only got one reply to my query about LC as a platform for learning programming - I thought this was a big thing with quite a few people on this list, some of whom are actually educators. Since I?ve failed in this, can someone suggest a better way of getting an answer (e.g. forums, mother ship)? > > TIA > > Graham > > I wrote: > >> I have been approached by one of my family to ask what would be the first steps for someone (a young adult) to enable them to enter the world of app design and programming. Obviously I need to ask more questions myself, such as whether this would be to get a job, or simply as an educational exercise, or maybe to provide a launchpad for a startup idea. However, even at this stage, of course my thoughts turned to LiveCode. >> >> So my question to the community is, how would such a person start off - assuming they?re intelligent, very familiar with consumer-level technology such as smart phones, tablets, laptop computers for study etc. and social media, but probably have never seen or thought about what is involved in designing, implementing and publishing an app (I would just say ?a program?, but that shows how old I am) on any platform? If it is LC (and why not?), are the published lessons sufficient? What is the view of those on this list who do actually teach this stuff? >> >> The trouble for me is that I have been around all this for 50 years (more, to be truthful) and so can?t project myself well into the mind of that kind of newbie. One guess is that one way to start would be to find a cheap hardware platform (probably an Android tablet) and try to use the LC Community Edition to allow me to create something for that; but that idea may be stupid, particularly as one would need a different platform to actually do the development work. >> >> Hoping for some insights >> >> Graham From bobsneidar at iotecdigital.com Fri Nov 1 11:07:26 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 Nov 2019 15:07:26 +0000 Subject: Release 9.5.1 RC-1 In-Reply-To: References: Message-ID: I'm a bit confused about the booleans. This seems to indicate that true <> "true". I've been sloppy in my code, so I may have to go through and find every instance of a boolean and decide how I want to treat it. Also, how will this affect database operations? "true" in a column is a string. true in a column is an integer or bool. Bob S > On Nov 1, 2019, at 07:08 , panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.5.1 RC-1. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.5.1 RC-1 comes with more than 20 bugfixes, including corrections > and enhancements in dozens of Dictionary entries. > Also, the long standing crash-when-debugging issue, originally fixed in > 9.0.5, is now fixed in 9.5.1 RC-1 as well. From dougr at telus.net Fri Nov 1 11:12:22 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Fri, 1 Nov 2019 08:12:22 -0700 Subject: my message not showing up in "use-livecode" Message-ID: <016001d590c6$c6f66ae0$54e340a0$@net> This has happened a few times before... the following message never got posted to " use-livecode at lists.runrev.com". Can you explain why? It must have gone somewhere because Giovanni Cannizzaro [johnthejocker at yahoo.it] responded but I certainly can see how *he* saw it but no one else apparently did. unposted message: I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried building the identical script (with the same result) on two different installations of said OS on two different machines. LC business v 8.1.10 generates the standalone fine. LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as used in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point all things LC disappear from my desktop. An appropriate "destination" directory for the standalone is created as per the settings but it is completely empty. The actual application runs fine in all LC business versions... it's just that I can't get the LC v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is wrong!! Is there such a log or audit which details the steps that LC is taking and possibly what the issue is that it cannot resolve? I have checked at the Administrators tools event logging provided by Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". I follow this user-group quite closely and seem to recall others having issues with LC v9's standalone processes but I cannot seem to find such references within the very large amount of chat this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking for other than potential issues with the standalone builder. I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue or where within my LC environment I can find any logs concerning the standalone processing. Cheers! Douglas Ruisaard Trilogy Software (250) 573-3935 From bobsneidar at iotecdigital.com Fri Nov 1 11:16:01 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 Nov 2019 15:16:01 +0000 Subject: my message not showing up in "use-livecode" In-Reply-To: <016001d590c6$c6f66ae0$54e340a0$@net> References: <016001d590c6$c6f66ae0$54e340a0$@net> Message-ID: <78D3DD9C-408E-42BC-AB6D-8247690144E2@iotecdigital.com> I saw the message here. Bob S > On Nov 1, 2019, at 08:12 , Douglas Ruisaard via use-livecode wrote: > > This has happened a few times before... the following message never got posted to " use-livecode at lists.runrev.com". Can you explain why? It must have gone somewhere because Giovanni Cannizzaro [johnthejocker at yahoo.it] responded but I certainly can see how *he* saw it but no one else apparently did. > > unposted message: From heather at livecode.com Fri Nov 1 11:26:41 2019 From: heather at livecode.com (Heather Laine) Date: Fri, 1 Nov 2019 15:26:41 +0000 Subject: my message not showing up in "use-livecode" In-Reply-To: <016001d590c6$c6f66ae0$54e340a0$@net> References: <016001d590c6$c6f66ae0$54e340a0$@net> Message-ID: This sounds like it might be due to the breaking change in standalone building described in the release notes for 9.0: https://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0.pdf I quote: The standalone builder has always needed to close the stacks it builds for reasons pretty deeply ingrained in the code. However this causes a few problems, for example: values in script locals become empty behaviors are broken when the parent script is on / in a stack which closes As an attempt to improve this situation, the code that locks messages when closing and opening stacks for standalone builds has been removed. This means that where previously mainstacks would not receive openStack and closeStack messages during standalone build, they now do. If this causes problems for your stack, you can exit from the handler if standalone building is in progress: on closeStack if the mode of stack "revStandaloneProgress" > 0 then exit closeStack end if end closeStack I hope this helps, Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 1 Nov 2019, at 15:12, Douglas Ruisaard wrote: > > This has happened a few times before... the following message never got posted to " use-livecode at lists.runrev.com". Can you explain why? It must have gone somewhere because Giovanni Cannizzaro [johnthejocker at yahoo.it] responded but I certainly can see how *he* saw it but no one else apparently did. > > unposted message: > > I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried building the identical script (with the same result) on two different installations of said OS on two different machines. > > LC business v 8.1.10 generates the standalone fine. > > LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as used in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point all things LC disappear from my desktop. An appropriate "destination" directory for the standalone is created as per the settings but it is completely empty. > > The actual application runs fine in all LC business versions... it's just that I can't get the LC v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is wrong!! > > Is there such a log or audit which details the steps that LC is taking and possibly what the issue is that it cannot resolve? I have checked at the Administrators tools event logging provided by Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". > > I follow this user-group quite closely and seem to recall others having issues with LC v9's standalone processes but I cannot seem to find such references within the very large amount of chat this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking for other than potential issues with the standalone builder. > > I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue or where within my LC environment I can find any logs concerning the standalone processing. > > Cheers! > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > > > From merakosp at gmail.com Fri Nov 1 11:28:57 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 1 Nov 2019 17:28:57 +0200 Subject: my message not showing up in "use-livecode" In-Reply-To: <78D3DD9C-408E-42BC-AB6D-8247690144E2@iotecdigital.com> References: <016001d590c6$c6f66ae0$54e340a0$@net> <78D3DD9C-408E-42BC-AB6D-8247690144E2@iotecdigital.com> Message-ID: me too Panos -- On Fri, 1 Nov 2019 at 17:16, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I saw the message here. > > Bob S > > > > On Nov 1, 2019, at 08:12 , Douglas Ruisaard via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > This has happened a few times before... the following message never got > posted to " use-livecode at lists.runrev.com". Can you explain why? It > must have gone somewhere because Giovanni Cannizzaro [ > johnthejocker at yahoo.it] responded but I certainly can see how *he* saw it > but no one else apparently did. > > > > unposted message: > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Nov 1 11:38:39 2019 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 1 Nov 2019 17:38:39 +0200 Subject: Release 9.5.1 RC-1 In-Reply-To: References: Message-ID: Congratulations. On Fri, Nov 1, 2019, 5:08 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm a bit confused about the booleans. This seems to indicate that true <> > "true". I've been sloppy in my code, so I may have to go through and find > every instance of a boolean and decide how I want to treat it. Also, how > will this affect database operations? "true" in a column is a string. true > in a column is an integer or bool. > > Bob S > > > > On Nov 1, 2019, at 07:08 , 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.5.1 RC-1. > > > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ or > via > > the automatic updater. > > > > > > Release Contents > > ================ > > LiveCode 9.5.1 RC-1 comes with more than 20 bugfixes, including > corrections > > and enhancements in dozens of Dictionary entries. > > Also, the long standing crash-when-debugging issue, originally fixed in > > 9.0.5, is now fixed in 9.5.1 RC-1 as well. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Fri Nov 1 11:52:30 2019 From: jjs at krutt.org (Jjs) Date: Fri, 01 Nov 2019 16:52:30 +0100 Subject: Release 9.5.1 RC-1 In-Reply-To: References: Message-ID: <02F9AF5E-CAF1-4255-8030-9E1145DE6338@krutt.org> Ok i'm surprised, as i looked yesterday the milestone was at about 55%. So i did not expect this release. Thanks! Richmond Mathewson via use-livecode schreef op 1 november 2019 16:38:39 CET: >Congratulations. > >On Fri, Nov 1, 2019, 5:08 PM Bob Sneidar via use-livecode < >use-livecode at lists.runrev.com> wrote: > >> I'm a bit confused about the booleans. This seems to indicate that >true <> >> "true". I've been sloppy in my code, so I may have to go through and >find >> every instance of a boolean and decide how I want to treat it. Also, >how >> will this affect database operations? "true" in a column is a string. >true >> in a column is an integer or bool. >> >> Bob S >> >> >> > On Nov 1, 2019, at 07:08 , 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.5.1 RC-1. >> > >> > >> > Getting the Release >> > =================== >> > You can get the release at https://downloads.livecode.com/livecode/ >or >> via >> > the automatic updater. >> > >> > >> > Release Contents >> > ================ >> > LiveCode 9.5.1 RC-1 comes with more than 20 bugfixes, including >> corrections >> > and enhancements in dozens of Dictionary entries. >> > Also, the long standing crash-when-debugging issue, originally >fixed in >> > 9.0.5, is now fixed in 9.5.1 RC-1 as well. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From kee.nethery at elloco.com Fri Nov 1 11:59:44 2019 From: kee.nethery at elloco.com (kee nethery) Date: Fri, 1 Nov 2019 08:59:44 -0700 Subject: Learning from scratch - any recommendations? In-Reply-To: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> Message-ID: My recommendation is to have them start with scratch.mit.edu and spend a month making stuff with that language. Scratch is built for 1st graders to pick up and it is extremely satisfying as the starter language. They get exposed to all sorts of concepts, message passing, variables, flow control, multi-processing, it?s a great starter language. A month making stuff and then move to livecode. Kee > On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode wrote: > > I was disappointed that I only got one reply to my query about LC as a platform for learning programming - I thought this was a big thing with quite a few people on this list, some of whom are actually educators. Since I?ve failed in this, can someone suggest a better way of getting an answer (e.g. forums, mother ship)? > > TIA > > Graham > > I wrote: > >> I have been approached by one of my family to ask what would be the first steps for someone (a young adult) to enable them to enter the world of app design and programming. Obviously I need to ask more questions myself, such as whether this would be to get a job, or simply as an educational exercise, or maybe to provide a launchpad for a startup idea. However, even at this stage, of course my thoughts turned to LiveCode. >> >> So my question to the community is, how would such a person start off - assuming they?re intelligent, very familiar with consumer-level technology such as smart phones, tablets, laptop computers for study etc. and social media, but probably have never seen or thought about what is involved in designing, implementing and publishing an app (I would just say ?a program?, but that shows how old I am) on any platform? If it is LC (and why not?), are the published lessons sufficient? What is the view of those on this list who do actually teach this stuff? >> >> The trouble for me is that I have been around all this for 50 years (more, to be truthful) and so can?t project myself well into the mind of that kind of newbie. One guess is that one way to start would be to find a cheap hardware platform (probably an Android tablet) and try to use the LC Community Edition to allow me to create something for that; but that idea may be stupid, particularly as one would need a different platform to actually do the development work. >> >> Hoping for some insights >> >> Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mike at rubidex.net Fri Nov 1 12:21:19 2019 From: mike at rubidex.net (Mike Felker) Date: Fri, 01 Nov 2019 12:21:19 -0400 Subject: SSH and SCP in LiveCode Message-ID: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> Hello group. Just joined but long-time LiveCode user. I need SSH / SCP capability for LiveCode. Anyone know how to use this (either the old external or by any other means)? I do not thing TSNet will help in this case. Thanks. Mike Rubidex - The Reliable Blockchain Company Mike Felker CTO Rubidex 813-810-3457 138 Whitaker Road, Suite A Lutz, FL 33549 rubidex.net From richmondmathewson at gmail.com Fri Nov 1 12:58:38 2019 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 1 Nov 2019 18:58:38 +0200 Subject: Learning from scratch - any recommendations? In-Reply-To: References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> Message-ID: I have a radical disagreement with Scratch and its ilk as, while it does allow one to run up simple computer games, it does not let users see the "guts" of a program, and seems not to give children transferrable skill for non-block programming languages. I have successfully started kids from 9 years old and upward on programming with both BBC BASIC and Livecode. On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > My recommendation is to have them start with scratch.mit.edu and spend a > month making stuff with that language. Scratch is built for 1st graders to > pick up and it is extremely satisfying as the starter language. They get > exposed to all sorts of concepts, message passing, variables, flow control, > multi-processing, it?s a great starter language. A month making stuff and > then move to livecode. > > Kee > > > On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I was disappointed that I only got one reply to my query about LC as a > platform for learning programming - I thought this was a big thing with > quite a few people on this list, some of whom are actually educators. Since > I?ve failed in this, can someone suggest a better way of getting an answer > (e.g. forums, mother ship)? > > > > TIA > > > > Graham > > > > I wrote: > > > >> I have been approached by one of my family to ask what would be the > first steps for someone (a young adult) to enable them to enter the world > of app design and programming. Obviously I need to ask more questions > myself, such as whether this would be to get a job, or simply as an > educational exercise, or maybe to provide a launchpad for a startup idea. > However, even at this stage, of course my thoughts turned to LiveCode. > >> > >> So my question to the community is, how would such a person start off - > assuming they?re intelligent, very familiar with consumer-level technology > such as smart phones, tablets, laptop computers for study etc. and social > media, but probably have never seen or thought about what is involved in > designing, implementing and publishing an app (I would just say ?a > program?, but that shows how old I am) on any platform? If it is LC (and > why not?), are the published lessons sufficient? What is the view of those > on this list who do actually teach this stuff? > >> > >> The trouble for me is that I have been around all this for 50 years > (more, to be truthful) and so can?t project myself well into the mind of > that kind of newbie. One guess is that one way to start would be to find a > cheap hardware platform (probably an Android tablet) and try to use the LC > Community Edition to allow me to create something for that; but that idea > may be stupid, particularly as one would need a different platform to > actually do the development work. > >> > >> Hoping for some insights > >> > >> Graham > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Nov 1 13:03:11 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Nov 2019 10:03:11 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> Message-ID: <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> doc hawk wrote: > On Oct 31, 2019, at 5:42 PM, J. Landman Gay wrote: >> >> A light gray is the system default on OS X windows. You might have >> better luck setting the stack background to opaque and white.... > > But if the background is opaque, it will block the text underneath > it for the form I?m filling. I'm certain that I don't understand the layout, because from the description it sounds like you have an object which is not visible and therefore cannot be printed but which is causing a problem when printed. I'm sure you've considered simply hiding the thing you don't want shown during printing, so clearly there's something else in play here. What does the object contribute to printing? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Fri Nov 1 13:32:51 2019 From: dochawk at gmail.com (doc hawk) Date: Fri, 1 Nov 2019 10:32:51 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> Message-ID: <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> On Nov 1, 2019, at 10:03 AM, Richard rumbled > > I'm certain that I don't understand the layout, because from the description it sounds like you have an object which is not visible and therefore cannot be printed but which is causing a problem when printed. > > I'm sure you've considered simply hiding the thing you don't want shown during printing, so clearly there's something else in play here. > > What does the object contribute to printing? What I need to do is place livecode output over an existing pdf. I had been making as close as possible duplicates of the forms (still ideal, but runs into issues with trustees), which worked smoothly. I can?t use pdf widgets, as the rasterization to 72dpi (or less, it appears) makes text to fuzzy to read. This leaves me with using the court?s and trustees? pdfs, and putting output on them (and simply using the pdf ?standard? to fill fields isn?t an option, as some are just plain wrong, and other?s are only accessible with the most up to date version of acrobat). So my current approach is to display on screen using a widget behind the data I place, and then an external program, such as PyPDF2, to merge the original pdfs and my livecode output. While on screen, my generated objects act correctly, being just black text with transparent background. When merging, though, the livecode pdf has grey instead of clear for the entire object generated with print to pdf. From dougr at telus.net Fri Nov 1 13:44:06 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Fri, 1 Nov 2019 10:44:06 -0700 Subject: generating a standalone in v9.x In-Reply-To: References: Message-ID: <018801d590db$f9469e10$ebd3da30$@net> Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". Heather from LC also offered the following code in a related situation to Giovanni's: on closeStack if the mode of stack "revStandaloneProgress" > 0 then exit closeStack end if end closeStack The simple fix of removing the "quit" actually allowed the standalone to generate a working executable... HOWEVER, now the build stops with a never-ending "Attaching engine" spinner. I have to completely exit LC to stop the "unfinished" process. I have tried inserting BOTH Heather's and Bob's suggestions but they do NOT resolve the "Attaching engine" issue. Any suggestions? ps... LC business 8.1.10 still generated the standalone PERFECTLY... even with the v9 changes in the script. Glad I kept it around!!! NOT lovin' v9x much at all! Douglas Ruisaard Trilogy Software (250) 573-3935 > Date: Thu, 31 Oct 2019 22:12:17 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: generating a standalone in v9.x > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > There is a set of commands that in certain scripts like opesStack and closeStack that will check to > see if the standalone builder is running, and then you can abort the handler. > > The reason they do this is because your app could be doing anything at the moment the standalone is > being built. The standalone has to walk through every script to check what add-ons or libraries you > use so it can include them. > > Here's what I do. In the stackScript of the mainStack: > > on savingStandalone > put true into gBuildingStandAlone > end savingStandalone > > on standaloneSaved > put false into gBuildingStandAlone > end standaloneSaved > > Then in any openStack handler, either in the stack or card, I put this: > > put the environment is "development" and \ > there is a stack "revStandaloneProgress" and \ > the mode of stack "revStandaloneProgress" > 0 into skipLogin > > if not skipLogin then > --- code that borks your standalone building. For me it was calling a login dialog as modal. > end if > > Bob S > > > > On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode wrote: > > > > I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to > generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried > building the identical script (with the same result) on two different installations of said OS on two > different machines. > > > > LC business v 8.1.10 generates the standalone fine. > > > > LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as used > in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point all > things LC disappear from my desktop. An appropriate "destination" directory for the standalone is > created as per the settings but it is completely empty. > > > > The actual application runs fine in all LC business versions... it's just that I can't get the LC > v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is wrong!! > > > > Is there such a log or audit which details the steps that LC is taking and possibly what the issue > is that it cannot resolve? I have checked at the Administrators tools event logging provided by > Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". > > > > I follow this user-group quite closely and seem to recall others having issues with LC v9's > standalone processes but I cannot seem to find such references within the very large amount of chat > this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking for > other than potential issues with the standalone builder. > > > > I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue or > where within my LC environment I can find any logs concerning the standalone processing. > > > > Cheers! > > Douglas Ruisaard > > Trilogy Software > > (250) 573-3935 > From dunbarx at aol.com Fri Nov 1 13:52:12 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 1 Nov 2019 17:52:12 +0000 (UTC) Subject: Learning from scratch - any recommendations? In-Reply-To: References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> Message-ID: <2043459858.2865087.1572630732578@mail.yahoo.com> I am with Richmond, mainly. I hate to learn another language. That is why I live in the United States. LC, if you introduce only a ?handful or three of native words, controls and concepts, is accessible to anyone with a real desire to learn this sort of thing. Even a first grader; they just need more mentoring. Even someone who did not know they would like to build stuff in software. The trick is the engagement, to make it seem cool and fun. Craig -----Original Message----- From: Richmond Mathewson via use-livecode To: How to use LiveCode Cc: Richmond Mathewson Sent: Fri, Nov 1, 2019 12:59 pm Subject: Re: Learning from scratch - any recommendations? I have a radical disagreement with Scratch and its ilk as, while it does allow one to run up simple computer games, it does not let users see the "guts" of a program, and seems not to give children transferrable skill for non-block programming languages. I have successfully started kids from 9 years old and upward on programming with both BBC BASIC and Livecode. On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > My recommendation is to have them start with scratch.mit.edu and spend a > month making stuff with that language. Scratch is built for 1st graders to > pick up and it is extremely satisfying as the starter language. They get > exposed to all sorts of concepts, message passing, variables, flow control, > multi-processing, it?s a great starter language. A month making stuff and > then move to livecode. > > Kee > > > On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I was disappointed that I only got one reply to my query about LC as a > platform for learning programming - I thought this was a big thing with > quite a few people on this list, some of whom are actually educators. Since > I?ve failed in this, can someone suggest a better way of getting an answer > (e.g. forums, mother ship)? > > > > TIA > > > > Graham > > > > I wrote: > > > >> I have been approached by one of my family to ask what would be the > first steps for someone (a young adult) to enable them to enter the world > of app design and programming. Obviously I need to ask more questions > myself, such as whether this would be to get a job, or simply as an > educational exercise, or maybe to provide a launchpad for a startup idea. > However, even at this stage, of course my thoughts turned to LiveCode. > >> > >> So my question to the community is, how would such a person start off - > assuming they?re intelligent, very familiar with consumer-level technology > such as smart phones, tablets, laptop computers for study etc. and social > media, but probably have never seen or thought about what is involved in > designing, implementing and publishing an app (I would just say ?a > program?, but that shows how old I am) on any platform? If it is LC (and > why not?), are the published lessons sufficient? What is the view of those > on this list who do actually teach this stuff? > >> > >> The trouble for me is that I have been around all this for 50 years > (more, to be truthful) and so can?t project myself well into the mind of > that kind of newbie. One guess is that one way to start would be to find a > cheap hardware platform (probably an Android tablet) and try to use the LC > Community Edition to allow me to create something for that; but that idea > may be stupid, particularly as one would need a different platform to > actually do the development work. > >> > >> Hoping for some insights > >> > >> Graham > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Nov 1 13:56:54 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 1 Nov 2019 17:56:54 +0000 Subject: Android - ANRs and Crashes Message-ID: <001B3E87-B360-4D04-BA5A-F1E0ABD0D139@hindu.org> We are getting new reports in Google console -- haven't looked at it in a while, but now getting ready for a new release and I am going through every link at the developer console site, as there are new requirement I don't want to miss?.now these this new thing: ANRs and Crashes it is surprisingly explicit.Almost all my users complain the app is very not responsive. So it was interesting to see lots these ========= Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. waitqueue length = 5, head.seq = 948440, Wait queue head age: 29489.7ms.) com.himalayanacademy.sivasiva.mblandroid ======== FWIW. I should probably send this to HQ, but it is rather interesting, if incomprehensible to me. Now, if could just interpret this to "what am in doing in the Livecode script that would fix this" that would be great! Because of this line (just guessing) "OkHttp ConnectionPool" tid=18 TimedWaiting I think this it is a user trying to get an http request in a browser widget. I have a whole string of these and more detail below: ===== ============= "main" tid=1 Native "main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x72c80af0 self=0x7bcc6a7a00 | sysTid=31502 nice=-10 cgrp=default sched=0/0 handle=0x7bd18d49b0 | state=S schedstat=( 5064974951 299734164 9663 ) utm=376 stm=129 core=7 HZ=100 | stack=0x7ff9f02000-0x7ff9f04000 stackSize=8MB | held mutexes= #00 pc 000000000001e2ec /system/lib64/libc.so (syscall+28) #01 pc 0000000000074850 /system/lib64/libc.so (pthread_cond_wait+96) #02 pc 000000000017e8ac /data/app/com.himalayanacademy.sivasiva-t8T3HnRinrBcByX4z9bjaw==/lib/arm64/librevandroid.so (???) at com.runrev.android.Engine.doProcess (Native method) at com.runrev.android.Engine$1.handleMessage (Engine.java:162) at android.os.Handler.dispatchMessage (Handler.java:108) at android.os.Looper.loop (Looper.java:166) at android.app.ActivityThread.main (ActivityThread.java:7529) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921) "Jit thread pool worker thread 0" tid=2 Native "ReferenceQueueDaemon" tid=4 Waiting "FinalizerDaemon" tid=5 Waiting "FinalizerWatchdogDaemon" tid=6 Waiting "Binder:31502_1" tid=8 Native "Binder:31502_2" tid=9 Native "hwuiTask1" tid=10 Native "Profile Saver" tid=11 Native "Thread-4" tid=12 Native "Thread-5" tid=13 Native "Thread-7" tid=14 Native "RenderThread" tid=15 Native "Binder:31502_3" tid=16 Native "hwuiTask2" tid=17 Native "OkHttp ConnectionPool" tid=18 TimedWaiting "Binder:31502_4" tid=19 Native "HwBinder:31502_1" tid=20 Native "Binder:31502_5" tid=21 Native "Binder:31502_6" tid=22 Native "queued-work-looper" tid=23 Native "RenderThread" "Signal Catcher" tid=3 Runnable "HeapTaskDaemon" tid=7 Blocked "HeapTaskDaemon" daemon prio=5 tid=7 Blocked | group="system" sCount=1 dsCount=0 flags=1 obj=0x12c72dd0 self=0x7bcc6aa200 | sysTid=31513 nice=4 cgrp=default sched=0/0 handle=0x7bb141e4f0 | state=S schedstat=( 517185 32501 10 ) utm=0 stm=0 core=4 HZ=100 | stack=0x7bb131c000-0x7bb131e000 stackSize=1037KB | held mutexes= #00 pc 000000000001e2ec /system/lib64/libc.so (syscall+28) #01 pc 00000000000e4608 /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+152) #02 pc 00000000002628c8 /system/lib64/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+292) #03 pc 00000000002631f0 /system/lib64/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+92) #04 pc 000000000020c96c /system/framework/arm64/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+124) at dalvik.system.VMRuntime.runHeapTasks (Native method) - waiting to lock an unknown object at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:473) at java.lang.Daemons$Daemon.run (Daemons.java:103) at java.lang.Thread.run (Thread.java:784) From jjs at krutt.org Fri Nov 1 14:20:04 2019 From: jjs at krutt.org (JJS) Date: Fri, 1 Nov 2019 19:20:04 +0100 Subject: generating a standalone in v9.x In-Reply-To: <018801d590db$f9469e10$ebd3da30$@net> References: <018801d590db$f9469e10$ebd3da30$@net> Message-ID: What you need is described in the release notes from 9.x onwards Removing the command quit is not the solution use this, it is copied from the release notes: on closeStack if the environment is "development" and \ there is a stack "revStandaloneProgress" and \ the mode of stack "revStandaloneProgress" > 0 then exit closeStack end if end closeStack i use it always and always works ok. Op 1-11-2019 om 18:44 schreef Douglas Ruisaard via use-livecode: > Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. > > Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". > > Heather from LC also offered the following code in a related situation to Giovanni's: > on closeStack > if the mode of stack "revStandaloneProgress" > 0 then > exit closeStack > end if > end closeStack > > The simple fix of removing the "quit" actually allowed the standalone to generate a working executable... HOWEVER, now the build stops with a never-ending "Attaching engine" spinner. I have to completely exit LC to stop the "unfinished" process. > > I have tried inserting BOTH Heather's and Bob's suggestions but they do NOT resolve the "Attaching engine" issue. > > Any suggestions? > > ps... LC business 8.1.10 still generated the standalone PERFECTLY... even with the v9 changes in the script. Glad I kept it around!!! NOT lovin' v9x much at all! > > > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > >> Date: Thu, 31 Oct 2019 22:12:17 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: generating a standalone in v9.x >> Message-ID: >> Content-Type: text/plain; charset="us-ascii" >> >> There is a set of commands that in certain scripts like opesStack and closeStack that will check to >> see if the standalone builder is running, and then you can abort the handler. >> >> The reason they do this is because your app could be doing anything at the moment the standalone is >> being built. The standalone has to walk through every script to check what add-ons or libraries you >> use so it can include them. >> >> Here's what I do. In the stackScript of the mainStack: >> >> on savingStandalone >> put true into gBuildingStandAlone >> end savingStandalone >> >> on standaloneSaved >> put false into gBuildingStandAlone >> end standaloneSaved >> >> Then in any openStack handler, either in the stack or card, I put this: >> >> put the environment is "development" and \ >> there is a stack "revStandaloneProgress" and \ >> the mode of stack "revStandaloneProgress" > 0 into skipLogin >> >> if not skipLogin then >> --- code that borks your standalone building. For me it was calling a login dialog as modal. >> end if >> >> Bob S >> >> >>> On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode wrote: >>> >>> I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to >> generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried >> building the identical script (with the same result) on two different installations of said OS on two >> different machines. >>> LC business v 8.1.10 generates the standalone fine. >>> >>> LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as used >> in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point all >> things LC disappear from my desktop. An appropriate "destination" directory for the standalone is >> created as per the settings but it is completely empty. >>> The actual application runs fine in all LC business versions... it's just that I can't get the LC >> v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is wrong!! >>> Is there such a log or audit which details the steps that LC is taking and possibly what the issue >> is that it cannot resolve? I have checked at the Administrators tools event logging provided by >> Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". >>> I follow this user-group quite closely and seem to recall others having issues with LC v9's >> standalone processes but I cannot seem to find such references within the very large amount of chat >> this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking for >> other than potential issues with the standalone builder. >>> I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue or >> where within my LC environment I can find any logs concerning the standalone processing. >>> Cheers! >>> Douglas Ruisaard >>> Trilogy Software >>> (250) 573-3935 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Fri Nov 1 14:28:26 2019 From: jjs at krutt.org (JJS) Date: Fri, 1 Nov 2019 19:28:26 +0100 Subject: Learning from scratch - any recommendations? In-Reply-To: <2043459858.2865087.1572630732578@mail.yahoo.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> Message-ID: <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> quote : I hate to learn another language. That is why I live in the United States. /quote If we the Dutch go to Germany we talk German, if we go to France many of us not all talk French, if we go to other countries we talk mainly English. If Germans or French come to our country we talk their language or english Try to learn Dutch, if we had'nt sold New York to the Brittish you'd all talk Dutch And partly thank God it happened or we'd all would listen to Dutch music today and most of it i can't stand :) there was another point i wanted to make, but during typing i forgot. Back on topic, Java or Kotlin is something i would want to try, but it's more difficult, although everyone says their language is so easy. Livecode is best to step in. Op 1-11-2019 om 18:52 schreef dunbarx--- via use-livecode: > I am with Richmond, mainly. > I hate to learn another language. That is why I live in the United States. > LC, if you introduce only a ?handful or three of native words, controls and concepts, is accessible to anyone with a real desire to learn this sort of thing. Even a first grader; they just need more mentoring. Even someone who did not know they would like to build stuff in software. > The trick is the engagement, to make it seem cool and fun. > Craig > > > -----Original Message----- > From: Richmond Mathewson via use-livecode > To: How to use LiveCode > Cc: Richmond Mathewson > Sent: Fri, Nov 1, 2019 12:59 pm > Subject: Re: Learning from scratch - any recommendations? > > I have a radical disagreement with Scratch and its ilk as, while it does > allow one to run up simple computer games, it does not let users see the > "guts" of a program, and seems not to give children transferrable skill for > non-block programming languages. I have successfully started kids from 9 > years old and upward on programming with both BBC BASIC and Livecode. > > On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> My recommendation is to have them start with scratch.mit.edu and spend a >> month making stuff with that language. Scratch is built for 1st graders to >> pick up and it is extremely satisfying as the starter language. They get >> exposed to all sorts of concepts, message passing, variables, flow control, >> multi-processing, it?s a great starter language. A month making stuff and >> then move to livecode. >> >> Kee >> >>> On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> I was disappointed that I only got one reply to my query about LC as a >> platform for learning programming - I thought this was a big thing with >> quite a few people on this list, some of whom are actually educators. Since >> I?ve failed in this, can someone suggest a better way of getting an answer >> (e.g. forums, mother ship)? >>> TIA >>> >>> Graham >>> >>> I wrote: >>> >>>> I have been approached by one of my family to ask what would be the >> first steps for someone (a young adult) to enable them to enter the world >> of app design and programming. Obviously I need to ask more questions >> myself, such as whether this would be to get a job, or simply as an >> educational exercise, or maybe to provide a launchpad for a startup idea. >> However, even at this stage, of course my thoughts turned to LiveCode. >>>> So my question to the community is, how would such a person start off - >> assuming they?re intelligent, very familiar with consumer-level technology >> such as smart phones, tablets, laptop computers for study etc. and social >> media, but probably have never seen or thought about what is involved in >> designing, implementing and publishing an app (I would just say ?a >> program?, but that shows how old I am) on any platform? If it is LC (and >> why not?), are the published lessons sufficient? What is the view of those >> on this list who do actually teach this stuff? >>>> The trouble for me is that I have been around all this for 50 years >> (more, to be truthful) and so can?t project myself well into the mind of >> that kind of newbie. One guess is that one way to start would be to find a >> cheap hardware platform (probably an Android tablet) and try to use the LC >> Community Edition to allow me to create something for that; but that idea >> may be stupid, particularly as one would need a different platform to >> actually do the development work. >>>> Hoping for some insights >>>> >>>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Nov 1 14:43:18 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Fri, 01 Nov 2019 19:43:18 +0100 Subject: Learning from scratch - any recommendations? In-Reply-To: <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> Message-ID: <40DC1F8B-87EC-4388-8BDA-D465FAA568FD@me.com> " Try to learn Dutch, if we had'nt sold New York to the Brittish you'd all talk Dutch" LOL The other point you maybe wanted to make but forgotten is to mention The Dutch East India Company, officially the United East India Company (in Dutch the VOC). VOC became the world's first formally listed public company. In other words, it was the first corporation to be listed on an official stock exchange. It was influential in the rise of corporate-led globalisation in the early modern period. I am proud to be Dutch :) ?On 01/11/2019, 19:29, "use-livecode on behalf of JJS via use-livecode" wrote: quote : I hate to learn another language. That is why I live in the United States. /quote If we the Dutch go to Germany we talk German, if we go to France many of us not all talk French, if we go to other countries we talk mainly English. If Germans or French come to our country we talk their language or english Try to learn Dutch, if we had'nt sold New York to the Brittish you'd all talk Dutch And partly thank God it happened or we'd all would listen to Dutch music today and most of it i can't stand :) there was another point i wanted to make, but during typing i forgot. Back on topic, Java or Kotlin is something i would want to try, but it's more difficult, although everyone says their language is so easy. Livecode is best to step in. Op 1-11-2019 om 18:52 schreef dunbarx--- via use-livecode: > I am with Richmond, mainly. > I hate to learn another language. That is why I live in the United States. > LC, if you introduce only a handful or three of native words, controls and concepts, is accessible to anyone with a real desire to learn this sort of thing. Even a first grader; they just need more mentoring. Even someone who did not know they would like to build stuff in software. > The trick is the engagement, to make it seem cool and fun. > Craig > > > -----Original Message----- > From: Richmond Mathewson via use-livecode > To: How to use LiveCode > Cc: Richmond Mathewson > Sent: Fri, Nov 1, 2019 12:59 pm > Subject: Re: Learning from scratch - any recommendations? > > I have a radical disagreement with Scratch and its ilk as, while it does > allow one to run up simple computer games, it does not let users see the > "guts" of a program, and seems not to give children transferrable skill for > non-block programming languages. I have successfully started kids from 9 > years old and upward on programming with both BBC BASIC and Livecode. > > On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> My recommendation is to have them start with scratch.mit.edu and spend a >> month making stuff with that language. Scratch is built for 1st graders to >> pick up and it is extremely satisfying as the starter language. They get >> exposed to all sorts of concepts, message passing, variables, flow control, >> multi-processing, it?s a great starter language. A month making stuff and >> then move to livecode. >> >> Kee >> >>> On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> I was disappointed that I only got one reply to my query about LC as a >> platform for learning programming - I thought this was a big thing with >> quite a few people on this list, some of whom are actually educators. Since >> I?ve failed in this, can someone suggest a better way of getting an answer >> (e.g. forums, mother ship)? >>> TIA >>> >>> Graham >>> >>> I wrote: >>> >>>> I have been approached by one of my family to ask what would be the >> first steps for someone (a young adult) to enable them to enter the world >> of app design and programming. Obviously I need to ask more questions >> myself, such as whether this would be to get a job, or simply as an >> educational exercise, or maybe to provide a launchpad for a startup idea. >> However, even at this stage, of course my thoughts turned to LiveCode. >>>> So my question to the community is, how would such a person start off - >> assuming they?re intelligent, very familiar with consumer-level technology >> such as smart phones, tablets, laptop computers for study etc. and social >> media, but probably have never seen or thought about what is involved in >> designing, implementing and publishing an app (I would just say ?a >> program?, but that shows how old I am) on any platform? If it is LC (and >> why not?), are the published lessons sufficient? What is the view of those >> on this list who do actually teach this stuff? >>>> The trouble for me is that I have been around all this for 50 years >> (more, to be truthful) and so can?t project myself well into the mind of >> that kind of newbie. One guess is that one way to start would be to find a >> cheap hardware platform (probably an Android tablet) and try to use the LC >> Community Edition to allow me to create something for that; but that idea >> may be stupid, particularly as one would need a different platform to >> actually do the development work. >>>> Hoping for some insights >>>> >>>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Nov 1 15:48:31 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 1 Nov 2019 15:48:31 -0400 Subject: Android - ANRs and Crashes In-Reply-To: <001B3E87-B360-4D04-BA5A-F1E0ABD0D139@hindu.org> References: <001B3E87-B360-4D04-BA5A-F1E0ABD0D139@hindu.org> Message-ID: <001f01d590ed$59dea4f0$0d9beed0$@net> Some of these are BS but download the logcat and send it and the text of the error to Panos. I did that once and he found and fixed the problem. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode Sent: Friday, November 01, 2019 1:57 PM To: How LiveCode Cc: Sannyasin Brahmanathaswami Subject: Android - ANRs and Crashes We are getting new reports in Google console -- haven't looked at it in a while, but now getting ready for a new release and I am going through every link at the developer console site, as there are new requirement I don't want to miss?.now these this new thing: ANRs and Crashes it is surprisingly explicit.Almost all my users complain the app is very not responsive. So it was interesting to see lots these ========= Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. waitqueue length = 5, head.seq = 948440, Wait queue head age: 29489.7ms.) com.himalayanacademy.sivasiva.mblandroid ======== FWIW. I should probably send this to HQ, but it is rather interesting, if incomprehensible to me. Now, if could just interpret this to "what am in doing in the Livecode script that would fix this" that would be great! Because of this line (just guessing) "OkHttp ConnectionPool" tid=18 TimedWaiting I think this it is a user trying to get an http request in a browser widget. I have a whole string of these and more detail below: ===== ============= "main" tid=1 Native "main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x72c80af0 self=0x7bcc6a7a00 | sysTid=31502 nice=-10 cgrp=default sched=0/0 handle=0x7bd18d49b0 | state=S schedstat=( 5064974951 299734164 9663 ) utm=376 stm=129 core=7 HZ=100 | stack=0x7ff9f02000-0x7ff9f04000 stackSize=8MB | held mutexes= #00 pc 000000000001e2ec /system/lib64/libc.so (syscall+28) #01 pc 0000000000074850 /system/lib64/libc.so (pthread_cond_wait+96) #02 pc 000000000017e8ac /data/app/com.himalayanacademy.sivasiva-t8T3HnRinrBcByX4z9bjaw==/lib/arm64/librevandroid.so (???) at com.runrev.android.Engine.doProcess (Native method) at com.runrev.android.Engine$1.handleMessage (Engine.java:162) at android.os.Handler.dispatchMessage (Handler.java:108) at android.os.Looper.loop (Looper.java:166) at android.app.ActivityThread.main (ActivityThread.java:7529) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921) "Jit thread pool worker thread 0" tid=2 Native "ReferenceQueueDaemon" tid=4 Waiting "FinalizerDaemon" tid=5 Waiting "FinalizerWatchdogDaemon" tid=6 Waiting "Binder:31502_1" tid=8 Native "Binder:31502_2" tid=9 Native "hwuiTask1" tid=10 Native "Profile Saver" tid=11 Native "Thread-4" tid=12 Native "Thread-5" tid=13 Native "Thread-7" tid=14 Native "RenderThread" tid=15 Native "Binder:31502_3" tid=16 Native "hwuiTask2" tid=17 Native "OkHttp ConnectionPool" tid=18 TimedWaiting "Binder:31502_4" tid=19 Native "HwBinder:31502_1" tid=20 Native "Binder:31502_5" tid=21 Native "Binder:31502_6" tid=22 Native "queued-work-looper" tid=23 Native "RenderThread" "Signal Catcher" tid=3 Runnable "HeapTaskDaemon" tid=7 Blocked "HeapTaskDaemon" daemon prio=5 tid=7 Blocked | group="system" sCount=1 dsCount=0 flags=1 obj=0x12c72dd0 self=0x7bcc6aa200 | sysTid=31513 nice=4 cgrp=default sched=0/0 handle=0x7bb141e4f0 | state=S schedstat=( 517185 32501 10 ) utm=0 stm=0 core=4 HZ=100 | stack=0x7bb131c000-0x7bb131e000 stackSize=1037KB | held mutexes= #00 pc 000000000001e2ec /system/lib64/libc.so (syscall+28) #01 pc 00000000000e4608 /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+152) #02 pc 00000000002628c8 /system/lib64/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+292) #03 pc 00000000002631f0 /system/lib64/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+92) #04 pc 000000000020c96c /system/framework/arm64/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+124) at dalvik.system.VMRuntime.runHeapTasks (Native method) - waiting to lock an unknown object at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:473) at java.lang.Daemons$Daemon.run (Daemons.java:103) at java.lang.Thread.run (Thread.java:784) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Fri Nov 1 17:41:05 2019 From: jjs at krutt.org (JJS) Date: Fri, 1 Nov 2019 22:41:05 +0100 Subject: Learning from scratch - any recommendations? In-Reply-To: <40DC1F8B-87EC-4388-8BDA-D465FAA568FD@me.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <40DC1F8B-87EC-4388-8BDA-D465FAA568FD@me.com> Message-ID: Also a very good point ! Thanks Erik. Op 1-11-2019 om 19:43 schreef Erik Beugelaar via use-livecode: > " Try to learn Dutch, if we had'nt sold New York to the Brittish you'd all talk Dutch" > > LOL > > The other point you maybe wanted to make but forgotten is to mention The Dutch East India Company, officially the United East India Company (in Dutch the VOC). > VOC became the world's first formally listed public company. In other words, it was the first corporation to be listed on an official stock exchange. It was influential in the rise of corporate-led globalisation in the early modern period. > > I am proud to be Dutch :) > > ?On 01/11/2019, 19:29, "use-livecode on behalf of JJS via use-livecode" wrote: > > quote : I hate to learn another language. That is why I live in the > United States. /quote > > If we the Dutch go to Germany we talk German, if we go to France many of > us not all talk French, if we go to other countries we talk mainly English. > > If Germans or French come to our country we talk their language or english > > Try to learn Dutch, if we had'nt sold New York to the Brittish you'd all > talk Dutch > > And partly thank God it happened or we'd all would listen to Dutch music > today and most of it i can't stand :) > > there was another point i wanted to make, but during typing i forgot. > > > Back on topic, Java or Kotlin is something i would want to try, but it's > more difficult, although everyone says their language is so easy. > Livecode is best to step in. > > > Op 1-11-2019 om 18:52 schreef dunbarx--- via use-livecode: > > I am with Richmond, mainly. > > I hate to learn another language. That is why I live in the United States. > > LC, if you introduce only a handful or three of native words, controls and concepts, is accessible to anyone with a real desire to learn this sort of thing. Even a first grader; they just need more mentoring. Even someone who did not know they would like to build stuff in software. > > The trick is the engagement, to make it seem cool and fun. > > Craig > > > > > > -----Original Message----- > > From: Richmond Mathewson via use-livecode > > To: How to use LiveCode > > Cc: Richmond Mathewson > > Sent: Fri, Nov 1, 2019 12:59 pm > > Subject: Re: Learning from scratch - any recommendations? > > > > I have a radical disagreement with Scratch and its ilk as, while it does > > allow one to run up simple computer games, it does not let users see the > > "guts" of a program, and seems not to give children transferrable skill for > > non-block programming languages. I have successfully started kids from 9 > > years old and upward on programming with both BBC BASIC and Livecode. > > > > On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> My recommendation is to have them start with scratch.mit.edu and spend a > >> month making stuff with that language. Scratch is built for 1st graders to > >> pick up and it is extremely satisfying as the starter language. They get > >> exposed to all sorts of concepts, message passing, variables, flow control, > >> multi-processing, it?s a great starter language. A month making stuff and > >> then move to livecode. > >> > >> Kee > >> > >>> On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> I was disappointed that I only got one reply to my query about LC as a > >> platform for learning programming - I thought this was a big thing with > >> quite a few people on this list, some of whom are actually educators. Since > >> I?ve failed in this, can someone suggest a better way of getting an answer > >> (e.g. forums, mother ship)? > >>> TIA > >>> > >>> Graham > >>> > >>> I wrote: > >>> > >>>> I have been approached by one of my family to ask what would be the > >> first steps for someone (a young adult) to enable them to enter the world > >> of app design and programming. Obviously I need to ask more questions > >> myself, such as whether this would be to get a job, or simply as an > >> educational exercise, or maybe to provide a launchpad for a startup idea. > >> However, even at this stage, of course my thoughts turned to LiveCode. > >>>> So my question to the community is, how would such a person start off - > >> assuming they?re intelligent, very familiar with consumer-level technology > >> such as smart phones, tablets, laptop computers for study etc. and social > >> media, but probably have never seen or thought about what is involved in > >> designing, implementing and publishing an app (I would just say ?a > >> program?, but that shows how old I am) on any platform? If it is LC (and > >> why not?), are the published lessons sufficient? What is the view of those > >> on this list who do actually teach this stuff? > >>>> The trouble for me is that I have been around all this for 50 years > >> (more, to be truthful) and so can?t project myself well into the mind of > >> that kind of newbie. One guess is that one way to start would be to find a > >> cheap hardware platform (probably an Android tablet) and try to use the LC > >> Community Edition to allow me to create something for that; but that idea > >> may be stupid, particularly as one would need a different platform to > >> actually do the development work. > >>>> Hoping for some insights > >>>> > >>>> Graham > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Fri Nov 1 17:55:31 2019 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 2 Nov 2019 08:55:31 +1100 Subject: SSH and SCP in LiveCode In-Reply-To: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> References: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> Message-ID: Hi Mike, tsNet does support file transfers via SSH, just use sftp:// at the start of the URL instead of ftp:// or ftps://, otherwise the commands are mostly identical. Just note that not all SSH features are supported in the Indy version of LC - some require the Business edition. What are you trying to do that you think tsNet doesn?t support? Regards, Charles > On 2 Nov 2019, at 3:21 am, Mike Felker via use-livecode wrote: > > Hello group. > > > > Just joined but long-time LiveCode user. > > > > I need SSH / SCP capability for LiveCode. > > > > Anyone know how to use this (either the old external or by any other means)? > > > > I do not thing TSNet will help in this case. > > > > Thanks. > > > > Mike > > > > > Rubidex - The Reliable Blockchain Company > > Mike Felker > > CTO Rubidex > > 813-810-3457 > > 138 Whitaker Road, Suite A > > Lutz, FL 33549 > > rubidex.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 matthias_livecode_150811 at m-r-d.de Fri Nov 1 18:31:26 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 1 Nov 2019 23:31:26 +0100 Subject: Learning from scratch - any recommendations? In-Reply-To: <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> Message-ID: <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> we were very often in the Netherlands for vacation, so i seriously tried to learn Dutch. But it ended that the Dutch better understood me when i spoke German or English instead of Dutch. ;) Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 01.11.2019 um 19:28 schrieb JJS via use-livecode >: > > quote : I hate to learn another language. That is why I live in the United States. /quote > > If we the Dutch go to Germany we talk German, if we go to France many of us not all talk French, if we go to other countries we talk mainly English. > > If Germans or French come to our country we talk their language or english > > Try to learn Dutch, if we had'nt sold New York to the Brittish you'd all talk Dutch > > And partly thank God it happened or we'd all would listen to Dutch music today and most of it i can't stand :) > > there was another point i wanted to make, but during typing i forgot. > > > Back on topic, Java or Kotlin is something i would want to try, but it's more difficult, although everyone says their language is so easy. Livecode is best to step in. > > > Op 1-11-2019 om 18:52 schreef dunbarx--- via use-livecode: >> I am with Richmond, mainly. >> I hate to learn another language. That is why I live in the United States. >> LC, if you introduce only a handful or three of native words, controls and concepts, is accessible to anyone with a real desire to learn this sort of thing. Even a first grader; they just need more mentoring. Even someone who did not know they would like to build stuff in software. >> The trick is the engagement, to make it seem cool and fun. >> Craig >> >> >> -----Original Message----- >> From: Richmond Mathewson via use-livecode > >> To: How to use LiveCode > >> Cc: Richmond Mathewson > >> Sent: Fri, Nov 1, 2019 12:59 pm >> Subject: Re: Learning from scratch - any recommendations? >> >> I have a radical disagreement with Scratch and its ilk as, while it does >> allow one to run up simple computer games, it does not let users see the >> "guts" of a program, and seems not to give children transferrable skill for >> non-block programming languages. I have successfully started kids from 9 >> years old and upward on programming with both BBC BASIC and Livecode. >> >> On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < >> use-livecode at lists.runrev.com > wrote: >> >>> My recommendation is to have them start with scratch.mit.edu and spend a >>> month making stuff with that language. Scratch is built for 1st graders to >>> pick up and it is extremely satisfying as the starter language. They get >>> exposed to all sorts of concepts, message passing, variables, flow control, >>> multi-processing, it?s a great starter language. A month making stuff and >>> then move to livecode. >>> >>> Kee >>> >>>> On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < >>> use-livecode at lists.runrev.com > wrote: >>>> I was disappointed that I only got one reply to my query about LC as a >>> platform for learning programming - I thought this was a big thing with >>> quite a few people on this list, some of whom are actually educators. Since >>> I?ve failed in this, can someone suggest a better way of getting an answer >>> (e.g. forums, mother ship)? >>>> TIA >>>> >>>> Graham >>>> >>>> I wrote: >>>> >>>>> I have been approached by one of my family to ask what would be the >>> first steps for someone (a young adult) to enable them to enter the world >>> of app design and programming. Obviously I need to ask more questions >>> myself, such as whether this would be to get a job, or simply as an >>> educational exercise, or maybe to provide a launchpad for a startup idea. >>> However, even at this stage, of course my thoughts turned to LiveCode. >>>>> So my question to the community is, how would such a person start off - >>> assuming they?re intelligent, very familiar with consumer-level technology >>> such as smart phones, tablets, laptop computers for study etc. and social >>> media, but probably have never seen or thought about what is involved in >>> designing, implementing and publishing an app (I would just say ?a >>> program?, but that shows how old I am) on any platform? If it is LC (and >>> why not?), are the published lessons sufficient? What is the view of those >>> on this list who do actually teach this stuff? >>>>> The trouble for me is that I have been around all this for 50 years >>> (more, to be truthful) and so can?t project myself well into the mind of >>> that kind of newbie. One guess is that one way to start would be to find a >>> cheap hardware platform (probably an Android tablet) and try to use the LC >>> Community Edition to allow me to create something for that; but that idea >>> may be stupid, particularly as one would need a different platform to >>> actually do the development work. >>>>> Hoping for some insights >>>>> >>>>> Graham >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 1 18:34:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 Nov 2019 22:34:08 +0000 Subject: Learning from scratch - any recommendations? In-Reply-To: <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> Message-ID: <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> Dr. Pol is Dutch. I love that show. Bob S > On Nov 1, 2019, at 15:31 , Matthias Rebbe via use-livecode wrote: > > we were very often in the Netherlands for vacation, so i seriously tried to learn Dutch. > But it ended that the Dutch better understood me when i spoke German or English instead of Dutch. ;) > > Matthias Rebbe > > free tools for Livecoders: From ahsoftware at sonic.net Fri Nov 1 19:37:16 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 1 Nov 2019 16:37:16 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> Message-ID: > While on screen, my generated objects act correctly, being just black text with transparent background. When merging, though, the livecode pdf has grey instead of clear for the entire object generated with print to pdf. Untested, but maybe setting the opaques to true and the blendlevel to 100? A bit counerintuitive, but ya never know... -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Fri Nov 1 20:27:41 2019 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 1 Nov 2019 17:27:41 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> Message-ID: <051D0513-9EC6-403C-9D7D-FBCEBB91791A@gmail.com> On Nov 1, 2019, at 4:37 PM, Mark Wieder via use-livecode wrote: > > Untested, but maybe setting the opaques to true and the blendlevel to 100? A bit counerintuitive, but ya never know... No less intuitive than there being fundamental technical reasons that it was necessary to sacrifice small animals to SCSI chains, which I accepted long ago :) The result is curious . . . the outputted pdf is now *entirely* grey, yet when merged through PyPDF2, a single renege field appears from within the grey (the only field the I hadn?t set to not be opaque, I think. Or perhaps it?s the only one with a white rather than empty background. Still, though, the grey of the livecode file blocks the pdf beneath it. I?m printing each LC page with set the backgroundColor of otCd to empty set the opaque of group "oGrp" to true set the blendlevel of group "oGrp" to 100 set the blendlevel of otCd to 100 print otCd from otTl to otBr into 18,18,576+18,756 (where otCd is the card with my LC fields, all contained within group ogre). (otto and otBr hold the top left and bottom right of group ogre) Just what are you suggesting should get a blend level? Or would it make sense ()or be necessary)if I just printed each field into its own coordinate? And a bit of further testing shows that the field that appears after merging is actually a region which contains two fields and the space between them, and is apparently shown the background pdf in this limited area (but not the contents of these fields. Now my head is spinning . . . anything more you can tell me beyond what the dictionary says would help, as my head is spinning . . . ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From ahsoftware at sonic.net Fri Nov 1 20:42:42 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 1 Nov 2019 17:42:42 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: <051D0513-9EC6-403C-9D7D-FBCEBB91791A@gmail.com> References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> <051D0513-9EC6-403C-9D7D-FBCEBB91791A@gmail.com> Message-ID: <8b1b5d05-fc06-76bc-2e03-dceb93c95564@sonic.net> On 11/1/19 5:27 PM, Dr. Hawkins via use-livecode wrote: > Now my head is spinning . . . anything more you can tell me beyond what the dictionary says would help, as my head is spinning . . . Yeah, now that I think back on this the blendlevel would make the text transparent as well as the background, so that's not gonna fly. Is it possible to pick up the background color from the mouseColor or the backgroundColor or something and set the background color of the field to that? (and obviously forget the bit about setting the blendlevel) -- Mark Wieder ahsoftware at gmail.com From dougr at telus.net Fri Nov 1 21:48:32 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Fri, 1 Nov 2019 18:48:32 -0700 Subject: generating a standalone in v9.x In-Reply-To: References: Message-ID: <01aa01d5911f$a5897380$f09c5a80$@net> Thanks, JJS. I had that code ion place from Bob's suggestion but ran into the (apparent) never-ending "Attaching Engine" state. **BUT** just now I discovered, as my eye glanced over at the app's script in the Editor, the standalone build had "re-started" my application and was "stalled" on a "red-dot" debug flag. I ALWAYS put a red-dot/debug flag in the "OpenCard" call so I can control whether I want the app to run or not when it initially loads into LC. Once I clicked on the (continue) button of the editor, the standalone completed. REALLY? Whatever! Now that I know that "feature", I can live with it.. but I bet THAT characteristic *isn't* described in the release note(s). Thanks again for your help! Doug > Date: Fri, 1 Nov 2019 19:20:04 +0100 > From: JJS > To: Douglas Ruisaard via use-livecode > Subject: Re: generating a standalone in v9.x > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > What you need is described in the release notes from 9.x onwards > > Removing the command quit is not the solution > > use this, it is copied from the release notes: > > on closeStack > if the environment is "development" and \ > there is a stack "revStandaloneProgress" and \ > the mode of stack "revStandaloneProgress" > 0 then > exit closeStack > end if > end closeStack > > i use it always and always works ok. > > > Op 1-11-2019 om 18:44 schreef Douglas Ruisaard via use-livecode: > > Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. > > > > Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". > > > > Heather from LC also offered the following code in a related situation to Giovanni's: > > on closeStack > > if the mode of stack "revStandaloneProgress" > 0 then > > exit closeStack > > end if > > end closeStack > > > > The simple fix of removing the "quit" actually allowed the standalone to generate a working > executable... HOWEVER, now the build stops with a never-ending "Attaching engine" spinner. I have to > completely exit LC to stop the "unfinished" process. > > > > I have tried inserting BOTH Heather's and Bob's suggestions but they do NOT resolve the "Attaching > engine" issue. > > > > Any suggestions? > > > > ps... LC business 8.1.10 still generated the standalone PERFECTLY... even with the v9 changes in the > script. Glad I kept it around!!! NOT lovin' v9x much at all! > > > > > > Douglas Ruisaard > > Trilogy Software > > (250) 573-3935 > > > >> Date: Thu, 31 Oct 2019 22:12:17 +0000 > >> From: Bob Sneidar > >> To: How to use LiveCode > >> Subject: Re: generating a standalone in v9.x > >> Message-ID: > >> Content-Type: text/plain; charset="us-ascii" > >> > >> There is a set of commands that in certain scripts like opesStack and closeStack that will check to > >> see if the standalone builder is running, and then you can abort the handler. > >> > >> The reason they do this is because your app could be doing anything at the moment the standalone is > >> being built. The standalone has to walk through every script to check what add-ons or libraries you > >> use so it can include them. > >> > >> Here's what I do. In the stackScript of the mainStack: > >> > >> on savingStandalone > >> put true into gBuildingStandAlone > >> end savingStandalone > >> > >> on standaloneSaved > >> put false into gBuildingStandAlone > >> end standaloneSaved > >> > >> Then in any openStack handler, either in the stack or card, I put this: > >> > >> put the environment is "development" and \ > >> there is a stack "revStandaloneProgress" and \ > >> the mode of stack "revStandaloneProgress" > 0 into skipLogin > >> > >> if not skipLogin then > >> --- code that borks your standalone building. For me it was calling a login dialog as modal. > >> end if > >> > >> Bob S > >> > >> > >>> On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode > wrote: > >>> > >>> I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to > >> generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried > >> building the identical script (with the same result) on two different installations of said OS on > two > >> different machines. > >>> LC business v 8.1.10 generates the standalone fine. > >>> > >>> LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as > used > >> in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point > all > >> things LC disappear from my desktop. An appropriate "destination" directory for the standalone is > >> created as per the settings but it is completely empty. > >>> The actual application runs fine in all LC business versions... it's just that I can't get the LC > >> v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is > wrong!! > >>> Is there such a log or audit which details the steps that LC is taking and possibly what the issue > >> is that it cannot resolve? I have checked at the Administrators tools event logging provided by > >> Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". > >>> I follow this user-group quite closely and seem to recall others having issues with LC v9's > >> standalone processes but I cannot seem to find such references within the very large amount of chat > >> this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking > for > >> other than potential issues with the standalone builder. > >>> I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue > or > >> where within my LC environment I can find any logs concerning the standalone processing. > >>> Cheers! > >>> Douglas Ruisaard > >>> Trilogy Software > >>> (250) 573-3935 Douglas Ruisaard Trilogy Software (250) 573-3935 From jjs at krutt.org Sat Nov 2 03:23:27 2019 From: jjs at krutt.org (Jjs) Date: Sat, 02 Nov 2019 08:23:27 +0100 Subject: Learning from scratch - any recommendations? In-Reply-To: <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> Message-ID: <2A772D5C-F6C2-4926-8E7E-F260A1D03337@krutt.org> At least you tried ;) German and Dutch come have much similarities. In a previous job i had to drive to many German customers from Hamburg to Stuttgart (among was Porsche ausbildung-school) and lived for 5 years in Germany too. Near the border there are lots who understand dutch. Matthias Rebbe via use-livecode schreef op 1 november 2019 23:31:26 CET: >we were very often in the Netherlands for vacation, so i seriously >tried to learn Dutch. >But it ended that the Dutch better understood me when i spoke German or >English instead of Dutch. ;) > >Matthias Rebbe > >free tools for Livecoders: >InstaMaker >WinSignMaker Mac > >> Am 01.11.2019 um 19:28 schrieb JJS via use-livecode >>: >> >> quote : I hate to learn another language. That is why I live in the >United States. /quote >> >> If we the Dutch go to Germany we talk German, if we go to France many >of us not all talk French, if we go to other countries we talk mainly >English. >> >> If Germans or French come to our country we talk their language or >english >> >> Try to learn Dutch, if we had'nt sold New York to the Brittish you'd >all talk Dutch >> >> And partly thank God it happened or we'd all would listen to Dutch >music today and most of it i can't stand :) >> >> there was another point i wanted to make, but during typing i forgot. >> >> >> Back on topic, Java or Kotlin is something i would want to try, but >it's more difficult, although everyone says their language is so easy. >Livecode is best to step in. >> >> >> Op 1-11-2019 om 18:52 schreef dunbarx--- via use-livecode: >>> I am with Richmond, mainly. >>> I hate to learn another language. That is why I live in the United >States. >>> LC, if you introduce only a handful or three of native words, >controls and concepts, is accessible to anyone with a real desire to >learn this sort of thing. Even a first grader; they just need more >mentoring. Even someone who did not know they would like to build stuff >in software. >>> The trick is the engagement, to make it seem cool and fun. >>> Craig >>> >>> >>> -----Original Message----- >>> From: Richmond Mathewson via use-livecode >> >>> To: How to use LiveCode > >>> Cc: Richmond Mathewson > >>> Sent: Fri, Nov 1, 2019 12:59 pm >>> Subject: Re: Learning from scratch - any recommendations? >>> >>> I have a radical disagreement with Scratch and its ilk as, while it >does >>> allow one to run up simple computer games, it does not let users see >the >>> "guts" of a program, and seems not to give children transferrable >skill for >>> non-block programming languages. I have successfully started kids >from 9 >>> years old and upward on programming with both BBC BASIC and >Livecode. >>> >>> On Fri, Nov 1, 2019, 6:00 PM kee nethery via use-livecode < >>> use-livecode at lists.runrev.com >> wrote: >>> >>>> My recommendation is to have them start with scratch.mit.edu > and spend a >>>> month making stuff with that language. Scratch is built for 1st >graders to >>>> pick up and it is extremely satisfying as the starter language. >They get >>>> exposed to all sorts of concepts, message passing, variables, flow >control, >>>> multi-processing, it?s a great starter language. A month making >stuff and >>>> then move to livecode. >>>> >>>> Kee >>>> >>>>> On Nov 1, 2019, at 3:23 AM, Graham Samuel via use-livecode < >>>> use-livecode at lists.runrev.com >> wrote: >>>>> I was disappointed that I only got one reply to my query about LC >as a >>>> platform for learning programming - I thought this was a big thing >with >>>> quite a few people on this list, some of whom are actually >educators. Since >>>> I?ve failed in this, can someone suggest a better way of getting an >answer >>>> (e.g. forums, mother ship)? >>>>> TIA >>>>> >>>>> Graham >>>>> >>>>> I wrote: >>>>> >>>>>> I have been approached by one of my family to ask what would be >the >>>> first steps for someone (a young adult) to enable them to enter the >world >>>> of app design and programming. Obviously I need to ask more >questions >>>> myself, such as whether this would be to get a job, or simply as an >>>> educational exercise, or maybe to provide a launchpad for a startup >idea. >>>> However, even at this stage, of course my thoughts turned to >LiveCode. >>>>>> So my question to the community is, how would such a person start >off - >>>> assuming they?re intelligent, very familiar with consumer-level >technology >>>> such as smart phones, tablets, laptop computers for study etc. and >social >>>> media, but probably have never seen or thought about what is >involved in >>>> designing, implementing and publishing an app (I would just say ?a >>>> program?, but that shows how old I am) on any platform? If it is LC >(and >>>> why not?), are the published lessons sufficient? What is the view >of those >>>> on this list who do actually teach this stuff? >>>>>> The trouble for me is that I have been around all this for 50 >years >>>> (more, to be truthful) and so can?t project myself well into the >mind of >>>> that kind of newbie. One guess is that one way to start would be to >find a >>>> cheap hardware platform (probably an Android tablet) and try to use >the LC >>>> Community Edition to allow me to create something for that; but >that idea >>>> may be stupid, particularly as one would need a different platform >to >>>> actually do the development work. >>>>>> Hoping for some insights >>>>>> >>>>>> Graham >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From jjs at krutt.org Sat Nov 2 03:27:02 2019 From: jjs at krutt.org (Jjs) Date: Sat, 02 Nov 2019 08:27:02 +0100 Subject: Learning from scratch - any recommendations? In-Reply-To: <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> Message-ID: Yes we watch it too, he is famous. I love when his son tries to speak dutch haha. Sometimes his brother is in the show, then you can hear some Drents which is different from normal dutch but not as hard as Fries that's a language on it's own. Bob Sneidar via use-livecode schreef op 1 november 2019 23:34:08 CET: >Dr. Pol is Dutch. I love that show. > >Bob S > > >> On Nov 1, 2019, at 15:31 , Matthias Rebbe via use-livecode > wrote: >> >> we were very often in the Netherlands for vacation, so i seriously >tried to learn Dutch. >> But it ended that the Dutch better understood me when i spoke German >or English instead of Dutch. ;) >> >> Matthias Rebbe >> >> free tools for Livecoders: > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From klaus at major-k.de Sat Nov 2 05:59:39 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 2 Nov 2019 10:59:39 +0100 Subject: SSH and SCP in LiveCode In-Reply-To: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> References: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> Message-ID: Mr. Felker, go figure!? > Am 01.11.2019 um 17:21 schrieb Mike Felker via use-livecode : > > Hello group. > > Just joined but long-time LiveCode user. > I need SSH / SCP capability for LiveCode > Anyone know how to use this (either the old external or by any other means)? > I do not thing TSNet will help in this case. > Thanks. > > Mike > > Rubidex - The Reliable Blockchain Company > Mike Felker > CTO Rubidex > 813-810-3457 > 138 Whitaker Road, Suite A > Lutz, FL 33549 > rubidex.net Tired of playing "dead man" after not paying the rest of my last invoice from september last year? I'm still waiting... -- Klaus Major https://www.major-k.de klaus at major-k.de From Bernd.Niggemann at uni-wh.de Sat Nov 2 06:29:09 2019 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sat, 2 Nov 2019 10:29:09 +0000 Subject: "empty" background in printed pdf is actually grey In-Reply-To: References: Message-ID: What happens when you set the opaque of group "oGrp" to false? Richard E. Hawkins, Esq. wrote: I?m printing each LC page with set the backgroundColor of otCd to empty set the opaque of group "oGrp" to true set the blendlevel of group "oGrp" to 100 set the blendlevel of otCd to 100 print otCd from otTl to otBr into 18,18,576+18,756 Kind regards Bernd From dougr at telus.net Sat Nov 2 11:38:50 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Sat, 2 Nov 2019 08:38:50 -0700 Subject: generating a standalone in v9.x References: Message-ID: <01c201d59193$a48fb880$edaf2980$@net> Not to beat a dead horse, but I know this group loves details especially when the details reinforce a successful resolution of a problem. Of course, I'd love it if someone could substantiate and replicate my experience with LC v9 standalone build by putting a red-dot debug flag in their "openCard" handler... save the file with "Script Debug Mode" checked ... then try to build a standalone. You "should" find that the standalone gets to the "Attach engine" stage but never stops and that your code is now halted at the debug flag. Now here's the INTERESTING part... if, instead of telling the debugger to "continue/run" (e.g. via F5 or the drop-down menu), you select the "STOP" command (shift-F5 or the drop-down), the standalone continues to "spin" and never stops. If you do this you will have to stop/exit LC completely to make LC responsive again. Generally, I usually *do* STOP the app at the debug line when I am modifying the code ... that's why, when this started to happen with V9, I didn't clue into why the standalone was NOT finishing. At some point, instead, I "accidentally" pressed the RUN/CONTINUE icon when the "Attach Engine" window was spinning... and, wha-da-ya-know, the standalone finished! I fail to see why one of the (likely) final steps of the standalone builder actually "runs" the application *before* the standalone actually finishes... rather than just "re-load" it ... as all previous versions to v9 apparently did. Or, as the actual FINAL step, just *after* the standalone declares "Standalone application saved successfully".. THEN re-start the app ... if you must! Douglas Ruisaard Trilogy Software (250) 573-3935 > -----Original Message----- > From: Douglas Ruisaard [mailto:dougr at telus.net] > Sent: Friday, November 01, 2019 6:49 PM > To: 'use-livecode at lists.runrev.com' > Subject: Re: generating a standalone in v9.x > > Thanks, JJS. > > I had that code ion place from Bob's suggestion but ran into the (apparent) never-ending "Attaching > Engine" state. **BUT** just now I discovered, as my eye glanced over at the app's script in the > Editor, the standalone build had "re-started" my application and was "stalled" on a "red-dot" debug > flag. > > I ALWAYS put a red-dot/debug flag in the "OpenCard" call so I can control whether I want the app to > run or not when it initially loads into LC. > > Once I clicked on the (continue) button of the editor, the standalone completed. REALLY? > Whatever! Now that I know that "feature", I can live with it.. but I bet THAT characteristic *isn't* > described in the release note(s). > > Thanks again for your help! > > Doug > > > Date: Fri, 1 Nov 2019 19:20:04 +0100 > > From: JJS > > To: Douglas Ruisaard via use-livecode > > Subject: Re: generating a standalone in v9.x > > Message-ID: > > Content-Type: text/plain; charset=utf-8; format=flowed > > > > What you need is described in the release notes from 9.x onwards > > > > Removing the command quit is not the solution > > > > use this, it is copied from the release notes: > > > > on closeStack > > if the environment is "development" and \ there is a stack > > "revStandaloneProgress" and \ the mode of stack > > "revStandaloneProgress" > 0 then exit closeStack end if end closeStack > > > > i use it always and always works ok. > > > > > > Op 1-11-2019 om 18:44 schreef Douglas Ruisaard via use-livecode: > > > Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. > > > > > > Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". > > > > > > Heather from LC also offered the following code in a related situation to Giovanni's: > > > on closeStack > > > if the mode of stack "revStandaloneProgress" > 0 then > > > exit closeStack > > > end if > > > end closeStack > > > > > > The simple fix of removing the "quit" actually allowed the > > > standalone to generate a working > > executable... HOWEVER, now the build stops with a never-ending > > "Attaching engine" spinner. I have to completely exit LC to stop the "unfinished" process. > > > > > > I have tried inserting BOTH Heather's and Bob's suggestions but they > > > do NOT resolve the "Attaching > > engine" issue. > > > > > > Any suggestions? > > > > > > ps... LC business 8.1.10 still generated the standalone PERFECTLY... > > > even with the v9 changes in the > > script. Glad I kept it around!!! NOT lovin' v9x much at all! > > > > > > > > > Douglas Ruisaard > > > Trilogy Software > > > (250) 573-3935 > > > > > >> Date: Thu, 31 Oct 2019 22:12:17 +0000 > > >> From: Bob Sneidar > > >> To: How to use LiveCode > > >> Subject: Re: generating a standalone in v9.x > > >> Message-ID: > > >> Content-Type: text/plain; charset="us-ascii" > > >> > > >> There is a set of commands that in certain scripts like opesStack > > >> and closeStack that will check to see if the standalone builder is running, and then you can > abort the handler. > > >> > > >> The reason they do this is because your app could be doing anything > > >> at the moment the standalone is being built. The standalone has to > > >> walk through every script to check what add-ons or libraries you use so it can include them. > > >> > > >> Here's what I do. In the stackScript of the mainStack: > > >> > > >> on savingStandalone > > >> put true into gBuildingStandAlone end savingStandalone > > >> > > >> on standaloneSaved > > >> put false into gBuildingStandAlone end standaloneSaved > > >> > > >> Then in any openStack handler, either in the stack or card, I put this: > > >> > > >> put the environment is "development" and \ > > >> there is a stack "revStandaloneProgress" and \ > > >> the mode of stack "revStandaloneProgress" > 0 into > > >> skipLogin > > >> > > >> if not skipLogin then > > >> --- code that borks your standalone building. For me it was calling a login dialog as modal. > > >> end if > > >> > > >> Bob S > > >> > > >> > > >>> On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode > > >>> > > wrote: > > >>> > > >>> I am having an issue with using "any" business version of 9 (9.04, > > >>> 9.05, 9.5-32bit, 9.5-64bit) to > > >> generate a standalone output of my application. I am using Windows > > >> 7 Enterprise SP1 and have tried building the identical script (with > > >> the same result) on two different installations of said OS on > > two > > >> different machines. > > >>> LC business v 8.1.10 generates the standalone fine. > > >>> > > >>> LC business version 9.0.5 (with IDENTICAL settings in the > > >>> "Standalone Application Settings" as > > used > > >> in the v8.1.10 build) seems to crash LC just at the point of > > >> "closing open stacks" at which point > > all > > >> things LC disappear from my desktop. An appropriate "destination" > > >> directory for the standalone is created as per the settings but it is completely empty. > > >>> The actual application runs fine in all LC business versions... > > >>> it's just that I can't get the LC > > >> v9.x to generated the standalone... and ... I can't find ANY error > > >> or log explaining what is > > wrong!! > > >>> Is there such a log or audit which details the steps that LC is > > >>> taking and possibly what the issue > > >> is that it cannot resolve? I have checked at the Administrators > > >> tools event logging provided by Windows 7 ... but there is no corresponding event which is > simultaneous with the LC "crash". > > >>> I follow this user-group quite closely and seem to recall others > > >>> having issues with LC v9's > > >> standalone processes but I cannot seem to find such references > > >> within the very large amount of chat this site contains. I have > > >> NOT checked the LC QC bugs since I really don't know what I'm > > >> looking > > for > > >> other than potential issues with the standalone builder. > > >>> I'd very much appreciate any tips, pointers, explanations as to > > >>> how to either resolve this issue > > or > > >> where within my LC environment I can find any logs concerning the standalone processing. > > >>> Cheers! > > >>> Douglas Ruisaard > > >>> Trilogy Software > > >>> (250) 573-3935 > > Douglas Ruisaard > Trilogy Software > (250) 573-3935 From dougr at telus.net Sat Nov 2 11:40:46 2019 From: dougr at telus.net (Douglas Ruisaard) Date: Sat, 2 Nov 2019 08:40:46 -0700 Subject: generating a standalone in v9.x References: Message-ID: <01c301d59193$e8a3da10$b9eb8e30$@net> From: Douglas Ruisaard [mailto:dougr at telus.net] Sent: Saturday, November 02, 2019 8:39 AM To: 'use-livecode at lists.runrev.com' Subject: RE: generating a standalone in v9.x Not to beat a dead horse, but I know this group loves details especially when the details reinforce a successful resolution of a problem. Of course, I'd love it if someone could substantiate and replicate my experience with LC v9 standalone build by putting a red-dot debug flag in their "openCard" handler... save the file with "Script Debug Mode" checked ... then try to build a standalone. You "should" find that the standalone gets to the "Attach engine" stage but never stops and that your code is now halted at the debug flag. Now here's the INTERESTING part... if, instead of telling the debugger to "continue/run" (e.g. via F5 or the drop-down menu), you select the "STOP" command (shift-F5 or the drop-down), the standalone continues to "spin" and never stops. If you do this you will have to stop/exit LC completely to make LC responsive again. Generally, I usually *do* STOP the app at the debug line when I am modifying the code ... that's why, when this started to happen with V9, I didn't clue into why the standalone was NOT finishing. At some point, instead, I "accidentally" pressed the RUN/CONTINUE icon when the "Attach Engine" window was spinning... and, wha-da-ya-know, the standalone finished! I fail to see why one of the (likely) final steps of the standalone builder actually "runs" the application *before* the standalone actually finishes... rather than just "re-load" it ... as all previous versions to v9 apparently did. Or, as the actual FINAL step, just *after* the standalone declares "Standalone application saved successfully".. THEN re-start the app ... if you must! Douglas Ruisaard Trilogy Software (250) 573-3935 > > -----Original Message----- > > From: Douglas Ruisaard [mailto:dougr at telus.net] > > Sent: Friday, November 01, 2019 6:49 PM > > To: 'use-livecode at lists.runrev.com' > > Subject: Re: generating a standalone in v9.x > > > > Thanks, JJS. > > > > I had that code ion place from Bob's suggestion but ran into the > > (apparent) never-ending "Attaching Engine" state. **BUT** just now I > > discovered, as my eye glanced over at the app's script in the Editor, > > the standalone build had "re-started" my application and was "stalled" on a "red-dot" debug flag. > > > > I ALWAYS put a red-dot/debug flag in the "OpenCard" call so I can > > control whether I want the app to run or not when it initially loads into LC. > > > > Once I clicked on the (continue) button of the editor, the standalone completed. REALLY? > > Whatever! Now that I know that "feature", I can live with it.. but I > > bet THAT characteristic *isn't* described in the release note(s). > > > > Thanks again for your help! > > > > Doug > > > > > Date: Fri, 1 Nov 2019 19:20:04 +0100 > > > From: JJS > > > To: Douglas Ruisaard via use-livecode > > > > > > Subject: Re: generating a standalone in v9.x > > > Message-ID: > > > Content-Type: text/plain; charset=utf-8; format=flowed > > > > > > What you need is described in the release notes from 9.x onwards > > > > > > Removing the command quit is not the solution > > > > > > use this, it is copied from the release notes: > > > > > > on closeStack > > > if the environment is "development" and \ there is a stack > > > "revStandaloneProgress" and \ the mode of stack > > > "revStandaloneProgress" > 0 then exit closeStack end if end > > > closeStack > > > > > > i use it always and always works ok. > > > > > > > > > Op 1-11-2019 om 18:44 schreef Douglas Ruisaard via use-livecode: > > > > Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. > > > > > > > > Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". > > > > > > > > Heather from LC also offered the following code in a related situation to Giovanni's: > > > > on closeStack > > > > if the mode of stack "revStandaloneProgress" > 0 then > > > > exit closeStack > > > > end if > > > > end closeStack > > > > > > > > The simple fix of removing the "quit" actually allowed the > > > > standalone to generate a working > > > executable... HOWEVER, now the build stops with a never-ending > > > "Attaching engine" spinner. I have to completely exit LC to stop the "unfinished" process. > > > > > > > > I have tried inserting BOTH Heather's and Bob's suggestions but > > > > they do NOT resolve the "Attaching > > > engine" issue. > > > > > > > > Any suggestions? > > > > > > > > ps... LC business 8.1.10 still generated the standalone PERFECTLY... > > > > even with the v9 changes in the > > > script. Glad I kept it around!!! NOT lovin' v9x much at all! > > > > > > > > > > > > Douglas Ruisaard > > > > Trilogy Software > > > > (250) 573-3935 > > > > > > > >> Date: Thu, 31 Oct 2019 22:12:17 +0000 > > > >> From: Bob Sneidar > > > >> To: How to use LiveCode > > > >> Subject: Re: generating a standalone in v9.x > > > >> Message-ID: > > > >> > > > >> Content-Type: text/plain; charset="us-ascii" > > > >> > > > >> There is a set of commands that in certain scripts like opesStack > > > >> and closeStack that will check to see if the standalone builder > > > >> is running, and then you can > > abort the handler. > > > >> > > > >> The reason they do this is because your app could be doing > > > >> anything at the moment the standalone is being built. The > > > >> standalone has to walk through every script to check what add-ons or libraries you use so it > can include them. > > > >> > > > >> Here's what I do. In the stackScript of the mainStack: > > > >> > > > >> on savingStandalone > > > >> put true into gBuildingStandAlone end savingStandalone > > > >> > > > >> on standaloneSaved > > > >> put false into gBuildingStandAlone end standaloneSaved > > > >> > > > >> Then in any openStack handler, either in the stack or card, I put this: > > > >> > > > >> put the environment is "development" and \ > > > >> there is a stack "revStandaloneProgress" and \ > > > >> the mode of stack "revStandaloneProgress" > 0 into > > > >> skipLogin > > > >> > > > >> if not skipLogin then > > > >> --- code that borks your standalone building. For me it was calling a login dialog as > modal. > > > >> end if > > > >> > > > >> Bob S > > > >> > > > >> > > > >>> On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode > > > >>> > > > wrote: > > > >>> > > > >>> I am having an issue with using "any" business version of 9 > > > >>> (9.04, 9.05, 9.5-32bit, 9.5-64bit) to > > > >> generate a standalone output of my application. I am using > > > >> Windows > > > >> 7 Enterprise SP1 and have tried building the identical script > > > >> (with the same result) on two different installations of said OS > > > >> on > > > two > > > >> different machines. > > > >>> LC business v 8.1.10 generates the standalone fine. > > > >>> > > > >>> LC business version 9.0.5 (with IDENTICAL settings in the > > > >>> "Standalone Application Settings" as > > > used > > > >> in the v8.1.10 build) seems to crash LC just at the point of > > > >> "closing open stacks" at which point > > > all > > > >> things LC disappear from my desktop. An appropriate "destination" > > > >> directory for the standalone is created as per the settings but it is completely empty. > > > >>> The actual application runs fine in all LC business versions... > > > >>> it's just that I can't get the LC > > > >> v9.x to generated the standalone... and ... I can't find ANY > > > >> error or log explaining what is > > > wrong!! > > > >>> Is there such a log or audit which details the steps that LC is > > > >>> taking and possibly what the issue > > > >> is that it cannot resolve? I have checked at the Administrators > > > >> tools event logging provided by Windows 7 ... but there is no > > > >> corresponding event which is > > simultaneous with the LC "crash". > > > >>> I follow this user-group quite closely and seem to recall others > > > >>> having issues with LC v9's > > > >> standalone processes but I cannot seem to find such references > > > >> within the very large amount of chat this site contains. I have > > > >> NOT checked the LC QC bugs since I really don't know what I'm > > > >> looking > > > for > > > >> other than potential issues with the standalone builder. > > > >>> I'd very much appreciate any tips, pointers, explanations as to > > > >>> how to either resolve this issue > > > or > > > >> where within my LC environment I can find any logs concerning the standalone processing. > > > >>> Cheers! > > > >>> Douglas Ruisaard > > > >>> Trilogy Software > > > >>> (250) 573-3935 > > > > Douglas Ruisaard > > Trilogy Software > > (250) 573-3935 From jjs at krutt.org Sat Nov 2 12:38:32 2019 From: jjs at krutt.org (JJS) Date: Sat, 2 Nov 2019 17:38:32 +0100 Subject: generating a standalone in v9.x In-Reply-To: <01aa01d5911f$a5897380$f09c5a80$@net> References: <01aa01d5911f$a5897380$f09c5a80$@net> Message-ID: Glad you discovered that :) Op 2-11-2019 om 02:48 schreef Douglas Ruisaard via use-livecode: > Thanks, JJS. > > I had that code ion place from Bob's suggestion but ran into the (apparent) never-ending "Attaching Engine" state. **BUT** just now I discovered, as my eye glanced over at the app's script in the Editor, the standalone build had "re-started" my application and was "stalled" on a "red-dot" debug flag. > > I ALWAYS put a red-dot/debug flag in the "OpenCard" call so I can control whether I want the app to run or not when it initially loads into LC. > > Once I clicked on the (continue) button of the editor, the standalone completed. REALLY? Whatever! Now that I know that "feature", I can live with it.. but I bet THAT characteristic *isn't* described in the release note(s). > > Thanks again for your help! > > Doug > >> Date: Fri, 1 Nov 2019 19:20:04 +0100 >> From: JJS >> To: Douglas Ruisaard via use-livecode >> Subject: Re: generating a standalone in v9.x >> Message-ID: >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> What you need is described in the release notes from 9.x onwards >> >> Removing the command quit is not the solution >> >> use this, it is copied from the release notes: >> >> on closeStack >> if the environment is "development" and \ >> there is a stack "revStandaloneProgress" and \ >> the mode of stack "revStandaloneProgress" > 0 then >> exit closeStack >> end if >> end closeStack >> >> i use it always and always works ok. >> >> >> Op 1-11-2019 om 18:44 schreef Douglas Ruisaard via use-livecode: >>> Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. >>> >>> Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". >>> >>> Heather from LC also offered the following code in a related situation to Giovanni's: >>> on closeStack >>> if the mode of stack "revStandaloneProgress" > 0 then >>> exit closeStack >>> end if >>> end closeStack >>> >>> The simple fix of removing the "quit" actually allowed the standalone to generate a working >> executable... HOWEVER, now the build stops with a never-ending "Attaching engine" spinner. I have to >> completely exit LC to stop the "unfinished" process. >>> I have tried inserting BOTH Heather's and Bob's suggestions but they do NOT resolve the "Attaching >> engine" issue. >>> Any suggestions? >>> >>> ps... LC business 8.1.10 still generated the standalone PERFECTLY... even with the v9 changes in the >> script. Glad I kept it around!!! NOT lovin' v9x much at all! >>> >>> Douglas Ruisaard >>> Trilogy Software >>> (250) 573-3935 >>> >>>> Date: Thu, 31 Oct 2019 22:12:17 +0000 >>>> From: Bob Sneidar >>>> To: How to use LiveCode >>>> Subject: Re: generating a standalone in v9.x >>>> Message-ID: >>>> Content-Type: text/plain; charset="us-ascii" >>>> >>>> There is a set of commands that in certain scripts like opesStack and closeStack that will check to >>>> see if the standalone builder is running, and then you can abort the handler. >>>> >>>> The reason they do this is because your app could be doing anything at the moment the standalone is >>>> being built. The standalone has to walk through every script to check what add-ons or libraries you >>>> use so it can include them. >>>> >>>> Here's what I do. In the stackScript of the mainStack: >>>> >>>> on savingStandalone >>>> put true into gBuildingStandAlone >>>> end savingStandalone >>>> >>>> on standaloneSaved >>>> put false into gBuildingStandAlone >>>> end standaloneSaved >>>> >>>> Then in any openStack handler, either in the stack or card, I put this: >>>> >>>> put the environment is "development" and \ >>>> there is a stack "revStandaloneProgress" and \ >>>> the mode of stack "revStandaloneProgress" > 0 into skipLogin >>>> >>>> if not skipLogin then >>>> --- code that borks your standalone building. For me it was calling a login dialog as modal. >>>> end if >>>> >>>> Bob S >>>> >>>> >>>>> On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode >> wrote: >>>>> I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to >>>> generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried >>>> building the identical script (with the same result) on two different installations of said OS on >> two >>>> different machines. >>>>> LC business v 8.1.10 generates the standalone fine. >>>>> >>>>> LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as >> used >>>> in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point >> all >>>> things LC disappear from my desktop. An appropriate "destination" directory for the standalone is >>>> created as per the settings but it is completely empty. >>>>> The actual application runs fine in all LC business versions... it's just that I can't get the LC >>>> v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is >> wrong!! >>>>> Is there such a log or audit which details the steps that LC is taking and possibly what the issue >>>> is that it cannot resolve? I have checked at the Administrators tools event logging provided by >>>> Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". >>>>> I follow this user-group quite closely and seem to recall others having issues with LC v9's >>>> standalone processes but I cannot seem to find such references within the very large amount of chat >>>> this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking >> for >>>> other than potential issues with the standalone builder. >>>>> I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue >> or >>>> where within my LC environment I can find any logs concerning the standalone processing. >>>>> Cheers! >>>>> Douglas Ruisaard >>>>> Trilogy Software >>>>> (250) 573-3935 > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Sat Nov 2 13:03:59 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 2 Nov 2019 17:03:59 +0000 Subject: Windows, Underlines and Printing Message-ID: <56BF6600-AF1D-4C7A-A8C5-5909440FA8C3@clearvisiontech.com> Greeting! I have a field on a stack. In that field is some text and one word is underlined. If I print the card on a windows computer, the underline isn't printed. If I print the card to PDF, the underline is printed. I tried LC 9.0.4 Indy, 9.5.0 Business and 9.5.1 rc1 Business. Can anyone confirm? -Dan From brian at milby7.com Sat Nov 2 17:21:15 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 2 Nov 2019 17:21:15 -0400 Subject: generating a standalone in v9.x In-Reply-To: References: <01aa01d5911f$a5897380$f09c5a80$@net> Message-ID: <945427ee-963c-41dc-8db3-c2f19ecc4485@Spark> This is all part of the breaking change. ?Lock messsages is no longer used when closing/opening the stack. ?What happens if you put the build test before the red dot? ?Shouldn?t it never get there? Thanks, Brian On Nov 2, 2019, 12:39 PM -0400, JJS via use-livecode , wrote: > Glad you discovered that :) > > Op 2-11-2019 om 02:48 schreef Douglas Ruisaard via use-livecode: > > Thanks, JJS. > > > > I had that code ion place from Bob's suggestion but ran into the (apparent) never-ending "Attaching Engine" state. **BUT** just now I discovered, as my eye glanced over at the app's script in the Editor, the standalone build had "re-started" my application and was "stalled" on a "red-dot" debug flag. > > > > I ALWAYS put a red-dot/debug flag in the "OpenCard" call so I can control whether I want the app to run or not when it initially loads into LC. > > > > Once I clicked on the (continue) button of the editor, the standalone completed. REALLY? Whatever! Now that I know that "feature", I can live with it.. but I bet THAT characteristic *isn't* described in the release note(s). > > > > Thanks again for your help! > > > > Doug > > > > > Date: Fri, 1 Nov 2019 19:20:04 +0100 > > > From: JJS > > > To: Douglas Ruisaard via use-livecode > > > Subject: Re: generating a standalone in v9.x > > > Message-ID: > > > Content-Type: text/plain; charset=utf-8; format=flowed > > > > > > What you need is described in the release notes from 9.x onwards > > > > > > Removing the command quit is not the solution > > > > > > use this, it is copied from the release notes: > > > > > > on closeStack > > > if the environment is "development" and \ > > > there is a stack "revStandaloneProgress" and \ > > > the mode of stack "revStandaloneProgress" > 0 then > > > exit closeStack > > > end if > > > end closeStack > > > > > > i use it always and always works ok. > > > > > > > > > Op 1-11-2019 om 18:44 schreef Douglas Ruisaard via use-livecode: > > > > Thanks Bob and Heather and also a thanks to Giovanni Cannizzaro. > > > > > > > > Giovanni had the minimal fix to just remove a "quit" from any "shutDownRequest". > > > > > > > > Heather from LC also offered the following code in a related situation to Giovanni's: > > > > on closeStack > > > > if the mode of stack "revStandaloneProgress" > 0 then > > > > exit closeStack > > > > end if > > > > end closeStack > > > > > > > > The simple fix of removing the "quit" actually allowed the standalone to generate a working > > > executable... HOWEVER, now the build stops with a never-ending "Attaching engine" spinner. I have to > > > completely exit LC to stop the "unfinished" process. > > > > I have tried inserting BOTH Heather's and Bob's suggestions but they do NOT resolve the "Attaching > > > engine" issue. > > > > Any suggestions? > > > > > > > > ps... LC business 8.1.10 still generated the standalone PERFECTLY... even with the v9 changes in the > > > script. Glad I kept it around!!! NOT lovin' v9x much at all! > > > > > > > > Douglas Ruisaard > > > > Trilogy Software > > > > (250) 573-3935 > > > > > > > > > Date: Thu, 31 Oct 2019 22:12:17 +0000 > > > > > From: Bob Sneidar > > > > > To: How to use LiveCode > > > > > Subject: Re: generating a standalone in v9.x > > > > > Message-ID: > > > > > Content-Type: text/plain; charset="us-ascii" > > > > > > > > > > There is a set of commands that in certain scripts like opesStack and closeStack that will check to > > > > > see if the standalone builder is running, and then you can abort the handler. > > > > > > > > > > The reason they do this is because your app could be doing anything at the moment the standalone is > > > > > being built. The standalone has to walk through every script to check what add-ons or libraries you > > > > > use so it can include them. > > > > > > > > > > Here's what I do. In the stackScript of the mainStack: > > > > > > > > > > on savingStandalone > > > > > put true into gBuildingStandAlone > > > > > end savingStandalone > > > > > > > > > > on standaloneSaved > > > > > put false into gBuildingStandAlone > > > > > end standaloneSaved > > > > > > > > > > Then in any openStack handler, either in the stack or card, I put this: > > > > > > > > > > put the environment is "development" and \ > > > > > there is a stack "revStandaloneProgress" and \ > > > > > the mode of stack "revStandaloneProgress" > 0 into skipLogin > > > > > > > > > > if not skipLogin then > > > > > --- code that borks your standalone building. For me it was calling a login dialog as modal. > > > > > end if > > > > > > > > > > Bob S > > > > > > > > > > > > > > > > On Oct 31, 2019, at 14:50 , Douglas Ruisaard via use-livecode > > > wrote: > > > > > > I am having an issue with using "any" business version of 9 (9.04, 9.05, 9.5-32bit, 9.5-64bit) to > > > > > generate a standalone output of my application. I am using Windows 7 Enterprise SP1 and have tried > > > > > building the identical script (with the same result) on two different installations of said OS on > > > two > > > > > different machines. > > > > > > LC business v 8.1.10 generates the standalone fine. > > > > > > > > > > > > LC business version 9.0.5 (with IDENTICAL settings in the "Standalone Application Settings" as > > > used > > > > > in the v8.1.10 build) seems to crash LC just at the point of "closing open stacks" at which point > > > all > > > > > things LC disappear from my desktop. An appropriate "destination" directory for the standalone is > > > > > created as per the settings but it is completely empty. > > > > > > The actual application runs fine in all LC business versions... it's just that I can't get the LC > > > > > v9.x to generated the standalone... and ... I can't find ANY error or log explaining what is > > > wrong!! > > > > > > Is there such a log or audit which details the steps that LC is taking and possibly what the issue > > > > > is that it cannot resolve? I have checked at the Administrators tools event logging provided by > > > > > Windows 7 ... but there is no corresponding event which is simultaneous with the LC "crash". > > > > > > I follow this user-group quite closely and seem to recall others having issues with LC v9's > > > > > standalone processes but I cannot seem to find such references within the very large amount of chat > > > > > this site contains. I have NOT checked the LC QC bugs since I really don't know what I'm looking > > > for > > > > > other than potential issues with the standalone builder. > > > > > > I'd very much appreciate any tips, pointers, explanations as to how to either resolve this issue > > > or > > > > > where within my LC environment I can find any logs concerning the standalone processing. > > > > > > Cheers! > > > > > > Douglas Ruisaard > > > > > > Trilogy Software > > > > > > (250) 573-3935 > > Douglas Ruisaard > > Trilogy Software > > (250) 573-3935 > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Nov 2 17:24:28 2019 From: dochawk at gmail.com (doc hawk) Date: Sat, 2 Nov 2019 14:24:28 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: <8b1b5d05-fc06-76bc-2e03-dceb93c95564@sonic.net> References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> <051D0513-9EC6-403C-9D7D-FBCEBB91791A@gmail.com> <8b1b5d05-fc06-76bc-2e03-dceb93c95564@sonic.net> Message-ID: <6C52870F-7A36-4D76-8B84-1E4005190935@gmail.com> On Nov 1, 2019, at 5:42 PM, Mark mentioned, > > Is it possible to pick up the background color from the mouseColor or the backgroundColor or something and set the background color of the field to that? (and obviously forget the bit about setting the blendlevel) The problem there is that there may be writing underneath my field in the ?source? pdf that I am ?filling?, and I can?t obscure that. Pdf can handle transparencies, and placing partially transparent images over others. If I?m not missing something, it?s a bug in Livecode if it generates a pdf of a field with no backgroundColor and false opaque for Sheffield, card, and stack. And as I mentioned, the ?effective opaque? of the field reports as false. From jerry at jhjensen.com Sat Nov 2 18:41:38 2019 From: jerry at jhjensen.com (Jerry Jensen) Date: Sat, 2 Nov 2019 15:41:38 -0700 Subject: "empty" background in printed pdf is actually grey In-Reply-To: <6C52870F-7A36-4D76-8B84-1E4005190935@gmail.com> References: <8BAD6838-195F-4FF6-8014-5D782384A31D@gmail.com> <049ac5a9-456d-95ee-84a6-02f6bd99788d@fourthworld.com> <308AF3A3-35C9-4E93-8A1B-F88086320ED9@gmail.com> <051D0513-9EC6-403C-9D7D-FBCEBB91791A@gmail.com> <8b1b5d05-fc06-76bc-2e03-dceb93c95564@sonic.net> <6C52870F-7A36-4D76-8B84-1E4005190935@gmail.com> Message-ID: <76CD69A6-D685-4009-A142-835733820DEF@jhjensen.com> I have no clue about the intricacies involved, but as a crazy idea to throw out, could you make the source pdf transparent at put it -on top- of the one you generate? .Jerry > On Nov 2, 2019, at 2:24 PM, doc hawk via use-livecode wrote: > > > On Nov 1, 2019, at 5:42 PM, Mark mentioned, > >> >> Is it possible to pick up the background color from the mouseColor or the backgroundColor or something and set the background color of the field to that? (and obviously forget the bit about setting the blendlevel) > > The problem there is that there may be writing underneath my field in the ?source? pdf that I am ?filling?, and I can?t obscure that. > > Pdf can handle transparencies, and placing partially transparent images over others. > > If I?m not missing something, it?s a bug in Livecode if it generates a pdf of a field with no backgroundColor and false opaque for Sheffield, card, and stack. > > And as I mentioned, the ?effective opaque? of the field reports as false. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 2 19:17:44 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Nov 2019 19:17:44 -0400 Subject: "empty" background in printed pdf is actually grey Message-ID: doc hawk wrote: > If I?m not missing something, it?s a bug in Livecode if it generates a > pdf of > a field with no backgroundColor and false opaque for Sheffield, card, > and stack. I wonder if it's related to this mystery in the forums: https://forums.livecode.com/viewtopic.php?f=8&t=33238 > And as I mentioned, the ?effective opaque? of the field reports as > false. There's an "effective opaque" property? How does that work? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Nov 3 09:10:37 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 3 Nov 2019 16:10:37 +0200 Subject: Learning from Scratch Message-ID: <161dc7de-116e-93b2-4523-4558c5f4c48b@gmail.com> Personally I'd far rather learn from LiveCode and NOT "Scratch" (awfully sorry but that was just too juicy to pass up on!) I posted something that is really goofy on the Forums: basically what I do with LiveCode when I'm not being a nutty fruitcake with Sanskrit, but actually making money shoe-horning English into young minds. When I was about 7 years old (that's 50 years ago: spooky when I think of where all that time has gone) I went to French lessons and all we had was a monochrome book with small line drawings, and, oddly enough we were satisfied with that and we learnt French from Monsieur Derek whose only other piece of equipment was a blackboard and bits of coloured chalk: and he did a d*mn good job too. Nowadays, young "people" have been "poisoned" by Jobs and his Technicolor Raincoat and so on. So, as kids seem to absorb what my generation absorbed from plain paper from computer screens that is the way we have to go faute de mieux (Thanks, Derek Swift - French teacher of mine (1969-1972)). However (I want "However" chiselled on my gravestone just below "But"), all the commercial EFL software that comes strapped to the back of EFL books has these faults: 1. It uses a higher order of language to issue instructions than the level at which the learners who are supposed to benefit from that software are supposed to be at. 2. It features screens that are cluttered with "eye-candy" to such an extent that young learners cannot see "the wood for the trees" (Thanks, Julian Pyttches - History teacher of mine (1976-1978)). I go for the minimalist, targetted approach. LiveCode lends itself very well indeed to rapid elementary content reinforcement and delivery software; something that may be being overlooked. A teacher should be able to go from "Zero to Reasonably Competent" with this sort of thing in a matter of about a week. You can find my post here: http://forums.livecode.com/viewtopic.php?f=5&t=33287&p=184914#p184908 and download the example stack (28 MB!) here: https://www.dropbox.com/s/m7cd4c8gtz2x5rf/Boys%20and%20Girls.livecode.zip?dl=0 Oh, and, by-ther-way: Please feel free to use that stack, hack it to bits, and rip off any ideas you find useful there. Richmond. From dunbarx at aol.com Sun Nov 3 10:10:10 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Nov 2019 15:10:10 +0000 (UTC) Subject: Windows, Underlines and Printing In-Reply-To: <56BF6600-AF1D-4C7A-A8C5-5909440FA8C3@clearvisiontech.com> References: <56BF6600-AF1D-4C7A-A8C5-5909440FA8C3@clearvisiontech.com> Message-ID: <970979969.307789.1572793810439@mail.yahoo.com> Hi.? I don't suppose you have tested on a Mac? If not, I will when I get to my office tomorrow.? Craig -----Original Message----- From: Dan Friedman via use-livecode To: How to use LiveCode Cc: Dan Friedman Sent: Sat, Nov 2, 2019 1:04 pm Subject: Windows, Underlines and Printing Greeting! I have a field on a stack.? In that field is some text and one word is underlined.? If I print the card on a windows computer, the underline isn't printed.? If I print the card to PDF, the underline is printed.? I tried LC 9.0.4 Indy, 9.5.0 Business and 9.5.1 rc1 Business. Can anyone confirm? -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sun Nov 3 11:08:33 2019 From: livfoss at mac.com (Graham Samuel) Date: Sun, 3 Nov 2019 17:08:33 +0100 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> Message-ID: <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> Thanks to those who replied to my original question. I also liked the OT diversion into learning Dutch. I have Dutch friends and I just don?t know how they successfully learn languages at school when other nationalities (British, French, Spanish etc) seem hopelessly bad at it. As an illustration I, a Brit, have spent a great deal of time in France and I can communicate more or less, but I would not say I can speak French. To say that would mean that I could express myself completely both aurally and in written form, have no trouble reading anything in print or watching anything on tv, and probably should be able to dream in French. Sadly it will just never happen. Back to the grindstone (what?s the equivalent of that in French?). Graham PS In my experience, Germans are also pretty good at languages: years ago I met a polylingual man in Munich who told me that at his school, the English master made them discuss the difference between a blunder, and error and a mistake! > On 2 Nov 2019, at 08:27, JJS via use-livecode wrote: > > Yes we watch it too, he is famous. I love when his son tries to speak dutch haha. Sometimes his brother is in the show, then you can hear some Drents which is different from normal dutch but not as hard as Fries that's a language on it's own. > > Bob Sneidar via use-livecode schreef op 1 november 2019 23:34:08 CET: >> Dr. Pol is Dutch. I love that show. >> >> Bob S >> >> >>> On Nov 1, 2019, at 15:31 , Matthias Rebbe via use-livecode >> wrote: >>> >>> we were very often in the Netherlands for vacation, so i seriously >> tried to learn Dutch. >>> But it ended that the Dutch better understood me when i spoke German >> or English instead of Dutch. ;) >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Verstuurd vanaf mijn Android apparaat met K-9 Mail. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Sun Nov 3 11:54:35 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 3 Nov 2019 16:54:35 +0000 Subject: Windows, Underlines and Printing In-Reply-To: <970979969.307789.1572793810439@mail.yahoo.com> References: <56BF6600-AF1D-4C7A-A8C5-5909440FA8C3@clearvisiontech.com> <970979969.307789.1572793810439@mail.yahoo.com> Message-ID: <0D436CB8-786B-4930-AD70-1FF803259748@clearvisiontech.com> Craig, Yes, it's working as expected on a Mac. Seems to be only an issue on Windows. -Dan ?On 11/3/19, 7:11 AM, "use-livecode on behalf of dunbarx--- via use-livecode" wrote: Hi. I don't suppose you have tested on a Mac? If not, I will when I get to my office tomorrow. Craig -----Original Message----- From: Dan Friedman via use-livecode To: How to use LiveCode Cc: Dan Friedman Sent: Sat, Nov 2, 2019 1:04 pm Subject: Windows, Underlines and Printing Greeting! I have a field on a stack. In that field is some text and one word is underlined. If I print the card on a windows computer, the underline isn't printed. If I print the card to PDF, the underline is printed. I tried LC 9.0.4 Indy, 9.5.0 Business and 9.5.1 rc1 Business. Can anyone confirm? -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sun Nov 3 16:03:39 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 3 Nov 2019 13:03:39 -0800 Subject: Learning from Scratch In-Reply-To: <161dc7de-116e-93b2-4523-4558c5f4c48b@gmail.com> References: <161dc7de-116e-93b2-4523-4558c5f4c48b@gmail.com> Message-ID: <8C580481-6331-4093-9A70-9911FC1DC93B@elementarysoftware.com> > On Nov 3, 2019, at 6:10 AM, Richmond via use-livecode wrote: > > 1. It uses a higher order of language to issue instructions than the level at which the learners > who are supposed to benefit from that software are supposed to be at. > > 2. It features screens that are cluttered with "eye-candy" to such an extent that young learners cannot see > "the wood for the trees" (Thanks, Julian Pyttches - History teacher of mine (1976-1978)). Richmond, Well said! I find both of these faults regularly interfering with commercial instruction packages? and not just electronic delivery. ? Scott Morrow From jjs at krutt.org Sun Nov 3 16:25:06 2019 From: jjs at krutt.org (JJS) Date: Sun, 3 Nov 2019 22:25:06 +0100 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> Message-ID: <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> Funny, the mistake is why one got the error and thus had a blunder. It seems that in Finland due to their school system that they are also pretty good in languages, it also seems they have the highest learning scores in Europe. Surprislngly it seems to be a system created in the USA where it is apperantly not used as was said in the documentary. Childeren first attend school when they are 7 with much less pression. In NL they go to school when they are 4 and kindergarten at age 2 or 3. I can also not tell why in some countries they learn languages easier than in other countries. Op 3-11-2019 om 17:08 schreef Graham Samuel via use-livecode: > Thanks to those who replied to my original question. > > I also liked the OT diversion into learning Dutch. I have Dutch friends and I just don?t know how they successfully learn languages at school when other nationalities (British, French, Spanish etc) seem hopelessly bad at it. As an illustration I, a Brit, have spent a great deal of time in France and I can communicate more or less, but I would not say I can speak French. To say that would mean that I could express myself completely both aurally and in written form, have no trouble reading anything in print or watching anything on tv, and probably should be able to dream in French. Sadly it will just never happen. > > Back to the grindstone (what?s the equivalent of that in French?). > > Graham > > PS In my experience, Germans are also pretty good at languages: years ago I met a polylingual man in Munich who told me that at his school, the English master made them discuss the difference between a blunder, and error and a mistake! > >> On 2 Nov 2019, at 08:27, JJS via use-livecode wrote: >> >> Yes we watch it too, he is famous. I love when his son tries to speak dutch haha. Sometimes his brother is in the show, then you can hear some Drents which is different from normal dutch but not as hard as Fries that's a language on it's own. >> >> Bob Sneidar via use-livecode schreef op 1 november 2019 23:34:08 CET: >>> Dr. Pol is Dutch. I love that show. >>> >>> Bob S >>> >>> >>>> On Nov 1, 2019, at 15:31 , Matthias Rebbe via use-livecode >>> wrote: >>>> we were very often in the Netherlands for vacation, so i seriously >>> tried to learn Dutch. >>>> But it ended that the Dutch better understood me when i spoke German >>> or English instead of Dutch. ;) >>>> Matthias Rebbe >>>> >>>> free tools for Livecoders: >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> -- >> Verstuurd vanaf mijn Android apparaat met K-9 Mail. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 3 17:04:47 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 4 Nov 2019 00:04:47 +0200 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> Message-ID: <0d2c6db3-66d4-898a-418e-838d767e98cd@gmail.com> I'm not sure if in some countries kids learn languages more easily than in others. But, I do think: 1. In English-speaking countries there is an unconscious feeling that learning a foreign language is not 100% serious as "all the world learns English." 2. Many countries where the national language(s) is/are only confined to that country (as in Bulgaria) there is a realisation that any school kid who does not learn at least one more widespread language (such as English) is going to have a very restricted list of choices re jobs (especially internationally) when they are adults. 3. Where foreign languages are taught by immersion in the target language (i.e. instruction is entirely in the L2 without any use of the L1) fluency in the L2 is acquired more rapidly and more completely. It should also be remembered that the younger the pupil, the more plastic and impressionable the brain: after all, do you remember learning your Mother-tongue? No, of course, I thought not.? :) 4. If the target language belongs to the same language family as the L1 (i.e. German to English, Hindi to English: all Indo-European languages) acquisition will be far, far easier than between language families (i.e. kiSwahlil to English, French to Chinese). On 3.11.19 23:25, JJS via use-livecode wrote: > Funny, the mistake is why one got the error and thus had a blunder. > > It seems that in Finland due to their school system that they are also > pretty good in languages, it also seems they have the highest learning > scores in Europe. Surprislngly it seems to be a system created in the > USA where it is apperantly not used as was said in the documentary. > Childeren first attend school when they are 7 with much less pression. > In NL they go to school when they are 4 and kindergarten at age 2 or 3. > > I can also not tell why in some countries they learn languages easier > than in other countries. > > Op 3-11-2019 om 17:08 schreef Graham Samuel via use-livecode: >> Thanks to those who replied to my original question. >> >> I also liked the OT diversion into learning Dutch. I have Dutch >> friends and I just don?t know how they successfully learn languages >> at school when other nationalities (British, French, Spanish etc) >> seem hopelessly bad at it. As an illustration I, a Brit, have spent a >> great deal of time in France and I can communicate more or less, but >> I would not say I can speak French. To say that would mean that I >> could express myself completely both aurally and in written form, >> have no trouble reading anything in print or watching anything on tv, >> and probably should be able to dream in French. Sadly it will just >> never happen. >> >> Back to the grindstone (what?s the equivalent of that in French?). >> >> Graham >> >> PS In my experience, Germans are also pretty good at languages: years >> ago I met a polylingual man in Munich who told me that at his school, >> the English master made them discuss the difference between a >> blunder, and error and a mistake! >> >>> On 2 Nov 2019, at 08:27, JJS via use-livecode >>> wrote: >>> >>> Yes we watch it too, he is famous. I love when his son tries to >>> speak dutch haha. Sometimes his brother is in the show, then you can >>> hear some Drents which is different from normal dutch but not as >>> hard as Fries that's a language on it's own. >>> >>> Bob Sneidar via use-livecode schreef >>> op 1 november 2019 23:34:08 CET: >>>> Dr. Pol is Dutch. I love that show. >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 1, 2019, at 15:31 , Matthias Rebbe via use-livecode >>>> wrote: >>>>> we were very often in the Netherlands for vacation, so i seriously >>>> tried to learn Dutch. >>>>> But it ended that the Dutch better understood me when i spoke German >>>> or English instead of Dutch. ;) >>>>> Matthias Rebbe >>>>> >>>>> free tools for Livecoders: >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> -- >>> Verstuurd vanaf mijn Android apparaat met K-9 Mail. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sun Nov 3 20:11:15 2019 From: hh at hyperhh.de (hh) Date: Mon, 4 Nov 2019 02:11:15 +0100 Subject: Learning from scratch - any recommendations? [with OT additions] Message-ID: <69FD060E-0F98-4537-89EB-BDEC3B8417F8@hyperhh.de> The problem of learning human languages is not very different from the problem of learning programming languages. TMHO, not knowing JavaScript is comparable to not knowing Spanish (the dominant language in the USA). We all are more or less idiots. From alex at tweedly.net Sun Nov 3 20:33:54 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 4 Nov 2019 01:33:54 +0000 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: <0d2c6db3-66d4-898a-418e-838d767e98cd@gmail.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> <0d2c6db3-66d4-898a-418e-838d767e98cd@gmail.com> Message-ID: <0b02d05c-5928-c45d-c2a3-62f6db84ff62@tweedly.net> On 03/11/2019 22:04, Richmond via use-livecode wrote: > I'm not sure if in some countries kids learn languages more easily > than in others. > > But, I do think: > > 1. In English-speaking countries there is an unconscious feeling that > learning a foreign language is not 100% > serious as "all the world learns English." > No, it's surely simpler than that. For an English speaker, a rational analysis shows that the Return on Investment for learning *any* other language is much lower than the RoI for anyone else thinking of learning English. Learning another language is (for most of us) difficult - it takes a lot of time, energy and effort; so it's a legitimate question whether or not it is worth that investment ? Although Mandarin and Hindi are spoken by more people than English, the great majority of those people are? very unlikely to be encountered by any English speaker. Spanish has some claim - but outside of South America its numbers are much smaller - and the percentage of those outside South America who don't also speak English is (I suspect - can't find reliable numbers to back it up) probably low. There are many good reasons to learn another language, ranging from the well-proven neurological benefits of multiple languages to the simple common courtesy of doing so - but in straightforward "increase in ability to communicate" I'm unconvinced that an English speaker gains enough to justify the effort. Better to put the time / money into supporting EFL / ESL for others :-) Alex, only partially tongue in cheek. P.S. hmmm? does that argument also apply to Livecode ?? From brahma at hindu.org Sun Nov 3 22:36:34 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Nov 2019 03:36:34 +0000 Subject: Android Sleep Message-ID: <4DFECB52-4C97-4632-B69C-2BF4A7FE368C@hindu.org> I was testing in my app in Android. I kept getting "blank screens" Thinking "Oh No something is wrong!" ha, silly me! I has donea factory reset, and the default is to go to sleep in 30 secs! Sheesh, and here I was thinking in was the app. One assumes, for example that you are a module and there is a LC process going on, that the phone would not sleep. On iOS it won't sleep unless there is no activity.(I think) But somehow on Android it sleeps right in middle, even if a LC process is underway.... Maybe that is normal android behavior.? or is the a way to override the sleep setting and android. Insights? BR From jacque at hyperactivesw.com Mon Nov 4 00:46:16 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Nov 2019 23:46:16 -0600 Subject: Android Sleep In-Reply-To: <4DFECB52-4C97-4632-B69C-2BF4A7FE368C@hindu.org> References: <4DFECB52-4C97-4632-B69C-2BF4A7FE368C@hindu.org> Message-ID: <16e34f31440.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's not right. The phone shouldn't sleep until you've been inactive for the amount of time in settings. Were you inactive for 30 seconds? Just tapping the screen or scrolling should reset the timer. I've got mine set for 5 minutes which seems like a good compromise. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 3, 2019 9:38:45 PM Sannyasin Brahmanathaswami via use-livecode wrote: > I was testing in my app in Android. I kept getting "blank screens" > > Thinking "Oh No something is wrong!" > > ha, silly me! I has donea factory reset, and the default is to go to sleep > in 30 secs! Sheesh, and here I was thinking in was the app. One assumes, > for example that you are a module and there is a LC process going on, that > the phone would not sleep. > > On iOS it won't sleep unless there is no activity.(I think) > > But somehow on Android it sleeps right in middle, even if a LC process is > underway.... > > Maybe that is normal android behavior. or is the a way to override the > sleep setting and android. > > Insights? > BR > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Nov 4 10:54:36 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 4 Nov 2019 15:54:36 +0000 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: <0b02d05c-5928-c45d-c2a3-62f6db84ff62@tweedly.net> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> <0d2c6db3-66d4-898a-418e-838d767e98cd@gmail.com> <0b02d05c-5928-c45d-c2a3-62f6db84ff62@tweedly.net> Message-ID: I'll just throw this in the mix. I find in America that where once people spoke the language common to their immediate society (the people around them) now people seem to not care. We have 3 slovakian volleyball players at the beach who in spite of speaking perfectly good english, revert to slovakian often, for which I chide them regularly. It's like walking over to a corner in a party and whispering to each other while everyone looks on. I find it rude. Bob S > On Nov 3, 2019, at 17:33 , Alex Tweedly via use-livecode wrote: > > > On 03/11/2019 22:04, Richmond via use-livecode wrote: >> I'm not sure if in some countries kids learn languages more easily than in others. >> >> But, I do think: >> >> 1. In English-speaking countries there is an unconscious feeling that learning a foreign language is not 100% >> serious as "all the world learns English." >> > No, it's surely simpler than that. > > For an English speaker, a rational analysis shows that the Return on Investment for learning *any* other language is much lower than the RoI for anyone else thinking of learning English. > > Learning another language is (for most of us) difficult - it takes a lot of time, energy and effort; so it's a legitimate question whether or not it is worth that investment ? > > Although Mandarin and Hindi are spoken by more people than English, the great majority of those people are very unlikely to be encountered by any English speaker. > > Spanish has some claim - but outside of South America its numbers are much smaller - and the percentage of those outside South America who don't also speak English is (I suspect - can't find reliable numbers to back it up) probably low. > > There are many good reasons to learn another language, ranging from the well-proven neurological benefits of multiple languages to the simple common courtesy of doing so - but in straightforward "increase in ability to communicate" I'm unconvinced that an English speaker gains enough to justify the effort. > > Better to put the time / money into supporting EFL / ESL for others :-) > > Alex, only partially tongue in cheek. > > P.S. hmmm does that argument also apply to Livecode ?? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Nov 4 11:24:25 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 4 Nov 2019 08:24:25 -0800 Subject: OT: The unix game Message-ID: <9fd30feb-6172-f941-625a-20afdda25ebd@sonic.net> Posting from the Blockly listserv: I'm a computer scientist at Bell Labs (now part of Nokia). A few weeks ago we launched an online coding game to commemorate the 50th anniversary of the Unix operating system, the very first version of which was built by Ken Thompson and Dennis Ritchie at Bell Labs in the summer of 1969. The game is called "The Unix Game" and can be played at https://unixgame.io In the Unix Game players solve coding challenges by constructing "pipelines" of UNIX text processing utilities (think: sort, awk, grep, head, ...) using Blockly blocks. Blockly was a perfect fit for our use case as the game is as much a puzzle game as it is a coding game. For those of you familiar with the Unix utilities, you will know that some of these utilities are very powerful (like `awk` or `sed`), and just letting players solve challenges using a standard CLI interface with the real unix utilities would have made the game too easy - and also would have only made the game accessible to people that probably already know all the unix commands. In using Blockly blocks to restrict the commands available to players, we wanted to make the game more challenging, but also to force people to learn something new about Unix. This certainly worked: over 6000 people already found their way to the game and we got lots of positive feedback - including from people who said they learned something new about the Unix utilities thanks to our game. Of course we've had our fair share of negative comments from real Unix hackers that prefer the CLI over any Blockly-like GUI - I'm sure this will sound familiar to people on this list. https://unixgame.io/unix50 -- Mark Wieder ahsoftware at gmail.com From panos.merakos at livecode.com Mon Nov 4 12:02:10 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 4 Nov 2019 19:02:10 +0200 Subject: [ANN] This Week in LiveCode 200 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 #200 here: http://bit.ly/2PMpL8K This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From jjs at krutt.org Mon Nov 4 12:26:17 2019 From: jjs at krutt.org (JJS) Date: Mon, 4 Nov 2019 18:26:17 +0100 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> <0d2c6db3-66d4-898a-418e-838d767e98cd@gmail.com> <0b02d05c-5928-c45d-c2a3-62f6db84ff62@tweedly.net> Message-ID: I agree on this Bob. Op 4-11-2019 om 16:54 schreef Bob Sneidar via use-livecode: > I'll just throw this in the mix. I find in America that where once people spoke the language common to their immediate society (the people around them) now people seem to not care. We have 3 slovakian volleyball players at the beach who in spite of speaking perfectly good english, revert to slovakian often, for which I chide them regularly. It's like walking over to a corner in a party and whispering to each other while everyone looks on. I find it rude. > > Bob S > > >> On Nov 3, 2019, at 17:33 , Alex Tweedly via use-livecode wrote: >> >> >> On 03/11/2019 22:04, Richmond via use-livecode wrote: >>> I'm not sure if in some countries kids learn languages more easily than in others. >>> >>> But, I do think: >>> >>> 1. In English-speaking countries there is an unconscious feeling that learning a foreign language is not 100% >>> serious as "all the world learns English." >>> >> No, it's surely simpler than that. >> >> For an English speaker, a rational analysis shows that the Return on Investment for learning *any* other language is much lower than the RoI for anyone else thinking of learning English. >> >> Learning another language is (for most of us) difficult - it takes a lot of time, energy and effort; so it's a legitimate question whether or not it is worth that investment ? >> >> Although Mandarin and Hindi are spoken by more people than English, the great majority of those people are very unlikely to be encountered by any English speaker. >> >> Spanish has some claim - but outside of South America its numbers are much smaller - and the percentage of those outside South America who don't also speak English is (I suspect - can't find reliable numbers to back it up) probably low. >> >> There are many good reasons to learn another language, ranging from the well-proven neurological benefits of multiple languages to the simple common courtesy of doing so - but in straightforward "increase in ability to communicate" I'm unconvinced that an English speaker gains enough to justify the effort. >> >> Better to put the time / money into supporting EFL / ESL for others :-) >> >> Alex, only partially tongue in cheek. >> >> P.S. hmmm does that argument also apply to Livecode ?? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 4 12:52:14 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Nov 2019 09:52:14 -0800 Subject: [ANN] This Week in LiveCode 200 In-Reply-To: References: Message-ID: <60bfb316-d648-586e-1569-dc2c9d0c789d@fourthworld.com> Congrats and thank you on this 200th issue milestone. These weekly summaries have been a great way for serious LC users to keep up to date on engine changes and what's happening in the community. -- Richard Gaskin Fourth World Systems Panos wrote: > 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 #200 here: http://bit.ly/2PMpL8K > > This is a weekly newsletter about LiveCode, focussing on what's been > going on in and around the open source project. New issues will be > released weekly on Mondays. We have a dedicated mailing list that will > deliver each issue directly to you e-mail, so you don't miss any! > > If you have anything you'd like mentioned (a project, a discussion > somewhere, an upcoming event) then please get in touch. From ambassador at fourthworld.com Mon Nov 4 13:46:20 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Nov 2019 10:46:20 -0800 Subject: Android Sleep In-Reply-To: <4DFECB52-4C97-4632-B69C-2BF4A7FE368C@hindu.org> References: <4DFECB52-4C97-4632-B69C-2BF4A7FE368C@hindu.org> Message-ID: <42eee87b-2e0f-46c1-db08-ed13f12b1b2f@fourthworld.com> Sannyasin Brahmanathaswami wrote: > I was testing in my app in Android. I kept getting "blank screens" > > Thinking "Oh No something is wrong!" > > ha, silly me! I has donea factory reset, and the default is to go to sleep in 30 secs! Sheesh, and here I was thinking in was the app. One assumes, for example that you are a module and there is a LC process going on, that the phone would not sleep. > > On iOS it won't sleep unless there is no activity.(I think) > > But somehow on Android it sleeps right in middle, even if a LC process is underway.... > > Maybe that is normal android behavior. or is the a way to override the sleep setting and android. Is it sleeping when you're interacting with it, or just running with no interaction? When it's running without interaction, what is it doing for 30 seconds while the user is idle? I video media playback APIs keep the screen active. Beyond that, if the user isn't using the device Android will use the threshold you've set to conserve power. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Nov 4 13:54:59 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Nov 2019 10:54:59 -0800 Subject: SSH and SCP in LiveCode In-Reply-To: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> References: <16e27c56968.fe3e3e0e1103751.7197508113465201915@rubidex.net> Message-ID: <170df307-b708-fb5f-01ba-7ce8c5e922d6@fourthworld.com> Mike Felker wrote: > I need SSH / SCP capability for LiveCode. > > Anyone know how to use this (either the old external or by any other means)? > > I do not thing TSNet will help in this case. As Charles noted, tsNet supports FTPS, which tunnels FTP over SSH. Personally, I find using the built-in shell function handy for shell calls like those. If you set up shared SSH keys with the server (and who doesn't these days?) it becomes super-easy because you no longer need to write for the "expect" package to emulate login, which also means you don't have your password hard-coded in your script. Lately I've been making good use of modding the sudoers file to allow certain local processes to handle automation tasks on the remote machine. First I create a user for the process that will log in, and set it up in sudoers to be able to run only the command(s) I need that account to perform. This helps minimize risk by granting only the privileges needed to get the task done. And if the task is light enough, I can even use a non-privileged account for that. https://www.atrixnet.com/allow-an-unprivileged-user-to-run-a-certain-command-with-sudo/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Mon Nov 4 13:56:49 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 4 Nov 2019 20:56:49 +0200 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> <2043459858.2865087.1572630732578@mail.yahoo.com> <1a622238-c973-f328-4f42-51151dbf0cde@krutt.org> <6032122D-DF62-41CA-9035-D42AAC16B49A@m-r-d.de> <254C2358-A999-45AC-9C98-4C3A223F7C7C@iotecdigital.com> <982695F4-25BB-4543-B19E-CEF27C4BEB06@mac.com> <0a36bcd4-1cf9-66ef-341a-fe6800585763@krutt.org> <0d2c6db3-66d4-898a-418e-838d767e98cd@gmail.com> <0b02d05c-5928-c45d-c2a3-62f6db84ff62@tweedly.net> Message-ID: <3437cbe5-1955-f139-8846-358f8eddbe79@gmail.com> I think that that has little to do with how people acquire other languages, but quite a lot to do with concepts of inclusiveness and tribalism. I doubt whether those Slovakians are consciously setting out to be rude, but: 1. They probably feel that it is easier to convey certain concepts to their compatriots in their mother tongue. 2. I felt, on my visit to the USA last Summer, that? people seemed less friendly than when I was there for 3 years in the early 90s. Put this down to a cultural shift if you will, put it down to the effect of everyone's favourite half-Hebridean if you will, put it down to some sort of rise in racism; I honestly don't know. Of course if one wants to be tribal and rude (which are often confused) a person like myself educated in England could get "all b*tchy" about your "perfectly good english." :) Which does rather prove the point, that all of what you have mentioned about Slovakian volleyball players comes down to perceptions and manners: not how languages are learnt. On 4.11.19 17:54, Bob Sneidar via use-livecode wrote: > I'll just throw this in the mix. I find in America that where once people spoke the language common to their immediate society (the people around them) now people seem to not care. We have 3 slovakian volleyball players at the beach who in spite of speaking perfectly good english, revert to slovakian often, for which I chide them regularly. It's like walking over to a corner in a party and whispering to each other while everyone looks on. I find it rude. > > Bob S > > >> On Nov 3, 2019, at 17:33 , Alex Tweedly via use-livecode wrote: >> >> >> On 03/11/2019 22:04, Richmond via use-livecode wrote: >>> I'm not sure if in some countries kids learn languages more easily than in others. >>> >>> But, I do think: >>> >>> 1. In English-speaking countries there is an unconscious feeling that learning a foreign language is not 100% >>> serious as "all the world learns English." >>> >> No, it's surely simpler than that. >> >> For an English speaker, a rational analysis shows that the Return on Investment for learning *any* other language is much lower than the RoI for anyone else thinking of learning English. >> >> Learning another language is (for most of us) difficult - it takes a lot of time, energy and effort; so it's a legitimate question whether or not it is worth that investment ? >> >> Although Mandarin and Hindi are spoken by more people than English, the great majority of those people are very unlikely to be encountered by any English speaker. >> >> Spanish has some claim - but outside of South America its numbers are much smaller - and the percentage of those outside South America who don't also speak English is (I suspect - can't find reliable numbers to back it up) probably low. >> >> There are many good reasons to learn another language, ranging from the well-proven neurological benefits of multiple languages to the simple common courtesy of doing so - but in straightforward "increase in ability to communicate" I'm unconvinced that an English speaker gains enough to justify the effort. >> >> Better to put the time / money into supporting EFL / ESL for others :-) >> >> Alex, only partially tongue in cheek. >> >> P.S. hmmm does that argument also apply to Livecode ?? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnthejocker at yahoo.it Mon Nov 4 13:58:10 2019 From: johnthejocker at yahoo.it (Giovanni) Date: Mon, 4 Nov 2019 19:58:10 +0100 Subject: Managing maximized windows on MacOS References: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6.ref@yahoo.it> Message-ID: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> Hi guys, from MacOS Mojave and on when you maximize a window (clicking on ?+? button on windows main bar) the system maximize the window on the entire screen hiding all the system bars and moving the window on a different ?virtual? space. Is there a way using LC to manage this window status? It?s possible to detect the window maximization (I.E. in a message) and manage the actions to activate when the window goes to this status or go back to the normal status? Thank you in advance for your tips! Regards From jacque at hyperactivesw.com Mon Nov 4 16:39:54 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Nov 2019 15:39:54 -0600 Subject: Android mobile audio player Message-ID: <9234de0d-990f-71f9-a29c-f1b58e38212e@hyperactivesw.com> I'm unable to get the native player to work on Android, using scripts that did work previously. I'm streaming mp3 files from a server, and they work fine on desktop so I know the file is being sent. I've also tried opening a copy from Dropbox in three different audio players on Android and they all play too, so the file format is okay. The script I'm using, which worked previously: command createMobileAudioPlayer pURL, pPlayerName -- pURL = remote video or audio file -- pPlayerName = name of player to create mobileControlCreate "player",pPlayerName mobileControlSet pPlayerName, "visible", true mobileControlSet pPlayerName, "rect", getPlayerRect() -- returns a rect mobileControlSet pPlayerName, "showController", true mobileControlSet pPlayerName, "filename", pURL if pURL begins with "http" then showBusyIndicator true -- show spinner until duration is available end if end createMobileAudioPlayer on playerPropertyAvailable tProperty -- sent when enough has content is loaded if tProperty is "duration" then showBusyIndicator false -- Remove spinner and start playing setMobileAudioPlayer "listen", "play" -- handles playback end if end playerPropertyAvailable The control does get created, but shows a duration of zero. The playerPropertyAvailable message never arrives, so the player doesn't start. I've tried starting the player directly from the "createMobileAudioPlayer" handler but that also fails. I'd like to verify that audio is no longer working before I submit a report. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Mon Nov 4 17:16:23 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 4 Nov 2019 17:16:23 -0500 Subject: Managing maximized windows on MacOS In-Reply-To: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> References: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6.ref@yahoo.it> <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> Message-ID: <08f645f8-977c-065c-18f6-a7f12ec1b80f@researchware.com> I'd like to know this too. I'd love to see a way to better control maximizing a window. the windowBoundingRect is a little out of date. 1) It only applies to the primary monitor (any platform) and I am finding a lot more of our customers have multiple monitors these days (usually a laptop with a larger desktop monitor). However, with Catalina allowing iPads to be extra monitors for a macOS system, we're only likely to have more situations where desktop apps need to be multiple monitor aware 2) I am not sure it works any more on the latest versions of macOS On 11/4/2019 1:58 PM, Giovanni via use-livecode wrote: > Hi guys, > from MacOS Mojave and on when you maximize a window (clicking on ?+? button on windows main bar) the system maximize the window on the entire screen hiding all the system bars and moving the window on a different ?virtual? space. > > Is there a way using LC to manage this window status? > It?s possible to detect the window maximization (I.E. in a message) and manage the actions to activate when the window goes to this status or go back to the normal status? > > Thank you in advance for your tips! > > Regards > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Mon Nov 4 21:08:43 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Nov 2019 03:08:43 +0100 Subject: Managing maximized windows on MacOS Message-ID: Did you already see the new https://support.apple.com/en-ie/guide/mac-help/mchlp2469/mac Such "features" override LC settings (on MacOS 10.14/10.15). From brian at milby7.com Mon Nov 4 21:41:02 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 4 Nov 2019 21:41:02 -0500 Subject: Managing maximized windows on MacOS In-Reply-To: References: Message-ID: Thanks for that link hh... I had researched this a while back and actually looked at the source code. I knew about the modifier key, but didn't know about the double click. So, you can hold the option key down when hovering over the green dot to get the maximize "+" action. You can also double click the title bar to maximize the window. If you just click the green dot, you get the full screen mode. I would go one step further... this is the way the OS works now and other apps work that way too. Trying to make your LC app work like a previous version of the OS may not be the best course of action. On Mon, Nov 4, 2019 at 9:10 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Did you already see the new > https://support.apple.com/en-ie/guide/mac-help/mchlp2469/mac > > Such "features" override LC settings (on MacOS 10.14/10.15). > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 pdslabs.net Tue Nov 5 02:26:31 2019 From: phil at pdslabs.net (Phil Davis) Date: Mon, 4 Nov 2019 23:26:31 -0800 Subject: server push to desktop client Message-ID: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> I need to make a desktop app (Mac only for now) that receives pushed data from a LC server. I've never done this - all the desktop <-> server interactions I've programmed have used the traditional client-server model. So I'm looking for approaches/tips/ideas from anyone who has experience with other approaches. I'm not sure what protocol to use. And maybe I'm making it too hard. Can FTP watch a server folder, and detect and respond to the creation of a file in the folder? Maybe I could use a method like that, if that's a capability of FTP. Thanks for any input you may offer. -- Phil Davis 503-307-4363 From merakosp at gmail.com Tue Nov 5 03:06:49 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 5 Nov 2019 10:06:49 +0200 Subject: Android mobile audio player In-Reply-To: <9234de0d-990f-71f9-a29c-f1b58e38212e@hyperactivesw.com> References: <9234de0d-990f-71f9-a29c-f1b58e38212e@hyperactivesw.com> Message-ID: Hello Jacque, What Android version does your device run? A rough guess is that the problem is security/permissions related. On Android 9+ there is something equivalent to iOS ATS that blocks connections that do not comply with some security standards. You can workaround this by adding a suitable entry to the Android manifest. See "Option 2" in this bug report: https://quality.livecode.com/show_bug.cgi?id=22400 Kind regards, Panos -- On Mon, 4 Nov 2019 at 23:40, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm unable to get the native player to work on Android, using scripts > that did work previously. I'm streaming mp3 files from a server, and > they work fine on desktop so I know the file is being sent. I've also > tried opening a copy from Dropbox in three different audio players on > Android and they all play too, so the file format is okay. > > The script I'm using, which worked previously: > > command createMobileAudioPlayer pURL, pPlayerName > -- pURL = remote video or audio file > -- pPlayerName = name of player to create > mobileControlCreate "player",pPlayerName > mobileControlSet pPlayerName, "visible", true > mobileControlSet pPlayerName, "rect", getPlayerRect() -- returns a rect > mobileControlSet pPlayerName, "showController", true > mobileControlSet pPlayerName, "filename", pURL > if pURL begins with "http" then > showBusyIndicator true -- show spinner until duration is available > end if > end createMobileAudioPlayer > > on playerPropertyAvailable tProperty -- sent when enough has content is > loaded > if tProperty is "duration" then > showBusyIndicator false -- Remove spinner and start playing > setMobileAudioPlayer "listen", "play" -- handles playback > end if > end playerPropertyAvailable > > The control does get created, but shows a duration of zero. The > playerPropertyAvailable message never arrives, so the player doesn't > start. I've tried starting the player directly from the > "createMobileAudioPlayer" handler but that also fails. > > I'd like to verify that audio is no longer working before I submit a > report. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Nov 5 03:29:02 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Nov 2019 00:29:02 -0800 Subject: server push to desktop client In-Reply-To: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> References: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> Message-ID: <0cec14e9-8e36-8716-2835-7dda0f2498e6@fourthworld.com> Phil Davis wrote: > I need to make a desktop app (Mac only for now) that receives pushed > data from a LC server. I've never done this - all the desktop <-> > server interactions I've programmed have used the traditional client- > server model. So I'm looking for approaches/tips/ideas from anyone > who has experience with other approaches. I'd stick with simple polling for this. Anything else requires either opening a socket (with all the firewall/router changes needed to allow that), or creating a dependency on a separate process like push notifications, which would likely require LCB. Polling can get the job done well enough, and is secure and requires no router changes or external dependencies. And if down the road you find a convenient way to switch to something else you can change that part, but at least it lets you get it out the door now using reliable features and your existing skillset. > And maybe I'm making it too hard. Can FTP watch a server folder, and > detect and respond to the creation of a file in the folder? Maybe I > could use a method like that, if that's a capability of FTP. You could poll from the client using FTP, but compared to HTTP it's a noisy protocol, with many more steps internally. The inefficiency of FTP is more than offset by its utility when ad hoc access to remote file stores are needed. But when the goal is more specific, HTTP will often beat it for both efficiency and client implementation cost every time. On the server, an LC Server script that reports any changes to a folder from the last time it was called would be straightforward to write, give you reliably consistent results*, and would run quickly. * Years ago when I was monitoring folders with FTP I learned more than I cared to about FTP date representations. They vary. A lot. By different rules, according to a vastly flexible set of config options. So you can never know which server will use month-and-day only up to a certain cutoff, and then one of several month-day-year options for anything older. Sometimes the cuttoff is a month. Sometimes it's the year break. Other times it's a specific number of days. "Hey man, it's all about flexibility!" In all cases it can mean a listing in which date representations take on at least two different formats. Even if you just had LC Server return "the detailed files" at least you'd have solid consistency in the format of every file, every time. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From malamoud.public at free.fr Tue Nov 5 03:37:20 2019 From: malamoud.public at free.fr (Georges Malamoud) Date: Tue, 5 Nov 2019 09:37:20 +0100 Subject: Learning from scratch - any recommendations? [with OT additions] Message-ID: <506FF56B-7C45-4CD5-A322-93F585C6B167@free.fr> >> There are many good reasons to learn another language, ranging from the well-proven neurological benefits of multiple languages to the simple common courtesy of doing so - but in straightforward "increase in ability to communicate" I'm unconvinced that an English speaker gains enough to justify the effort. Hello. I am french and an active person for cultural and linguistic diversity, not only for french speaking (francophone )countries :) To speak several languages is a way to become richer, more open and versatile. Those who prefer to master only one language are ok but they are also sometimes closed to other cultures and, if it is not a problem for them, then it can be a problem for the others, the strangers. Those who would like to understand several languages, but cannot, are more open to cultural diversity. It is often a matter of choice. On the competitive market, it is best to speak several languages, of course. For me the best multicultural meeting is when each one speaks its own language (2 or 3) and everybody understand the others, because it is easier to understand that to speak. Those who measure their efforts in this matter are just losing ground. Have you seen several people speaking english with very different backgrounds (even in the same country) ? This can be a big source of problems in international meetings ;) Coming back to Livecode, two points : - LC is easier to read than to write because of its long sentences. It is a huge quality. But writing in LC means that you have to master concepts and algorithms and particularities of this loved and ??&@!??ed language. Easier if you know several computer languages. Fight for the computer language diversity also ! - The so called universal language was announced to be a possibility in LC to enhance the language but also, as announced, to translate it in other languages (like french) for kids with french words and expressions for example. Where are we on this subject ? Nowhere, it seems to me ! Too bad... From kee.nethery at elloco.com Tue Nov 5 03:38:53 2019 From: kee.nethery at elloco.com (Kee Nethery) Date: Tue, 5 Nov 2019 00:38:53 -0800 Subject: server push to desktop client In-Reply-To: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> References: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> Message-ID: <8184FF19-BC8F-4225-A7AC-820BC9626E17@elloco.com> Normal data flow is Mac app contacts a central server and sees if there is updated data to acquire. If yes, it acquires it. This is the normal flow because of firewalls and ports. For the server to really push data to a Mac client, the Mac client has to be a server, with a routable IP address / port. Most client machines are behind firewalls that allow them to initiate contact, but do not allow random external machines to contact them. So the normal setup is, server has a dns entry on an IP address that anyone can reach from anywhere on the Internet. Server is listening on a single port for incoming connections. Assuming the same data (updates) goes to each client, server has a text page containing a single integer. That integer is the number of the latest update. Client hits that web page periodically to see if its internal integer is different from the server. It?s a very quick exchange. Client sees their internal integer isn?t the same. Let?s say client has 92 and server has 103. Client then hits pages 93 to 103 to get all the updates. For example: http://my.server.com/updates/93.txt All the way to: http://my.server.com/updates/103.txt On the server side, you create update pages and increment the integer at something like: http://my.server.com/updates/last.txt The server is fast because it serves up static pages and the fastest page is last.txt because it?s only (in this example) three characters ?103?. I?m assuming all clients get the same data. When each client gets unique data, you?ll probably have a database on the server and clients will do hits against the server to see if they have new data to gather, and if yes, they?ll do their query with their userid to gather their data. The trade off between server text pages and server database responses is one of those things you?ll need to figure out which is most efficient for you. Could be you ship a client that can do both and the very first hit to the server is a static page that tells the client ?text? or ?database? and then the client does the right thing. Could periodically check that page and perhaps you have a flag on it like ?database always? that tells the client to stop checking, all updates forever will be the database update process. But ... client pulls from the server because most servers cannot push through firewalls and routers an NAT servers to initiate first contact with a client. Kee Nethery > On Nov 4, 2019, at 11:26 PM, Phil Davis via use-livecode wrote: > > I need to make a desktop app (Mac only for now) that receives pushed data from a LC server. I've never done this - all the desktop <-> server interactions I've programmed have used the traditional client-server model. So I'm looking for approaches/tips/ideas from anyone who has experience with other approaches. > > I'm not sure what protocol to use. > > And maybe I'm making it too hard. Can FTP watch a server folder, and detect and respond to the creation of a file in the folder? Maybe I could use a method like that, if that's a capability of FTP. > > Thanks for any input you may offer. > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 5 05:01:57 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Nov 2019 11:01:57 +0100 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? Message-ID: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> Hello, I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina I can't start LC Indy. My Mac tells me: "LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware in this app." This software has to be updated. Probably this was already a question on this list, but I couldn't find the answer, what I have to do. Thank you Tiemo From richmondmathewson at gmail.com Tue Nov 5 05:16:02 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 5 Nov 2019 12:16:02 +0200 Subject: Learning from scratch - any recommendations? [with OT additions] In-Reply-To: <506FF56B-7C45-4CD5-A322-93F585C6B167@free.fr> References: <506FF56B-7C45-4CD5-A322-93F585C6B167@free.fr> Message-ID: Interesting stuff. "But writing in LC means that you have to master concepts and algorithms" I wonder which programming language (and I don't mean block-based baby-hits-the-Lego-bricks stuff) does not involve mastering concepts and algorithms. One of the things that has slightly annoyed me in every single discussion I have seen about learning and teaching programming in the last 25 years was the assumption that somehow one could have a "free lunch." You can't! Learning any new skill (driving a tractor?) involves mastering concepts. Most of the attempts at dumbing down have resulted in . . . wait for it . . . dumb stuff. When BASIC was developed there was no attempt to dumb things down; just make the learning curve not like the sort of exponential cliff that put off lots and lots of kids prior to that. LiveCode does not dumb things down, but its learning curve is one "h" shallower than Python, C++ and all the other "usual suspects." Notwithstanding its shallow learning curve, no-one is going to get very far if they behaved like me in the market in Jeddah (KSA) in 1996; "taxi, flat, help." (Actually I did get quite far, as the people in the market felt so sorry for me with my non-existent Arabic that they gave me a sandwich and a cup of coffee.) This was one of the main reasons why, very quickly, I got my head round a few Arabic verbs. "The so called universal language was announced to be a possibility in LC to enhance the language but also, as announced, to translate it in other languages (like french) for kids with french words and expressions for example." Sacre "oink". C'est un projet impossible, Je pense. When I read/hear the phrase "universal language" I start thinking of Esperanto and Volupak . . . need I say more? Why don't the Francophones put down their glasses of pastis and design their own object-oriented programming language, forbye? Well, just possibly because, like it or not, the English-speaking world seem to be rather well ahead of everyone else in terms of computer programming languages. This could be due to an awful lot of European ennui. Why did Linus Torvalds not do "his stuff" in Finnish, and why does he and his family live in California? Go figure. Je n'ai aucune sympathie pour les gens qui n'a pas un peu de langue Anglais (Ouf, J'ai lu un livre de Denis Diderot hier, et dans le Francais de Diderot il ecrivait "Anglois.") un jeune qui est un monoglot est un infirme. There, you see; I've got crappy French, so why can't other people have crappy English? On 5.11.19 10:37, Georges Malamoud via use-livecode wrote: >>> There are many good reasons to learn another language, ranging from the well-proven neurological benefits of multiple languages to the simple common courtesy of doing so - but in straightforward "increase in ability to communicate" I'm unconvinced that an English speaker gains enough to justify the effort. > Hello. I am french and an active person for cultural and linguistic diversity, not only for french speaking (francophone )countries :) > To speak several languages is a way to become richer, more open and versatile. Those who prefer to master only one language are ok but they are also sometimes closed to other cultures and, if it is not a problem for them, then it can be a problem for the others, the strangers. Those who would like to understand several languages, but cannot, are more open to cultural diversity. It is often a matter of choice. On the competitive market, it is best to speak several languages, of course. For me the best multicultural meeting is when each one speaks its own language (2 or 3) and everybody understand the others, because it is easier to understand that to speak. Those who measure their efforts in this matter are just losing ground. Have you seen several people speaking english with very different backgrounds (even in the same country) ? This can be a big source of problems in international meetings ;) > > Coming back to Livecode, two points : > - LC is easier to read than to write because of its long sentences. It is a huge quality. But writing in LC means that you have to master concepts and algorithms and particularities of this loved and ??&@!??ed language. Easier if you know several computer languages. Fight for the computer language diversity also ! > - The so called universal language was announced to be a possibility in LC to enhance the language but also, as announced, to translate it in other languages (like french) for kids with french words and expressions for example. Where are we on this subject ? Nowhere, it seems to me ! Too bad... > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 5 05:19:28 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 5 Nov 2019 12:19:28 +0200 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> Message-ID: <380d0771-da96-175e-d9cf-a61e5841d917@gmail.com> The new recension of MacOS does seem to resemble that island off the coast of California in more ways that just its name: also a bit rocky and hard-going to cultivate anything on its barren slopes. I have certainly had no problems of this sort on MacOS 10.14.6; and I honestly think I'll stay with that version until I am pushed so hard against the wall I have no choice but to upgrade. Richmond. On 5.11.19 12:01, Tiemo Hollmann TB via use-livecode wrote: > Hello, > > > > I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina > > > > I can't start LC Indy. My Mac tells me: > > "LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware > in this app." This software has to be updated. > > > > Probably this was already a question on this list, but I couldn't find the > answer, what I have to do. > > > > 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 merakosp at gmail.com Tue Nov 5 05:53:34 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 5 Nov 2019 12:53:34 +0200 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> Message-ID: Hello Tiemo, This is shown because you are on Catalina and the app is not notarised. You should be able to add this app to the "exceptions" list by going to the System Settings -> Security and Privacy, and then click "Open Anyway" I am still on Mojave, so have not tested this, but it should work, see more details in: https://support.apple.com/en-us/HT202491 Kind regards, Panos -- On Tue, 5 Nov 2019 at 12:03, Tiemo Hollmann TB via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > > > I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina > > > > I can't start LC Indy. My Mac tells me: > > "LiveCode Indy 9.5.0 can't be opened, because Apple can't search for > malware > in this app." This software has to be updated. > > > > Probably this was already a question on this list, but I couldn't find the > answer, what I have to do. > > > > 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 abdimail696 at gmail.com Tue Nov 5 06:15:56 2019 From: abdimail696 at gmail.com (Riko Abdul) Date: Tue, 5 Nov 2019 18:15:56 +0700 Subject: Thermal printer bluetooth Message-ID: Why does LC not support Bluetooth. I want to use a thermal printer for my application. I use LC for Android but I found a problem using Bluetooth for Android. whether LC cannot be used for printers with Bluetooth? Thanks From General.2018 at outlook.com Tue Nov 5 06:46:21 2019 From: General.2018 at outlook.com (General 2018) Date: Tue, 5 Nov 2019 11:46:21 +0000 Subject: Thermal printer bluetooth In-Reply-To: References: Message-ID: Hi , Something we need on LC Mac , LC Android and LC IOS also. Bluetooth and USB works fine on LC Windows using Virtual Com port. Serial over USB. Serial over Bluetooth. Unfortunately no current cross platform solution with LC which would open up solution for all those apps that communicate with external hardware if put right. Regards Camm > On 5 Nov 2019, at 11:17, Riko Abdul via use-livecode wrote: > > Why does LC not support Bluetooth. I want to use a thermal printer for my > application. I use LC for Android but I found a problem using Bluetooth for > Android. whether LC cannot be used for printers with Bluetooth? > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Tue Nov 5 07:09:39 2019 From: james at thehales.id.au (James At The Hale) Date: Tue, 5 Nov 2019 23:09:39 +1100 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? Message-ID: <0A50C0F3-DB16-4022-884C-6A00370046AC@thehales.id.au> LC is not the only app bringing up this alert. The standard way to open non-notarized apps is to right-click (cntl-click) on the app and select ?Open? in the resulting menu. You will then be presented with a dialog asking if you really want to open the app. Once you do this LC will open. This is a once only procedure. James From benr_mc at cogapp.com Tue Nov 5 07:18:18 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 5 Nov 2019 12:18:18 -0000 Subject: Thermal printer bluetooth In-Reply-To: References: Message-ID: <14ee9a83-9b99-a9bb-064f-41f1bbc1b066@cogapp.com> Not sure of the current status but a couple of years ago I had excellent results using the mergBLE extensions - I was able to do both high- and low- level bluetooth things on Mac and on iOS. http://mergext.com/home/mergble/ I can't recall - when Monte joined LiveCode, did the mergExt package get rolled in somehow? Ben On 05/11/2019 11:46, General 2018 via use-livecode wrote: > Hi , > > Something we need on LC Mac , LC Android and LC IOS also. > > Bluetooth and USB works fine on LC Windows using Virtual Com port. > Serial over USB. > Serial over Bluetooth. > > Unfortunately no current cross platform solution with LC which would open up solution for all those apps that communicate with external hardware if put right. > > Regards Camm > >> On 5 Nov 2019, at 11:17, Riko Abdul via use-livecode wrote: >> >> Why does LC not support Bluetooth. I want to use a thermal printer for my >> application. I use LC for Android but I found a problem using Bluetooth for >> Android. whether LC cannot be used for printers with Bluetooth? >> >> Thanks From paul at researchware.com Tue Nov 5 08:15:50 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Nov 2019 08:15:50 -0500 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> Message-ID: <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> One annoyance from Catalina and Notarization for me as a developer: LiveCode 9.x.x supports macOS 10.9 (Mavericks) through 10.15 (Catalina). For our app built on LC9.x.x, we support those versions of macOS as well. However, a Notarized DMG (one way of addressing Apple's Notarization requirement) will only open on Sierra, High Sierra, Mojave, or Catalina (10.12-10.15). For 10.9, 10.10, and 10.11 a Notarized DMG presents an error and will not open. So now we have to guide out macOS customers to self-select one of two downloadable DMGs - one for earlier versions of macOS and a different one for later versions. In our case, we just do a regular signed app and signed DMG for 10.9 through 10.14 (Mojave) and a notarized DMG (with a signed app) for 10.15 Catalina An, yes, no matter how "clear" we think our guidance is, we have people download the wrong DMG. On 11/5/2019 5:01 AM, Tiemo Hollmann TB via use-livecode wrote: > Hello, > > > > I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina > > > > I can't start LC Indy. My Mac tells me: > > "LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware > in this app." This software has to be updated. > > > > Probably this was already a question on this list, but I couldn't find the > answer, what I have to do. > > > > 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 General.2018 at outlook.com Tue Nov 5 08:54:07 2019 From: General.2018 at outlook.com (General 2018) Date: Tue, 5 Nov 2019 13:54:07 +0000 Subject: Thermal printer bluetooth In-Reply-To: <14ee9a83-9b99-a9bb-064f-41f1bbc1b066@cogapp.com> References: , <14ee9a83-9b99-a9bb-064f-41f1bbc1b066@cogapp.com> Message-ID: Hi , Could you post a simple example . Write ?Hello? to a device using mergBLE ? Regards Camm > On 5 Nov 2019, at 12:19, Ben Rubinstein via use-livecode wrote: > > Not sure of the current status but a couple of years ago I had excellent results using the mergBLE extensions - I was able to do both high- and low- level bluetooth things on Mac and on iOS. http://mergext.com/home/mergble/ > > I can't recall - when Monte joined LiveCode, did the mergExt package get rolled in somehow? > > Ben > >> On 05/11/2019 11:46, General 2018 via use-livecode wrote: >> Hi , >> Something we need on LC Mac , LC Android and LC IOS also. >> Bluetooth and USB works fine on LC Windows using Virtual Com port. >> Serial over USB. >> Serial over Bluetooth. >> Unfortunately no current cross platform solution with LC which would open up solution for all those apps that communicate with external hardware if put right. >> Regards Camm >>> On 5 Nov 2019, at 11:17, Riko Abdul via use-livecode wrote: >>> >>> Why does LC not support Bluetooth. I want to use a thermal printer for my >>> application. I use LC for Android but I found a problem using Bluetooth for >>> Android. whether LC cannot be used for printers with Bluetooth? >>> >>> Thanks > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Nov 5 09:34:30 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 5 Nov 2019 14:34:30 +0000 Subject: Android Sleep In-Reply-To: <42eee87b-2e0f-46c1-db08-ed13f12b1b2f@fourthworld.com> References: <4DFECB52-4C97-4632-B69C-2BF4A7FE368C@hindu.org> <42eee87b-2e0f-46c1-db08-ed13f12b1b2f@fourthworld.com> Message-ID: " Is it sleeping when you're interacting with it, or just running with no? interaction?" -- running with no interaction Some "modules" (stacks) in the app guide the user through a practice, let say, e.g. - do A for 5 second, - (there is a countdown timer showing "1,2,3,4,5" on the screen) - do B for 5 second - hold for 1 second - repeat above 5 time Throughout, the user does not have to touch the screen LC is running "procedure" and displaying count down (or count ups) on the screen. simply put, its equivalent to running a stopwatch on the phone Ideally, 1) the user doesn't "interact" with the phone. 2) BUT, the phone doesn?t go sleep?until the "cycle is over" Does your video payback APIs do the same? Testing on iPhone: -- set for auto lock in 30 seconds -- go to the stopwatch, start it running. -- the phone will not sleep (auto lock) as long as it is running. I have tried it? running 5 minutes. No sleep -- it only goes to sleep if you pause or stop. that the behavior we a looking for... ============== Richard wrote: When it's running without interaction, what is it doing for 30 seconds? while the user is idle? I video media playback APIs keep the screen active.??Beyond that, if the? user isn't using the device Android will use the threshold you've set to? conserve power. From bobsneidar at iotecdigital.com Tue Nov 5 10:41:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 5 Nov 2019 15:41:58 +0000 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> Message-ID: This is not limited to LC. When downloading drivers for MacOS from the Toshiba site, guess what you see? One link for drivers prior to a certain version of the OS, and another for later versions. It may be an annoyance, but it's one everyone is experiencing for any installer. RunRev won't be able to fix this so that we have one unified installer. Bob S > On Nov 5, 2019, at 05:15 , Paul Dupuis via use-livecode wrote: > > One annoyance from Catalina and Notarization for me as a developer: > > LiveCode 9.x.x supports macOS 10.9 (Mavericks) through 10.15 (Catalina). For our app built on LC9.x.x, we support those versions of macOS as well. However, a Notarized DMG (one way of addressing Apple's Notarization requirement) will only open on Sierra, High Sierra, Mojave, or Catalina (10.12-10.15). For 10.9, 10.10, and 10.11 a Notarized DMG presents an error and will not open. > > So now we have to guide out macOS customers to self-select one of two downloadable DMGs - one for earlier versions of macOS and a different one for later versions. In our case, we just do a regular signed app and signed DMG for 10.9 through 10.14 (Mojave) and a notarized DMG (with a signed app) for 10.15 Catalina > > An, yes, no matter how "clear" we think our guidance is, we have people download the wrong DMG. From paul at researchware.com Tue Nov 5 11:18:15 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Nov 2019 11:18:15 -0500 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> Message-ID: On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote: First, your assumption that "it's one everyone is experiencing for any installer" is exactly that, an assumption based on your experiences. The vast majority of our customers are computer novices and anything but the simplest of steps can cause them problems. Most do not know what version of macOS they run, nor how to tell what version they are running. Second, I was not calling for RunRev to "fix" this. It is clearly Apple's inane drive for marketing a level or privacy and security that is mostly a gigantic lie that is the cause. And thirdly, drivers are a bit different than research apps. > This is not limited to LC. When downloading drivers for MacOS from the Toshiba site, guess what you see? One link for drivers prior to a certain version of the OS, and another for later versions. It may be an annoyance, but it's one everyone is experiencing for any installer. RunRev won't be able to fix this so that we have one unified installer. > > Bob S > > >> On Nov 5, 2019, at 05:15 , Paul Dupuis via use-livecode wrote: >> >> One annoyance from Catalina and Notarization for me as a developer: >> >> LiveCode 9.x.x supports macOS 10.9 (Mavericks) through 10.15 (Catalina). For our app built on LC9.x.x, we support those versions of macOS as well. However, a Notarized DMG (one way of addressing Apple's Notarization requirement) will only open on Sierra, High Sierra, Mojave, or Catalina (10.12-10.15). For 10.9, 10.10, and 10.11 a Notarized DMG presents an error and will not open. >> >> So now we have to guide out macOS customers to self-select one of two downloadable DMGs - one for earlier versions of macOS and a different one for later versions. In our case, we just do a regular signed app and signed DMG for 10.9 through 10.14 (Mojave) and a notarized DMG (with a signed app) for 10.15 Catalina >> >> An, yes, no matter how "clear" we think our guidance is, we have people download the wrong DMG. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Nov 5 11:23:24 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 5 Nov 2019 16:23:24 +0000 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> Message-ID: But the installers for drivers and the installer you want to use are not different. And what else does anyone have to go on but their experiences, and other people's experiences? I need to tap into that resource! ;-) Bob S > On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode wrote: > > On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote: > First, your assumption that "it's one everyone is experiencing for any installer" is exactly that, an assumption based on your experiences. > > The vast majority of our customers are computer novices and anything but the simplest of steps can cause them problems. Most do not know what version of macOS they run, nor how to tell what version they are running. > > Second, I was not calling for RunRev to "fix" this. It is clearly Apple's inane drive for marketing a level or privacy and security that is mostly a gigantic lie that is the cause. > > And thirdly, drivers are a bit different than research apps. From m.schonewille at economy-x-talk.com Tue Nov 5 11:30:24 2019 From: m.schonewille at economy-x-talk.com (Mark) Date: Tue, 5 Nov 2019 17:30:24 +0100 Subject: New edition of Programming LiveCode for the Real Beginner Message-ID: <32d27006-c839-a624-4f4a-6f09737cb542@economy-x-talk.com> I'm very happy to announce the second edition of my book Programming LiveCode for the Real Beginner. The previous edition stems from the time of LiveCode 6 and since then many features have been added to --and some removed from-- LiveCode. One of the major changes concerns Unicode. While I haven't deleted any of the valuable information about Unicode form the book, I have added a paragraph and made several changes to take into account the much easier way LiveCode deals with unicode nowadays. Everywhere in the book, small corrections and bigger changes have been applied. Where necessary, scripts have been updated and minor remarks have been added, making the text more comprehensible. The paragraphs about the standalone builder and the properties inspector have been renewed. Pictures have been updated with improved quality and doing more justice to LiveCode's multi-platform character. The red cover with scripts and mainboard has been replaced with a fresh yellow cover exhibiting four fields in which one might find LiveCode projects making a significant contribution. I intend to write a blog post about this when I have collected the necessary info. In response to feedback, we have decided to abandonthe bubble plastic envelopes and replace them with carton board book cases. Your book should now arrive in perfect condition. If it doesn't, contact us. Important to know: - 250 pages with many examples - This book is not available as e-book and it won't be. Don't ask. - Read more at https://ecxtalk.nl/file.php?node=programming-livecode-for-the-real-beginner (we still need to update the website but most information still applies) - The book costs 32 euro, including packaging and shipping costs - We ship globally with only a few (four or five) exceptions - Not receiving your purchase (e.g. sometimes in China)? Use our website to contact us and ask for a solution Have you written or are you writing a book and do you own the copyrights? I'd like to explore the possibilities to print more LiveCode-related books. Contact me if you think this is an awesome idea. (I'm a registered publisher). -- Kind regards, Drs. Mark Schonewille Economy-x-Talk Consultancy and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Facebook: http://facebook.com/LiveCode.Beginner KvK: 50277553 From paul at researchware.com Tue Nov 5 11:33:31 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Nov 2019 11:33:31 -0500 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> Message-ID: I'm not saying YOUR experience is invalid. I guess I am just saying we have really really really computer naive customers and Apple has gone and complicated things and it creates a support burden for us that we would not have had to expend resources addressing if Apple had not done this. Apple has, and there is no going back, so it is what it is, but it is really really annoying! :-( On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote: > But the installers for drivers and the installer you want to use are not different. And what else does anyone have to go on but their experiences, and other people's experiences? I need to tap into that resource! ;-) > > Bob S > > >> On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode wrote: >> >> On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote: >> First, your assumption that "it's one everyone is experiencing for any installer" is exactly that, an assumption based on your experiences. >> >> The vast majority of our customers are computer novices and anything but the simplest of steps can cause them problems. Most do not know what version of macOS they run, nor how to tell what version they are running. >> >> Second, I was not calling for RunRev to "fix" this. It is clearly Apple's inane drive for marketing a level or privacy and security that is mostly a gigantic lie that is the cause. >> >> And thirdly, drivers are a bit different than research 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 paul at researchware.com Tue Nov 5 11:37:58 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Nov 2019 11:37:58 -0500 Subject: Catalina & Mojave "Allow/Deny" dialogs Message-ID: <8ecf3b19-03d5-d29a-ddca-cb0895a4c098@researchware.com> Another "fun" feature of the newer macOS versions is the new Privacy (tab in the Security and Privacy pane of the System Preferences). It seems that running our app generates a number of system dialogs of the form "[[OUR APPLICATION]] wants access to ...." with "OK" and "Don't Allow" buttons. Two of these make perfect sense. 1) Is access to the Internet, which appears to appear if and only if the Firewall is truned on (default in Mojave is off and in Catalina is on). Our app access a server file to see if there is a new version of itself. 2) [[OUR APPLICATION]] wants access to control "Finder.app". Allowing control will provide access to documents and data in "Finder.app", and to perform actions in that app." with the expected "OK" and "Don't Allow". This took me a while to figure out, but apparently it is cause by any app that uses AppleEvents. We use AppleEvents to detect if a document has been dropped on our app or one of our apps documents has been double clicked. We also respond to AppleEvent quit messages to exit our application. Seemingly pretty basic desktop applications tasks now have a vague warning message associated with them. NOW HERE IS THE PUZZLER. When our app is sitting there idle, we just saw one of these that says: "[[[OUR APPLICATION]] would like to access your Contacts" with the expected "OK" and "Don't Allow". Now, NOTHING in our application has anything to do with a person Contacts. So does anyone have ANY idea why this would popup? What LiveCode statements or functions could generate this. Would access revMail do it? Our app can ask to send an email under certain situations. Does anyone have any experience with these new "Privacy" warnings and how best to address them? From phil at pdslabs.net Tue Nov 5 11:47:09 2019 From: phil at pdslabs.net (Phil Davis) Date: Tue, 5 Nov 2019 08:47:09 -0800 Subject: server push to desktop client In-Reply-To: <8184FF19-BC8F-4225-A7AC-820BC9626E17@elloco.com> References: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> <8184FF19-BC8F-4225-A7AC-820BC9626E17@elloco.com> Message-ID: Thank you Kee! This is extremely helpful. Phil On 11/5/19 12:38 AM, Kee Nethery via use-livecode wrote: > Normal data flow is Mac app contacts a central server and sees if there is updated data to acquire. If yes, it acquires it. > > This is the normal flow because of firewalls and ports. > > For the server to really push data to a Mac client, the Mac client has to be a server, with a routable IP address / port. Most client machines are behind firewalls that allow them to initiate contact, but do not allow random external machines to contact them. > > So the normal setup is, server has a dns entry on an IP address that anyone can reach from anywhere on the Internet. Server is listening on a single port for incoming connections. > > Assuming the same data (updates) goes to each client, server has a text page containing a single integer. That integer is the number of the latest update. Client hits that web page periodically to see if its internal integer is different from the server. It?s a very quick exchange. > > Client sees their internal integer isn?t the same. Let?s say client has 92 and server has 103. > > Client then hits pages 93 to 103 to get all the updates. For example: > > http://my.server.com/updates/93.txt > All the way to: > http://my.server.com/updates/103.txt > > On the server side, you create update pages and increment the integer at something like: > > http://my.server.com/updates/last.txt > > The server is fast because it serves up static pages and the fastest page is last.txt because it?s only (in this example) three characters ?103?. > > I?m assuming all clients get the same data. > > When each client gets unique data, you?ll probably have a database on the server and clients will do hits against the server to see if they have new data to gather, and if yes, they?ll do their query with their userid to gather their data. > > The trade off between server text pages and server database responses is one of those things you?ll need to figure out which is most efficient for you. Could be you ship a client that can do both and the very first hit to the server is a static page that tells the client ?text? or ?database? and then the client does the right thing. Could periodically check that page and perhaps you have a flag on it like ?database always? that tells the client to stop checking, all updates forever will be the database update process. > > But ... client pulls from the server because most servers cannot push through firewalls and routers an NAT servers to initiate first contact with a client. > > Kee Nethery > >> On Nov 4, 2019, at 11:26 PM, Phil Davis via use-livecode wrote: >> >> I need to make a desktop app (Mac only for now) that receives pushed data from a LC server. I've never done this - all the desktop <-> server interactions I've programmed have used the traditional client-server model. So I'm looking for approaches/tips/ideas from anyone who has experience with other approaches. >> >> I'm not sure what protocol to use. >> >> And maybe I'm making it too hard. Can FTP watch a server folder, and detect and respond to the creation of a file in the folder? Maybe I could use a method like that, if that's a capability of FTP. >> >> Thanks for any input you may offer. >> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From phil at pdslabs.net Tue Nov 5 11:51:15 2019 From: phil at pdslabs.net (Phil Davis) Date: Tue, 5 Nov 2019 08:51:15 -0800 Subject: server push to desktop client In-Reply-To: <0cec14e9-8e36-8716-2835-7dda0f2498e6@fourthworld.com> References: <16d784bf-f674-c614-1519-8fb8d75b9d83@pdslabs.net> <0cec14e9-8e36-8716-2835-7dda0f2498e6@fourthworld.com> Message-ID: <239fe95e-c437-8a93-b139-c9e6b32d89d6@pdslabs.net> Thanks for sharing your insight Richard. Great food for thought. Phil On 11/5/19 12:29 AM, Richard Gaskin via use-livecode wrote: > Phil Davis wrote: > > > I need to make a desktop app (Mac only for now) that receives pushed > > data from a LC server. I've never done this - all the desktop <-> > > server interactions I've programmed have used the traditional client- > > server model. So I'm looking for approaches/tips/ideas from anyone > > who has experience with other approaches. > > I'd stick with simple polling for this.? Anything else requires either > opening a socket (with all the firewall/router changes needed to allow > that), or creating a dependency on a separate process like push > notifications, which would likely require LCB. > > Polling can get the job done well enough, and is secure and requires > no router changes or external dependencies.? And if down the road you > find a convenient way to switch to something else you can change that > part, but at least it lets you get it out the door now using reliable > features and your existing skillset. > > > > And maybe I'm making it too hard. Can FTP watch a server folder, and > > detect and respond to the creation of a file in the folder? Maybe I > > could use a method like that, if that's a capability of FTP. > > You could poll from the client using FTP, but compared to HTTP it's a > noisy protocol, with many more steps internally.? The inefficiency of > FTP is more than offset by its utility when ad hoc access to remote > file stores are needed.? But when the goal is more specific, HTTP will > often beat it for both efficiency and client implementation cost every > time. > > On the server, an LC Server script that reports any changes to a > folder from the last time it was called would be straightforward to > write, give you reliably consistent results*, and would run quickly. > > > * Years ago when I was monitoring folders with FTP I learned more than > I cared to about FTP date representations.? They vary.? A lot.? By > different rules, according to a vastly flexible set of config options. > So you can never know which server will use month-and-day only up to a > certain cutoff, and then one of several month-day-year options for > anything older.? Sometimes the cuttoff is a month.? Sometimes it's the > year break.? Other times it's a specific number of days.? "Hey man, > it's all about flexibility!" In all cases it can mean a listing in > which date representations take on at least two different formats. > > Even if you just had LC Server return "the detailed files" at least > you'd have solid consistency in the format of every file, every time. > -- Phil Davis 503-307-4363 From phil at pdslabs.net Tue Nov 5 12:02:17 2019 From: phil at pdslabs.net (Phil Davis) Date: Tue, 5 Nov 2019 09:02:17 -0800 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> Message-ID: <7e018e2d-c717-caf0-ee15-9efbc4900158@pdslabs.net> On this issue, isn't it possible to let a web server detect the OS requesting the download? So the server can then do the picking and send the right version to the requestor? Or maybe the info available to the server about the requesting OS isn't that detailed. Not sure. At least I'm sure I can use a single download link for an app's Mac and Windows installers. Phil Davis On 11/5/19 8:33 AM, Paul Dupuis via use-livecode wrote: > I'm not saying YOUR experience is invalid. I guess I am just saying we > have really really really computer naive customers and Apple has gone > and complicated things and it creates a support burden for us that we > would not have had to expend resources addressing if Apple had not > done this. > > Apple has, and there is no going back, so it is what it is, but it is > really really annoying! :-( > > > > On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote: >> But the installers for drivers and the installer you want to use are >> not different. And what else does anyone have to go on but their >> experiences, and other people's experiences? I need to tap into that >> resource! ;-) >> >> Bob S >> >> >>> On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode >>> wrote: >>> >>> On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote: >>> First, your assumption that "it's one everyone is experiencing for >>> any installer" is exactly that, an assumption based on your >>> experiences. >>> >>> The vast majority of our customers are computer novices and anything >>> but the simplest of steps can cause them problems. Most do not know >>> what version of macOS they run, nor how to tell what version they >>> are running. >>> >>> Second, I was not calling for RunRev to "fix" this. It is clearly >>> Apple's inane drive for marketing a level or privacy and security >>> that is mostly a gigantic lie that is the cause. >>> >>> And thirdly, drivers are a bit different than research 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 > > -- Phil Davis 503-307-4363 From ambassador at fourthworld.com Tue Nov 5 13:27:14 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Nov 2019 10:27:14 -0800 Subject: Printing issue on Windows confirmed, reported Message-ID: Thanks to a new forum user who provided a handy sample stack, I was able to pin down a recipe for making a very common form of printing on Windows completely unusable: Setting the vGrid or hGrid properties of a field cause the field to be rendered into the print buffer with the entire content region blacked out: https://quality.livecode.com/show_bug.cgi?id=22442 Interestingly, printing to PDF works fine. But using Microsoft OneNote's "Print to file" option shows the anomaly as physical printers do. So if you're among those mystified by weird printing output, this may be the issue. Hopefully this will be addressed quickly. In its current state it kills LC as an option for a wide range of business and consumer applications. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Nov 5 13:38:27 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Nov 2019 10:38:27 -0800 Subject: Learning from scratch - any recommendations? In-Reply-To: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> References: <8A8B7C47-4A06-4622-9941-76719AA07FAE@mac.com> Message-ID: <21de884e-9bfc-7e1e-922f-f5cd45468289@fourthworld.com> The person in question is both an adult and has expressed an interest in learning computer science, not natural languages, so most of the discussion here has been irrelevant to your request. Scratch, for example, can be useful for young learners but at higher cognitive development levels is unnecessarily limited and possibly confusing. There's a vast wealth of resources for learning programming all over the web, so many it's hard to pick just one. But as an entry point for learning LC, which makes an excellent choice for acquiring CS fundamentals, I would suggest starting with: 1. Do the first-run tutorial presented when LC boots. 2. Read the first few chapters of the LC User Guide included in the package. It's pretty good, very comprehensive, yet sorely underutilized. Skim the topic-specific stuff so you know where to go later as needed, but a good review of the intro stuff on the object model and language basics is a great start. As for design, start him off with "Don't Make Me Think", but Steve Krug. It's a slender volume that recaps the basics for modern, contemporary UI/UX practices. If those resources hook him we can find more. -- Richard Gaskin Fourth World Systems Graham wrote: > I was disappointed that I only got one reply to my query about LC as a platform for learning programming - I thought this was a big thing with quite a few people on this list, some of whom are actually educators. Since I?ve failed in this, can someone suggest a better way of getting an answer (e.g. forums, mother ship)? > > TIA > > Graham > > I wrote: > >> I have been approached by one of my family to ask what would be the first steps for someone (a young adult) to enable them to enter the world of app design and programming. Obviously I need to ask more questions myself, such as whether this would be to get a job, or simply as an educational exercise, or maybe to provide a launchpad for a startup idea. However, even at this stage, of course my thoughts turned to LiveCode. >> >> So my question to the community is, how would such a person start off - assuming they?re intelligent, very familiar with consumer-level technology such as smart phones, tablets, laptop computers for study etc. and social media, but probably have never seen or thought about what is involved in designing, implementing and publishing an app (I would just say ?a program?, but that shows how old I am) on any platform? If it is LC (and why not?), are the published lessons sufficient? What is the view of those on this list who do actually teach this stuff? >> >> The trouble for me is that I have been around all this for 50 years (more, to be truthful) and so can?t project myself well into the mind of that kind of newbie. One guess is that one way to start would be to find a cheap hardware platform (probably an Android tablet) and try to use the LC Community Edition to allow me to create something for that; but that idea may be stupid, particularly as one would need a different platform to actually do the development work. >> >> Hoping for some insights >> >> Graham > From paul at researchware.com Tue Nov 5 15:26:27 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Nov 2019 15:26:27 -0500 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <7e018e2d-c717-caf0-ee15-9efbc4900158@pdslabs.net> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> <7e018e2d-c717-caf0-ee15-9efbc4900158@pdslabs.net> Message-ID: <95c9821d-f020-f7b3-f5c5-1557761028e7@researchware.com> I am sure it is possible. I just don't have the PHP/HTML/Javascript/whatever skills to do that. On 11/5/2019 12:02 PM, Phil Davis via use-livecode wrote: > On this issue, isn't it possible to let a web server detect the OS > requesting the download? So the server can then do the picking and > send the right version to the requestor? > > Or maybe the info available to the server about the requesting OS > isn't that detailed. Not sure. At least I'm sure I can use a single > download link for an app's Mac and Windows installers. > > Phil Davis > > > > On 11/5/19 8:33 AM, Paul Dupuis via use-livecode wrote: >> I'm not saying YOUR experience is invalid. I guess I am just saying >> we have really really really computer naive customers and Apple has >> gone and complicated things and it creates a support burden for us >> that we would not have had to expend resources addressing if Apple >> had not done this. >> >> Apple has, and there is no going back, so it is what it is, but it is >> really really annoying! :-( >> >> >> >> On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote: >>> But the installers for drivers and the installer you want to use are >>> not different. And what else does anyone have to go on but their >>> experiences, and other people's experiences? I need to tap into that >>> resource! ;-) >>> >>> Bob S >>> >>> >>>> On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode >>>> wrote: >>>> >>>> On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote: >>>> First, your assumption that "it's one everyone is experiencing for >>>> any installer" is exactly that, an assumption based on your >>>> experiences. >>>> >>>> The vast majority of our customers are computer novices and >>>> anything but the simplest of steps can cause them problems. Most do >>>> not know what version of macOS they run, nor how to tell what >>>> version they are running. >>>> >>>> Second, I was not calling for RunRev to "fix" this. It is clearly >>>> Apple's inane drive for marketing a level or privacy and security >>>> that is mostly a gigantic lie that is the cause. >>>> >>>> And thirdly, drivers are a bit different than research 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 phil at pdslabs.net Tue Nov 5 16:35:07 2019 From: phil at pdslabs.net (Phil Davis) Date: Tue, 5 Nov 2019 13:35:07 -0800 Subject: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <95c9821d-f020-f7b3-f5c5-1557761028e7@researchware.com> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> <8cb9a0ad-15d1-b64e-d4eb-b9d8e24ae221@researchware.com> <7e018e2d-c717-caf0-ee15-9efbc4900158@pdslabs.net> <95c9821d-f020-f7b3-f5c5-1557761028e7@researchware.com> Message-ID: On 11/5/19 12:26 PM, Paul Dupuis via use-livecode wrote: > I am sure it is possible. I just don't have the > PHP/HTML/Javascript/whatever skills to do that. Me neither. I do it either directly in a .lc server page, or else the .lc page starts using a stackfile that does it. (fiddling around with different machines...) It appears the $_SERVER[HTTP_USER_AGENT] server global might provide an adequate distinction between OSes on requesting machines. I just ran a 'globals.lc' server page from 3 different Macs with different OS versions and got this info returned: $_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36 $_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36 $_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15 My server's globals.lc page looks like this on the inside: " after tOutput ??? end repeat ??? put tOutput ?> Phil Davis > > > On 11/5/2019 12:02 PM, Phil Davis via use-livecode wrote: >> On this issue, isn't it possible to let a web server detect the OS >> requesting the download? So the server can then do the picking and >> send the right version to the requestor? >> >> Or maybe the info available to the server about the requesting OS >> isn't that detailed. Not sure. At least I'm sure I can use a single >> download link for an app's Mac and Windows installers. >> >> Phil Davis >> >> >> >> On 11/5/19 8:33 AM, Paul Dupuis via use-livecode wrote: >>> I'm not saying YOUR experience is invalid. I guess I am just saying >>> we have really really really computer naive customers and Apple has >>> gone and complicated things and it creates a support burden for us >>> that we would not have had to expend resources addressing if Apple >>> had not done this. >>> >>> Apple has, and there is no going back, so it is what it is, but it >>> is really really annoying! :-( >>> >>> >>> >>> On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote: >>>> But the installers for drivers and the installer you want to use >>>> are not different. And what else does anyone have to go on but >>>> their experiences, and other people's experiences? I need to tap >>>> into that resource! ;-) >>>> >>>> Bob S >>>> >>>> >>>>> On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode >>>>> wrote: >>>>> >>>>> On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote: >>>>> First, your assumption that "it's one everyone is experiencing for >>>>> any installer" is exactly that, an assumption based on your >>>>> experiences. >>>>> >>>>> The vast majority of our customers are computer novices and >>>>> anything but the simplest of steps can cause them problems. Most >>>>> do not know what version of macOS they run, nor how to tell what >>>>> version they are running. >>>>> >>>>> Second, I was not calling for RunRev to "fix" this. It is clearly >>>>> Apple's inane drive for marketing a level or privacy and security >>>>> that is mostly a gigantic lie that is the cause. >>>>> >>>>> And thirdly, drivers are a bit different than research 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 > > -- Phil Davis 503-307-4363 From ahsoftware at sonic.net Tue Nov 5 19:19:10 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 5 Nov 2019 16:19:10 -0800 Subject: OT? The Grammar of the Elements Message-ID: <4b0fb2dc-f1bb-82d1-87ba-c79d2c493e35@sonic.net> 2019 has been designated by UNESCO as the International Year of the Periodic Table, which is IYPT because it wouldn't fit into a TLA. Herein we find: (!) a seven-volume Sanskrit-German dictionary (!) Sanskrit -> 3,959 rules organized into eight chapters. https://www.americanscientist.org/article/the-grammar-of-the-elements -- Mark Wieder ahsoftware at gmail.com From abdimail696 at gmail.com Tue Nov 5 21:54:19 2019 From: abdimail696 at gmail.com (Riko Abdul) Date: Wed, 6 Nov 2019 09:54:19 +0700 Subject: Android brightness Message-ID: Hello, I'm making a barcode application. For barcodes to be displayed. android screen brightness reaches 100% so the android screen will be maximum brightness. so the barcode will look very clear even if the android screen is dim. is this possible with livecode? if possible, is a sample code that I can learn? Thanks, Riko --- I'm studying livecode. From heather at livecode.com Thu Nov 7 04:29:04 2019 From: heather at livecode.com (Heather Laine) Date: Thu, 7 Nov 2019 09:29:04 +0000 Subject: checking the list is here Message-ID: No need to respond... Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From toolbook at kestner.de Thu Nov 7 04:29:05 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Nov 2019 10:29:05 +0100 Subject: Test Message-ID: <00b101d5954d$cd50e970$67f2bc50$@kestner.de> Hello, when answering on a post on this list, my answer is rejected with the following error: pipe to |/usr/local/cpanel/3rdparty/mailman/mail/mailman post use-livecode generated by use-livecode at lists.runrev.com local delivery failed what worked fine in the past. anybody knows, whats the difference to a new post? And what I have to change to be able to answer a post? Tiemo From heather at livecode.com Thu Nov 7 04:31:25 2019 From: heather at livecode.com (Heather Laine) Date: Thu, 7 Nov 2019 09:31:25 +0000 Subject: Test In-Reply-To: <00b101d5954d$cd50e970$67f2bc50$@kestner.de> References: <00b101d5954d$cd50e970$67f2bc50$@kestner.de> Message-ID: <186917FF-B168-4C4A-9956-9E466A63337E@livecode.com> Not your fault, apparently cpanel updated automatically and broke mailman. Fixed now, apologies for the inconvenience. Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 7 Nov 2019, at 09:29, Tiemo Hollmann TB via use-livecode wrote: > > Hello, > > > > when answering on a post on this list, my answer is rejected with the > following error: > > > > pipe to |/usr/local/cpanel/3rdparty/mailman/mail/mailman post use-livecode > > generated by > use-livecode at lists.runrev.com > > local delivery failed > > > > what worked fine in the past. > > > > anybody knows, whats the difference to a new post? And what I have to change > to be able to answer a post? > > > > 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 toolbook at kestner.de Thu Nov 7 04:48:28 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Nov 2019 10:48:28 +0100 Subject: AW: Indy 9.5.0. Apple can't search for malware in LC Indy? In-Reply-To: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> References: <00ac01d593c0$0fee5860$2fcb0920$@kestner.de> Message-ID: <00bd01d59550$82dc5de0$889519a0$@kestner.de> The weird thing was, that this message was different as others related to not signed apps, telling it couldn't search for malware in the LC app... That puzzled me. In the security settings I had the setting "appStore & trusted developers" (or so), but that was not enough. I had to add LC Indy to the white list "open anyway". The clue was, that I had to open first the security system settings ? then start LC ? and only then Apple asks me in the open system settings window, if I want to add this app to the ?open anyway? list. Otherwise it won?t show you any window or choice to answer this option. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Dienstag, 5. November 2019 11:02 An: use-livecode at lists.runrev.com Cc: Tiemo Hollmann TB Betreff: Indy 9.5.0. Apple can't search for malware in LC Indy? Hello, I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina I can't start LC Indy. My Mac tells me: "LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware in this app." This software has to be updated. Probably this was already a question on this list, but I couldn't find the answer, what I have to do. 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 klaus at major-k.de Thu Nov 7 07:58:18 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 13:58:18 +0100 Subject: numberformat woes? Message-ID: <1CE9B0DA-7B79-44B5-85F2-CC8D6725EFA7@major-k.de> Hi friends, this snippet: ... set the numberformat to 0000 put EMPTY into tNextNr if tNextNr = EMPTY then put 1 + 0 into tNewNext else put tNextNr + 1 into tNewNext end if put tNewNext ... -> 0001 However if I put this into a function: function fNextNr set the numberformat to 0000 put the cLetzteLaufendeNummer of this stack into tNextNr if tNextNr = EMPTY then put 1 + 0 into tNewNext else put tNextNr + 1 into tNewNext end if set the cLetzteLaufendeNummer of this stack to tNewNext return tNewNext end fNextNr tNewNext = 1 (If tNextNr = EMPTY, resp 2,3,4..., if not)? What am I missing? LC 9.5, macOS 10.14.6 Thanks a lot in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From th.douez at gmail.com Thu Nov 7 08:09:37 2019 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 7 Nov 2019 14:09:37 +0100 Subject: numberformat woes? In-Reply-To: <1CE9B0DA-7B79-44B5-85F2-CC8D6725EFA7@major-k.de> References: <1CE9B0DA-7B79-44B5-85F2-CC8D6725EFA7@major-k.de> Message-ID: Hallo Klaus, Umm, thinking loudly, I would say numberformat has a local scope ... Regards, Thierry What am I missing? > > Klaus -- ------------------------------------------------ Thierry Douez - sunny-tdz.com From klaus at major-k.de Thu Nov 7 08:19:02 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 14:19:02 +0100 Subject: numberformat woes? In-Reply-To: References: <1CE9B0DA-7B79-44B5-85F2-CC8D6725EFA7@major-k.de> Message-ID: <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> Bonjour Thierry, > Am 07.11.2019 um 14:09 schrieb Thierry Douez via use-livecode : > > Hallo Klaus, > > Umm, thinking loudly, I would say numberformat has a local scope ... ah, that was what I was missing, merci, mon ami! But see below... function fNextNr set the numberformat to 0000 put the cLetzteLaufendeNummer of this stack into tNextNr if tNextNr = EMPTY then put 1 + 0 into tNewNext else put tNextNr + 1 into tNewNext end if ## !! ## However this line IS Inside of the local cope of numberformat set the cLetzteLaufendeNummer of this stack to tNewNext ## !! return tNewNext end fNextNr So -> the cLetzteLaufendeNummer of this stack should result in e.g. 0003 but is in fact 3? At least this is shown in the Custom Property departement of the inspector for my stack. Hm, it is getting even stranger, maybe I just don't get it? :-D This: ... put the cLetzteLaufendeNummer of this stack ... -> 3 But this: ... set the numberformat to 0000 put the cLetzteLaufendeNummer of this stack ... -> 0003 No arithmetic operation involved!? > Regards, > > Thierry Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brian at milby7.com Thu Nov 7 08:21:35 2019 From: brian at milby7.com (Brian Milby) Date: Thu, 7 Nov 2019 08:21:35 -0500 Subject: numberformat woes? In-Reply-To: <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> References: <1CE9B0DA-7B79-44B5-85F2-CC8D6725EFA7@major-k.de> <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> Message-ID: <1852fa06-5e7b-46cf-b452-09d08374e4d0@Spark> You are saving a number and not a string. ?Numberformat governs how a number is displayed as a string doesn?t it? Thanks, Brian On Nov 7, 2019, 8:19 AM -0500, Klaus major-k via use-livecode , wrote: > Bonjour Thierry, > > > Am 07.11.2019 um 14:09 schrieb Thierry Douez via use-livecode : > > > > Hallo Klaus, > > > > Umm, thinking loudly, I would say numberformat has a local scope ... > > ah, that was what I was missing, merci, mon ami! > > But see below... > > function fNextNr > set the numberformat to 0000 > put the cLetzteLaufendeNummer of this stack into tNextNr > if tNextNr = EMPTY then > put 1 + 0 into tNewNext > else > put tNextNr + 1 into tNewNext > end if > ## !! > ## However this line IS Inside of the local cope of numberformat > set the cLetzteLaufendeNummer of this stack to tNewNext > ## !! > return tNewNext > end fNextNr > > So -> the cLetzteLaufendeNummer of this stack should result in e.g. 0003 but is in fact 3? > At least this is shown in the Custom Property departement of the inspector for my stack. > > Hm, it is getting even stranger, maybe I just don't get it? :-D > This: > ... > put the cLetzteLaufendeNummer of this stack > ... > -> 3 > > But this: > ... > set the numberformat to 0000 > put the cLetzteLaufendeNummer of this stack > ... > -> 0003 > > No arithmetic operation involved!? > > > Regards, > > > > Thierry > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Nov 7 08:27:35 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 7 Nov 2019 08:27:35 -0500 Subject: Time Saver's Toolbox v0.99 Release Message-ID: Dear Livecode Users, Today I am proud to announce the public release of the Time Saver's Toolbox. The Toolbox is a productivity tool/utility window containing several time-saving tools for those who use their computer for multiple hours a day. Clipboard Manager Content Library Text To Speech Reader Color Palette Hotkey Scripts Emoji Picker Browser Array Quick Composer The toolbox is also a platform on which many other tools can be built. There are 4 or 5 other tools in production that didn't make it into this 1st release. To learn more about it, please visit www.timesaverstoolbox.com There is a 30 day trial available, I have a special 20% off coupon code for all Livecode Users: 'ThankYouLivecode' (Expires December 1, 2019) ----------------------------------------------------------------------------------------------------------------------- About the Codebase ----------------------------------------------------------------------------------------------------------------------- It took me 489 days to build it. Its about 15k - 20k lines of code I am contemplating releasing the codebase (minus some of the tools) as open source. But if I do, it will be with a future release after I am able to document the code a little more, and split some of the code into script only stacks. Thank you to Livecode Inc. for the great engine that made this possible for me. Thank you to this community that has helped me solve some of the problems along the way. If anyone would like to use this codebase to build a custom project, please contact me personally. Sincerely, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From klaus at major-k.de Thu Nov 7 08:28:38 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 14:28:38 +0100 Subject: numberformat woes? In-Reply-To: <1852fa06-5e7b-46cf-b452-09d08374e4d0@Spark> References: <1CE9B0DA-7B79-44B5-85F2-CC8D6725EFA7@major-k.de> <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> <1852fa06-5e7b-46cf-b452-09d08374e4d0@Spark> Message-ID: Hi Brian, > Am 07.11.2019 um 14:21 schrieb Brian Milby via use-livecode : > > You are saving a number and not a string. aha, thanks, that makes it clearer! > Numberformat governs how a number is displayed as a string doesn?t it? No idea, you are the LC Pro, does it? 8-) > Thanks, > Brian > On Nov 7, 2019, 8:19 AM -0500, Klaus major-k via use-livecode , wrote: >> Bonjour Thierry, >> >>> Am 07.11.2019 um 14:09 schrieb Thierry Douez via use-livecode : >>> >>> Hallo Klaus, >>> >>> Umm, thinking loudly, I would say numberformat has a local scope ... >> >> ah, that was what I was missing, merci, mon ami! >> >> But see below... >> >> function fNextNr >> set the numberformat to 0000 >> put the cLetzteLaufendeNummer of this stack into tNextNr >> if tNextNr = EMPTY then >> put 1 + 0 into tNewNext >> else >> put tNextNr + 1 into tNewNext >> end if >> ## !! >> ## However this line IS Inside of the local cope of numberformat >> set the cLetzteLaufendeNummer of this stack to tNewNext >> ## !! >> return tNewNext >> end fNextNr >> >> So -> the cLetzteLaufendeNummer of this stack should result in e.g. 0003 but is in fact 3? >> At least this is shown in the Custom Property departement of the inspector for my stack. >> >> Hm, it is getting even stranger, maybe I just don't get it? :-D >> This: >> ... >> put the cLetzteLaufendeNummer of this stack >> ... >> -> 3 >> >> But this: >> ... >> set the numberformat to 0000 >> put the cLetzteLaufendeNummer of this stack >> ... >> -> 0003 >> >> No arithmetic operation involved!? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Thu Nov 7 08:28:29 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 7 Nov 2019 13:28:29 +0000 Subject: numberformat woes? In-Reply-To: <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> References: <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> Message-ID: <5A66D0DC-0C68-407E-879D-71D1DF0F72C9@pidigital.co.uk> Hi Klaus Had a similar issue. To overcome I just added ?? afterward. Sounds counterintuitive but worked. So: Put tNextNr + ?? into cLetzteLaufendeNummer Sean Cole Pi Digital Prod Ltd > On 7 Nov 2019, at 13:19, Klaus major-k via use-livecode wrote: > > ?Bonjour Thierry, > >> Am 07.11.2019 um 14:09 schrieb Thierry Douez via use-livecode : >> >> Hallo Klaus, >> >> Umm, thinking loudly, I would say numberformat has a local scope ... > > ah, that was what I was missing, merci, mon ami! > > But see below... > > function fNextNr > set the numberformat to 0000 > put the cLetzteLaufendeNummer of this stack into tNextNr > if tNextNr = EMPTY then > put 1 + 0 into tNewNext > else > put tNextNr + 1 into tNewNext > end if > ## !! > ## However this line IS Inside of the local cope of numberformat > set the cLetzteLaufendeNummer of this stack to tNewNext > ## !! > return tNewNext > end fNextNr > > So -> the cLetzteLaufendeNummer of this stack should result in e.g. 0003 but is in fact 3? > At least this is shown in the Custom Property departement of the inspector for my stack. > > Hm, it is getting even stranger, maybe I just don't get it? :-D > This: > ... > put the cLetzteLaufendeNummer of this stack > ... > -> 3 > > But this: > ... > set the numberformat to 0000 > put the cLetzteLaufendeNummer of this stack > ... > -> 0003 > > No arithmetic operation involved!? > >> Regards, >> >> Thierry > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Nov 7 08:33:09 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 14:33:09 +0100 Subject: numberformat woes? In-Reply-To: <5A66D0DC-0C68-407E-879D-71D1DF0F72C9@pidigital.co.uk> References: <1889ADA1-6F4D-4676-98B9-4C74B5E1D19D@major-k.de> <5A66D0DC-0C68-407E-879D-71D1DF0F72C9@pidigital.co.uk> Message-ID: Hi Sean, > Am 07.11.2019 um 14:28 schrieb Pi Digital via use-livecode : > > Hi Klaus > > Had a similar issue. To overcome I just added ?? afterward. Sounds counterintuitive but worked. So: > Put tNextNr + ?? into cLetzteLaufendeNummer so this does not count obviously: ... if tNextNr = EMPTY then put 1 + 0 into tNewNext else put tNextNr + 1 into tNewNext end if set the cLetzteLaufendeNummer of this stack to tNewNext ... This IS in fact a bit puzzling, but I get along now, thanks. :-) > Sean Cole Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Thu Nov 7 08:33:17 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 7 Nov 2019 13:33:17 +0000 Subject: numberformat woes? In-Reply-To: <5A66D0DC-0C68-407E-879D-71D1DF0F72C9@pidigital.co.uk> References: <5A66D0DC-0C68-407E-879D-71D1DF0F72C9@pidigital.co.uk> Message-ID: <87FA8503-E8BF-48F9-A0A8-AAB3FDB93398@pidigital.co.uk> Sorry, not + but &. > Put tNextNr & ?? into cLetzteLaufendeNummer Sean Cole Pi Digital Prod Ltd > On 7 Nov 2019, at 13:29, Pi Digital via use-livecode wrote: > > ?Hi Klaus > > Had a similar issue. To overcome I just added ?? afterward. Sounds counterintuitive but worked. So: > > Put tNextNr + ?? into cLetzteLaufendeNummer > > Sean Cole > Pi Digital Prod Ltd > >> On 7 Nov 2019, at 13:19, Klaus major-k via use-livecode wrote: >> >> ?Bonjour Thierry, >> >>>> Am 07.11.2019 um 14:09 schrieb Thierry Douez via use-livecode : >>> >>> Hallo Klaus, >>> >>> Umm, thinking loudly, I would say numberformat has a local scope ... >> >> ah, that was what I was missing, merci, mon ami! >> >> But see below... >> >> function fNextNr >> set the numberformat to 0000 >> put the cLetzteLaufendeNummer of this stack into tNextNr >> if tNextNr = EMPTY then >> put 1 + 0 into tNewNext >> else >> put tNextNr + 1 into tNewNext >> end if >> ## !! >> ## However this line IS Inside of the local cope of numberformat >> set the cLetzteLaufendeNummer of this stack to tNewNext >> ## !! >> return tNewNext >> end fNextNr >> >> So -> the cLetzteLaufendeNummer of this stack should result in e.g. 0003 but is in fact 3? >> At least this is shown in the Custom Property departement of the inspector for my stack. >> >> Hm, it is getting even stranger, maybe I just don't get it? :-D >> This: >> ... >> put the cLetzteLaufendeNummer of this stack >> ... >> -> 3 >> >> But this: >> ... >> set the numberformat to 0000 >> put the cLetzteLaufendeNummer of this stack >> ... >> -> 0003 >> >> No arithmetic operation involved!? >> >>> Regards, >>> >>> Thierry >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 7 08:38:16 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 14:38:16 +0100 Subject: numberformat woes? In-Reply-To: <87FA8503-E8BF-48F9-A0A8-AAB3FDB93398@pidigital.co.uk> References: <5A66D0DC-0C68-407E-879D-71D1DF0F72C9@pidigital.co.uk> <87FA8503-E8BF-48F9-A0A8-AAB3FDB93398@pidigital.co.uk> Message-ID: Hi Sean, > Am 07.11.2019 um 14:33 schrieb Pi Digital via use-livecode : > > Sorry, not + but &. oops, sorry. Ah yes, makes sense, this forces the result to be a STRING. A clever trick and really new to me (after using LC and its ancestors for 20 years now), thank you very much! :-) >> Put tNextNr & ?? into cLetzteLaufendeNummer > Sean Cole Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Thu Nov 7 09:01:14 2019 From: hh at hyperhh.de (hh) Date: Thu, 7 Nov 2019 15:01:14 +0100 Subject: numberformat woes? Message-ID: <00BFBFDF-5EA6-4161-A5DB-8F313873F021@hyperhh.de> Klaus, a better property name would be Donaudampfschifffahrtsgesellschaftkapit?nskaj?tenschl?sselloch ;-) From matthias_livecode_150811 at m-r-d.de Thu Nov 7 09:01:28 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 7 Nov 2019 15:01:28 +0100 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: References: Message-ID: <5C9F2B02-52AF-44EF-93C0-14E6EB9BDC70@m-r-d.de> Congrats, Tom. Couldn?t resist to buy the LifetimeLicense. ;) Regards, Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 07.11.2019 um 14:27 schrieb Tom Glod via use-livecode >: > > Dear Livecode Users, > > Today I am proud to announce the public release of the Time Saver's Toolbox. > > The Toolbox is a productivity tool/utility window containing several > time-saving tools for those who use their computer for multiple hours a day. > > Clipboard Manager > Content Library > Text To Speech Reader > Color Palette > Hotkey Scripts > Emoji Picker > Browser Array > Quick Composer > > The toolbox is also a platform on which many other tools can be built. > There are 4 or 5 other tools in production that didn't make it into this > 1st release. > > To learn more about it, please visit www.timesaverstoolbox.com > > There is a 30 day trial available, I have a special 20% off coupon code for > all Livecode Users: 'ThankYouLivecode' (Expires December 1, 2019) > > ----------------------------------------------------------------------------------------------------------------------- > About the Codebase > ----------------------------------------------------------------------------------------------------------------------- > > It took me 489 days to build it. > Its about 15k - 20k lines of code > > I am contemplating releasing the codebase (minus some of the tools) as open > source. But if I do, it will be with a future release after I am able to > document the code a little more, and split some of the code into script > only stacks. > > Thank you to Livecode Inc. for the great engine that made this possible for > me. > Thank you to this community that has helped me solve some of the problems > along the way. > > If anyone would like to use this codebase to build a custom project, please > contact me personally. > > Sincerely, > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com ) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 7 09:04:29 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 15:04:29 +0100 Subject: numberformat woes? In-Reply-To: <00BFBFDF-5EA6-4161-A5DB-8F313873F021@hyperhh.de> References: <00BFBFDF-5EA6-4161-A5DB-8F313873F021@hyperhh.de> Message-ID: <5488D31A-121E-4CDC-BA3C-EBBA00285798@major-k.de> Hallo Hermann, > Am 07.11.2019 um 15:01 schrieb hh via use-livecode : > > Klaus, a better property name would be > Donaudampfschifffahrtsgesellschaftkapit?nskaj?tenschl?sselloch ;-) LOL! :-D I only knew the shorter "Donaudampfschifffahrtsgesellschaftkapit?nsm?tze" so far. Good idea in general, but not meaningful enough for my project. ;-) Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Thu Nov 7 09:12:32 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 7 Nov 2019 14:12:32 +0000 Subject: numberformat woes? In-Reply-To: <00BFBFDF-5EA6-4161-A5DB-8F313873F021@hyperhh.de> References: <00BFBFDF-5EA6-4161-A5DB-8F313873F021@hyperhh.de> Message-ID: But with a c at the beginning ;) Hehe, you guys :D Sean Cole Pi Digital Prod Ltd > On 7 Nov 2019, at 14:01, hh via use-livecode wrote: > > ?Klaus, a better property name would be > Donaudampfschifffahrtsgesellschaftkapit?nskaj?tenschl?sselloch ;-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 7 09:18:50 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 7 Nov 2019 09:18:50 -0500 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: <5C9F2B02-52AF-44EF-93C0-14E6EB9BDC70@m-r-d.de> References: <5C9F2B02-52AF-44EF-93C0-14E6EB9BDC70@m-r-d.de> Message-ID: Hey Matthias, Thank you for your support. I plan on improving it and adding to it for years to come. So....many...ideas! :) Thanks again. Tom On Thu, Nov 7, 2019 at 9:02 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Congrats, Tom. > > Couldn?t resist to buy the LifetimeLicense. ;) > > Regards, > Matthias > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > > > Am 07.11.2019 um 14:27 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com >: > > > > Dear Livecode Users, > > > > Today I am proud to announce the public release of the Time Saver's > Toolbox. > > > > The Toolbox is a productivity tool/utility window containing several > > time-saving tools for those who use their computer for multiple hours a > day. > > > > Clipboard Manager > > Content Library > > Text To Speech Reader > > Color Palette > > Hotkey Scripts > > Emoji Picker > > Browser Array > > Quick Composer > > > > The toolbox is also a platform on which many other tools can be built. > > There are 4 or 5 other tools in production that didn't make it into this > > 1st release. > > > > To learn more about it, please visit www.timesaverstoolbox.com < > http://www.timesaverstoolbox.com/> > > > > There is a 30 day trial available, I have a special 20% off coupon code > for > > all Livecode Users: 'ThankYouLivecode' (Expires December 1, 2019) > > > > > ----------------------------------------------------------------------------------------------------------------------- > > About the Codebase > > > ----------------------------------------------------------------------------------------------------------------------- > > > > It took me 489 days to build it. > > Its about 15k - 20k lines of code > > > > I am contemplating releasing the codebase (minus some of the tools) as > open > > source. But if I do, it will be with a future release after I am able to > > document the code a little more, and split some of the code into script > > only stacks. > > > > Thank you to Livecode Inc. for the great engine that made this possible > for > > me. > > Thank you to this community that has helped me solve some of the problems > > along the way. > > > > If anyone would like to use this codebase to build a custom project, > please > > contact me personally. > > > > Sincerely, > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com ) > > Office:226-706-9339 > > Mobile:226-706-9793 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From klaus at major-k.de Thu Nov 7 09:24:43 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Nov 2019 15:24:43 +0100 Subject: numberformat woes? In-Reply-To: References: <00BFBFDF-5EA6-4161-A5DB-8F313873F021@hyperhh.de> Message-ID: <0E913FBC-2EB5-4B78-B472-85A9988045FF@major-k.de> > Am 07.11.2019 um 15:12 schrieb Pi Digital via use-livecode : > > But with a c at the beginning ;) Conaudampfschifffahrtsgesellschaftkapit?nschl?sselloch? Come on! :-D > Hehe, you guys :D Germans... > Sean Cole > Pi Digital Prod Ltd Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dochawk at gmail.com Thu Nov 7 12:36:13 2019 From: dochawk at gmail.com (doc hawk) Date: Thu, 7 Nov 2019 09:36:13 -0800 Subject: checking the list is here In-Reply-To: References: Message-ID: <518156F0-DDCA-46FB-8BE9-05B331C52DCC@gmail.com> On Nov 7, 2019, at 1:29 AM, Heather Laine via use-livecode wrote: > > No need to respond? Hmm, a conspiracy of silence. Indeed, a coverup,. :) From harrison at all-auctions.com Thu Nov 7 15:01:46 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 7 Nov 2019 15:01:46 -0500 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: References: Message-ID: Hi Tom, I just took a quick look at your website. I started to try to watch your demo video and gave up almost immediately. You have too much music going on in the background (almost foreground) and it is way too distracting for me to be able to concentrate on the features you are trying to show off. Other users may have a similar experience, and you don?t want to lose your audience. Suggestion; have only a little bit of music at the beginning and then fade it out. Then your visitors will be able to concentrate on what you are trying to show them. If you really want it back again, you can fade it back in at the very end of the video. Nice work from what little I saw. Let me know if you re-edit the music out of most of your video and I will visit your website again. Good luck! Rick > On Nov 7, 2019, at 8:27 AM, Tom Glod via use-livecode wrote: > > Dear Livecode Users, > > Today I am proud to announce the public release of the Time Saver's Toolbox. > > The Toolbox is a productivity tool/utility window containing several > time-saving tools for those who use their computer for multiple hours a day. > > Clipboard Manager > Content Library > Text To Speech Reader > Color Palette > Hotkey Scripts > Emoji Picker > Browser Array > Quick Composer > > The toolbox is also a platform on which many other tools can be built. > There are 4 or 5 other tools in production that didn't make it into this > 1st release. > > To learn more about it, please visit www.timesaverstoolbox.com > > There is a 30 day trial available, I have a special 20% off coupon code for > all Livecode Users: 'ThankYouLivecode' (Expires December 1, 2019) > > ----------------------------------------------------------------------------------------------------------------------- > About the Codebase > ----------------------------------------------------------------------------------------------------------------------- > > It took me 489 days to build it. > Its about 15k - 20k lines of code > > I am contemplating releasing the codebase (minus some of the tools) as open > source. But if I do, it will be with a future release after I am able to > document the code a little more, and split some of the code into script > only stacks. > > Thank you to Livecode Inc. for the great engine that made this possible for > me. > Thank you to this community that has helped me solve some of the problems > along the way. > > If anyone would like to use this codebase to build a custom project, please > contact me personally. > > Sincerely, > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Nov 7 16:22:08 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Nov 2019 21:22:08 +0000 Subject: iOS 13.2 - play soundFile [looping] - "dead" Message-ID: <8DBA73DB-F953-4927-A96E-417E195F850B@hindu.org> You probably already know this, or not... But if you did not realize it, Apple's switch of the deep code for "audio" on iOS for media has broken the play soundFile [looping] I haven't used it, except as an "award" on completion of rounds of practice for an exercise. So, if user gets "Bingo, you did it!" with no sound, it's not a critical issue. Fortunately, I am behind on a plan to use "play soundFile [looping]" all over the place! If I had, the app would be seriously broken by Apple's recent penchant for rapid, (broken?) innovation that leaves of us with gaping holes in the side... Sacrificing a Coconut and Fresh Pineapple in rite to help the Gods of HQs to get us "9.6 - the first dp of which will appear shortly." Panos, Nov 1 BR From tom at makeshyft.com Thu Nov 7 16:42:59 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 7 Nov 2019 16:42:59 -0500 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: References: Message-ID: Hey Rick, thanks for the feedback. I am not great at understanding sound so I assumed that it would be a similar experience for all viewers as far as the levels are concerned. i put it at -32 db, which was the lowest level possible while being audible. -33 db you could not hear it. Here is a link to the video with no music, https://youtu.be/YF7F3MujcBM :) On Thu, Nov 7, 2019 at 3:02 PM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > I just took a quick look at your website. > > I started to try to watch your demo video > and gave up almost immediately. You have > too much music going on in the background > (almost foreground) and it is way too distracting > for me to be able to concentrate on the features > you are trying to show off. Other users may > have a similar experience, and you don?t > want to lose your audience. > > Suggestion; have only a little bit of music > at the beginning and then fade it out. Then > your visitors will be able to concentrate on > what you are trying to show them. If you really > want it back again, you can fade it back in > at the very end of the video. > > Nice work from what little I saw. > Let me know if you re-edit the > music out of most of your video > and I will visit your website again. > > Good luck! > > Rick > > > On Nov 7, 2019, at 8:27 AM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Dear Livecode Users, > > > > Today I am proud to announce the public release of the Time Saver's > Toolbox. > > > > The Toolbox is a productivity tool/utility window containing several > > time-saving tools for those who use their computer for multiple hours a > day. > > > > Clipboard Manager > > Content Library > > Text To Speech Reader > > Color Palette > > Hotkey Scripts > > Emoji Picker > > Browser Array > > Quick Composer > > > > The toolbox is also a platform on which many other tools can be built. > > There are 4 or 5 other tools in production that didn't make it into this > > 1st release. > > > > To learn more about it, please visit www.timesaverstoolbox.com > > > > There is a 30 day trial available, I have a special 20% off coupon code > for > > all Livecode Users: 'ThankYouLivecode' (Expires December 1, 2019) > > > > > ----------------------------------------------------------------------------------------------------------------------- > > About the Codebase > > > ----------------------------------------------------------------------------------------------------------------------- > > > > It took me 489 days to build it. > > Its about 15k - 20k lines of code > > > > I am contemplating releasing the codebase (minus some of the tools) as > open > > source. But if I do, it will be with a future release after I am able to > > document the code a little more, and split some of the code into script > > only stacks. > > > > Thank you to Livecode Inc. for the great engine that made this possible > for > > me. > > Thank you to this community that has helped me solve some of the problems > > along the way. > > > > If anyone would like to use this codebase to build a custom project, > please > > contact me personally. > > > > Sincerely, > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Office:226-706-9339 > > Mobile:226-706-9793 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From bobsneidar at iotecdigital.com Thu Nov 7 18:46:27 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Nov 2019 23:46:27 +0000 Subject: iOS 13.2 - play soundFile [looping] - "dead" In-Reply-To: <8DBA73DB-F953-4927-A96E-417E195F850B@hindu.org> References: <8DBA73DB-F953-4927-A96E-417E195F850B@hindu.org> Message-ID: <5EA160F2-60C4-4651-AC3B-671B0B90F718@iotecdigital.com> Rush Limbaugh made a big deal about telling his users of his app to NOT download and install iOS 13 until they installed the new App, which had the fix for the sound issue. Bob S > On Nov 7, 2019, at 13:22 , Sannyasin Brahmanathaswami via use-livecode wrote: > > You probably already know this, or not... > > > > But if you did not realize it, Apple's switch of the deep code for "audio" on iOS for media has broken the > > > > play soundFile [looping] > > > > I haven't used it, except as an "award" on completion of rounds of practice for an exercise. > > So, if user gets "Bingo, you did it!" with no sound, it's not a critical issue. > > > > Fortunately, I am behind on a plan to use "play soundFile [looping]" all over the place! If I had, the app would be seriously broken by Apple's recent penchant for rapid, (broken?) innovation that leaves of us with gaping holes in the side... > > > > Sacrificing a Coconut and Fresh Pineapple in rite to help the Gods of HQs to get us > > > > "9.6 - the first dp of which will appear shortly." Panos, Nov 1 > > > > BR From harrison at all-auctions.com Fri Nov 8 09:57:25 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 8 Nov 2019 09:57:25 -0500 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: References: Message-ID: <4FC58E92-11ED-40B8-A372-3CA04FF700FB@all-auctions.com> Hi Tom, That?s much better. I was able to fully enjoy your video. I think your clip-board manager and the key-short cut macro are the best tools. I?m not one for emojis. I still do mine the old fashioned way. :-) Good luck with your launch! Rick > On Nov 7, 2019, at 4:42 PM, Tom Glod via use-livecode wrote: > > Hey Rick, thanks for the feedback. > > I am not great at understanding sound so I assumed that it would be a > similar experience for all viewers as far as the levels are concerned. i > put it at -32 db, which was the lowest level possible while being audible. > -33 db you could not hear it. > > Here is a link to the video with no music, https://youtu.be/YF7F3MujcBM > > :) From bobsneidar at iotecdigital.com Fri Nov 8 10:34:35 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Nov 2019 15:34:35 +0000 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: <4FC58E92-11ED-40B8-A372-3CA04FF700FB@all-auctions.com> References: <4FC58E92-11ED-40B8-A372-3CA04FF700FB@all-auctions.com> Message-ID: I checked it out too. Impressive young Skywalker. I downloaded the demo, I'll try it out. If I like it I''ll get the lifetime license. Not overly fond of yearly fees. Bob S > On Nov 8, 2019, at 06:57 , Rick Harrison via use-livecode wrote: > > Hi Tom, > > That?s much better. I was able to fully enjoy your video. > I think your clip-board manager and the key-short cut > macro are the best tools. I?m not one for emojis. > I still do mine the old fashioned way. :-) > > Good luck with your launch! > > Rick > >> On Nov 7, 2019, at 4:42 PM, Tom Glod via use-livecode wrote: >> >> Hey Rick, thanks for the feedback. >> >> I am not great at understanding sound so I assumed that it would be a >> similar experience for all viewers as far as the levels are concerned. i >> put it at -32 db, which was the lowest level possible while being audible. >> -33 db you could not hear it. >> >> Here is a link to the video with no music, https://youtu.be/YF7F3MujcBM From tom at makeshyft.com Fri Nov 8 11:25:21 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 8 Nov 2019 11:25:21 -0500 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: References: <4FC58E92-11ED-40B8-A372-3CA04FF700FB@all-auctions.com> Message-ID: Thank you both..... I love the clipboard manager a lot, I use it every day. There are a lot of features of this thing that I'm going to have to do some in-depth tutorials on. Another one I use alot is the TTS reader, it just helps me not to skim and not to decline reading posts because they are long. I also use the Color palette, browser array just for youtube so far, and I find the Content Library useful too. As it often happens, I built it to solve a problem I have..... and now I get to pass the solution on to others. Cheers and Thank-You! On Fri, Nov 8, 2019 at 10:35 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I checked it out too. Impressive young Skywalker. I downloaded the demo, > I'll try it out. If I like it I''ll get the lifetime license. Not overly > fond of yearly fees. > > Bob S > > > > On Nov 8, 2019, at 06:57 , Rick Harrison via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Tom, > > > > That?s much better. I was able to fully enjoy your video. > > I think your clip-board manager and the key-short cut > > macro are the best tools. I?m not one for emojis. > > I still do mine the old fashioned way. :-) > > > > Good luck with your launch! > > > > Rick > > > >> On Nov 7, 2019, at 4:42 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hey Rick, thanks for the feedback. > >> > >> I am not great at understanding sound so I assumed that it would be a > >> similar experience for all viewers as far as the levels are concerned. > i > >> put it at -32 db, which was the lowest level possible while being > audible. > >> -33 db you could not hear it. > >> > >> Here is a link to the video with no music, https://youtu.be/YF7F3MujcBM > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From chipsm at themartinz.com Fri Nov 8 11:47:13 2019 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Fri, 8 Nov 2019 08:47:13 -0800 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: References: <4FC58E92-11ED-40B8-A372-3CA04FF700FB@all-auctions.com> Message-ID: <009801d59654$2ccc1850$866448f0$@themartinz.com> I finally spent some time with your toolbox and I find it to be an interesting and useful tool. I have not downloaded the free sample yet but I intend to do so soon. Was this created with Livecode? Impressive work anyhow. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 636 6965561 -----Original Message----- From: use-livecode On Behalf Of Tom Glod via use-livecode Sent: Friday, November 08, 2019 8:25 AM To: How to use LiveCode Cc: Tom Glod Subject: Re: Time Saver's Toolbox v0.99 Release Thank you both..... I love the clipboard manager a lot, I use it every day. There are a lot of features of this thing that I'm going to have to do some in-depth tutorials on. Another one I use alot is the TTS reader, it just helps me not to skim and not to decline reading posts because they are long. I also use the Color palette, browser array just for youtube so far, and I find the Content Library useful too. As it often happens, I built it to solve a problem I have..... and now I get to pass the solution on to others. Cheers and Thank-You! On Fri, Nov 8, 2019 at 10:35 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I checked it out too. Impressive young Skywalker. I downloaded the > demo, I'll try it out. If I like it I''ll get the lifetime license. > Not overly fond of yearly fees. > > Bob S > > > > On Nov 8, 2019, at 06:57 , Rick Harrison via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Tom, > > > > That?s much better. I was able to fully enjoy your video. > > I think your clip-board manager and the key-short cut > > macro are the best tools. I?m not one for emojis. > > I still do mine the old fashioned way. :-) > > > > Good luck with your launch! > > > > Rick > > > >> On Nov 7, 2019, at 4:42 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hey Rick, thanks for the feedback. > >> > >> I am not great at understanding sound so I assumed that it would be > >> a similar experience for all viewers as far as the levels are concerned. > i > >> put it at -32 db, which was the lowest level possible while being > audible. > >> -33 db you could not hear it. > >> > >> Here is a link to the video with no music, > >> https://youtu.be/YF7F3MujcBM > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Nov 8 11:54:33 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 8 Nov 2019 11:54:33 -0500 Subject: Time Saver's Toolbox v0.99 Release In-Reply-To: <009801d59654$2ccc1850$866448f0$@themartinz.com> References: <4FC58E92-11ED-40B8-A372-3CA04FF700FB@all-auctions.com> <009801d59654$2ccc1850$866448f0$@themartinz.com> Message-ID: Hi Clarence...... happy to hear. Yes it was created in Livecode .... some 20k lines of code and a couple of what I would call architectural innovations... :) I built it to be able to also build all kinds of other applications on top of it. I want to release it open source, but I also want to grow my business and provide for my family. :D So I'm thinking long and hard about it. Enjoy the trial when you get to it. Thanks, Tom On Fri, Nov 8, 2019 at 11:48 AM Clarence Martin via use-livecode < use-livecode at lists.runrev.com> wrote: > I finally spent some time with your toolbox and I find it to be an > interesting and useful tool. I have not downloaded the free sample yet but > I intend to do so soon. > Was this created with Livecode? > Impressive work anyhow. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 636 6965561 > > -----Original Message----- > From: use-livecode On Behalf Of > Tom Glod via use-livecode > Sent: Friday, November 08, 2019 8:25 AM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Time Saver's Toolbox v0.99 Release > > Thank you both..... I love the clipboard manager a lot, I use it every > day. There are a lot of features of this thing that I'm going to have to > do some in-depth tutorials on. > > Another one I use alot is the TTS reader, it just helps me not to skim and > not to decline reading posts because they are long. I also use the Color > palette, browser array just for youtube so far, and I find the Content > Library useful too. > > As it often happens, I built it to solve a problem I have..... and now I > get to pass the solution on to others. > > Cheers and Thank-You! > > > On Fri, Nov 8, 2019 at 10:35 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I checked it out too. Impressive young Skywalker. I downloaded the > > demo, I'll try it out. If I like it I''ll get the lifetime license. > > Not overly fond of yearly fees. > > > > Bob S > > > > > > > On Nov 8, 2019, at 06:57 , Rick Harrison via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hi Tom, > > > > > > That?s much better. I was able to fully enjoy your video. > > > I think your clip-board manager and the key-short cut > > > macro are the best tools. I?m not one for emojis. > > > I still do mine the old fashioned way. :-) > > > > > > Good luck with your launch! > > > > > > Rick > > > > > >> On Nov 7, 2019, at 4:42 PM, Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > >> > > >> Hey Rick, thanks for the feedback. > > >> > > >> I am not great at understanding sound so I assumed that it would be > > >> a similar experience for all viewers as far as the levels are > concerned. > > i > > >> put it at -32 db, which was the lowest level possible while being > > audible. > > >> -33 db you could not hear it. > > >> > > >> Here is a link to the video with no music, > > >> https://youtu.be/YF7F3MujcBM > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From dan at clearvisiontech.com Fri Nov 8 12:28:34 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 8 Nov 2019 17:28:34 +0000 Subject: DataGrid: load images when in view Message-ID: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> Greetings! Say you have a form DataGrid that is displaying 100 entries. Each entry has an image (loaded from a server) and some text. When you set the dgData, it will get all 100 images as it's building the rows. This is obviously going to take some time to load. Is there a way to have the DataGrid only load the row's image when that row comes into view? This way it will load the images as they are needed. Thanks in advance! -Dan From tom at makeshyft.com Fri Nov 8 13:54:53 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 8 Nov 2019 13:54:53 -0500 Subject: DataGrid: load images when in view In-Reply-To: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> References: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> Message-ID: Hi Dan, To begin, using the NUmberOfRecordsProperty cancels out all performance issues with the dg. Using this method enables exactly what you are asking for. On Fri, Nov 8, 2019 at 12:29 PM Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Greetings! > > Say you have a form DataGrid that is displaying 100 entries. Each entry > has an image (loaded from a server) and some text. When you set the > dgData, it will get all 100 images as it's building the rows. This is > obviously going to take some time to load. Is there a way to have the > DataGrid only load the row's image when that row comes into view? This way > it will load the images as they are needed. > > Thanks in advance! > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From bobsneidar at iotecdigital.com Fri Nov 8 15:04:30 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Nov 2019 20:04:30 +0000 Subject: DataGrid: load images when in view In-Reply-To: References: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> Message-ID: <6331E76E-E348-4ACA-9C2C-42BDDA0DE50B@iotecdigital.com> But then you need to manage populating the visible records of the grid by script, right? Bob S > On Nov 8, 2019, at 10:54 , Tom Glod via use-livecode wrote: > > Hi Dan, > > To begin, using the NUmberOfRecordsProperty cancels out all performance > issues with the dg. Using this method enables exactly what you are asking > for. From ambassador at fourthworld.com Fri Nov 8 15:25:41 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Nov 2019 12:25:41 -0800 Subject: DataGrid: load images when in view In-Reply-To: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> References: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> Message-ID: <798559b8-4a99-7340-46c2-d692f5e03795@fourthworld.com> Dan Friedman wrote: > Say you have a form DataGrid that is displaying 100 entries. Each > entry has an image (loaded from a server) and some text. When you > set the dgData, it will get all 100 images as it's building the rows. > This is obviously going to take some time to load. Is there a way > to have the DataGrid only load the row's image when that row comes > into view? This way it will load the images as they are needed. That's how the DG works, by design, and the main reason for using it over a collection of nested groups. The DG will only populate rows as they are brought into view. At any given time the number of rendered rows = the number of visible rows. I once made a media browser that allows access to 2600 images, and the DG handled it like a champ. -- 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 Fri Nov 8 15:58:28 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Nov 2019 20:58:28 +0000 Subject: DataGrid: load images when in view In-Reply-To: <798559b8-4a99-7340-46c2-d692f5e03795@fourthworld.com> References: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> <798559b8-4a99-7340-46c2-d692f5e03795@fourthworld.com> Message-ID: If he only queries for the data for the visible records. Otherwise the query is going to take as long as it takes to DL all the data. I was thinking some time ago about developing some paging scripts for the datagrid, using the LIMIT function of SQL, but I never actually had a reason for it. Also it dawned on me that I could not use findRecord or findIndex on a limited range of the data contained in the dgData. I have a datagrid that loads file data as in saved fillable form PDFs stored in large BLOB columns, and when I got to 15 forms or so, and I was on a slow connection, working with the Forms module took a substantial time to load all the data. What I did instead is just before making the query I deleted the column containing the form data from the select clause, so I only queried for columns not containing large amounts of form data. I query for the form data only when needed. Bob S > On Nov 8, 2019, at 12:25 , Richard Gaskin via use-livecode wrote: > > Dan Friedman wrote: > > > Say you have a form DataGrid that is displaying 100 entries. Each > > entry has an image (loaded from a server) and some text. When you > > set the dgData, it will get all 100 images as it's building the rows. > > This is obviously going to take some time to load. Is there a way > > to have the DataGrid only load the row's image when that row comes > > into view? This way it will load the images as they are needed. > > That's how the DG works, by design, and the main reason for using it over a collection of nested groups. > > The DG will only populate rows as they are brought into view. At any given time the number of rendered rows = the number of visible rows. > > I once made a media browser that allows access to 2600 images, and the DG handled it like a champ. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From bobsneidar at iotecdigital.com Fri Nov 8 16:03:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Nov 2019 21:03:17 +0000 Subject: DataGrid: load images when in view In-Reply-To: References: <68E8761F-5286-4B5C-8590-37D8A187E3C5@clearvisiontech.com> <798559b8-4a99-7340-46c2-d692f5e03795@fourthworld.com> Message-ID: <43D46F8A-81C8-4200-B041-48046241B5B6@iotecdigital.com> I forgot to finish my thought. What Tom could do is query for ALL the data, excepting the image data, then have a custom script that loads the images for just the visible records. This would preserver the ability to use findRecord and findIndex on the full set of the already queried and stored data in the datagrid, while maintaining efficiency for the visible images. Bob S > On Nov 8, 2019, at 12:58 , Bob Sneidar via use-livecode wrote: > > If he only queries for the data for the visible records. Otherwise the query is going to take as long as it takes to DL all the data. > > I was thinking some time ago about developing some paging scripts for the datagrid, using the LIMIT function of SQL, but I never actually had a reason for it. Also it dawned on me that I could not use findRecord or findIndex on a limited range of the data contained in the dgData. > > I have a datagrid that loads file data as in saved fillable form PDFs stored in large BLOB columns, and when I got to 15 forms or so, and I was on a slow connection, working with the Forms module took a substantial time to load all the data. > > What I did instead is just before making the query I deleted the column containing the form data from the select clause, so I only queried for columns not containing large amounts of form data. I query for the form data only when needed. > > Bob S From ambassador at fourthworld.com Fri Nov 8 19:10:00 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Nov 2019 19:10:00 -0500 Subject: DataGrid: load images when in view Message-ID: Bob Sneidar wrote: > On Nov 8, 2019, at 12:25 , Richard Gaskin via use-livecode wrote: >> The DG will only populate rows as they are brought into view. >> At any given time the number of rendered rows = the number of >> visible rows. >> >> I once made a media browser that allows access to 2600 images, >> and the DG handled it like a champ. > > If he only queries for the data for the visible records. > Otherwise the query is going to take as long as it takes > to DL all the data. True dat. In our app we solved that problem easily enough, since we only needed thumbnails for the list view: Each of those was less than 200px, and after a little experimenting I found that lowering the jpegQuality just a bit when creating those thumbnails lowered file size significantly. Then I packed all 2600 images into an array keyed by file name, encoded and zipped it. The result was a single LSON.gz archive that weighed in at about 1.5 MBs, and came over the wire in seconds. Took about as long as the data file that references those images. Our row populating routine used the array to set the thumbnail in the DG. Later when we added a feature to allow image uploads, we added a routine to keep the thumbnail archive up to date along with the full-sized master. In four years of production it ran like a champ, seriously outperforming a similar tool made by another department in Java (at much greater expense). It's not that Java itself is slower, but just that LC's flexibility let us be more clever. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Nov 9 19:03:04 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Nov 2019 19:03:04 -0500 Subject: [OT] Hmmm... Message-ID: <9034d25a5795709b8a3a51cb9ba9da87@fourthworld.com> Nearly 24 hours since the last post to this list. Did everyone stop using LiveCode, or is this mailserve down again? Just checking.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sat Nov 9 19:13:41 2019 From: dochawk at gmail.com (doc hawk) Date: Sat, 9 Nov 2019 16:13:41 -0800 Subject: [OT] Hmmm... In-Reply-To: <9034d25a5795709b8a3a51cb9ba9da87@fourthworld.com> References: <9034d25a5795709b8a3a51cb9ba9da87@fourthworld.com> Message-ID: <55E5D689-14EB-453C-A8AC-7CBEF7B62C8F@gmail.com> On Nov 9, 2019, at 4:03 PM, Richard Rumbled, > > > Did everyone stop using LiveCode, or is this mailserve down again? You didn?t get the memo? We all switched to NewHyper. (So why is the list still running at all?) From tom at makeshyft.com Sat Nov 9 19:32:50 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 9 Nov 2019 19:32:50 -0500 Subject: Mobile development android vs ios Message-ID: Hi Folks, After 6+ years with LC I am just now starting some mobile development. I don't currently own an ios device and would like to just carry on development on android assuming that if I do a good and careful job my application will work on ios when I finally make the builds. I don't expect 100% first time flawlessness. But is there anything I should keep in mind as I do this? My application is pretty straight forward.....app version of a book.....jsut a pretty basic interface, livecloud.io integration via tsnet. Is there anything different between touch commands on ios vs android? Thanks -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From paul at researchware.com Sat Nov 9 19:53:01 2019 From: paul at researchware.com (Paul Dupuis) Date: Sat, 9 Nov 2019 19:53:01 -0500 Subject: [OT] Hmmm... In-Reply-To: <9034d25a5795709b8a3a51cb9ba9da87@fourthworld.com> References: <9034d25a5795709b8a3a51cb9ba9da87@fourthworld.com> Message-ID: On 11/9/2019 7:03 PM, Richard Gaskin via use-livecode wrote: > Nearly 24 hours since the last post to this list. > > Did everyone stop using LiveCode, or is this mailserve down again? > > Just checking.... > I haven't run into any new engine bugs or Catalina issues in a whole week! So I have had nothing new to post ;-) From tom at makeshyft.com Sat Nov 9 20:46:47 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 9 Nov 2019 20:46:47 -0500 Subject: [OT] Hmmm... In-Reply-To: References: <9034d25a5795709b8a3a51cb9ba9da87@fourthworld.com> Message-ID: I posted earlier. about mobile dev On Sat, Nov 9, 2019 at 7:53 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/9/2019 7:03 PM, Richard Gaskin via use-livecode wrote: > > Nearly 24 hours since the last post to this list. > > > > Did everyone stop using LiveCode, or is this mailserve down again? > > > > Just checking.... > > > > I haven't run into any new engine bugs or Catalina issues in a whole > week! So I have had nothing new to post ;-) > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From brian at milby7.com Sat Nov 9 21:12:30 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 9 Nov 2019 21:12:30 -0500 Subject: Atom Linting Message-ID: Well, I've been dealing with Atom not being able to lint my LiveCode files for months. I finally decided to try to figure out what was going on. When I checked the repo, I found that a PR had been submitted back in March that addresses the issue. When I tried, I had to make an additional change to get things to work. I made a consolidated PR to include this addition and all of the pending PRs: https://github.com/livecode/atom-language-livecode/pull/40 You could also take a peek at my fork of the repo to see the code: https://github.com/bwmilby/atom-language-livecode/tree/bwm-v070update I'm thinking that it is probably a good idea to redo the snippets based on the current release, but I haven't tried to run that yet. Thanks, Brian From brahma at hindu.org Sat Nov 9 21:31:48 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 10 Nov 2019 02:31:48 +0000 Subject: Mobile development android vs ios In-Reply-To: References: Message-ID: <26D368AB-4901-45A8-984E-28FA136035DD@hindu.org> After several years, I can say that if it works Android it will 'probably' work for iOS. Not always the other way. That is, after we get LC 9.6, as there are things now breaking on iOS, that work on Android. Also if you have friends with a iPhone, TestFlight will allow them to test the app. BR I don't expect 100% first time flawlessness. But is there anything I should keep in mind as I do this? From brahma at hindu.org Sat Nov 9 21:43:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 10 Nov 2019 02:43:13 +0000 Subject: Android Deployment Update / Nov 2019 Message-ID: <0181D834-EA2E-4E57-80AF-0E4C1B8E5ACC@hindu.org> I see a lot of changes in my developers console on Google. I reading through everything? I kept these kind notes which were sent by Jerry in June, summarizing Mark W. comments on building of Android. Are they still up-to-date? And about what about Android 9? I think Ralph also felt that the payload was small enough to bundle 2 versions in 1 build. ===================== @BR make sure that for your next release, that when now your highest versioncode is 15 for x86-64 the armv7a starts with 16 that's why i showed you the sequence as example. you need to increase the versioncodes but with the lowest versioncode for the lowest architecture, i did it too and had no problem so like this for your sequence if your highest used VC is 15 then: Build VC arm v7a 19 ---->next time --->23---->next time--->24 arm64 20---->next time--->24--->next time--->25 X86 21--->next time--->25--->next time--->26 x86-64 22--->next time--->26--->next time--->27 and so on, you see the 64 builds need to be higher vc then the 32bits Jerry ============= BR From abdimail696 at gmail.com Sat Nov 9 22:13:35 2019 From: abdimail696 at gmail.com (Riko Abdul) Date: Sun, 10 Nov 2019 10:13:35 +0700 Subject: Android Deployment Update / Nov 2019 In-Reply-To: <0181D834-EA2E-4E57-80AF-0E4C1B8E5ACC@hindu.org> References: <0181D834-EA2E-4E57-80AF-0E4C1B8E5ACC@hindu.org> Message-ID: whats is vc? Pada tanggal Min, 10 Nov 2019 pukul 09.44 Sannyasin Brahmanathaswami via use-livecode menulis: > I see a lot of changes in my developers console on Google. I reading > through everything? > > I kept these kind notes which were sent by Jerry in June, summarizing Mark > W. comments on building of Android. > > Are they still up-to-date? And about what about Android 9? I think Ralph > also felt that the payload was small enough to bundle 2 versions in 1 > build. > > ===================== > @BR make sure that for your next release, that when now your highest > versioncode is 15 for x86-64 > > the armv7a starts with 16 > > that's why i showed you the sequence as example. > > you need to increase the versioncodes but with the lowest versioncode > for the lowest architecture, i did it too and had no problem > > so like this for your sequence if your highest used VC is 15 then: > > Build VC > arm v7a 19 ---->next time --->23---->next time--->24 > arm64 20---->next time--->24--->next time--->25 > X86 21--->next time--->25--->next time--->26 > x86-64 22--->next time--->26--->next time--->27 > > and so on, you see the 64 builds need to be higher vc then the 32bits > Jerry > > ============= > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Sun Nov 10 03:19:13 2019 From: jjs at krutt.org (Jjs) Date: Sun, 10 Nov 2019 09:19:13 +0100 Subject: Android Deployment Update / Nov 2019 In-Reply-To: References: <0181D834-EA2E-4E57-80AF-0E4C1B8E5ACC@hindu.org> Message-ID: <266E1F7E-6B7A-4210-8A63-C996DF8F1365@krutt.org> Vc is the version nr of the apk. This is independent of your app version. The vc has to be increased with each upload to the google dev console Riko Abdul via use-livecode schreef op 10 november 2019 04:13:35 CET: >whats is vc? > >Pada tanggal Min, 10 Nov 2019 pukul 09.44 Sannyasin Brahmanathaswami >via >use-livecode menulis: > >> I see a lot of changes in my developers console on Google. I reading >> through everything? >> >> I kept these kind notes which were sent by Jerry in June, summarizing >Mark >> W. comments on building of Android. >> >> Are they still up-to-date? And about what about Android 9? I think >Ralph >> also felt that the payload was small enough to bundle 2 versions in >1 >> build. >> >> ===================== >> @BR make sure that for your next release, that when now your highest >> versioncode is 15 for x86-64 >> >> the armv7a starts with 16 >> >> that's why i showed you the sequence as example. >> >> you need to increase the versioncodes but with the lowest versioncode >> for the lowest architecture, i did it too and had no problem >> >> so like this for your sequence if your highest used VC is 15 then: >> >> Build VC >> arm v7a 19 ---->next time --->23---->next time--->24 >> arm64 20---->next time--->24--->next time--->25 >> X86 21--->next time--->25--->next time--->26 >> x86-64 22--->next time--->26--->next time--->27 >> >> and so on, you see the 64 builds need to be higher vc then the 32bits >> Jerry >> >> ============= >> BR >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From rabit at revigniter.com Sun Nov 10 08:38:51 2019 From: rabit at revigniter.com (Ralf Bitter) Date: Sun, 10 Nov 2019 14:38:51 +0100 Subject: Atom Linting In-Reply-To: References: Message-ID: Brian, thank you. Hopefully your consolidated PR will be merged. Ralf > On 10. Nov 2019, at 03:12, Brian Milby via use-livecode wrote: > > Well, I've been dealing with Atom not being able to lint my LiveCode files > for months. I finally decided to try to figure out what was going on. > When I checked the repo, I found that a PR had been submitted back in March > that addresses the issue. When I tried, I had to make an additional change > to get things to work. I made a consolidated PR to include this addition > and all of the pending PRs: > > https://github.com/livecode/atom-language-livecode/pull/40 > > You could also take a peek at my fork of the repo to see the code: > > https://github.com/bwmilby/atom-language-livecode/tree/bwm-v070update > > I'm thinking that it is probably a good idea to redo the snippets based on > the current release, but I haven't tried to run that yet. > > Thanks, > Brian From tom at makeshyft.com Sun Nov 10 10:22:31 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 10 Nov 2019 10:22:31 -0500 Subject: Mobile development android vs ios In-Reply-To: <26D368AB-4901-45A8-984E-28FA136035DD@hindu.org> References: <26D368AB-4901-45A8-984E-28FA136035DD@hindu.org> Message-ID: Thank you.... I will definitely test as soon as I am able to and definitely before submission. On Sat, Nov 9, 2019 at 9:32 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > After several years, I can say that if it works Android it will 'probably' > work for iOS. > > Not always the other way. > > That is, after we get LC 9.6, as there are things now breaking on iOS, > that work on Android. Also if you have friends with a iPhone, TestFlight > will allow them to test the app. > > BR > > > > I don't expect 100% first time flawlessness. But is there anything I > should keep in mind as I do this? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From jacque at hyperactivesw.com Sun Nov 10 14:16:23 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Nov 2019 13:16:23 -0600 Subject: Mobile development android vs ios In-Reply-To: References: Message-ID: <038897eb-14dc-caa1-edd2-f239b7616899@hyperactivesw.com> On 11/9/19 6:32 PM, Tom Glod via use-livecode wrote: > I don't expect 100% first time flawlessness. But is there anything I > should keep in mind as I do this? As Swami mentioned, if it works in Android it's likely to mostly work in iOS too. But depending on your layout, you may need to design different interfaces for each OS. Apple is a bit particular about that and will reject an app that looks like an Android port. I'm not sure if Google will do the same, they're more flexible, but Android users won't appreciate an app that looks like it belongs on iOS. So basically, your scripts probably won't need much alteration but the appearance might. The location of navigation bars and other controls, fonts, text alignment, button appearance, icons, and other visual properties varies by OS. Each OS has its own standard appearance. You can get around some of this by using only unique custom icons and buttons sometimes. But title bar appearance and control placement are pretty much expected. I found this link to be helpful: > My application is pretty straight forward.....app version of a > book.....jsut a pretty basic interface, livecloud.io integration via tsnet. If your app is just a book, Apple may not accept it into the App Store. They want all books to go into the iBooks store and they may direct you there when you submit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sun Nov 10 16:27:37 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 10 Nov 2019 21:27:37 +0000 Subject: Mobile development android vs ios In-Reply-To: <038897eb-14dc-caa1-edd2-f239b7616899@hyperactivesw.com> References: <038897eb-14dc-caa1-edd2-f239b7616899@hyperactivesw.com> Message-ID: "Call me contrary". but the more I look at the Android UI the more I like the principles. I also seems that Apple likes it too. In iOS 13.2 they "finally" have a near 100% for delete an app, like Android. If you went with Android UI, and use your own icons and widgets, a) Apple won't complain, (it doesn't emulate a "apple app") b) I could be under-estimating users need for "ever has the same" Though other may object, if you have "real" contents -- I don't think the users will care how it work, as long as it works "well" Just my two cents for someone who would rather work on building content, than on device alternative UI's. BR You can get around some of this by using only unique custom icons and buttons sometimes. But title bar appearance and control placement are pretty much expected. I found this link to be helpful: From tom at makeshyft.com Sun Nov 10 17:07:46 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 10 Nov 2019 17:07:46 -0500 Subject: Mobile development android vs ios In-Reply-To: References: <038897eb-14dc-caa1-edd2-f239b7616899@hyperactivesw.com> Message-ID: Thanks to you both for your valublue input. My plan was to use the same design for both using custom button controls vs native ones. The app does center around a book, but its not just that...there is a lot of functionality around it for the student. I'll try to make sure it looks unique enough to not look like android and not look like ios :) That should work. Thanks, Tom On Sun, Nov 10, 2019 at 4:28 PM Sannyasin Brahmanathaswami via use-livecode wrote: > "Call me contrary". but the more I look at the Android UI the more I like > the principles. I also seems that Apple likes it too. In iOS 13.2 they > "finally" have a near 100% for delete an app, like Android. > > If you went with Android UI, and use your own icons and widgets, > a) Apple won't complain, (it doesn't emulate a "apple app") > b) I could be under-estimating users need for "ever has the same" > Though other may object, if you have "real" contents -- I don't think the > users will care how it work, as long as it works "well" > > Just my two cents for someone who would rather work on building content, > than on device alternative UI's. > > > BR > > > > > > > You can get around some of this by using only unique custom icons and > buttons sometimes. But title bar appearance and control placement are > pretty much expected. I found this link to be helpful: > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From jacque at hyperactivesw.com Sun Nov 10 19:20:22 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Nov 2019 18:20:22 -0600 Subject: Mobile development android vs ios In-Reply-To: References: <038897eb-14dc-caa1-edd2-f239b7616899@hyperactivesw.com> Message-ID: <16e57d53970.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That should work. My current app has a header and footer that are definitely Android Material design. To make the header like iOS I need to center the text and use a chevron instead of an arrow. There are other things like that, minor tweaks mostly, but if you have an original layout you're probably in good shape. I followed the Material Design guidelines strictly, right down to the pixel for size and placement. Apple's submission guidelines state that an app that looks like "another OS" is grounds for rejection but I don't know how much they enforce that. It's been a while since I needed to submit to the App Store, but I'll be finding out soon. I have to agree with Swami that I prefer Android OS. I think Apple has lost its way over the years. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 10, 2019 4:09:48 PM Tom Glod via use-livecode wrote: > Thanks to you both for your valublue input. > > My plan was to use the same design for both using custom button controls vs > native ones. > > The app does center around a book, but its not just that...there is a lot > of functionality around it for the student. > > I'll try to make sure it looks unique enough to not look like android and > not look like ios :) That should work. > > Thanks, > > Tom > > On Sun, Nov 10, 2019 at 4:28 PM Sannyasin Brahmanathaswami via use-livecode > wrote: > >> "Call me contrary". but the more I look at the Android UI the more I like >> the principles. I also seems that Apple likes it too. In iOS 13.2 they >> "finally" have a near 100% for delete an app, like Android. >> >> If you went with Android UI, and use your own icons and widgets, >> a) Apple won't complain, (it doesn't emulate a "apple app") >> b) I could be under-estimating users need for "ever has the same" >> Though other may object, if you have "real" contents -- I don't think the >> users will care how it work, as long as it works "well" >> >> Just my two cents for someone who would rather work on building content, >> than on device alternative UI's. >> >> >> BR >> >> >> >> >> >> >> You can get around some of this by using only unique custom icons and >> buttons sometimes. But title bar appearance and control placement are >> pretty much expected. I found this link to be helpful: >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Nov 11 09:00:53 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 11 Nov 2019 09:00:53 -0500 Subject: Amazing how forgiving the older LC engines are... Message-ID: <5cb78b1c-5b7b-d1df-9eda-4e9b970cc338@researchware.com> I just got bit by how forgiving older LC engines version are. Migrating a stack from LC6.7.11 to LC9.5.1. There is a handle to perform a "select all" on a particular list field where "select all" means select all lines but the first. The code was essentially: ? put empty into tLineList ? repeat with i=2 to the number of lines in fld 1 ??? put i & cr after tLineList ? end repeat ? delete last char of tLineList ? set the hilitedLines of fld 1 to tLineList' This throws an script execution error under LC9.0.5 or 9.5.1 when trying to execute? the last line, but works perfectly well under LC6.7.11 and earlier. The problem, of course, is that the hilitedLines is supposed to be a COMMA delimited list, not a CR delimited list. Even the LC6.7.11 Dictionary states comma delimited. And yet, LC6.7.11 and earlier happily allowed and handled correctly wither comma or cr delimited lists for the hilitedLines property. Simple change of Cr to comma fixes the routine for LC9xx I am not sure in what more recent LC versions this list flexibility went away (7? 8? 9?) but I have mixed feelings that it did go away. On one hand, I think the versatility of the older engine in forgiving and working with bad syntax was amazing. On the other had, had they been stricter, I would have discovered this bug long ago. From rabit at revigniter.com Mon Nov 11 13:52:41 2019 From: rabit at revigniter.com (Ralf Bitter) Date: Mon, 11 Nov 2019 19:52:41 +0100 Subject: Atom Linting In-Reply-To: References: Message-ID: > On 10. Nov 2019, at 03:12, Brian Milby via use-livecode wrote: > > When I tried, I had to make an additional change > to get things to work. Brian, does linting LC code work for you an Mac OS too? On Ubuntu it works here as expected but since recently on Mac OS I get: [Linter] Error running language-livecode and the console reads: TypeError: Cannot read property 'setEncoding' of undefined Ralf From tom at makeshyft.com Mon Nov 11 13:54:03 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 11 Nov 2019 13:54:03 -0500 Subject: Amazing how forgiving the older LC engines are... In-Reply-To: <5cb78b1c-5b7b-d1df-9eda-4e9b970cc338@researchware.com> References: <5cb78b1c-5b7b-d1df-9eda-4e9b970cc338@researchware.com> Message-ID: Yup.....While upgrading from 7 to 8 and from 8 to 9 I had several "I can't believe this code worked" moments. I prefer an unforgiving interpreter. thats why I fell in love with Rust and its ridiculously unforgiving compiler. Haven't had to use it yet, but look forward to it. On Mon, Nov 11, 2019 at 9:01 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I just got bit by how forgiving older LC engines version are. > > Migrating a stack from LC6.7.11 to LC9.5.1. There is a handle to perform > a "select all" on a particular list field where "select all" means > select all lines but the first. The code was essentially: > > put empty into tLineList > repeat with i=2 to the number of lines in fld 1 > put i & cr after tLineList > end repeat > delete last char of tLineList > set the hilitedLines of fld 1 to tLineList' > > This throws an script execution error under LC9.0.5 or 9.5.1 when trying > to execute the last line, but works perfectly well under LC6.7.11 and > earlier. > > The problem, of course, is that the hilitedLines is supposed to be a > COMMA delimited list, not a CR delimited list. Even the LC6.7.11 > Dictionary states comma delimited. And yet, LC6.7.11 and earlier happily > allowed and handled correctly wither comma or cr delimited lists for the > hilitedLines property. > > Simple change of Cr to comma fixes the routine for LC9xx > > I am not sure in what more recent LC versions this list flexibility went > away (7? 8? 9?) but I have mixed feelings that it did go away. On one > hand, I think the versatility of the older engine in forgiving and > working with bad syntax was amazing. On the other had, had they been > stricter, I would have discovered this bug long ago. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From brian at milby7.com Mon Nov 11 13:55:45 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 11 Nov 2019 13:55:45 -0500 Subject: Atom Linting In-Reply-To: References: Message-ID: <2922de3e-27a1-4a58-ab11-7cc793079a84@Spark> I have it working on Mac and Linux. ?I?m not seeing it work properly on Win10 though. ?I did ensure all plugins were updated and Atom was at the latest version. Thanks, Brian On Nov 11, 2019, 1:53 PM -0500, Ralf Bitter via use-livecode , wrote: > > > On 10. Nov 2019, at 03:12, Brian Milby via use-livecode wrote: > > > > When I tried, I had to make an additional change > > to get things to work. > > > Brian, does linting LC code work for you an Mac OS too? > On Ubuntu it works here as expected but since recently on Mac OS I get: > > [Linter] Error running language-livecode > > and the console reads: > > TypeError: Cannot read property 'setEncoding' of undefined > > > Ralf > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 11 16:57:43 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 11 Nov 2019 23:57:43 +0200 Subject: [ANN] This Week in LiveCode 201 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 #201 here: http://bit.ly/2CzA0oR This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From paulmcclernan at gmail.com Mon Nov 11 20:52:11 2019 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 11 Nov 2019 20:52:11 -0500 Subject: Managing maximized windows on MacOS In-Reply-To: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> References: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6.ref@yahoo.it> <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> Message-ID: I ran into this myself recently. LiveCode sends a resizeStack message when you click the maximize "zoom box" button which you can intercept, but there's no way to verify that it was the fullscreen zoom button that generated the message. It would be nice if LC had the opposite of it's iconifyStack / uniconifyStack messages for maximize, maybe "fullscreenify" or something like that. It would also be nice if it played nice with LiveCode's non-native fullScreen modes, as it is now the stack automatically gets resized to the current screen's sized putting all the contents to the upper left (0,0) origin point. I have played around a bit with a separate LiveCode builder implementation macOS native fullscreen that seems to behave a bit differently, if you lock the resizable attributes it centers your stack on the screen without the resizing. It's part of this LCB library here: https://github.com/PaulMcClernan/LiveCode-LCB-macOSTools On Mon, Nov 4, 2019 at 1:59 PM Giovanni via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi guys, > from MacOS Mojave and on when you maximize a window (clicking on ?+? > button on windows main bar) the system maximize the window on the entire > screen hiding all the system bars and moving the window on a different > ?virtual? space. > > Is there a way using LC to manage this window status? > It?s possible to detect the window maximization (I.E. in a message) and > manage the actions to activate when the window goes to this status or go > back to the normal status? > > Thank you in advance for your tips! > > Regards > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at elementarysoftware.com Tue Nov 12 01:43:46 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 11 Nov 2019 22:43:46 -0800 Subject: Y coordinate for a line of text Message-ID: I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ From dunbarx at aol.com Tue Nov 12 09:04:11 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 12 Nov 2019 14:04:11 +0000 (UTC) Subject: Y coordinate for a line of text In-Reply-To: References: Message-ID: <57150453.2018718.1573567451182@mail.yahoo.com> Hi. Assuming you have a field 1 with several lines of text in it, and have set the textHeight of that field, then in a button script somewhere; on?mouseUpanswer?the?textHeight?of?fld?1?*?lineOffset(yourText,fld?1) +?the?top?of?fld?1end?mouseUp Craig -----Original Message----- From: scott--- via use-livecode To: How to use LiveCode Cc: scott at elementarysoftware.com Sent: Tue, Nov 12, 2019 1:45 am Subject: Y coordinate for a line of text I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web? ? ? https://elementarysoftware.com/ email? ? scott at elementarysoftware.com booth? ? 1-800-615-0867 ------------------------------------------------------ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 12 09:19:12 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 12 Nov 2019 14:19:12 +0000 (UTC) Subject: Y coordinate for a line of text In-Reply-To: <57150453.2018718.1573567451182@mail.yahoo.com> References: <57150453.2018718.1573567451182@mail.yahoo.com> Message-ID: <1510621137.2026539.1573568352999@mail.yahoo.com> How do I format a simple handler so that it is not strung out like a 1960's hippie? Why is there no forum-like area to post scripts? Is this because I am using AOL as a portal to the use list? Craig -----Original Message----- From: dunbarx--- via use-livecode To: use-livecode Cc: dunbarx Sent: Tue, Nov 12, 2019 9:05 am Subject: Re: Y coordinate for a line of text Hi. Assuming you have a field 1 with several lines of text in it, and have set the textHeight of that field, then in a button script somewhere; on?mouseUpanswer?the?textHeight?of?fld?1?*?lineOffset(yourText,fld?1) +?the?top?of?fld?1end?mouseUp Craig -----Original Message----- From: scott--- via use-livecode To: How to use LiveCode Cc: scott at elementarysoftware.com Sent: Tue, Nov 12, 2019 1:45 am Subject: Y coordinate for a line of text I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web? ? ? https://elementarysoftware.com/ email? ? scott at elementarysoftware.com booth? ? 1-800-615-0867 ------------------------------------------------------ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Tue Nov 12 09:23:49 2019 From: bleiler at buffalo.edu (Bleiler, Timothy) Date: Tue, 12 Nov 2019 14:23:49 +0000 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: References: Message-ID: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> Hi, I?ve seen some great presentations in the last few years from the conferences and Livecode Global sessions using Livecode to access REST API?s from web services, so I?m hoping someone can help me out here. I need to access a web service (Box.com) from my Livecode app using JSON web tokens. The service documentation states that they only support RS256, RS384, and RS512 for hashing the signature in the token. Unfortunately, in the 139 options and variations listed by the Livecode CipherNames function I don?t see these. Have I missed or misunderstood something or am I out of luck for using Livecode for this task? Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From paul at researchware.com Tue Nov 12 09:27:06 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 12 Nov 2019 09:27:06 -0500 Subject: Y coordinate for a line of text In-Reply-To: References: Message-ID: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> You may want to look at the Dictionary entry for "measureText" On 11/12/2019 1:43 AM, scott--- via use-livecode wrote: > I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Nov 12 11:27:15 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 12 Nov 2019 11:27:15 -0500 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> References: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> Message-ID: Hey Tim, the ciphernames lists "encryption" algorithms not hashing. I believe RS256 refers to RSA with SHA 256. messagedigest is the function you want to look up for hashing algorithms. On Tue, Nov 12, 2019 at 9:24 AM Bleiler, Timothy via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > I?ve seen some great presentations in the last few years from the > conferences and Livecode Global sessions using Livecode to access REST > API?s from web services, so I?m hoping someone can help me out here. > > I need to access a web service (Box.com) from my Livecode > app using JSON web tokens. > The service documentation states that they only support RS256, RS384, and > RS512 for hashing the signature in the token. Unfortunately, in the 139 > options and variations listed by the Livecode CipherNames function I don?t > see these. > > Have I missed or misunderstood something or am I out of luck for using > Livecode for this task? > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From devin_asay at byu.edu Tue Nov 12 11:46:21 2019 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Nov 2019 16:46:21 +0000 Subject: Y coordinate for a line of text In-Reply-To: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> Message-ID: The selectedLoc function may also be helpful. > On Nov 12, 2019, at 7:27 AM, Paul Dupuis via use-livecode wrote: > > You may want to look at the Dictionary entry for "measureText" > > > On 11/12/2019 1:43 AM, scott--- via use-livecode wrote: >> I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-800-615-0867 >> >> ------------------------------------------------------ >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From klaus at major-k.de Tue Nov 12 11:59:30 2019 From: klaus at major-k.de (Klaus major-k) Date: Tue, 12 Nov 2019 17:59:30 +0100 Subject: Disappearing "column lables" of Datagrid Message-ID: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> Hi friends, what might cause the fact that in my datagrids on card 2 the "column labels" disapear whenever I (re-)open that stack NO scripting involved so far, the labels are just gone!? "refreshline/refreshindex/refreshlist" does NOT work in a script. I have to click "Refresh" in the inspector for these two datagrids to make then appear again. This is driving me crazy! :-/ macOS 10.14.6, LC 9.0.5, same with LC 9.5. Thanks for any hints. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From tom at makeshyft.com Tue Nov 12 12:05:03 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 12 Nov 2019 12:05:03 -0500 Subject: Disappearing "column lables" of Datagrid In-Reply-To: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> References: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> Message-ID: I've had that happen in the past .... but unfortunately, i was unable to track it down at the time.....i remember this happening way back on v 7 ...so its a bug thats been around a while. I've also not had it happen in quite a while, so its triggered by something very particular. do we have a way to step through code in the datagrid library yet? If not, this is gonna be really hard to trace. On Tue, Nov 12, 2019 at 11:59 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > what might cause the fact that in my datagrids on card 2 > the "column labels" disapear whenever I (re-)open that stack > > NO scripting involved so far, the labels are just gone!? > > "refreshline/refreshindex/refreshlist" does NOT work in a script. > I have to click "Refresh" in the inspector for these two datagrids > to make then appear again. This is driving me crazy! :-/ > > macOS 10.14.6, LC 9.0.5, same with LC 9.5. > Thanks for any hints. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From smaclean at madmansoft.com Tue Nov 12 12:12:47 2019 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 12 Nov 2019 12:12:47 -0500 Subject: Identifying Un-used functions and commands Message-ID: Hi All, I?m wondering if anyone has a way or code to identify any un-used functions and commands in a set of stacks? Best, Steve MacLean From dunbarx at aol.com Tue Nov 12 12:42:53 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 12 Nov 2019 17:42:53 +0000 (UTC) Subject: Identifying Un-used functions and commands In-Reply-To: References: Message-ID: <273303761.2113671.1573580573526@mail.yahoo.com> Hi. "unused functions and commands"? Do you mean handlers that exist in a script somewhere but are never called from anywhere? I suppose you can search all scripts, and if a certain handler name does not appear without being prepended by either "on" & space(s) or "function" & space(s) then you can say that handler is never called. Craig -----Original Message----- From: Stephen MacLean via use-livecode To: How to use LiveCode Cc: Stephen MacLean Sent: Tue, Nov 12, 2019 12:14 pm Subject: Identifying Un-used functions and commands Hi All, I?m wondering if anyone has a way or code to identify any un-used functions and commands in a set of stacks? Best, Steve MacLean _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 12 12:45:15 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 12 Nov 2019 17:45:15 +0000 (UTC) Subject: Disappearing "column lables" of Datagrid In-Reply-To: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> References: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> Message-ID: <435302793.2112815.1573580715810@mail.yahoo.com> Why not just ask Klaus? Craig -----Original Message----- From: Klaus major-k via use-livecode To: Tom Glod via use-livecode Cc: Klaus major-k Sent: Tue, Nov 12, 2019 11:59 am Subject: Disappearing "column lables" of Datagrid Hi friends, what might cause the fact that in my datagrids on card 2 the "column labels" disapear whenever I (re-)open that stack NO scripting involved so far, the labels are just gone!? "refreshline/refreshindex/refreshlist" does NOT work in a script. I have to click "Refresh" in the inspector for these two datagrids to make then appear again. This is driving me crazy! :-/ macOS 10.14.6, LC 9.0.5, same with LC 9.5. Thanks for any hints. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Tue Nov 12 12:47:19 2019 From: bleiler at buffalo.edu (Bleiler, Timothy) Date: Tue, 12 Nov 2019 17:47:19 +0000 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: References: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> Message-ID: <7C83756E-BEE5-49AA-973F-E33505A8BAAB@buffalo.edu> Thank you Tom! This is all new to me and I?d missed that distinction. I hope you don?t mind a follow up question. Is it your understanding that using SHA-256 or SHA3-256 as the ?digestType? in the Livecode function would meet the service requirement for RS-256 or is there something else I?m missing? Tim On Nov 12, 2019, at 11:27 AM, Tom Glod via use-livecode > wrote: Hey Tim, the ciphernames lists "encryption" algorithms not hashing. I believe RS256 refers to RSA with SHA 256. messagedigest is the function you want to look up for hashing algorithms. On Tue, Nov 12, 2019 at 9:24 AM Bleiler, Timothy via use-livecode < use-livecode at lists.runrev.com> wrote: Hi, I?ve seen some great presentations in the last few years from the conferences and Livecode Global sessions using Livecode to access REST API?s from web services, so I?m hoping someone can help me out here. I need to access a web service (Box.com>) from my Livecode app using JSON web tokens. The service documentation states that they only support RS256, RS384, and RS512 for hashing the signature in the token. Unfortunately, in the 139 options and variations listed by the Livecode CipherNames function I don?t see these. Have I missed or misunderstood something or am I out of luck for using Livecode for this task? Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo _______________________________________________ use-livecode mailing list use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Nov 12 13:24:07 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Nov 2019 19:24:07 +0100 Subject: Commands on server and lack of examples Message-ID: Hello, i'm really curious how some things from the dictionary should work or behave on server. (when filtered on server) And i can find almost no examples, the forum section is small, the list is searchable but not easy, lessons almost nothing and mostly about installing the server, dictionary only IDE examples. As it is serverside, how should for example a field work or a widget. How should on mouseUp work? i can type on mouseUp and some things in it like put"

hi

" and then end mouseUp, no error, but nothing happening either. Or in better words maybe, how to use a HTML button like an LC button. How to send data without opening another lc script, i just want to stay for example on the same page, but i need the result back without the whole page being reloaded. ( i know how to send data as i can choose categories and products and so on each on their own page) If i need jQuery or Javascript then i can just as good go on with the PHP versions i have. I've rewritten some html/php scripts to html/lc and now i've come to the same point, there where the products should go in the basket. When one uses html form action="check.lc" for instance then when pushing the html button it tries to open that script as a page. So in short what i'm asking is a lot of examples and some answers to the above. Thanks for any help. Cheers, Jerry From rdimola at evergreeninfo.net Tue Nov 12 13:29:17 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 12 Nov 2019 13:29:17 -0500 Subject: Identifying Un-used functions and commands In-Reply-To: <273303761.2113671.1573580573526@mail.yahoo.com> References: <273303761.2113671.1573580573526@mail.yahoo.com> Message-ID: <005301d59987$1aebbfb0$50c33f10$@net> "DO"s make this tricky. EX: Say you have some code that is mobile platform specific. do "myHandlerBaseName&the platform param1, param2". This example may not be good practice but "DO"s can trip you up looking for orphan handlers. 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 dunbarx--- via use-livecode Sent: Tuesday, November 12, 2019 12:43 PM To: use-livecode at lists.runrev.com Cc: dunbarx at aol.com Subject: Re: Identifying Un-used functions and commands Hi. "unused functions and commands"? Do you mean handlers that exist in a script somewhere but are never called from anywhere? I suppose you can search all scripts, and if a certain handler name does not appear without being prepended by either "on" & space(s) or "function" & space(s) then you can say that handler is never called. Craig -----Original Message----- From: Stephen MacLean via use-livecode To: How to use LiveCode Cc: Stephen MacLean Sent: Tue, Nov 12, 2019 12:14 pm Subject: Identifying Un-used functions and commands Hi All, I?m wondering if anyone has a way or code to identify any un-used functions and commands in a set of stacks? Best, Steve MacLean _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Tue Nov 12 13:34:55 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 12 Nov 2019 13:34:55 -0500 Subject: Commands on server and lack of examples In-Reply-To: References: Message-ID: <8a3c42d6-4bd4-4558-bd13-0c6f7e21b2cb@Spark> Unless you are doing a HTML5 app (entire stack resides in a web page), none of the GUI stuff applies. ?The LC code is pretty much a replacement for PHP code, so the GUI piece would be the same (whatever HTML/JS frameworks you choose). Thanks, Brian On Nov 12, 2019, 1:24 PM -0500, JJS via use-livecode , wrote: > Hello, > > > i'm really curious how some things from the dictionary should work or > behave on server. (when filtered on server) > > And i can find almost no examples, the forum section is small, the list > is searchable but not easy, lessons almost nothing and mostly about > installing the server, dictionary only IDE examples. > > As it is serverside, how should for example a field work or a widget. > > How should on mouseUp work? i can type on mouseUp and some things in it > like put"

hi

" and then end mouseUp, no error, but nothing > happening either. > > Or in better words maybe, how to use a HTML button like an LC button. > > How to send data without opening another lc script, i just want to stay > for example on the same page, but i need the result back without the > whole page being reloaded. > > ( i know how to send data as i can choose categories and products and so > on each on their own page) > > If i need jQuery or Javascript then i can just as good go on with the > PHP versions i have. > > I've rewritten some html/php scripts to html/lc and now i've come to the > same point, there where the products should go in the basket. > > When one uses html form action="check.lc" for instance then when pushing > the html button it tries to open that script as a page. > > So in short what i'm asking is a lot of examples and some answers to the > above. > > > Thanks for any help. > > > Cheers, > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Tue Nov 12 14:44:42 2019 From: roland.huettmann at gmail.com (R.H.) Date: Tue, 12 Nov 2019 20:44:42 +0100 Subject: Decoding "quoted-printable" -- Help needed Message-ID: Even with a lot of research and comparing functions in C# and Javascript, I do understand it yet. In E-Mail-bodies, the content parts are often either based64-encoded, no problem with that, but there are also other encodings called "quoted-printable". This is text that in my case needs to be converted to UTF-8. Now, here all characters that are not pure ASCII are marked with a equal sign "=" (similar to the "%" in an URL encoded string) and the following two characters define the byte value in Hex notation. There can be one, two and even three separate byte values for a character encoded in UTF-8. Example: "F=C3=BCr". This translates to the German Umlaut and would render to the string "f?r". The "?" is not part of the pure ASCII and therefore it is encoded this way. It is an encoding specific for UTF-8. Now, as you can see, there is not just one byte represented with "=C3". There are actually two bytes "=C3=BC": represented in Hex by "C3" and "BC" each individually converted to decimal notation as 195 and 188. If you URL-encode the single bytes using "%" instead of "=" such as "%U3" it will give it's own character whith will be "?". The URL-encoding of "%BC" gives "?". So, this does not help. I have to somenow look at the two bytes together. Converting pure ASCI to Hex gives the correct result in other programs: -- Link: https://www.rapidtables.com/convert/number/ascii-to-hex.html: -- Enter: "?" -- Result: "C3,BC" --- what we are looking for when encoding: Two separate byte representations. -- But it only works when the character encoding is UTF-8. How do I come from "=C3=BC" to codepoint("?") = 252? What do I need to calculate? How do we decode such "quoted-printable" encoded string to UTF-8? Thanks in advance...) Roland From jjs at krutt.org Tue Nov 12 15:05:58 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Nov 2019 21:05:58 +0100 Subject: Commands on server and lack of examples In-Reply-To: <8a3c42d6-4bd4-4558-bd13-0c6f7e21b2cb@Spark> References: <8a3c42d6-4bd4-4558-bd13-0c6f7e21b2cb@Spark> Message-ID: Thank you Brian. So actually the Dictionary needs some updates of stuff that is not an error but also doing nothing when used on server. Thanks, Jerry Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: > Unless you are doing a HTML5 app (entire stack resides in a web page), none of the GUI stuff applies. ?The LC code is pretty much a replacement for PHP code, so the GUI piece would be the same (whatever HTML/JS frameworks you choose). > > Thanks, > Brian > On Nov 12, 2019, 1:24 PM -0500, JJS via use-livecode , wrote: >> Hello, >> >> >> i'm really curious how some things from the dictionary should work or >> behave on server. (when filtered on server) >> >> And i can find almost no examples, the forum section is small, the list >> is searchable but not easy, lessons almost nothing and mostly about >> installing the server, dictionary only IDE examples. >> >> As it is serverside, how should for example a field work or a widget. >> >> How should on mouseUp work? i can type on mouseUp and some things in it >> like put"

hi

" and then end mouseUp, no error, but nothing >> happening either. >> >> Or in better words maybe, how to use a HTML button like an LC button. >> >> How to send data without opening another lc script, i just want to stay >> for example on the same page, but i need the result back without the >> whole page being reloaded. >> >> ( i know how to send data as i can choose categories and products and so >> on each on their own page) >> >> If i need jQuery or Javascript then i can just as good go on with the >> PHP versions i have. >> >> I've rewritten some html/php scripts to html/lc and now i've come to the >> same point, there where the products should go in the basket. >> >> When one uses html form action="check.lc" for instance then when pushing >> the html button it tries to open that script as a page. >> >> So in short what i'm asking is a lot of examples and some answers to the >> above. >> >> >> Thanks for any help. >> >> >> Cheers, >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From e.beugelaar at me.com Tue Nov 12 15:31:40 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Tue, 12 Nov 2019 21:31:40 +0100 Subject: Commands on server and lack of examples In-Reply-To: References: <8a3c42d6-4bd4-4558-bd13-0c6f7e21b2cb@Spark> Message-ID: <621D3A13-CF1F-46CD-876B-1AFF3D85C219@me.com> Hello Jerry, Maybe you've already heard of revIgniter. revIgniter is a framework to build webapps with LiveCode: https://github.com/revig/revigniter/ The official site is https://revigniter.com/ but is temporarily closed for maintenance purposes. The documentation is excellent. Cheers, Erik ?On 12/11/2019, 21:06, "use-livecode on behalf of JJS via use-livecode" wrote: Thank you Brian. So actually the Dictionary needs some updates of stuff that is not an error but also doing nothing when used on server. Thanks, Jerry Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: > Unless you are doing a HTML5 app (entire stack resides in a web page), none of the GUI stuff applies. The LC code is pretty much a replacement for PHP code, so the GUI piece would be the same (whatever HTML/JS frameworks you choose). > > Thanks, > Brian > On Nov 12, 2019, 1:24 PM -0500, JJS via use-livecode , wrote: >> Hello, >> >> >> i'm really curious how some things from the dictionary should work or >> behave on server. (when filtered on server) >> >> And i can find almost no examples, the forum section is small, the list >> is searchable but not easy, lessons almost nothing and mostly about >> installing the server, dictionary only IDE examples. >> >> As it is serverside, how should for example a field work or a widget. >> >> How should on mouseUp work? i can type on mouseUp and some things in it >> like put"

hi

" and then end mouseUp, no error, but nothing >> happening either. >> >> Or in better words maybe, how to use a HTML button like an LC button. >> >> How to send data without opening another lc script, i just want to stay >> for example on the same page, but i need the result back without the >> whole page being reloaded. >> >> ( i know how to send data as i can choose categories and products and so >> on each on their own page) >> >> If i need jQuery or Javascript then i can just as good go on with the >> PHP versions i have. >> >> I've rewritten some html/php scripts to html/lc and now i've come to the >> same point, there where the products should go in the basket. >> >> When one uses html form action="check.lc" for instance then when pushing >> the html button it tries to open that script as a page. >> >> So in short what i'm asking is a lot of examples and some answers to the >> above. >> >> >> Thanks for any help. >> >> >> Cheers, >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Nov 12 15:38:48 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Nov 2019 21:38:48 +0100 Subject: Commands on server and lack of examples In-Reply-To: <621D3A13-CF1F-46CD-876B-1AFF3D85C219@me.com> References: <8a3c42d6-4bd4-4558-bd13-0c6f7e21b2cb@Spark> <621D3A13-CF1F-46CD-876B-1AFF3D85C219@me.com> Message-ID: <9590a343-1e76-fc9a-e1ab-147b4fbc7b9b@krutt.org> Hi Erik, yes i've been busy with that, read most pages,but i can't get my head around it. So i guess it's not quite for me, although it has very much potential. Thanks a lot. Jerry Op 12-11-2019 om 21:31 schreef Erik Beugelaar via use-livecode: > Hello Jerry, > > Maybe you've already heard of revIgniter. > revIgniter is a framework to build webapps with LiveCode: https://github.com/revig/revigniter/ > The official site is https://revigniter.com/ but is temporarily closed for maintenance purposes. > The documentation is excellent. > > Cheers, > Erik > > ?On 12/11/2019, 21:06, "use-livecode on behalf of JJS via use-livecode" wrote: > > Thank you Brian. > > So actually the Dictionary needs some updates of stuff that is not an > error but also doing nothing when used on server. > > > Thanks, Jerry > > > Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: > > Unless you are doing a HTML5 app (entire stack resides in a web page), none of the GUI stuff applies. The LC code is pretty much a replacement for PHP code, so the GUI piece would be the same (whatever HTML/JS frameworks you choose). > > > > Thanks, > > Brian > > On Nov 12, 2019, 1:24 PM -0500, JJS via use-livecode , wrote: > >> Hello, > >> > >> > >> i'm really curious how some things from the dictionary should work or > >> behave on server. (when filtered on server) > >> > >> And i can find almost no examples, the forum section is small, the list > >> is searchable but not easy, lessons almost nothing and mostly about > >> installing the server, dictionary only IDE examples. > >> > >> As it is serverside, how should for example a field work or a widget. > >> > >> How should on mouseUp work? i can type on mouseUp and some things in it > >> like put"

hi

" and then end mouseUp, no error, but nothing > >> happening either. > >> > >> Or in better words maybe, how to use a HTML button like an LC button. > >> > >> How to send data without opening another lc script, i just want to stay > >> for example on the same page, but i need the result back without the > >> whole page being reloaded. > >> > >> ( i know how to send data as i can choose categories and products and so > >> on each on their own page) > >> > >> If i need jQuery or Javascript then i can just as good go on with the > >> PHP versions i have. > >> > >> I've rewritten some html/php scripts to html/lc and now i've come to the > >> same point, there where the products should go in the basket. > >> > >> When one uses html form action="check.lc" for instance then when pushing > >> the html button it tries to open that script as a page. > >> > >> So in short what i'm asking is a lot of examples and some answers to the > >> above. > >> > >> > >> Thanks for any help. > >> > >> > >> Cheers, > >> > >> Jerry > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Nov 12 16:02:40 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 12 Nov 2019 16:02:40 -0500 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: <7C83756E-BEE5-49AA-973F-E33505A8BAAB@buffalo.edu> References: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> <7C83756E-BEE5-49AA-973F-E33505A8BAAB@buffalo.edu> Message-ID: Hey Timothy....While I'm no expert on this subject or the schemes used by box.com I would put money on the idea that livecode has what you need to make this work. You can generate RSA keys... you can hash anything you need..... and you can encrypt and decrypt using RSA private or public keys...... https://livecode.fandom.com/wiki/Encrypt_using_rsa What could the box api ask of you that you cannot give it? Often times for me knowing i have the tools I need to figure it out gets me over the hump. message me at tom at makeshyft dot com if you can't figure it out and u want me to look at the docs for box.com and your code. Cheers Tom On Tue, Nov 12, 2019 at 12:48 PM Bleiler, Timothy via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Tom! > > This is all new to me and I?d missed that distinction. I hope you don?t > mind a follow up question. > > Is it your understanding that using SHA-256 or SHA3-256 as the > ?digestType? in the Livecode function would meet the service requirement > for RS-256 or is there something else I?m missing? > > Tim > > > On Nov 12, 2019, at 11:27 AM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > Hey Tim, the ciphernames lists "encryption" algorithms not hashing. > > I believe RS256 refers to RSA with SHA 256. > > messagedigest is the function you want to look up for hashing algorithms. > > On Tue, Nov 12, 2019 at 9:24 AM Bleiler, Timothy via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > Hi, > > I?ve seen some great presentations in the last few years from the > conferences and Livecode Global sessions using Livecode to access REST > API?s from web services, so I?m hoping someone can help me out here. > > I need to access a web service (Box.com http://box.com/>>) from my Livecode > app using JSON web tokens. > The service documentation states that they only support RS256, RS384, and > RS512 for hashing the signature in the token. Unfortunately, in the 139 > options and variations listed by the Livecode CipherNames function I don?t > see these. > > Have I missed or misunderstood something or am I out of luck for using > Livecode for this task? > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode 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) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From ahsoftware at sonic.net Tue Nov 12 17:06:33 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 12 Nov 2019 14:06:33 -0800 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> References: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> Message-ID: <6006289d-2a23-99c5-0332-ad649ed65a9d@sonic.net> On 11/12/19 6:23 AM, Bleiler, Timothy via use-livecode wrote: > Hi, > > I?ve seen some great presentations in the last few years from the conferences and Livecode Global sessions using Livecode to access REST API?s from web services, so I?m hoping someone can help me out here. > > I need to access a web service (Box.com) from my Livecode app using JSON web tokens. > The service documentation states that they only support RS256, RS384, and RS512 for hashing the signature in the token. Unfortunately, in the 139 options and variations listed by the Livecode CipherNames function I don?t see these. > > Have I missed or misunderstood something or am I out of luck for using Livecode for this task? Box integration has been on my back burner for a while now, so I'll be very much interested in what you come up with here. Are you referring to the authorization step for the Box api? If so, this might help... this should be a one-time thing, so I would just do this once at the command line by hand and then grab the existing key with LiveCode. ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub That will give you both the private and public keys to pass to the Box api. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Nov 12 18:50:00 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 12 Nov 2019 15:50:00 -0800 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: <6006289d-2a23-99c5-0332-ad649ed65a9d@sonic.net> References: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> <6006289d-2a23-99c5-0332-ad649ed65a9d@sonic.net> Message-ID: On 11/12/19 2:06 PM, Mark Wieder via use-livecode wrote: > That will give you both the private and public keys to pass to the Box api. Urk. Misspoke that sentence. Obviously you don't want to send the private key. -- Mark Wieder ahsoftware at gmail.com From scott at elementarysoftware.com Tue Nov 12 22:10:50 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 12 Nov 2019 19:10:50 -0800 Subject: Y coordinate for a line of text In-Reply-To: References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> Message-ID: <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> Thank you Craig and Paul. Your answers were what I was hoping for. Devin, it turned out that selectedLoc() was the easiest to implement. How did I not know about that function! Thanks! Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Nov 12, 2019, at 8:46 AM, Devin Asay via use-livecode wrote: > > The selectedLoc function may also be helpful. > > >> On Nov 12, 2019, at 7:27 AM, Paul Dupuis via use-livecode wrote: >> >> You may want to look at the Dictionary entry for "measureText" >> >> >> On 11/12/2019 1:43 AM, scott--- via use-livecode wrote: >>> I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? >>> >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> booth 1-800-615-0867 >>> >>> ------------------------------------------------------ >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mailkeliko01 at gmail.com Tue Nov 12 23:33:00 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 13 Nov 2019 11:33:00 +0700 Subject: revigniter.com - Temporarily closed for maintenance purposes. Message-ID: Hello, I am new to the world of livecode. I found https://revigniter.com/ whether this framework can still be used for livecode projects? Thanks. RIko From tom at makeshyft.com Wed Nov 13 00:34:11 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 13 Nov 2019 00:34:11 -0500 Subject: revigniter.com - Temporarily closed for maintenance purposes. In-Reply-To: References: Message-ID: Hi Riko, welcome. THe site seems to work fine, no mention of anything being closed. I would say the road is clear. https://github.com/revig/revigniter is another place to check. everything seems fine there too. On Tue, Nov 12, 2019 at 11:34 PM Riko Abadi via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > I am new to the world of livecode. > I found https://revigniter.com/ whether this framework can still be used > for livecode projects? > > Thanks. > RIko > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From mailkeliko01 at gmail.com Tue Nov 12 19:22:01 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 13 Nov 2019 07:22:01 +0700 Subject: revigniter.com - Temporarily closed for maintenance purposes. In-Reply-To: References: Message-ID: Thanks Tom. Pada tanggal Rab, 13 Nov 2019 pukul 12.35 Tom Glod via use-livecode < use-livecode at lists.runrev.com> menulis: > Hi Riko, welcome. > > THe site seems to work fine, no mention of anything being closed. > > I would say the road is clear. > > https://github.com/revig/revigniter is another place to check. everything > seems fine there too. > > On Tue, Nov 12, 2019 at 11:34 PM Riko Abadi via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello, > > > > I am new to the world of livecode. > > I found https://revigniter.com/ whether this framework can still be used > > for livecode projects? > > > > Thanks. > > RIko > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 13 07:26:20 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 13 Nov 2019 13:26:20 +0100 Subject: Disappearing "column lables" of Datagrid In-Reply-To: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> References: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> Message-ID: <87893A0C-977C-4F75-827D-52FB4C33195A@major-k.de> Hi all, > Am 12.11.2019 um 17:59 schrieb Klaus major-k via use-livecode : > > Hi friends, > > what might cause the fact that in my datagrids on card 2 > the "column labels" disapear whenever I (re-)open that stack > > NO scripting involved so far, the labels are just gone!? > > "refreshline/refreshindex/refreshlist" does NOT work in a script. > I have to click "Refresh" in the inspector for these two datagrids > to make then appear again. This is driving me crazy! :-/ > > macOS 10.14.6, LC 9.0.5, same with LC 9.5. > Thanks for any hints. this is a real showstopper for my current project! :-/ Maybe someone knows what command(s) is/are hiding behind the "refresh" button in the inspector for a datagrid? Or where in the may behavior scripts I will find the answer? Clicking that button seems to be the only way to make the labels appear again. Thank you! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From rabit at revigniter.com Wed Nov 13 07:55:22 2019 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 13 Nov 2019 13:55:22 +0100 Subject: revigniter.com - Temporarily closed for maintenance purposes. In-Reply-To: References: Message-ID: Hi Riko, don?t know where the uncertainty comes from. May be because the official site was closed for maintenance purposes. Yesterday I happened to find out that the value of the $_GET variable has changed for some reason without any effort on my part. This caused a ?Page not found? error because the retrieval of the URI string was based on the $_GET variable. Fixed the issue by changing the URI protocol setting and everything is fine again. revIgniter is alive and kicking. In case you have any questions regarding revIgniter don?t hesitate to ask. I recommend to use the revIgniter discussion list: http://lists.livecodejournal.com/listinfo.cgi/revigniter-livecodejournal.com Ralf > On 13. Nov 2019, at 05:33, Riko Abadi via use-livecode wrote: > > Hello, > > I am new to the world of livecode. > I found https://revigniter.com/ whether this framework can still be used > for livecode projects? > > Thanks. > RIko From rabit at revigniter.com Wed Nov 13 08:05:01 2019 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 13 Nov 2019 14:05:01 +0100 Subject: revigniter.com - Temporarily closed for maintenance purposes. In-Reply-To: References: Message-ID: Sorry, I should have read the subject. So, of course the uncertainty comes from the closed site. Ralf > On 13. Nov 2019, at 13:55, Ralf Bitter via use-livecode wrote: > > Hi Riko, > > don?t know where the uncertainty comes from. May be because > the official site was closed for maintenance purposes. From bleiler at buffalo.edu Wed Nov 13 09:39:19 2019 From: bleiler at buffalo.edu (Bleiler, Timothy) Date: Wed, 13 Nov 2019 14:39:19 +0000 Subject: REST API's, JSON Web Tokens & Hash Algorithms In-Reply-To: <6006289d-2a23-99c5-0332-ad649ed65a9d@sonic.net> References: <0A843EEC-2FAA-44F1-802E-ADC0D3A839B6@buffalo.edu> <6006289d-2a23-99c5-0332-ad649ed65a9d@sonic.net> Message-ID: <05D8F6CD-8722-469B-A7F2-EE1DC5592C26@buffalo.edu> Thanks Mark, I have the Box account set up correctly and I can test things using the command line SDK provided by Box. Now I have to figure out the authorization process and how to construct the token in Livecode. I haven?t done anything like this before so it?s a slow process. I appreciate your help. Tim > On Nov 12, 2019, at 5:06 PM, Mark Wieder via use-livecode wrote: > > On 11/12/19 6:23 AM, Bleiler, Timothy via use-livecode wrote: >> Hi, >> I?ve seen some great presentations in the last few years from the conferences and Livecode Global sessions using Livecode to access REST API?s from web services, so I?m hoping someone can help me out here. >> I need to access a web service (Box.com) from my Livecode app using JSON web tokens. >> The service documentation states that they only support RS256, RS384, and RS512 for hashing the signature in the token. Unfortunately, in the 139 options and variations listed by the Livecode CipherNames function I don?t see these. >> Have I missed or misunderstood something or am I out of luck for using Livecode for this task? > > Box integration has been on my back burner for a while now, so I'll be very much interested in what you come up with here. > > Are you referring to the authorization step for the Box api? > If so, this might help... this should be a one-time thing, so I would just do this once at the command line by hand and then grab the existing key with LiveCode. > > ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key > openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub > > That will give you both the private and public keys to pass to the Box api. > > -- > 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 zryip.theslug at gmail.com Wed Nov 13 11:08:49 2019 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 13 Nov 2019 17:08:49 +0100 Subject: Disappearing "column lables" of Datagrid In-Reply-To: <87893A0C-977C-4F75-827D-52FB4C33195A@major-k.de> References: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> <87893A0C-977C-4F75-827D-52FB4C33195A@major-k.de> Message-ID: Hi Klaus, This should be "resetList" *send* "resetList" to grp "datagrid 1" Do you have a custom header script? You can check this by using this command: *put* the dgProp["default header behavior"] of grp "datagrid 1" Best Regards, On Wed, Nov 13, 2019 at 1:26 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > > Am 12.11.2019 um 17:59 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi friends, > > > > what might cause the fact that in my datagrids on card 2 > > the "column labels" disapear whenever I (re-)open that stack > > > > NO scripting involved so far, the labels are just gone!? > > > > "refreshline/refreshindex/refreshlist" does NOT work in a script. > > I have to click "Refresh" in the inspector for these two datagrids > > to make then appear again. This is driving me crazy! :-/ > > > > macOS 10.14.6, LC 9.0.5, same with LC 9.5. > > Thanks for any hints. > > this is a real showstopper for my current project! :-/ > > Maybe someone knows what command(s) is/are hiding behind the > "refresh" button in the inspector for a datagrid? > Or where in the may behavior scripts I will find the answer? > > Clicking that button seems to be the only way to make the labels appear > again. > > Thank you! > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Zryip TheSlug http://www.aslugontheroad.com From dunbarx at aol.com Wed Nov 13 11:11:29 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 13 Nov 2019 16:11:29 +0000 (UTC) Subject: Y coordinate for a line of text In-Reply-To: <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> Message-ID: <1806217206.2448025.1573661489360@mail.yahoo.com> The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed. Craig -----Original Message----- From: scott--- via use-livecode To: How to use LiveCode Cc: scott at elementarysoftware.com Sent: Tue, Nov 12, 2019 10:12 pm Subject: Re: Y coordinate for a line of text Thank you Craig and Paul. Your answers were what I was hoping for. Devin, it turned out that selectedLoc() was the easiest to implement. How did I not know about that function! Thanks! Scott Morrow Elementary Software (Now with 20% less chalk dust!) web? ? ? https://elementarysoftware.com/ email? ? scott at elementarysoftware.com booth? ? 1-800-615-0867 ------------------------------------------------------ > On Nov 12, 2019, at 8:46 AM, Devin Asay via use-livecode wrote: > > The selectedLoc function may also be helpful. > > >> On Nov 12, 2019, at 7:27 AM, Paul Dupuis via use-livecode wrote: >> >> You may want to look at the Dictionary entry for "measureText" >> >> >> On 11/12/2019 1:43 AM, scott--- via use-livecode wrote: >>> I?m needing to know the coordinate (Y is the tricky one) for a line of text. I?m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can?t locate it in the dictionary. Am I imagining? >>> >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web? ? ? https://elementarysoftware.com/ >>> email? ? scott at elementarysoftware.com >>> booth? ? 1-800-615-0867 >>> >>> ------------------------------------------------------ >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Nov 13 11:13:26 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 13 Nov 2019 17:13:26 +0100 Subject: Disappearing "column lables" of Datagrid In-Reply-To: References: <0F8D27E7-3576-4EEF-A8CA-E1F917DE8B7C@major-k.de> <87893A0C-977C-4F75-827D-52FB4C33195A@major-k.de> Message-ID: <8F0E047E-FCC3-4A0A-A706-0AC5305F5C34@major-k.de> Hi Zryip, > Am 13.11.2019 um 17:08 schrieb zryip theSlug via use-livecode : > > Hi Klaus, > > This should be "resetList" > *send* "resetList" to grp "datagrid 1" thank you, will try this. Five minutes later... Seems to work, muchas gracias! :-) > Do you have a custom header script? You can check this by using this > command: > *put* the dgProp["default header behavior"] of grp "datagrid 1" No header scripts involved. > Best Regards, > > On Wed, Nov 13, 2019 at 1:26 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >>> Am 12.11.2019 um 17:59 schrieb Klaus major-k via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi friends, >>> >>> what might cause the fact that in my datagrids on card 2 >>> the "column labels" disapear whenever I (re-)open that stack >>> >>> NO scripting involved so far, the labels are just gone!? >>> >>> "refreshline/refreshindex/refreshlist" does NOT work in a script. >>> I have to click "Refresh" in the inspector for these two datagrids >>> to make then appear again. This is driving me crazy! :-/ >>> >>> macOS 10.14.6, LC 9.0.5, same with LC 9.5. >>> Thanks for any hints. >> >> this is a real showstopper for my current project! :-/ >> >> Maybe someone knows what command(s) is/are hiding behind the >> "refresh" button in the inspector for a datagrid? >> Or where in the may behavior scripts I will find the answer? >> >> Clicking that button seems to be the only way to make the labels appear >> again. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ahsoftware at sonic.net Wed Nov 13 11:19:17 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 13 Nov 2019 08:19:17 -0800 Subject: Y coordinate for a line of text In-Reply-To: <1806217206.2448025.1573661489360@mail.yahoo.com> References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> <1806217206.2448025.1573661489360@mail.yahoo.com> Message-ID: <101230e2-3be0-98a2-9d14-904bbf3680e5@sonic.net> On 11/13/19 8:11 AM, dunbarx--- via use-livecode wrote: > The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed. localLoc() -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Wed Nov 13 12:10:08 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 13 Nov 2019 17:10:08 +0000 (UTC) Subject: Y coordinate for a line of text In-Reply-To: <101230e2-3be0-98a2-9d14-904bbf3680e5@sonic.net> References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> <1806217206.2448025.1573661489360@mail.yahoo.com> <101230e2-3be0-98a2-9d14-904bbf3680e5@sonic.net> Message-ID: <50034518.2494179.1573665008356@mail.yahoo.com> Mark, Yep, that will do the translation. But I am no longer sure what the OP originally wanted. OP? Craig -----Original Message----- From: Mark Wieder via use-livecode To: dunbarx--- via use-livecode Cc: Mark Wieder Sent: Wed, Nov 13, 2019 11:20 am Subject: Re: Y coordinate for a line of text On 11/13/19 8:11 AM, dunbarx--- via use-livecode wrote: > The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed. localLoc() -- ? Mark Wieder ? ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 13 15:02:28 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Nov 2019 14:02:28 -0600 Subject: Y coordinate for a line of text In-Reply-To: <1806217206.2448025.1573661489360@mail.yahoo.com> References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> <1806217206.2448025.1573661489360@mail.yahoo.com> Message-ID: <414ffdc9-d6ab-bc36-c169-7e36f0e544c7@hyperactivesw.com> On 11/13/19 10:11 AM, dunbarx--- via use-livecode wrote: > The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed. > Craig SelectedLoc uses local (card) coordinates, not screen coordinates. It does not give coordinates relative to the field itself though, as you said. It doesn't matter where the stack is placed on screen since the coordinates are based on the topleft of the card. I've used it for aligning other controls, like a semi-transparent field to simulate "dragging" a line of text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Nov 13 16:16:16 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Nov 2019 13:16:16 -0800 Subject: Commands on server and lack of examples In-Reply-To: References: Message-ID: <6fe72ebf-cfa8-4c0c-2d05-d0137014cd57@fourthworld.com> JJS wrote: > Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: >> Unless you are doing a HTML5 app (entire stack resides in a web >> page), none of the GUI stuff applies. The LC code is pretty much >> a replacement for PHP code, so the GUI piece would be the same >> (whatever HTML/JS frameworks you choose). > > So actually the Dictionary needs some updates of stuff that is not an > error but also doing nothing when used on server. GUI elements can be useful in LC Server for creating custom screen shots, which can be exported and that file data returned to the client for display in a browser or an LC app. That's the good news. That bad news is that 100% of all LC Server use is slower than it needs to be because it's initializing fonts for the 0.001% of CGIs using custom graphics export with specified fonts. I've discussed the situation with several people at LC Ltd, and while they're not in a position to put a solution in place right now they are quite open to accepting a pull request for it, which should be a relatively simple matter for anyone with C++ skills. I've outlined the problem and the proposed solution in detail here: http://lists.runrev.com/pipermail/use-livecode/2019-March/253723.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 tfabacher at gmail.com Wed Nov 13 17:24:02 2019 From: tfabacher at gmail.com (Todd Fabacher) Date: Wed, 13 Nov 2019 17:24:02 -0500 Subject: unable to locate the play service dependency base version 9.4.0 Message-ID: In 9.5 stable I have added the Android barcode widget. With that and a button just to test it. But when I try and compile I get an error message: unable to locate the play service dependency base version 9.4.0 Am I missing something? - Any help would be appreciated. I am under the gun and I need to get barcode working on Android. --Todd From mailkeliko01 at gmail.com Wed Nov 13 15:59:11 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Thu, 14 Nov 2019 03:59:11 +0700 Subject: revigniter.com - Temporarily closed for maintenance purposes. In-Reply-To: References: Message-ID: Sory Ralf. I thought the revigniter site was closed but now I know it's just for maintenance. Thanks made revigniter come back to life. Pada tanggal Rab, 13 Nov 2019 pukul 20.05 Ralf Bitter via use-livecode < use-livecode at lists.runrev.com> menulis: > Sorry, I should have read the subject. So, of course > the uncertainty comes from the closed site. > > Ralf > > > On 13. Nov 2019, at 13:55, Ralf Bitter via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Riko, > > > > don?t know where the uncertainty comes from. May be because > > the official site was closed for maintenance purposes. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Nov 14 03:28:13 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 14 Nov 2019 10:28:13 +0200 Subject: unable to locate the play service dependency base version 9.4.0 In-Reply-To: References: Message-ID: Hello Todd, You need to install some extra libraries using the SDK Manager. These libraries are usually installed by default, but if not, you have to do it manually. So the required dependency is the "Google Repository" package (in the "Extras" folder), and NOT the "Google Play services" package as one would have thought. See https://ibb.co/Br0Hnx0 Hope this helps. Panos -- On Thu, 14 Nov 2019 at 00:25, Todd Fabacher via use-livecode < use-livecode at lists.runrev.com> wrote: > In 9.5 stable I have added the Android barcode widget. With that and a > button just to test it. But when I try and compile I get an error > message: > > unable to locate the play service dependency base version 9.4.0 > > Am I missing something? - Any help would be appreciated. I am under > the gun and I need to get barcode working on Android. > > --Todd > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roland.huettmann at gmail.com Thu Nov 14 07:44:36 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 14 Nov 2019 13:44:36 +0100 Subject: Decoding "quoted-printable" -- Help needed -- Solved Message-ID: For those interested: With the help of a privately received message hinting at a solution used prior to LC7 I was able to construct the required functions for LC 7 and above. I must say that I am not really aware of all the many functions LiveCode presents, I did not even know about baseConvert() before doing a lot of research. I guess, each of us must go through all the commands and functions LC provides and study them. It is difficult to find when not knowing how and what to search for. Also, I had to try to understand what codepoints are. Here I am not using the actual quoted-printable format of codepoints in Hex presentation each with a equal sign "=" as a prefix. That is easy to retrieve or construct using LiveCode chunk expressions. Instead I am using comma delimited items. // The encoding priot to LC7 according to Mark (still works even today) -- put unidecode(uniencode("e","english"),"UTF8") into x -- put chartonum(char 1 of x) && chartonum(char 2 of x) into y // Encoding and decoding UTF-8 for quoted-printable chars (as they may appear in certain e-mail parts) set the itemdelimiter to "," put "?" into tChar -- Using the Euro symbol which is encoded with 3 codepoints (there can be up to 4 for quoted-printable). // Encode a UTF-8 character to a quoted-printable ASCII encoding put textEncode( tChar ,"UTF-8") into tCodedChar repeat for each codePoint tCodePoint in tCodedChar put BaseConvert ( codePointToNum (tCodePoint) , 10 , 16 ) &"," after tEncoded end repeat delete last char of tEncoded put tEncoded &CR into msg -- just for testing // Decode a quoted-printable ASCII string to UTF-8 put empty into tDecoded repeat for each item tItem in tEncoded put numToCodePoint ( BaseConvert ( tItem , 16, 10 ) ) after tDecoded end repeat put textDecode (tDecoded , "UTF-8") after msg -- just for testing // Result in message box -- E2,201A,AC -- In actual quoted-printable that would be: "=E2=201A=AC" and our items must be converted accordingly -- ? Roland From dunbarx at aol.com Thu Nov 14 12:42:39 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 14 Nov 2019 17:42:39 +0000 (UTC) Subject: Y coordinate for a line of text In-Reply-To: <101230e2-3be0-98a2-9d14-904bbf3680e5@sonic.net> References: <6a7a6d50-eaf5-b957-f834-ed7dc7dc0c4f@researchware.com> <111149DA-3F2D-4141-A52A-036F580BE997@elementarysoftware.com> <1806217206.2448025.1573661489360@mail.yahoo.com> <101230e2-3be0-98a2-9d14-904bbf3680e5@sonic.net> Message-ID: <1576163208.199946.1573753359308@mail.yahoo.com> I misStated this completely. The point being that no property of the field itself should be a factor at all, not its loc or rect, for example. Only the Y value of the selectedLine is pertinent. Glad you have what you need, but I still do not see the value of the selectedLoc. This depends on the loc of the field, and otherwise has no relationship to the field itself, that is, the Y coordinate within that field. Craig -----Original Message----- From: Mark Wieder via use-livecode To: dunbarx--- via use-livecode Cc: Mark Wieder Sent: Wed, Nov 13, 2019 11:20 am Subject: Re: Y coordinate for a line of text On 11/13/19 8:11 AM, dunbarx--- via use-livecode wrote: > The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed. localLoc() -- ? 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 mailkeliko01 at gmail.com Thu Nov 14 12:54:20 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Fri, 15 Nov 2019 00:54:20 +0700 Subject: Push notification to all user Message-ID: Hello, can i send notifications to all users of our application? in this tutorial, http://lessons.livecode.com/m/4069/l/59312-how-do-i-use-push-notifications-with-android only sent to certain devices. I want to send notifications to all users of my application. is that possible? if yes, how to do it? Thank you, Riko From jjs at krutt.org Thu Nov 14 13:05:27 2019 From: jjs at krutt.org (JJS) Date: Thu, 14 Nov 2019 19:05:27 +0100 Subject: unable to locate the play service dependency base version 9.4.0 In-Reply-To: References: Message-ID: Thanks Panos, someone on the forum had the same issues. regards, Jerry Op 14-11-2019 om 09:28 schreef panagiotis merakos via use-livecode: > Hello Todd, > > You need to install some extra libraries using the SDK Manager. These > libraries are usually installed by default, but if not, you have to do it > manually. > > So the required dependency is the "Google Repository" package (in the > "Extras" folder), and NOT the "Google Play services" package as one would > have thought. > > See https://ibb.co/Br0Hnx0 > > Hope this helps. > Panos > -- > > > On Thu, 14 Nov 2019 at 00:25, Todd Fabacher via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> In 9.5 stable I have added the Android barcode widget. With that and a >> button just to test it. But when I try and compile I get an error >> message: >> >> unable to locate the play service dependency base version 9.4.0 >> >> Am I missing something? - Any help would be appreciated. I am under >> the gun and I need to get barcode working on Android. >> >> --Todd >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Thu Nov 14 13:17:28 2019 From: jjs at krutt.org (JJS) Date: Thu, 14 Nov 2019 19:17:28 +0100 Subject: Commands on server and lack of examples In-Reply-To: <6fe72ebf-cfa8-4c0c-2d05-d0137014cd57@fourthworld.com> References: <6fe72ebf-cfa8-4c0c-2d05-d0137014cd57@fourthworld.com> Message-ID: Thanks, that was an interesting read. Unfortunately i have zero C++ skills Regards, Jerry Op 13-11-2019 om 22:16 schreef Richard Gaskin via use-livecode: > JJS wrote: > > Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: > >> Unless you are doing a HTML5 app (entire stack resides in a web > >> page), none of the GUI stuff applies.? The LC code is pretty much > >> a replacement for PHP code, so the GUI piece would be the same > >> (whatever HTML/JS frameworks you choose). > > > > So actually the Dictionary needs some updates of stuff that is not an > > error but also doing nothing when used on server. > > GUI elements can be useful in LC Server for creating custom screen > shots, which can be exported and that file data returned to the client > for display in a browser or an LC app. > > That's the good news. > > That bad news is that 100% of all LC Server use is slower than it > needs to be because it's initializing fonts for the 0.001% of CGIs > using custom graphics export with specified fonts. > > I've discussed the situation with several people at LC Ltd, and while > they're not in a position to put a solution in place right now they > are quite open to accepting a pull request for it, which should be a > relatively simple matter for anyone with C++ skills. > > I've outlined the problem and the proposed solution in detail here: > > http://lists.runrev.com/pipermail/use-livecode/2019-March/253723.html > > From jjs at krutt.org Thu Nov 14 13:24:22 2019 From: jjs at krutt.org (JJS) Date: Thu, 14 Nov 2019 19:24:22 +0100 Subject: Push notification to all user In-Reply-To: References: Message-ID: Hi, that lesson is major out of date. You need to use FCM and you can put multiple tokens behind each other in a JSON like string. Or you can send to all tokens one by one, like reading stored tokens from your DB via a repeat loop. Op 14-11-2019 om 18:54 schreef Riko Abadi via use-livecode: > Hello, > > can i send notifications to all users of our application? > in this tutorial, > http://lessons.livecode.com/m/4069/l/59312-how-do-i-use-push-notifications-with-android > only sent to certain devices. > I want to send notifications to all users of my application. > is that possible? if yes, how to do it? > > > Thank you, > > Riko > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mailkeliko01 at gmail.com Thu Nov 14 13:30:13 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Fri, 15 Nov 2019 01:30:13 +0700 Subject: Push notification to all user In-Reply-To: References: Message-ID: Thanks JJ, I got the logic. now i try to apply it in livecode. Pada tanggal Jum, 15 Nov 2019 pukul 01.24 JJS via use-livecode < use-livecode at lists.runrev.com> menulis: > Hi, > > > that lesson is major out of date. > > You need to use FCM and you can put multiple tokens behind each other in > a JSON like string. > > Or you can send to all tokens one by one, like reading stored tokens > from your DB via a repeat loop. > > > Op 14-11-2019 om 18:54 schreef Riko Abadi via use-livecode: > > Hello, > > > > can i send notifications to all users of our application? > > in this tutorial, > > > http://lessons.livecode.com/m/4069/l/59312-how-do-i-use-push-notifications-with-android > > only sent to certain devices. > > I want to send notifications to all users of my application. > > is that possible? if yes, how to do it? > > > > > > Thank you, > > > > Riko > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 14 13:36:28 2019 From: brian at milby7.com (Brian Milby) Date: Thu, 14 Nov 2019 13:36:28 -0500 Subject: Commands on server and lack of examples In-Reply-To: References: <6fe72ebf-cfa8-4c0c-2d05-d0137014cd57@fourthworld.com> Message-ID: <70c26b06-5739-4b99-b558-d938cba7579a@Spark> Although the concept of the change is simple, the implementation is not trivial. ?It may not be that hard for a Mark, but it does look a little involved to me. ?The code that does the font stuff isn?t easy to just cut out since so much later depends on those structures being populated. ?It may be possible to stub it out where a single static font is loaded, but I?m talking way above my head at this point. Thanks, Brian On Nov 14, 2019, 1:18 PM -0500, JJS via use-livecode , wrote: > Thanks, that was an interesting read. > > Unfortunately i have zero C++ skills > > > Regards, > > Jerry > > Op 13-11-2019 om 22:16 schreef Richard Gaskin via use-livecode: > > JJS wrote: > > > Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: > > > > Unless you are doing a HTML5 app (entire stack resides in a web > > > > page), none of the GUI stuff applies.? The LC code is pretty much > > > > a replacement for PHP code, so the GUI piece would be the same > > > > (whatever HTML/JS frameworks you choose). > > > > > > So actually the Dictionary needs some updates of stuff that is not an > > > error but also doing nothing when used on server. > > > > GUI elements can be useful in LC Server for creating custom screen > > shots, which can be exported and that file data returned to the client > > for display in a browser or an LC app. > > > > That's the good news. > > > > That bad news is that 100% of all LC Server use is slower than it > > needs to be because it's initializing fonts for the 0.001% of CGIs > > using custom graphics export with specified fonts. > > > > I've discussed the situation with several people at LC Ltd, and while > > they're not in a position to put a solution in place right now they > > are quite open to accepting a pull request for it, which should be a > > relatively simple matter for anyone with C++ skills. > > > > I've outlined the problem and the proposed solution in detail here: > > > > http://lists.runrev.com/pipermail/use-livecode/2019-March/253723.html > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Nov 12 11:23:06 2019 From: hh at hyperhh.de (hh) Date: Tue, 12 Nov 2019 17:23:06 +0100 Subject: Y coordinate for a line of text Message-ID: > I?m needing to know the coordinate (Y is the tricky one) for a line of text... the selectedLoc if you need the rectangle use additionally measureText or measureUnicodeText From williamdesmet at gmail.com Thu Nov 14 13:59:32 2019 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 14 Nov 2019 19:59:32 +0100 Subject: New app update: four errors in plist Message-ID: Hi there, Today I uploaded an update for one of my apps to the App Store. Now I have four errors coming back from Apple. Still need to edit the info.plist but it'd easy to make a mistake with this. When will this be fixed? ----- Got this notification back: ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that will soon be unsupported. Remove the key, rebuild your app and resubmit. ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1 . ITMS-90191: Missing beta entitlement - Your app does not include the beta-reports-active entitlement. If you intend to distribute this build via TestFlight for beta testing, please re-build this app with an App Store Distribution provisioning profile. Do not use ad-hoc profiles. ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more ( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy ). ----- Greetings, William From ambassador at fourthworld.com Thu Nov 14 14:10:45 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Nov 2019 11:10:45 -0800 Subject: Commands on server and lack of examples In-Reply-To: <70c26b06-5739-4b99-b558-d938cba7579a@Spark> References: <70c26b06-5739-4b99-b558-d938cba7579a@Spark> Message-ID: Thanks for looking into this, Brian. My understanding of the team's approval of this IF addition is that anyone adding "-f" to their call invoking a faceless LC engine assumes responsibility if that breaks anything else they try to invoke later. Down the road, the team would like to use "lazy font initialization", described in that bug report in Peter Brett's comments. This addition of a command line flag is merely a stop-gap, a way to allow LC's natural efficiencies at so many tasks needed for CGI work to run unimpeded by the mostly-unused overhead of loading fonts. Given the potential for LC, with its glorious chunk expressions, to one day rival Ruby and Python for CGI tasks, I hate to see adoption inhibited by needless resource consumption. -- Richard Gaskin Fourth World Systems Brian Milby wrote: > Although the concept of the change is simple, the implementation is not trivial. It may not be that hard for a Mark, but it does look a little involved to me. The code that does the font stuff isn?t easy to just cut out since so much later depends on those structures being populated. It may be possible to stub it out where a single static font is loaded, but I?m talking way above my head at this point. > > Thanks, > Brian > On Nov 14, 2019, 1:18 PM -0500, JJS via use-livecode , wrote: >> Thanks, that was an interesting read. >> >> Unfortunately i have zero C++ skills >> >> >> Regards, >> >> Jerry >> >> Op 13-11-2019 om 22:16 schreef Richard Gaskin via use-livecode: >> > JJS wrote: >> > > Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode: >> > > > Unless you are doing a HTML5 app (entire stack resides in a web >> > > > page), none of the GUI stuff applies. The LC code is pretty much >> > > > a replacement for PHP code, so the GUI piece would be the same >> > > > (whatever HTML/JS frameworks you choose). >> > > >> > > So actually the Dictionary needs some updates of stuff that is not an >> > > error but also doing nothing when used on server. >> > >> > GUI elements can be useful in LC Server for creating custom screen >> > shots, which can be exported and that file data returned to the client >> > for display in a browser or an LC app. >> > >> > That's the good news. >> > >> > That bad news is that 100% of all LC Server use is slower than it >> > needs to be because it's initializing fonts for the 0.001% of CGIs >> > using custom graphics export with specified fonts. >> > >> > I've discussed the situation with several people at LC Ltd, and while >> > they're not in a position to put a solution in place right now they >> > are quite open to accepting a pull request for it, which should be a >> > relatively simple matter for anyone with C++ skills. >> > >> > I've outlined the problem and the proposed solution in detail here: >> > >> > http://lists.runrev.com/pipermail/use-livecode/2019-March/253723.html >> > From roland.huettmann at gmail.com Thu Nov 14 14:41:22 2019 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 14 Nov 2019 20:41:22 +0100 Subject: Decoding "quoted-printable" -- Help needed -- Reopened Message-ID: Oh, sorry, I was too quick declaring a solution. Even though the code of the function works fine, the result also converts back, but the "quoted-printable" or "UTF-8" code expects that each codepoint is encoded in Hex with just two ASCII letters representing a codepoint. For example, for the Euro symbol "?" we have three codepoints. The function below converts to "=E2=201A=AC" while it must be "=E2=82=AC". The "=" sign is just a delimiter in quoted-printable. Now, I do not know what is wrong in my thinking as I am not getting quite the same results. (The result is ok for other symbols such as '?'.) EXAMPLE: put "?" into tChar // First encode to UTF-8: put textEncode(tChar,"UTF-8") into tCodedChar // Repeat for each codepoint in the UTF-8 char repeat for each codePoint tCodePoint in tCodedChar // Encode each codepoint to its integer expression and convert to Hex value: put "="& BaseConvert ( codePointToNum (tCodePoint) , 10 , 16 ) after tEncoded end repeat put tEncoded into field "Show Codepoints" -- Expected ASCII representing Hex numbers -- Result: "=E2=201A=AC" -- Instead of "=E2=82=AC" , but valid and working. The actual "correct" UTF-8 result can be tested here: http://www.endmemo.com/unicode/unicodeconverter.php What am I missing? Thanks a lot Roland From rdimola at evergreeninfo.net Thu Nov 14 16:05:30 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 14 Nov 2019 16:05:30 -0500 Subject: New app update: four errors in plist In-Reply-To: References: Message-ID: <009a01d59b2f$41ec21a0$c5c464e0$@net> ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on suspend. You need this key for legacy OS versions. You will not be rejected for this(yet). ITMS-90078: will also not get you rejected. This is caused by some library binding issue that Mark explained a while back. ITMS-90191: Also a warning. This is for Beta testing. You can enable the beta entitlement when generating a provisioning profile. ITMS-90683: This is the one that will get you rejected. For example if you use location services you will have to hack the IDE to change the text of the location request text. This can be a pain because you have to do it every time the IDE is started. What I do: 1) In the message box ==> "put the script of "revSaveAsIosStandalone" into url ("File://somePath/someFilename") 2) Edit the text file(See QCC 22150) After that every time you want to submit to the app store do this in the message box ==> set the script of "revSaveAsIosStandalone" to url ("File://somePath/someFilename") Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of William de Smet via use-livecode Sent: Thursday, November 14, 2019 2:00 PM To: How to use LiveCode Cc: William de Smet Subject: New app update: four errors in plist Hi there, Today I uploaded an update for one of my apps to the App Store. Now I have four errors coming back from Apple. Still need to edit the info.plist but it'd easy to make a mistake with this. When will this be fixed? ----- Got this notification back: ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that will soon be unsupported. Remove the key, rebuild your app and resubmit. ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r ef/doc/uid/TP40008194-CH6-SW1 . ITMS-90191: Missing beta entitlement - Your app does not include the beta-reports-active entitlement. If you intend to distribute this build via TestFlight for beta testing, please re-build this app with an App Store Distribution provisioning profile. Do not use ad-hoc profiles. ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more ( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user _s_privacy ). ----- Greetings, William _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Thu Nov 14 16:09:32 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 14 Nov 2019 13:09:32 -0800 Subject: Commands on server and lack of examples In-Reply-To: <70c26b06-5739-4b99-b558-d938cba7579a@Spark> References: <6fe72ebf-cfa8-4c0c-2d05-d0137014cd57@fourthworld.com> <70c26b06-5739-4b99-b558-d938cba7579a@Spark> Message-ID: On 11/14/19 10:36 AM, Brian Milby via use-livecode wrote: > Although the concept of the change is simple, the implementation is not trivial. ?It may not be that hard for a Mark, but it does look a little involved to me. ?The code that does the font stuff isn?t easy to just cut out since so much later depends on those structures being populated. ?It may be possible to stub it out where a single static font is loaded, but I?m talking way above my head at this point. (different Mark here, but...) Having looked into this a bit previously, it's somewhat more involved even than that. There a interlocking pieces among (at least) libskia, libcairo, and libharfbuzz, all of which jostle each other to make sure there is a complete list of fonts available in the native system. I haven't yet seen a way to change this behavior without modifying the third-party libraries themselves. I believe the problem Richard is referring to (RG: correct me if I'm wrong about this) is that on startup the engine (and this includes the server engine) queries the system for the various places where fonts might be stored, then iterates through the list of locations and makes a list of all the available fonts on the computer *and* the alternates for the fonts it might need for display. I also see the libraries launched again for every extension loaded by the system. -- Mark Wieder ahsoftware at gmail.com From roland.huettmann at gmail.com Thu Nov 14 18:12:10 2019 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 15 Nov 2019 00:12:10 +0100 Subject: Decoding "quoted-printable" -- Help needed -- Reopened - Solved 2nd In-Reply-To: References: Message-ID: I am very sorry that I am overstressing this list. I keep on answering my own questions. The function needs to address bytes. I found this looking at some similar C# code: # Code snippet from C# # Source: https://stackoverflow.com/questions/32083334/consecutive-control-characters-in-quoted-printable-not-decoding-correctly --- string sHex = input; sHex = sHex.Substring(i + 1, 2); int hex = Convert.ToInt32(sHex, 16); byte b = Convert.ToByte(hex); output.Add(b); i += 3; --- I oversaw that the value must be a byte value. Anyway, that is all new to me. So, the correct and tested converting to and from "quoted-printable" with encoded UTF8 in LiveCode >7 is: --- local tChar local tItem local tCodedChar local tCodePoint local tEncoded local tDecoded set the itemdelimiter to "=" // ENCODE EXAMPLE put "?" into tChar put textEncode ( tChar , "UTF-8" ) into tCodedChar repeat for each codePoint tCodePoint in tCodedChar put "="& baseConvert ( byteToNum ( tCodePoint ) , 10 , 16 ) after tEncoded end repeat put tEncoded into msg ---> "=E2=82=AC" - the quoted-printable UFT-8 encoding of the Euro symbol "?" // DECODE EXAMPLE put "=E2=82=AC" into tEncoded delete char 1 of tEncoded repeat for each item tItem in tEncoded put numToByte ( BaseConvert ( tItem , 16 , 10 ) ) after tDecoded end repeat put textDecode ( tDecoded , "UTF-8" ) into msg --> the Euro symbol "?" --- Thanks to all. Given a bit of time, I will post a solution for UTF8 quoted-printable encoded E-Mail blocks of text in the Forum. Roland --- Am Do., 14. Nov. 2019 um 20:41 Uhr schrieb R.H. : > > Oh, sorry, I was too quick declaring a solution. > > Even though the code of the function works fine, the result also converts back, but the "quoted-printable" or "UTF-8" code expects that each codepoint is encoded in Hex with just two ASCII letters representing a codepoint. > > For example, for the Euro symbol "?" we have three codepoints. > The function below converts to "=E2=201A=AC" while it must be "=E2=82=AC". > The "=" sign is just a delimiter in quoted-printable. > > Now, I do not know what is wrong in my thinking as I am not getting quite the same results. > (The result is ok for other symbols such as '?'.) > > EXAMPLE: > > put "?" into tChar > // First encode to UTF-8: > put textEncode(tChar,"UTF-8") into tCodedChar > // Repeat for each codepoint in the UTF-8 char > repeat for each codePoint tCodePoint in tCodedChar > // Encode each codepoint to its integer expression and convert to Hex value: > put "="& BaseConvert ( codePointToNum (tCodePoint) , 10 , 16 ) after tEncoded > end repeat > put tEncoded into field "Show Codepoints" -- Expected ASCII representing Hex numbers > -- Result: "=E2=201A=AC" -- Instead of "=E2=82=AC" , but valid and working. > > The actual "correct" UTF-8 result can be tested here: http://www.endmemo.com/unicode/unicodeconverter.php > > What am I missing? > > Thanks a lot > Roland From jacque at hyperactivesw.com Thu Nov 14 20:06:52 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Nov 2019 19:06:52 -0600 Subject: New app update: four errors in plist In-Reply-To: <009a01d59b2f$41ec21a0$c5c464e0$@net> References: <009a01d59b2f$41ec21a0$c5c464e0$@net> Message-ID: <16e6c986508.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Is the location key included in the plist if you don't select location services in standalone settings? (I haven't built for iOS in a long time.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode wrote: > ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on > suspend. You need this key for legacy OS versions. You will not be rejected > for this(yet). > ITMS-90078: will also not get you rejected. This is caused by some library > binding issue that Mark explained a while back. > ITMS-90191: Also a warning. This is for Beta testing. You can enable the > beta entitlement when generating a provisioning profile. > ITMS-90683: This is the one that will get you rejected. For example if you > use location services you will have to hack the IDE to change the text of > the location request text. This can be a pain because you have to do it > every time the IDE is started. What I do: > 1) In the message box ==> "put the script of "revSaveAsIosStandalone" into > url ("File://somePath/someFilename") > 2) Edit the text file(See QCC 22150) > > After that every time you want to submit to the app store do this in the > message box ==> set the script of "revSaveAsIosStandalone" to url > ("File://somePath/someFilename") > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of William de Smet via use-livecode > Sent: Thursday, November 14, 2019 2:00 PM > To: How to use LiveCode > Cc: William de Smet > Subject: New app update: four errors in plist > > Hi there, > > Today I uploaded an update for one of my apps to the App Store. > Now I have four errors coming back from Apple. > Still need to edit the info.plist but it'd easy to make a mistake with this. > When will this be fixed? > > ----- > Got this notification back: > ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key > 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that > will soon be unsupported. Remove the key, rebuild your app and resubmit. > > ITMS-90078: Missing Push Notification Entitlement - Your app appears to > register with the Apple Push Notification service, but the app signature's > entitlements do not include the "aps-environment" entitlement. If your app > uses the Apple Push Notification service, make sure your App ID is enabled > for Push Notification in the Provisioning Portal, and resubmit after signing > your app with a Distribution provisioning profile that includes the > "aps-environment" entitlement. Xcode does not automatically copy the > aps-environment entitlement from provisioning profiles at build time. This > behavior is intentional. To use this entitlement, either enable Push > Notifications in the project editor's Capabilities pane, or manually add the > entitlement to your entitlements file. For more information, see > https://developer.apple.com/library/content/documentation/NetworkingInternet > /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r > ef/doc/uid/TP40008194-CH6-SW1 > . > > ITMS-90191: Missing beta entitlement - Your app does not include the > beta-reports-active entitlement. If you intend to distribute this build via > TestFlight for beta testing, please re-build this app with an App Store > Distribution provisioning profile. Do not use ad-hoc profiles. > > ITMS-90683: Missing Purpose String in Info.plist - Your app's code > references one or more APIs that access sensitive user data. The app's > Info.plist file should contain a NSLocationAlwaysUsageDescription key with a > user-facing purpose string explaining clearly and completely why your app > needs the data. Starting Spring 2019, all apps submitted to the App Store > that access user data are required to include a purpose string. If you're > using external libraries or SDKs, they may reference APIs that require a > purpose string. While your app might not use these APIs, a purpose string is > still required. You can contact the developer of the library or SDK and > request they release a version of their code that doesn't contain the APIs. > Learn more ( > https://developer.apple.com/documentation/uikit/core_app/protecting_the_user > _s_privacy > ). > ----- > > Greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Nov 14 20:47:15 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Nov 2019 20:47:15 -0500 Subject: Commands on server and lack of examples Message-ID: <7bd7058dbf764a241405f18c2238faed@fourthworld.com> Mark Wieder wrote: > Having looked into this a bit previously, it's somewhat more involved > even than that. There a interlocking pieces among (at least) libskia, > libcairo, and libharfbuzz, all of which jostle each other to make sure > there is a complete list of fonts available in the native system. I > haven't yet seen a way to change this behavior without modifying the > third-party libraries themselves. Are those libraries loaded from code, or from something in the make file? > I believe the problem Richard is referring to (RG: correct me if I'm > wrong about this) is that on startup the engine (and this includes the > server engine) queries the system for the various places where fonts > might be stored, then iterates through the list of locations and makes > a list of all the available fonts on the computer *and* the alternates > for the fonts it might need for display. I also see the libraries > launched > again for every extension loaded by the system. Wow. Even worse than I'd thought. LC Server is such a wonderful tool, I feel it could provide a great way to introduce other devs to chunk expressions and more. But after that experience on a popular shared host that couldn't handle LC's resource usage, I began to feel dismayed by the prospects. If we can't find a solution in the engine, at least we have a workaround with a custom font config file. But it's so many extra steps to set that up it rather kills the joy of LC's simplicity. -- 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 Thu Nov 14 21:45:42 2019 From: brian at milby7.com (Brian Milby) Date: Thu, 14 Nov 2019 21:45:42 -0500 Subject: resizeControl message for groups Message-ID: I'm thinking this may be a documentation bug, but wanted to check before submitting. I know that resizeControl is sent to a group when the size is updated by script (for other controls, the message is only generated when manually resized by dragging handles). The documentation for the message doesn't mention groups at all. I was sure I read it somewhere but I can't find the source now. Does anyone know where this is documented? ... visit to Bugzilla ... Ok, I see a couple of entries already. The second one below seems to identify the documentation bug by itself. That one should be pretty easy to address based on the comments already included there. https://quality.livecode.com/show_bug.cgi?id=15339 https://quality.livecode.com/show_bug.cgi?id=17118 But I was sure that I read about it somewhere else... Thanks, Brian From ahsoftware at sonic.net Thu Nov 14 22:01:00 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 14 Nov 2019 19:01:00 -0800 Subject: Commands on server and lack of examples In-Reply-To: <7bd7058dbf764a241405f18c2238faed@fourthworld.com> References: <7bd7058dbf764a241405f18c2238faed@fourthworld.com> Message-ID: <302c3e84-9a3b-6df5-adaf-6f01c8a43926@sonic.net> On 11/14/19 5:47 PM, Richard Gaskin via use-livecode wrote: > Wow. Even worse than I'd thought. > > LC Server is such a wonderful tool, I feel it could provide a great way > to introduce other devs to chunk expressions and more.? But after that > experience on a popular shared host that couldn't handle LC's resource > usage, I began to feel dismayed by the prospects. > > If we can't find a solution in the engine, at least we have a workaround > with a custom font config file. But it's so many extra steps to set that > up it rather kills the joy of LC's simplicity. > I forgot to mention libgraphite, which is loaded by default by libharfbuzz. FWIW, the following 242 font files are checked (open file, read a few bytes from start of file, close file) on my linux system for each server transaction. This in spite of my executing a simple "hello world" script that uses NO fonts: /etc/fonts/fonts.conf /etc/fonts/conf.d /etc/fonts/conf.d/10-hinting-slight.conf /etc/fonts/conf.d/10-scale-bitmap-fonts.conf /etc/fonts/conf.d/11-lcdfilter-default.conf /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf /etc/fonts/conf.d/20-unhint-small-vera.conf /etc/fonts/conf.d/30-metric-aliases.conf /etc/fonts/conf.d/30-opensymbol.conf /etc/fonts/conf.d/40-nonlatin.conf /etc/fonts/conf.d/45-generic.conf /etc/fonts/conf.d/45-latin.conf /etc/fonts/conf.d/49-sansserif.conf /etc/fonts/conf.d/50-user.conf /home/mwieder/.config/fontconfig/conf.d /home/mwieder/.config/fontconfig/fonts.conf /home/mwieder/.config/font-manager/conf.d /home/mwieder/.config/font-manager/directories.conf /home/mwieder/.config/font-manager/local.conf /home/mwieder/.config/font-manager/select.conf /home/mwieder/.fonts.conf.d /home/mwieder/.fonts.conf /etc/fonts/conf.d/51-local.conf /etc/fonts/local.conf /etc/fonts/conf.d/57-dejavu-sans-mono.conf /etc/fonts/conf.d/57-dejavu-sans.conf /etc/fonts/conf.d/57-dejavu-serif.conf /etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf /etc/fonts/conf.d/58-dejavu-lgc-sans.conf /etc/fonts/conf.d/58-dejavu-lgc-serif.conf /etc/fonts/conf.d/59-lohit-devanagari.conf /etc/fonts/conf.d/60-generic.conf /etc/fonts/conf.d/60-latin.conf /etc/fonts/conf.d/64-01-tlwg-kinnari.conf /etc/fonts/conf.d/64-02-tlwg-norasi.conf /etc/fonts/conf.d/64-10-tlwg-loma.conf /etc/fonts/conf.d/64-11-tlwg-waree.conf /etc/fonts/conf.d/64-13-tlwg-garuda.conf /etc/fonts/conf.d/64-14-tlwg-umpush.conf /etc/fonts/conf.d/64-15-laksaman.conf /etc/fonts/conf.d/64-21-tlwg-typo.conf /etc/fonts/conf.d/64-22-tlwg-typist.conf /etc/fonts/conf.d/64-23-tlwg-mono.conf /etc/fonts/conf.d/65-0-fonts-beng-extra.conf /etc/fonts/conf.d/65-0-fonts-deva-extra.conf /etc/fonts/conf.d/65-0-fonts-gubbi.conf /etc/fonts/conf.d/65-0-fonts-gujr-extra.conf /etc/fonts/conf.d/65-0-fonts-guru-extra.conf /etc/fonts/conf.d/65-0-fonts-orya-extra.conf /etc/fonts/conf.d/65-0-fonts-pagul.conf /etc/fonts/conf.d/65-0-fonts-telu-extra.conf /etc/fonts/conf.d/65-0-smc-meera.conf /etc/fonts/conf.d/65-0-smc-rachana.conf /etc/fonts/conf.d/65-droid-sans-fallback.conf /etc/fonts/conf.d/65-fonts-persian.conf /etc/fonts/conf.d/65-fonts-takao-pgothic.conf /etc/fonts/conf.d/65-khmer.conf /etc/fonts/conf.d/65-nonlatin.conf /etc/fonts/conf.d/65-wqy-microhei.conf /etc/fonts/conf.d/66-lohit-assamese.conf /etc/fonts/conf.d/66-lohit-bengali.conf /etc/fonts/conf.d/66-lohit-devanagari.conf /etc/fonts/conf.d/66-lohit-gujarati.conf /etc/fonts/conf.d/66-lohit-gurmukhi.conf /etc/fonts/conf.d/66-lohit-kannada.conf /etc/fonts/conf.d/66-lohit-odia.conf /etc/fonts/conf.d/66-lohit-tamil-classical.conf /etc/fonts/conf.d/66-lohit-tamil.conf /etc/fonts/conf.d/66-lohit-telugu.conf /etc/fonts/conf.d/67-fonts-smc-manjari.conf /etc/fonts/conf.d/67-smc-anjalioldlipi.conf /etc/fonts/conf.d/67-smc-chilanka.conf /etc/fonts/conf.d/67-smc-dyuthi.conf /etc/fonts/conf.d/67-smc-karumbi.conf /etc/fonts/conf.d/67-smc-keraleeyam.conf /etc/fonts/conf.d/67-smc-raghumalayalamsans.conf /etc/fonts/conf.d/67-smc-suruma.conf /etc/fonts/conf.d/67-smc-uroob.conf /etc/fonts/conf.d/69-unifont.conf /etc/fonts/conf.d/70-fonts-noto-cjk.conf /etc/fonts/conf.d/70-no-bitmaps.conf /etc/fonts/conf.d/80-delicious.conf /etc/fonts/conf.d/89-tlwg-garuda-synthetic.conf /etc/fonts/conf.d/89-tlwg-kinnari-synthetic.conf /etc/fonts/conf.d/89-tlwg-laksaman-synthetic.conf /etc/fonts/conf.d/89-tlwg-umpush-synthetic.conf /etc/fonts/conf.d/90-fonts-nanum.conf /etc/fonts/conf.d/90-synthetic.conf /usr/share/fonts /var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7 /usr/local/share/fonts /var/cache/fontconfig//4c599c202bc5c08e2d34565a40eac3b2-le64.cache-7 /home/mwieder/.local/share/fonts /var/cache/fontconfig//f34f8236e7353d7d85a1ce4a33e70966-le64.cache-7 /usr/share/fonts/X11 /var/cache/fontconfig//c855463f699352c367813e37f3f70ea7-le64.cache-7 /usr/share/fonts/cMap /var/cache/fontconfig//32b6488e5b8292a2e95c79d947e009e8-le64.cache-7 /usr/share/fonts/cmap /var/cache/fontconfig//57e423e26b20ab21d0f2f29c145174c3-le64.cache-7 /usr/share/fonts/opentype /var/cache/fontconfig//573ec803664ed168555e0e8b6d0f0c7f-le64.cache-7 /usr/share/fonts/truetype /var/cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7 /usr/share/fonts/type1 /var/cache/fontconfig//d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-7 /home/mwieder/.fonts/Library /var/cache/fontconfig//2d801cc98c54f31d2367c7c2c9804ad0-le64.cache-7 /usr/share/fonts/X11/Type1 /var/cache/fontconfig//e13b20fdb08344e0e664864cc2ede53d-le64.cache-7 /usr/share/fonts/X11/encodings /var/cache/fontconfig//707971e003b4ae6c8121c3a920e507f5-le64.cache-7 /usr/share/fonts/X11/misc /var/cache/fontconfig//cabbd14511b9e8a55e92af97fb3a0461-le64.cache-7 /usr/share/fonts/X11/util /var/cache/fontconfig//fe547fea3a41b43a38975d292a2b19c7-le64.cache-7 /usr/share/fonts/cmap/adobe-cns1 /var/cache/fontconfig//f1f2465696798768e9653f19e17ccdc8-le64.cache-7 /usr/share/fonts/cmap/adobe-gb1 /var/cache/fontconfig//95530828ff6c81d309f8258d8d02a23e-le64.cache-7 /usr/share/fonts/cmap/adobe-japan1 /var/cache/fontconfig//d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-7 /usr/share/fonts/cmap/adobe-japan2 /var/cache/fontconfig//e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-7 /usr/share/fonts/cmap/adobe-korea1 /var/cache/fontconfig//188ac73a183f12857f63bb60a4a6d603-le64.cache-7 /usr/share/fonts/opentype/malayalam /var/cache/fontconfig//6afa1bb216ce958c1589e297e8008489-le64.cache-7 /usr/share/fonts/opentype/mathjax /var/cache/fontconfig//d0972c3d32f097851eb916381fc38920-le64.cache-7 /usr/share/fonts/opentype/noto /var/cache/fontconfig//9b89f8e3dae116d678bbf48e5f21f69b-le64.cache-7 /usr/share/fonts/truetype/Gubbi /var/cache/fontconfig//f6e6e0a5c3d2f6ae0c0c2e0ecd42a997-le64.cache-7 /usr/share/fonts/truetype/Nakula /var/cache/fontconfig//49f0de54bdd920fe4f0dfd4cbac43e6b-le64.cache-7 /usr/share/fonts/truetype/Navilu /var/cache/fontconfig//85e0a52ce643a7ba2ae53e5d6949cead-le64.cache-7 /usr/share/fonts/truetype/Sahadeva /var/cache/fontconfig//4d9c95eba1cb85bbcf2878543262124a-le64.cache-7 /usr/share/fonts/truetype/abyssinica /var/cache/fontconfig//0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-7 /usr/share/fonts/truetype/ancient-scripts /var/cache/fontconfig//30829fa25452a46451e813d634d7f916-le64.cache-7 /usr/share/fonts/truetype/dejavu /var/cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7 /usr/share/fonts/truetype/droid /var/cache/fontconfig//3f7329c5293ffd510edef78f73874cfd-le64.cache-7 /usr/share/fonts/truetype/fonts-beng-extra /var/cache/fontconfig//674d1711f2d1d2a09646eb0bdcadee49-le64.cache-7 /usr/share/fonts/truetype/fonts-deva-extra /var/cache/fontconfig//550f3886151c940c12a5ed35f6a00586-le64.cache-7 /usr/share/fonts/truetype/fonts-gujr-extra /var/cache/fontconfig//f259c2cffa685e28062317905db73c4a-le64.cache-7 /usr/share/fonts/truetype/fonts-guru-extra /var/cache/fontconfig//551ecf3b0e8b0bca0f25c0944f561853-le64.cache-7 /usr/share/fonts/truetype/fonts-kalapi /var/cache/fontconfig//d5178ab6d91b49bf20a416737dcea9e8-le64.cache-7 /usr/share/fonts/truetype/fonts-orya-extra /var/cache/fontconfig//6b2c5944714ca7831b25bed9e85cb5c8-le64.cache-7 /usr/share/fonts/truetype/fonts-telu-extra /var/cache/fontconfig//370e5b74bf5dafc30834de68e24a87a4-le64.cache-7 /usr/share/fonts/truetype/freefont /var/cache/fontconfig//d52a8644073d54c13679302ca1180695-le64.cache-7 /usr/share/fonts/truetype/kacst /var/cache/fontconfig//b47c4e1ecd0709278f4910c18777a504-le64.cache-7 /usr/share/fonts/truetype/kacst-one /var/cache/fontconfig//b9d506c9ac06c20b433354fa67a72993-le64.cache-7 /usr/share/fonts/truetype/lao /var/cache/fontconfig//56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-7 /usr/share/fonts/truetype/liberation /var/cache/fontconfig//3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-7 /usr/share/fonts/truetype/liberation2 /var/cache/fontconfig//9d2451b1fd30e5bffe8383fd27c35478-le64.cache-7 /usr/share/fonts/truetype/lohit-assamese /var/cache/fontconfig//564b2e68ac9bc4e36a6f7f6d6125ec1c-le64.cache-7 /usr/share/fonts/truetype/lohit-bengali /var/cache/fontconfig//a48eab177a16e4f3713381162db2f3e9-le64.cache-7 /usr/share/fonts/truetype/lohit-devanagari /var/cache/fontconfig//16c2fda60d1b4b719f4b3d06fd951d25-le64.cache-7 /usr/share/fonts/truetype/lohit-gujarati /var/cache/fontconfig//3f589640d34b7dc9042c8d453f7c8b9c-le64.cache-7 /usr/share/fonts/truetype/lohit-kannada /var/cache/fontconfig//aec30016f93e1b46d1a973dce0d74068-le64.cache-7 /usr/share/fonts/truetype/lohit-malayalam /var/cache/fontconfig//c5c45a61289222e0d30b1a26ef4effbe-le64.cache-7 /usr/share/fonts/truetype/lohit-oriya /var/cache/fontconfig//2171a34dccabdb6bcbbc728186263178-le64.cache-7 /usr/share/fonts/truetype/lohit-punjabi /var/cache/fontconfig//bab58bb527bb656aaa9f116d68a48d89-le64.cache-7 /usr/share/fonts/truetype/lohit-tamil /var/cache/fontconfig//589f83ef4c36d296ce6e1c846f468f08-le64.cache-7 /usr/share/fonts/truetype/lohit-tamil-classical /var/cache/fontconfig//f6d4eedfaab2589bde49f7a3ff831d22-le64.cache-7 /usr/share/fonts/truetype/lohit-telugu /var/cache/fontconfig//b872e6e592da6075ffa4ab0a1fcc0c75-le64.cache-7 /usr/share/fonts/truetype/malayalam /var/cache/fontconfig//def309198bfa603429122923fa2bb2d4-le64.cache-7 /usr/share/fonts/truetype/myriad-online /var/cache/fontconfig//24758ae07ab5e673120233f8836fa4b2-le64.cache-7 /usr/share/fonts/truetype/nanum /var/cache/fontconfig//8801497958630a81b71ace7c5f9b32a8-le64.cache-7 /usr/share/fonts/truetype/noto /var/cache/fontconfig//0bd3dc0958fa2205aaaa8ebb13e2872b-le64.cache-7 /usr/share/fonts/truetype/openoffice /var/cache/fontconfig//4794a0821666d79190d59a36cb4f44b5-le64.cache-7 /usr/share/fonts/truetype/padauk /var/cache/fontconfig//767a8244fc0220cfb567a839d0392e0b-le64.cache-7 /usr/share/fonts/truetype/pagul /var/cache/fontconfig//4f3e3037c9980c83b53a9351efadef62-le64.cache-7 /usr/share/fonts/truetype/samyak /var/cache/fontconfig//660208299946a285a940457d1287da33-le64.cache-7 /usr/share/fonts/truetype/samyak-fonts /var/cache/fontconfig//14a5e22175779b556eaa434240950366-le64.cache-7 /usr/share/fonts/truetype/sinhala /var/cache/fontconfig//dc05db6664285cc2f12bf69c139ae4c3-le64.cache-7 /usr/share/fonts/truetype/takao-gothic /var/cache/fontconfig//385c0604a188198f04d133e54aba7fe7-le64.cache-7 /usr/share/fonts/truetype/tibetan-machine /var/cache/fontconfig//1ac9eb803944fde146138c791f5cc56a-le64.cache-7 /usr/share/fonts/truetype/tlwg /var/cache/fontconfig//04aabc0a78ac019cf9454389977116d2-le64.cache-7 /usr/share/fonts/truetype/ttf-khmeros-core /var/cache/fontconfig//0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-7 /usr/share/fonts/truetype/ubuntu /var/cache/fontconfig//2300eef321c393bfd76478a5c0e95b23-le64.cache-7 /usr/share/fonts/truetype/wqy /var/cache/fontconfig//99e8ed0e538f840c565b6ed5dad60d56-le64.cache-7 /usr/share/fonts/type1/gsfonts /var/cache/fontconfig//945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-7 /home/mwieder/.fonts/Library/S /var/cache/fontconfig//bb1f948abfa40175733ad2af06084916-le64.cache-7 /usr/share/fonts/X11/encodings/large /var/cache/fontconfig//6333f38776742d18e214673cd2c24e34-le64.cache-7 /usr/share/fonts/truetype/myriad-online/melody /var/cache/fontconfig//a2d1ff13216d88a738b1b1cc4ab845e8-le64.cache-7 /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf -- -- Mark Wieder ahsoftware at gmail.com From williamdesmet at gmail.com Fri Nov 15 05:47:11 2019 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 15 Nov 2019 11:47:11 +0100 Subject: New app update: four errors in plist In-Reply-To: <16e6c986508.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <009a01d59b2f$41ec21a0$c5c464e0$@net> <16e6c986508.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacqueline, One of the two options is always selected. You can't select none. The 'problem' is that there is one required key missing now so you have to add it yourself bij editing the plist. After editing the plist the app update was approved within 6 hours #quick greetings, William Op vr 15 nov. 2019 om 02:07 schreef J. Landman Gay via use-livecode < use-livecode at lists.runrev.com>: > Is the location key included in the plist if you don't select location > services in standalone settings? (I haven't built for iOS in a long time.) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode > wrote: > > > ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on > > suspend. You need this key for legacy OS versions. You will not be > rejected > > for this(yet). > > ITMS-90078: will also not get you rejected. This is caused by some > library > > binding issue that Mark explained a while back. > > ITMS-90191: Also a warning. This is for Beta testing. You can enable the > > beta entitlement when generating a provisioning profile. > > ITMS-90683: This is the one that will get you rejected. For example if > you > > use location services you will have to hack the IDE to change the text of > > the location request text. This can be a pain because you have to do it > > every time the IDE is started. What I do: > > 1) In the message box ==> "put the script of "revSaveAsIosStandalone" > into > > url ("File://somePath/someFilename") > > 2) Edit the text file(See QCC 22150) > > > > After that every time you want to submit to the app store do this in the > > message box ==> set the script of "revSaveAsIosStandalone" to url > > ("File://somePath/someFilename") > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > > Of William de Smet via use-livecode > > Sent: Thursday, November 14, 2019 2:00 PM > > To: How to use LiveCode > > Cc: William de Smet > > Subject: New app update: four errors in plist > > > > Hi there, > > > > Today I uploaded an update for one of my apps to the App Store. > > Now I have four errors coming back from Apple. > > Still need to edit the info.plist but it'd easy to make a mistake with > this. > > When will this be fixed? > > > > ----- > > Got this notification back: > > ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key > > 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that > > will soon be unsupported. Remove the key, rebuild your app and resubmit. > > > > ITMS-90078: Missing Push Notification Entitlement - Your app appears to > > register with the Apple Push Notification service, but the app > signature's > > entitlements do not include the "aps-environment" entitlement. If your > app > > uses the Apple Push Notification service, make sure your App ID is > enabled > > for Push Notification in the Provisioning Portal, and resubmit after > signing > > your app with a Distribution provisioning profile that includes the > > "aps-environment" entitlement. Xcode does not automatically copy the > > aps-environment entitlement from provisioning profiles at build time. > This > > behavior is intentional. To use this entitlement, either enable Push > > Notifications in the project editor's Capabilities pane, or manually add > the > > entitlement to your entitlements file. For more information, see > > > https://developer.apple.com/library/content/documentation/NetworkingInternet > > > /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r > > ef/doc/uid/TP40008194-CH6-SW1 > > . > > > > ITMS-90191: Missing beta entitlement - Your app does not include the > > beta-reports-active entitlement. If you intend to distribute this build > via > > TestFlight for beta testing, please re-build this app with an App Store > > Distribution provisioning profile. Do not use ad-hoc profiles. > > > > ITMS-90683: Missing Purpose String in Info.plist - Your app's code > > references one or more APIs that access sensitive user data. The app's > > Info.plist file should contain a NSLocationAlwaysUsageDescription key > with a > > user-facing purpose string explaining clearly and completely why your app > > needs the data. Starting Spring 2019, all apps submitted to the App Store > > that access user data are required to include a purpose string. If you're > > using external libraries or SDKs, they may reference APIs that require a > > purpose string. While your app might not use these APIs, a purpose > string is > > still required. You can contact the developer of the library or SDK and > > request they release a version of their code that doesn't contain the > APIs. > > Learn more ( > > > https://developer.apple.com/documentation/uikit/core_app/protecting_the_user > > _s_privacy > > ). > > ----- > > > > Greetings, > > > > William > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From williamdesmet at gmail.com Fri Nov 15 05:59:55 2019 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 15 Nov 2019 11:59:55 +0100 Subject: New app update: four errors in plist In-Reply-To: <009a01d59b2f$41ec21a0$c5c464e0$@net> References: <009a01d59b2f$41ec21a0$c5c464e0$@net> Message-ID: Hi Ralph, I used a custom plist and add it to the 'Copy files pane' of the standalone settings. Works fine but you need to focus :-) After editing the plist the app update was approved within 6 hours #quick greetings, William Op do 14 nov. 2019 om 22:04 schreef Ralph DiMola via use-livecode < use-livecode at lists.runrev.com>: > ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on > suspend. You need this key for legacy OS versions. You will not be rejected > for this(yet). > ITMS-90078: will also not get you rejected. This is caused by some library > binding issue that Mark explained a while back. > ITMS-90191: Also a warning. This is for Beta testing. You can enable the > beta entitlement when generating a provisioning profile. > ITMS-90683: This is the one that will get you rejected. For example if you > use location services you will have to hack the IDE to change the text of > the location request text. This can be a pain because you have to do it > every time the IDE is started. What I do: > 1) In the message box ==> "put the script of "revSaveAsIosStandalone" into > url ("File://somePath/someFilename") > 2) Edit the text file(See QCC 22150) > > After that every time you want to submit to the app store do this in the > message box ==> set the script of "revSaveAsIosStandalone" to url > ("File://somePath/someFilename") > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of William de Smet via use-livecode > Sent: Thursday, November 14, 2019 2:00 PM > To: How to use LiveCode > Cc: William de Smet > Subject: New app update: four errors in plist > > Hi there, > > Today I uploaded an update for one of my apps to the App Store. > Now I have four errors coming back from Apple. > Still need to edit the info.plist but it'd easy to make a mistake with > this. > When will this be fixed? > > ----- > Got this notification back: > ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key > 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that > will soon be unsupported. Remove the key, rebuild your app and resubmit. > > ITMS-90078: Missing Push Notification Entitlement - Your app appears to > register with the Apple Push Notification service, but the app signature's > entitlements do not include the "aps-environment" entitlement. If your app > uses the Apple Push Notification service, make sure your App ID is enabled > for Push Notification in the Provisioning Portal, and resubmit after > signing > your app with a Distribution provisioning profile that includes the > "aps-environment" entitlement. Xcode does not automatically copy the > aps-environment entitlement from provisioning profiles at build time. This > behavior is intentional. To use this entitlement, either enable Push > Notifications in the project editor's Capabilities pane, or manually add > the > entitlement to your entitlements file. For more information, see > > https://developer.apple.com/library/content/documentation/NetworkingInternet > > /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r > ef/doc/uid/TP40008194-CH6-SW1 > > . > > ITMS-90191: Missing beta entitlement - Your app does not include the > beta-reports-active entitlement. If you intend to distribute this build via > TestFlight for beta testing, please re-build this app with an App Store > Distribution provisioning profile. Do not use ad-hoc profiles. > > ITMS-90683: Missing Purpose String in Info.plist - Your app's code > references one or more APIs that access sensitive user data. The app's > Info.plist file should contain a NSLocationAlwaysUsageDescription key with > a > user-facing purpose string explaining clearly and completely why your app > needs the data. Starting Spring 2019, all apps submitted to the App Store > that access user data are required to include a purpose string. If you're > using external libraries or SDKs, they may reference APIs that require a > purpose string. While your app might not use these APIs, a purpose string > is > still required. You can contact the developer of the library or SDK and > request they release a version of their code that doesn't contain the APIs. > Learn more ( > > https://developer.apple.com/documentation/uikit/core_app/protecting_the_user > _s_privacy > ). > ----- > > Greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Nov 15 14:22:01 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Nov 2019 13:22:01 -0600 Subject: New app update: four errors in plist In-Reply-To: References: <009a01d59b2f$41ec21a0$c5c464e0$@net> <16e6c986508.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: In standalone settings I see three options: Required, Prohibited, n/a. Do you mean the plist always contains a location option even if "n/a" is selected? That doesn't seem right. On 11/15/19 4:47 AM, William de Smet via use-livecode wrote: > Hi Jacqueline, > > One of the two options is always selected. > You can't select none. > The 'problem' is that there is one required key missing now so you have to > add it yourself bij editing the plist. > > After editing the plist the app update was approved within 6 hours #quick > > > greetings, > > William > > > > > Op vr 15 nov. 2019 om 02:07 schreef J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com>: > >> Is the location key included in the plist if you don't select location >> services in standalone settings? (I haven't built for iOS in a long time.) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode >> wrote: >> >>> ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on >>> suspend. You need this key for legacy OS versions. You will not be >> rejected >>> for this(yet). >>> ITMS-90078: will also not get you rejected. This is caused by some >> library >>> binding issue that Mark explained a while back. >>> ITMS-90191: Also a warning. This is for Beta testing. You can enable the >>> beta entitlement when generating a provisioning profile. >>> ITMS-90683: This is the one that will get you rejected. For example if >> you >>> use location services you will have to hack the IDE to change the text of >>> the location request text. This can be a pain because you have to do it >>> every time the IDE is started. What I do: >>> 1) In the message box ==> "put the script of "revSaveAsIosStandalone" >> into >>> url ("File://somePath/someFilename") >>> 2) Edit the text file(See QCC 22150) >>> >>> After that every time you want to submit to the app store do this in the >>> message box ==> set the script of "revSaveAsIosStandalone" to url >>> ("File://somePath/someFilename") >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >>> Of William de Smet via use-livecode >>> Sent: Thursday, November 14, 2019 2:00 PM >>> To: How to use LiveCode >>> Cc: William de Smet >>> Subject: New app update: four errors in plist >>> >>> Hi there, >>> >>> Today I uploaded an update for one of my apps to the App Store. >>> Now I have four errors coming back from Apple. >>> Still need to edit the info.plist but it'd easy to make a mistake with >> this. >>> When will this be fixed? >>> >>> ----- >>> Got this notification back: >>> ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key >>> 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that >>> will soon be unsupported. Remove the key, rebuild your app and resubmit. >>> >>> ITMS-90078: Missing Push Notification Entitlement - Your app appears to >>> register with the Apple Push Notification service, but the app >> signature's >>> entitlements do not include the "aps-environment" entitlement. If your >> app >>> uses the Apple Push Notification service, make sure your App ID is >> enabled >>> for Push Notification in the Provisioning Portal, and resubmit after >> signing >>> your app with a Distribution provisioning profile that includes the >>> "aps-environment" entitlement. Xcode does not automatically copy the >>> aps-environment entitlement from provisioning profiles at build time. >> This >>> behavior is intentional. To use this entitlement, either enable Push >>> Notifications in the project editor's Capabilities pane, or manually add >> the >>> entitlement to your entitlements file. For more information, see >>> >> https://developer.apple.com/library/content/documentation/NetworkingInternet >>> >> /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r >>> ef/doc/uid/TP40008194-CH6-SW1 >>> . >>> >>> ITMS-90191: Missing beta entitlement - Your app does not include the >>> beta-reports-active entitlement. If you intend to distribute this build >> via >>> TestFlight for beta testing, please re-build this app with an App Store >>> Distribution provisioning profile. Do not use ad-hoc profiles. >>> >>> ITMS-90683: Missing Purpose String in Info.plist - Your app's code >>> references one or more APIs that access sensitive user data. The app's >>> Info.plist file should contain a NSLocationAlwaysUsageDescription key >> with a >>> user-facing purpose string explaining clearly and completely why your app >>> needs the data. Starting Spring 2019, all apps submitted to the App Store >>> that access user data are required to include a purpose string. If you're >>> using external libraries or SDKs, they may reference APIs that require a >>> purpose string. While your app might not use these APIs, a purpose >> string is >>> still required. You can contact the developer of the library or SDK and >>> request they release a version of their code that doesn't contain the >> APIs. >>> Learn more ( >>> >> https://developer.apple.com/documentation/uikit/core_app/protecting_the_user >>> _s_privacy >>> ). >>> ----- >>> >>> Greetings, >>> >>> William >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 brahma at hindu.org Fri Nov 15 14:55:09 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Nov 2019 19:55:09 +0000 Subject: New app update: four errors in plist In-Reply-To: References: <009a01d59b2f$41ec21a0$c5c464e0$@net> <16e6c986508.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <29381C6F-7032-407B-9332-597F2EC0CA6E@hindu.org> FYI, you click "Beta Test" in standalone settings and you will get the "beta entitlement", properly installed , which is required if you want to use Test Flight. In standalone settings I see three options: Required, Prohibited, n/a. Do you mean the plist always contains a location option even if "n/a" is selected? That doesn't seem right. On 11/15/19 4:47 AM, William de Smet via use-livecode wrote: Hi Jacqueline, One of the two options is always selected. You can't select none. The 'problem' is that there is one required key missing now so you have to add it yourself bij editing the plist. After editing the plist the app update was approved within 6 hours #quick greetings, William Op vr 15 nov. 2019 om 02:07 schreef J. Landman Gay via use-livecode < mailto:use-livecode at lists.runrev.com>: Is the location key included in the plist if you don't select location services in standalone settings? (I haven't built for iOS in a long time.) -- Jacqueline Landman Gay | mailto:jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode wrote: ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on suspend. You need this key for legacy OS versions. You will not be rejected for this(yet). ITMS-90078: will also not get you rejected. This is caused by some library binding issue that Mark explained a while back. ITMS-90191: Also a warning. This is for Beta testing. You can enable the beta entitlement when generating a provisioning profile. ITMS-90683: This is the one that will get you rejected. For example if you use location services you will have to hack the IDE to change the text of the location request text. This can be a pain because you have to do it every time the IDE is started. What I do: 1) In the message box ==> "put the script of "revSaveAsIosStandalone" into url ("/somePath/someFilename") 2) Edit the text file(See QCC 22150) After that every time you want to submit to the app store do this in the message box ==> set the script of "revSaveAsIosStandalone" to url ("/somePath/someFilename") Ralph DiMola IT Director Evergreen Information Services mailto:rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of William de Smet via use-livecode Sent: Thursday, November 14, 2019 2:00 PM To: How to use LiveCode Cc: William de Smet Subject: New app update: four errors in plist Hi there, Today I uploaded an update for one of my apps to the App Store. Now I have four errors coming back from Apple. Still need to edit the info.plist but it'd easy to make a mistake with this. When will this be fixed? ----- Got this notification back: ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that will soon be unsupported. Remove the key, rebuild your app and resubmit. ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r ef/doc/uid/TP40008194-CH6-SW1 . ITMS-90191: Missing beta entitlement - Your app does not include the beta-reports-active entitlement. If you intend to distribute this build via TestFlight for beta testing, please re-build this app with an App Store Distribution provisioning profile. Do not use ad-hoc profiles. ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more ( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user _s_privacy ). ----- Greetings, William _______________________________________________ use-livecode mailing list mailto:use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list mailto:use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list mailto:use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list mailto:use-livecode 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???????? |???? mailto:jacque at hyperactivesw.com HyperActive Software?????????? |???? http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list mailto:use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Nov 15 14:59:31 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Nov 2019 19:59:31 +0000 Subject: Tester in iPhone 8 Not Getting Audio Message-ID: <5F7C23E9-D60E-4892-AD76-AF2DA91CD17E@hindu.org> FYI, I started using TestFlight in iOS and have a broader group testing the app. iPhone8 is no longer playing audio any time after iOS >12. Upgrading to 13.2.2 doesn't fix it! Sad. I have to release the app? with a disclaimer for iPhone 8 users?. From neville.smythe at optusnet.com.au Fri Nov 15 22:21:38 2019 From: neville.smythe at optusnet.com.au (Neville) Date: Sat, 16 Nov 2019 14:21:38 +1100 Subject: Catalina mail recovery stack Message-ID: After installing Catalina macOS I (along with lots of other people) lost a whole swag of mail; the problem seems to occur after moving a message between mailboxes, possibly before Mail had finished updating itself, but may have other triggers. Many messages simply went totally missing, and lots of message (in custom mailboxes) are shown with a header but no content. Remedies suggested in various fora haven?t worked: rebuilding mailboxes didn?t help, even with manual removal of the Mail.app Envelope databases, and Time Machine cannot be used at least in its in its simple mode to recover mail. With over 85000 emails and the byzantine directory structure of the email messages, there is no way I can manually search for the missing email in the backups. I am writing a stack to create a custom sqlite database of messages from the standard Mac ~/Library/Mail location, and from Time Machine backup locations, and include tools to compare and find emails. So far it seems to be successful in finding lost messages; I have yet to add tools to reimport to Mail.app. If anyone has this lost mail problem (and has a Time Machine or other backup) and would like my stack please email me. The stack is rough for my own use at the moment but I can polish it for general use. neville.smythe at optusnet.com .au From stephen at barncard.com Sat Nov 16 14:12:23 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 16 Nov 2019 11:12:23 -0800 Subject: that stupid notch Message-ID: My apologies to my LC friends here, as I am posting a platform-specific issue that is not related to Livecode, but for some reason the 'notch' has appeared in my menubar (High Sierra). I have a two screen system but the 'notch' only appears on one screen. This is the dumbest thing I've seen from Apple. First of all it's useless Second it's taking up space in my menu-bar I can't find a thing about it on the interwebs - and I'm a pretty good researcher. So with heavy heart and bruised ego, I ask have any of you see this? does anyone know how to remove it? sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From sean at pidigital.co.uk Sat Nov 16 19:27:18 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 17 Nov 2019 00:27:18 +0000 Subject: that stupid notch In-Reply-To: References: Message-ID: Hi Stephen This is a new one on me. What notch do you refer to? Can you perhaps link a screen grab to show us what you mean? High Sierra is no longer updated by Apple so I?m not sure how you contribute this issue to them. I look forward to your response All the best Sean Cole Pi Digital Prod Ltd > On 16 Nov 2019, at 19:12, Stephen Barncard via use-livecode wrote: > > ?My apologies to my LC friends here, as I am posting a platform-specific > issue that is not related to Livecode, but for some reason the 'notch' has > appeared in my menubar (High Sierra). > > I have a two screen system but the 'notch' only appears on one screen. > This is the dumbest thing I've seen from Apple. > First of all it's useless > Second it's taking up space in my menu-bar > > I can't find a thing about it on the interwebs - and I'm a pretty good > researcher. > > So with heavy heart and bruised ego, I ask > > have any of you see this? > does anyone know how to remove it? > > sqb > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Nov 18 09:36:02 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 18 Nov 2019 16:36:02 +0200 Subject: [ANN] This Week in LiveCode 202 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 #202 here: http://bit.ly/2QtNESL This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From hh at hyperhh.de Mon Nov 18 09:42:42 2019 From: hh at hyperhh.de (hh) Date: Mon, 18 Nov 2019 15:42:42 +0100 Subject: WebP-Tool v103 Message-ID: <6026918B-D39F-4A54-BF22-8763D6F589B6@hyperhh.de> WebP is a new image format for the web, see https://developers.google.com/speed/webp The stack is a helper for using the BSD-licensed converter software, so you can use webp images in your stacks. The stack contains the binaries for 64bit Mac/Win/linux. You can copy them to your own stack. For 32bit machines see the instructions of the link below. The WebP-Tool runs, using LC 8/9, on Mac/Win/linux. For more info please read http://forums.livecode.com/viewtopic.php?p=185384#p185384 [Download] Currently I cannot upload to "SampleStacks/livecodeshare". So please use from the message box go stack url ("http://hyperhh.de/html/xstacks/webP-Tool_v103.livecode") or download http://hyperhh.de/html/xstacks/webP-Tool_v103.livecode.zip When using go stack url, as a first action please SAVE the stack, we need the stack path for writing out helpers and creating folders for conversion. From hh at hyperhh.de Mon Nov 18 10:19:04 2019 From: hh at hyperhh.de (hh) Date: Mon, 18 Nov 2019 16:19:04 +0100 Subject: WebP-Tool v103 Message-ID: Sorry, the download links had a wrong path. Here are correct ones. [Download] Currently I cannot upload to "SampleStacks/livecodeshare". So please use from the message box (EU) go stack url ("http://hyperhh.de/xstacks/webP-Tool_v103.livecode") (US) go stack url ("http://hh.on-rev.com/xstacks/webP-Tool_v103.livecode") or download (EU) http://hyperhh.de/xstacks/webP-Tool_v103.livecode.zip (US) http://hh.on-rev.com/xstacks/webP-Tool_v103.livecode.zip When using go stack url, as a first action please SAVE the stack, we need the stack path for writing out helpers and creating folders for conversion. From jjs at krutt.org Mon Nov 18 11:03:23 2019 From: jjs at krutt.org (Jjs) Date: Mon, 18 Nov 2019 17:03:23 +0100 Subject: WebP-Tool v103 In-Reply-To: References: Message-ID: <015B4F4E-8DB1-46EA-A08F-2FDA05DF8402@krutt.org> Nice, thank you. I noticed it. But they are not used very much yet. Also for jpeg are some extra formats. hh via use-livecode schreef op 18 november 2019 16:19:04 CET: >Sorry, the download links had a wrong path. Here are correct ones. > >[Download] Currently I cannot upload to "SampleStacks/livecodeshare". >So please use from the message box >(EU) go stack url ("http://hyperhh.de/xstacks/webP-Tool_v103.livecode") >(US) go stack url >("http://hh.on-rev.com/xstacks/webP-Tool_v103.livecode") >or download >(EU) http://hyperhh.de/xstacks/webP-Tool_v103.livecode.zip >(US) http://hh.on-rev.com/xstacks/webP-Tool_v103.livecode.zip > >When using go stack url, as a first action please SAVE the stack, we >need >the stack path for writing out helpers and creating folders for >conversion. > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From hh at hyperhh.de Mon Nov 18 11:29:36 2019 From: hh at hyperhh.de (hh) Date: Mon, 18 Nov 2019 17:29:36 +0100 Subject: WebP-Tool v103 Message-ID: > Jjs wrote; Nice, thank you. I noticed it. But they are not used very > much yet. Also for jpeg are some extra formats. TMHO it doesn't really matter what's used in the web. The purpose of webP is, if you have a lot of images/large images, that these load much faster from a server or use less size in your stack/standalone. WebP-Tool is simply a bridge to the future LC version that can read in and write out webP images. Especially: set the paintcompression to WEBP will be then implemented. Hopefully rather sooner than later. From jjs at krutt.org Mon Nov 18 14:32:04 2019 From: jjs at krutt.org (JJS) Date: Mon, 18 Nov 2019 20:32:04 +0100 Subject: WebP-Tool v103 In-Reply-To: References: Message-ID: <93e257a5-45bf-7c3e-451d-5378cee321ff@krutt.org> YEs indeed. I thought i read somewhere that Joomla also wanted (or is already) to support it as cms. great! Op 18-11-2019 om 17:29 schreef hh via use-livecode: >> Jjs wrote; Nice, thank you. I noticed it. But they are not used very >> much yet. Also for jpeg are some extra formats. > TMHO it doesn't really matter what's used in the web. The purpose of > webP is, if you have a lot of images/large images, that these load > much faster from a server or use less size in your stack/standalone. > > WebP-Tool is simply a bridge to the future LC version that can read > in and write out webP images. Especially: > > set the paintcompression to WEBP > > will be then implemented. Hopefully rather sooner than later. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alain.vezina at logilangue.com Mon Nov 18 17:55:44 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Mon, 18 Nov 2019 17:55:44 -0500 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 Message-ID: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> I gave up regular LC to get interested in HTML5 from LiveCode a year ago. My intention was to transform my apps to get me out of Apple's tyranny. I was first enchanted by this product, but I quickly became disillusioned when I realized that basic commands and functions in LC like read from file or write to file do not work in HTML5. I reported a bug on the Browser widget in April 2019 and the problem has still not been fixed. For me, it is a tool that is fundamental in many of my applications. Last week, I was informed that my subscription would end on November 22 of this year. To renew it, I have to pay $790.60 Canadian. After some hesitation, I decided to pay, but this is the last year I do it if HTML5 is still so limited. I think that at that price, I could get a lot more from LiveCode. Translated with www.DeepL.com/Translator From ambassador at fourthworld.com Mon Nov 18 21:32:03 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2019 18:32:03 -0800 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 In-Reply-To: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> References: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> Message-ID: <1636fa27-c005-92e4-4bbf-8544bd04340c@fourthworld.com> Alain Vezina wrote: > I gave up regular LC to get interested in HTML5 from LiveCode a year > ago. My intention was to transform my apps to get me out of Apple's > tyranny. I was first enchanted by this product, but I quickly became > disillusioned when I realized that basic commands and functions in LC > like read from file or write to file do not work in HTML5. Desktop apps and web apps are inherently very different. For example, while it's common for desktop apps to read and write files across the user's hard drive, browsers don't allow that. If they did, every site you go to - and sites that have maliciously inserted their code into sites you go to - could rummage through your hard drive, taking what they want and altering things along the way. On the desktop, Apple does not require that you surrender 30% of your income to them in order to have your apps installable. You can still distribute via downloads from your own site, as we've been doing since the '90s. > I reported a bug on the Browser widget in April 2019 and the problem > has still not been fixed. For me, it is a tool that is fundamental in > many of my applications. I'm not following this now. The first part of your email discusses stack files exported from LC as HTML to run in a browser, and this part seems to be discussing the widget, which embeds a browser application inside of a LiveCode standalone. What are you building? -- 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 Mon Nov 18 21:47:17 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 18 Nov 2019 21:47:17 -0500 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 In-Reply-To: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> References: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> Message-ID: Yeah...... I hear you. On Mon, Nov 18, 2019 at 5:56 PM Alain Vezina via use-livecode < use-livecode at lists.runrev.com> wrote: > I gave up regular LC to get interested in HTML5 from LiveCode a year ago. > My intention was to transform my apps to get me out of Apple's tyranny. I > was first enchanted by this product, but I quickly became disillusioned > when I realized that basic commands and functions in LC like read from file > or write to file do not work in HTML5. I reported a bug on the Browser > widget in April 2019 and the problem has still not been fixed. For me, it > is a tool that is fundamental in many of my applications. > > Last week, I was informed that my subscription would end on November 22 of > this year. To renew it, I have to pay $790.60 Canadian. > > After some hesitation, I decided to pay, but this is the last year I do it > if HTML5 is still so limited. I think that at that price, I could get a lot > more from LiveCode. > > Translated with www.DeepL.com/Translator > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From hh at hyperhh.de Tue Nov 19 03:01:48 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Nov 2019 09:01:48 +0100 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 Message-ID: <10EC0159-5748-4F79-9B12-DDEFFB6C4073@hyperhh.de> LiveCode cannot do anything for you with that. The security dictator is 1. the OS 2. the browser you use for the standalone. There are a lot of differences alone by variations of these two. Yes, read and write from files is doable, but with the restrictions given by OS security and Browser security, what means: User interaction and/or same origin policy. For example you can read without any problems from the standalone's server location. With the help of a bit javascript you can read from any local file using a dialog, but you can write to nowhere but the user's downloads folder. I have shown that already long ago with some of my HTML5 examples (available incl. source code). TMHO there are so few license holders in HTML5 that there is nearly no step forward in that field -- sadly a downward spiral. Sadly, because there are already a *lot* of features implemented -- if you are able to handle that under the user's OS and browser. From sean at pidigital.co.uk Tue Nov 19 05:33:44 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 19 Nov 2019 10:33:44 +0000 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 In-Reply-To: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> References: <6D3DF049-2598-4D0C-A9A8-77204250E2FE@logilangue.com> Message-ID: <438F6979-158F-4A78-85F0-7CCD5EB0B65A@pidigital.co.uk> Hi Alain I truly feel your pain. To answer your subject heading, I did some calculating based on the current state of HTML5 deployment and my own experience in doing the fixes single-handed for it. I work it out in the region of ?15k. It?s an effing mess. Go to quality.livecode.co.uk and search the term HTML5 and you get 80 bugs (some not for HTML5 deployment specifically) and you see none marked fixed and nearly all as confirmed. Some are 2+ yrs old. In contrast, here?s the link to the LC for FM forum: https://forums.livecode.com/viewforum.php?f=133 Either there are zero problems with FM deployment or no one is using it. My guess is the later. A search for LiveCode in community.filemaker.com is even more pitiful. But this is where a large amount of resources went over the last year or so. We?re unlikely to know the sales figures but I bet they?re very low so that?s not a big return on their investment. The same can probably be said of HTML5 deployment, hence the lack of support. Your bug mentioned (https://quality.livecode.com/show_bug.cgi?id=22028) is a very odd one as it is suggesting having the browser widget work within a HTML5 deployment standalone. That?s a very tricky one to accomplish at all and a bit of a rabbits hole (not to mention the potential security risk it opens up). I would be inclined to accomplishing what you have in your demo stack outside of any browser widget to avoid unnecessary complications. If you really are serious about HTML5 deployment I?d happily set up a crowd funder for fixing it but I doubt I?d get anywhere close to the 15k to cover it. Probably not even 1k even! I?d even happily move to Scotland and join the LC team dedicated to it if they called for it (which is a billion times more unlikely). My current project using HTML5 deployment has gone live now for my clients customers but is 82% workarounds currently. And as I am getting paid for that, that is where the majority of my concentration lies. I still have many more stages of deployment to go for them too. If you have more specific HTML5 questions you need help with post them here with a [html5] in the subject heading and we?ll keep an watch for them. No doubt one of us here can help. Sean Cole Pi Digital Prod Ltd > On 18 Nov 2019, at 22:55, Alain Vezina via use-livecode wrote: > > ?I gave up regular LC to get interested in HTML5 from LiveCode a year ago..... I reported a bug on the Browser widget in April 2019 and the problem has still not been fixed. ... I think that at that price, I could get a lot more from LiveCode. From hh at hyperhh.de Tue Nov 19 07:52:28 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Nov 2019 13:52:28 +0100 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 Message-ID: A few words in defence of the LC HTML5 standalone builder. 1. > Pi wrote: > To answer your subject heading, I did some calculating based on the > current state of HTML5 deployment and my own experience in doing the > fixes single-handed for it. I work it out in the region of ?15k. This is of course heavily depending on your skills in both Livecode Script and JavaScript. You shouldn't blame LiveCode if you need a lot of time for simple fixes/workarounds. 2. (As to Alain's bug report relating to the browser widget). Nobody from LC ever claimed, a browser widget would work in a HTML5 standalone. Also: everything (and more) what you can do with a browser widget can you do in the browser, may be using an iFrame for the display. Moreover, the available javascript in the browser is usually more up-to-date than what's integrated in the browser widget. A browser widget is good for exercising the parts that you do later on in the webpage from your standalone using the browser. The "translation" from browser widget to webpage is easy and fast to learn. 3. There *was* progress in HTML5 until midth 2018: = A greatly improved and very simple "Test" procedure. = Implementing multiple stack windows (you can even do "go url"). = Doing networking as much as OS and browser allow. [Sadly there *are* still basic things missing, especially full keyboard support and much better font support.] From kee.nethery at elloco.com Tue Nov 19 11:38:37 2019 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 19 Nov 2019 08:38:37 -0800 Subject: How much do we have to pay to get a minimum of efficiency from HTML5 In-Reply-To: <10EC0159-5748-4F79-9B12-DDEFFB6C4073@hyperhh.de> References: <10EC0159-5748-4F79-9B12-DDEFFB6C4073@hyperhh.de> Message-ID: <3EDDBAD6-A777-4F43-B169-4447EF0748A0@elloco.com> > On Nov 19, 2019, at 12:01 AM, hh via use-livecode wrote: > > TMHO there are so few license holders in HTML5 that > there is nearly no step forward in that field -- sadly > a downward spiral. Interesting. And I was waiting for it to be production ready before paying money for it. Kee Nethery From mailkeliko01 at gmail.com Tue Nov 19 12:33:25 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 20 Nov 2019 00:33:25 +0700 Subject: encrypt a standalone html5 Message-ID: Helllo, is it possible to encrypt a standalone html5 file. So it can't be downloaded and unzipped. So other people can see our logic script. for example: http://hyperhh.de/html5/CopyPaste-8.0.2X.html http://hyperhh.de/html5/CopyPaste-8.0.2.zip I can see the stack card and copy the logic. I want it when other people download the html5 standalone zip they can't read my livecode logic script is there another way to make it encrypted? Thanks From brahma at hindu.org Tue Nov 19 12:59:35 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 19 Nov 2019 17:59:35 +0000 Subject: Special Graphic Effects - Kill Performance On Rapid Redraws Message-ID: <51CF36F2-9CCE-445F-8569-A7A9A595E1E9@hindu.org> We released SivaSiva 1.6. Just yesterday. The days before release I found a "bug" I had introduced in performance which may be useful, especially to newbies, because in using xTalk for 20 years, even I did not this. One of the thing I have learned is how "bad" special graphic effects are on mobile that require redrawing of the screen. Hopefully others can add to these meager insights? In the explanation for effective scrolling layers/datagrid that Mark W. made, one of the things was that the scrolling layer cannot have any graphic effect applied to any of the objects of the "rows" or re-iterated groups the scroll. Taking that as a clue, in the Color Meditation module, for example, -- which always behaved badly, especially on Android, has no scrolling groups-- I had an outer glow on 3 different fields that were being updated on a timer. "Inhale 1" "Inhale 2" etc. I could never got the "Pause" button to stop it. After I refactored the code, not to use repeat loops (which as hard to interrupt, even with boolean flags ), but use "send ### in ### time" it improved slightly but was still slow. I took away the outglow in the fields that are redrawn ever second, set the textcolor to "black"-- all of a sudden it worked "brilliantly" on Android! No performance issues?"Sheesh, what a simple solution" I guess most of the old timers know this, but clearly the "paint" routine in the engine does want *any* special effects on object that require constant redrawing on the screen. So this requires a UI design that use "flat" objects for everything that would be a performance issue on rapid motion or screen updates: no only on the datagrid and scrolling groups, which was Mark's "theme" in the explanation. I would be good to put this all into some kind of "lesson" on the web site. Since the scope could be "anywhere" I would make it a part of "Use of Special Graphic Effects in Livecode" (maybe already there?) and there you could have a guide and where *not* to use them, as well as explanation of the different kinds of layer modes that are important. I would happen to contribute such a lesson, at least a first draft Also, I don't think this is an LC issue, one never sees things like drop shadow and outglows etc. on anything in other apps on iOS and Android. I looked through a lot all apps. Anything that "moves", usually, has flat objects. BR From hh at hyperhh.de Tue Nov 19 13:07:26 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Nov 2019 19:07:26 +0100 Subject: encrypt a standalone html5 Message-ID: <27906E17-F787-4604-93B9-9FB209CE35FE@hyperhh.de> > Riko A. wrote: > Is it possible to encrypt a standalone html5 file. > So it can't be downloaded and unzipped. So other > people can see our logic script. for example: > http://hyperhh.de/html5/CopyPaste-8.0.2X.html > http://hyperhh.de/html5/CopyPaste-8.0.2.zip I did that intentionally and published this method in the HTML5 forum to make source code available. The Indy version of LiveCode has no download link. Of course this is no encryption. BUT you can *password protect* the scripts of your standalone with the Indy version. As I did here: http://hyperhh.de/html5/EasyCropA-9.0.0-dp-4hhX.html http://hyperhh.de/html5/EasyCropA-9.0.0-dp-4.zip If you wish to sell your standalone you need moreover the HTML5 license. From ambassador at fourthworld.com Tue Nov 19 13:12:50 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Nov 2019 10:12:50 -0800 Subject: encrypt a standalone html5 In-Reply-To: References: Message-ID: <963f326d-128f-9ad4-2750-b72e9589cfbc@fourthworld.com> Riko Abadi wrote: > is it possible to encrypt a standalone html5 file. So it can't be > downloaded and unzipped. So other people can see our logic script. > for example: http://hyperhh.de/html5/CopyPaste-8.0.2X.html > http://hyperhh.de/html5/CopyPaste-8.0.2.zip > > I can see the stack card and copy the logic. > I want it when other people download the html5 standalone zip they > can't read my livecode logic script > is there another way to make it encrypted? I believe HH's examples are using the Community Edition, in which source is available by design. As with the desktop edition, I believe LC's HTML export allows use of stacks whose scripts have been password-protected. That said, password protection only applies to the on-disk representation of a stack. Once in memory, the algorithms of any program made with any tool can be dumped and disassembled. If you have a need to protect secrets beyond what most desktop apps need, consider moving those secrets to a server and accessing them from your client 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 mailkeliko01 at gmail.com Tue Nov 19 13:14:43 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 20 Nov 2019 01:14:43 +0700 Subject: encrypt a standalone html5 In-Reply-To: <27906E17-F787-4604-93B9-9FB209CE35FE@hyperhh.de> References: <27906E17-F787-4604-93B9-9FB209CE35FE@hyperhh.de> Message-ID: Thanks hh for your respon, How do i protect my application with a password? I use livecode business. Thanks Pada tanggal Rab, 20 Nov 2019 01.08, hh via use-livecode < use-livecode at lists.runrev.com> menulis: > > Riko A. wrote: > > Is it possible to encrypt a standalone html5 file. > > So it can't be downloaded and unzipped. So other > > people can see our logic script. for example: > > http://hyperhh.de/html5/CopyPaste-8.0.2X.html > > http://hyperhh.de/html5/CopyPaste-8.0.2.zip > > I did that intentionally and published this method > in the HTML5 forum to make source code available. > > The Indy version of LiveCode has no download link. > Of course this is no encryption. > > BUT you can *password protect* the scripts of your > standalone with the Indy version. As I did here: > > http://hyperhh.de/html5/EasyCropA-9.0.0-dp-4hhX.html > http://hyperhh.de/html5/EasyCropA-9.0.0-dp-4.zip > > If you wish to sell your standalone you need moreover > the HTML5 license. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 19 13:19:17 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Nov 2019 10:19:17 -0800 Subject: Commands on server and lack of examples In-Reply-To: <302c3e84-9a3b-6df5-adaf-6f01c8a43926@sonic.net> References: <302c3e84-9a3b-6df5-adaf-6f01c8a43926@sonic.net> Message-ID: <81fce3fd-a796-1495-aa18-00105ca7ef25@fourthworld.com> It's frustrating, having to choose between adoption-impairing excessive resource usage, or adoption-impairing usability issues raised by the setup complexity of the workaround (custom font config file). I may be able to help with the workaround, writing a script to set that up. But I'm finding that there are so many different shared hosting configs, each with their own precious special needs, that making a single installation script for all of them is non-trivial. -- Richard Gaskin Fourth World Systems Mark Wieder wrote: > On 11/14/19 5:47 PM, Richard Gaskin via use-livecode wrote: > >> Wow. Even worse than I'd thought. >> >> LC Server is such a wonderful tool, I feel it could provide a great way >> to introduce other devs to chunk expressions and more. But after that >> experience on a popular shared host that couldn't handle LC's resource >> usage, I began to feel dismayed by the prospects. >> >> If we can't find a solution in the engine, at least we have a workaround >> with a custom font config file. But it's so many extra steps to set that >> up it rather kills the joy of LC's simplicity. >> > > I forgot to mention libgraphite, which is loaded by default by libharfbuzz. > > FWIW, the following 242 font files are checked (open file, read a few > bytes from start of file, close file) on my linux system for each server > transaction. This in spite of my executing a simple "hello world" script > that uses NO fonts: > > /etc/fonts/fonts.conf > /etc/fonts/conf.d > /etc/fonts/conf.d/10-hinting-slight.conf > /etc/fonts/conf.d/10-scale-bitmap-fonts.conf > /etc/fonts/conf.d/11-lcdfilter-default.conf > /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf > /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf > /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf > /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf > /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf > /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf > /etc/fonts/conf.d/20-unhint-small-vera.conf > /etc/fonts/conf.d/30-metric-aliases.conf > /etc/fonts/conf.d/30-opensymbol.conf > /etc/fonts/conf.d/40-nonlatin.conf > /etc/fonts/conf.d/45-generic.conf > /etc/fonts/conf.d/45-latin.conf > /etc/fonts/conf.d/49-sansserif.conf > /etc/fonts/conf.d/50-user.conf > /home/mwieder/.config/fontconfig/conf.d > /home/mwieder/.config/fontconfig/fonts.conf > /home/mwieder/.config/font-manager/conf.d > /home/mwieder/.config/font-manager/directories.conf > /home/mwieder/.config/font-manager/local.conf > /home/mwieder/.config/font-manager/select.conf > /home/mwieder/.fonts.conf.d > /home/mwieder/.fonts.conf > /etc/fonts/conf.d/51-local.conf > /etc/fonts/local.conf > /etc/fonts/conf.d/57-dejavu-sans-mono.conf > /etc/fonts/conf.d/57-dejavu-sans.conf > /etc/fonts/conf.d/57-dejavu-serif.conf > /etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf > /etc/fonts/conf.d/58-dejavu-lgc-sans.conf > /etc/fonts/conf.d/58-dejavu-lgc-serif.conf > /etc/fonts/conf.d/59-lohit-devanagari.conf > /etc/fonts/conf.d/60-generic.conf > /etc/fonts/conf.d/60-latin.conf > /etc/fonts/conf.d/64-01-tlwg-kinnari.conf > /etc/fonts/conf.d/64-02-tlwg-norasi.conf > /etc/fonts/conf.d/64-10-tlwg-loma.conf > /etc/fonts/conf.d/64-11-tlwg-waree.conf > /etc/fonts/conf.d/64-13-tlwg-garuda.conf > /etc/fonts/conf.d/64-14-tlwg-umpush.conf > /etc/fonts/conf.d/64-15-laksaman.conf > /etc/fonts/conf.d/64-21-tlwg-typo.conf > /etc/fonts/conf.d/64-22-tlwg-typist.conf > /etc/fonts/conf.d/64-23-tlwg-mono.conf > /etc/fonts/conf.d/65-0-fonts-beng-extra.conf > /etc/fonts/conf.d/65-0-fonts-deva-extra.conf > /etc/fonts/conf.d/65-0-fonts-gubbi.conf > /etc/fonts/conf.d/65-0-fonts-gujr-extra.conf > /etc/fonts/conf.d/65-0-fonts-guru-extra.conf > /etc/fonts/conf.d/65-0-fonts-orya-extra.conf > /etc/fonts/conf.d/65-0-fonts-pagul.conf > /etc/fonts/conf.d/65-0-fonts-telu-extra.conf > /etc/fonts/conf.d/65-0-smc-meera.conf > /etc/fonts/conf.d/65-0-smc-rachana.conf > /etc/fonts/conf.d/65-droid-sans-fallback.conf > /etc/fonts/conf.d/65-fonts-persian.conf > /etc/fonts/conf.d/65-fonts-takao-pgothic.conf > /etc/fonts/conf.d/65-khmer.conf > /etc/fonts/conf.d/65-nonlatin.conf > /etc/fonts/conf.d/65-wqy-microhei.conf > /etc/fonts/conf.d/66-lohit-assamese.conf > /etc/fonts/conf.d/66-lohit-bengali.conf > /etc/fonts/conf.d/66-lohit-devanagari.conf > /etc/fonts/conf.d/66-lohit-gujarati.conf > /etc/fonts/conf.d/66-lohit-gurmukhi.conf > /etc/fonts/conf.d/66-lohit-kannada.conf > /etc/fonts/conf.d/66-lohit-odia.conf > /etc/fonts/conf.d/66-lohit-tamil-classical.conf > /etc/fonts/conf.d/66-lohit-tamil.conf > /etc/fonts/conf.d/66-lohit-telugu.conf > /etc/fonts/conf.d/67-fonts-smc-manjari.conf > /etc/fonts/conf.d/67-smc-anjalioldlipi.conf > /etc/fonts/conf.d/67-smc-chilanka.conf > /etc/fonts/conf.d/67-smc-dyuthi.conf > /etc/fonts/conf.d/67-smc-karumbi.conf > /etc/fonts/conf.d/67-smc-keraleeyam.conf > /etc/fonts/conf.d/67-smc-raghumalayalamsans.conf > /etc/fonts/conf.d/67-smc-suruma.conf > /etc/fonts/conf.d/67-smc-uroob.conf > /etc/fonts/conf.d/69-unifont.conf > /etc/fonts/conf.d/70-fonts-noto-cjk.conf > /etc/fonts/conf.d/70-no-bitmaps.conf > /etc/fonts/conf.d/80-delicious.conf > /etc/fonts/conf.d/89-tlwg-garuda-synthetic.conf > /etc/fonts/conf.d/89-tlwg-kinnari-synthetic.conf > /etc/fonts/conf.d/89-tlwg-laksaman-synthetic.conf > /etc/fonts/conf.d/89-tlwg-umpush-synthetic.conf > /etc/fonts/conf.d/90-fonts-nanum.conf > /etc/fonts/conf.d/90-synthetic.conf > /usr/share/fonts > /var/cache/fontconfig//3830d5c3ddfd5cd38a049b759396e72e-le64.cache-7 > /usr/local/share/fonts > /var/cache/fontconfig//4c599c202bc5c08e2d34565a40eac3b2-le64.cache-7 > /home/mwieder/.local/share/fonts > /var/cache/fontconfig//f34f8236e7353d7d85a1ce4a33e70966-le64.cache-7 > /usr/share/fonts/X11 > /var/cache/fontconfig//c855463f699352c367813e37f3f70ea7-le64.cache-7 > /usr/share/fonts/cMap > /var/cache/fontconfig//32b6488e5b8292a2e95c79d947e009e8-le64.cache-7 > /usr/share/fonts/cmap > /var/cache/fontconfig//57e423e26b20ab21d0f2f29c145174c3-le64.cache-7 > /usr/share/fonts/opentype > /var/cache/fontconfig//573ec803664ed168555e0e8b6d0f0c7f-le64.cache-7 > /usr/share/fonts/truetype > /var/cache/fontconfig//7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-7 > /usr/share/fonts/type1 > /var/cache/fontconfig//d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-7 > /home/mwieder/.fonts/Library > /var/cache/fontconfig//2d801cc98c54f31d2367c7c2c9804ad0-le64.cache-7 > /usr/share/fonts/X11/Type1 > /var/cache/fontconfig//e13b20fdb08344e0e664864cc2ede53d-le64.cache-7 > /usr/share/fonts/X11/encodings > /var/cache/fontconfig//707971e003b4ae6c8121c3a920e507f5-le64.cache-7 > /usr/share/fonts/X11/misc > /var/cache/fontconfig//cabbd14511b9e8a55e92af97fb3a0461-le64.cache-7 > /usr/share/fonts/X11/util > /var/cache/fontconfig//fe547fea3a41b43a38975d292a2b19c7-le64.cache-7 > /usr/share/fonts/cmap/adobe-cns1 > /var/cache/fontconfig//f1f2465696798768e9653f19e17ccdc8-le64.cache-7 > /usr/share/fonts/cmap/adobe-gb1 > /var/cache/fontconfig//95530828ff6c81d309f8258d8d02a23e-le64.cache-7 > /usr/share/fonts/cmap/adobe-japan1 > /var/cache/fontconfig//d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-7 > /usr/share/fonts/cmap/adobe-japan2 > /var/cache/fontconfig//e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-7 > /usr/share/fonts/cmap/adobe-korea1 > /var/cache/fontconfig//188ac73a183f12857f63bb60a4a6d603-le64.cache-7 > /usr/share/fonts/opentype/malayalam > /var/cache/fontconfig//6afa1bb216ce958c1589e297e8008489-le64.cache-7 > /usr/share/fonts/opentype/mathjax > /var/cache/fontconfig//d0972c3d32f097851eb916381fc38920-le64.cache-7 > /usr/share/fonts/opentype/noto > /var/cache/fontconfig//9b89f8e3dae116d678bbf48e5f21f69b-le64.cache-7 > /usr/share/fonts/truetype/Gubbi > /var/cache/fontconfig//f6e6e0a5c3d2f6ae0c0c2e0ecd42a997-le64.cache-7 > /usr/share/fonts/truetype/Nakula > /var/cache/fontconfig//49f0de54bdd920fe4f0dfd4cbac43e6b-le64.cache-7 > /usr/share/fonts/truetype/Navilu > /var/cache/fontconfig//85e0a52ce643a7ba2ae53e5d6949cead-le64.cache-7 > /usr/share/fonts/truetype/Sahadeva > /var/cache/fontconfig//4d9c95eba1cb85bbcf2878543262124a-le64.cache-7 > /usr/share/fonts/truetype/abyssinica > /var/cache/fontconfig//0c9eb80ebd1c36541ebe2852d3bb0c49-le64.cache-7 > /usr/share/fonts/truetype/ancient-scripts > /var/cache/fontconfig//30829fa25452a46451e813d634d7f916-le64.cache-7 > /usr/share/fonts/truetype/dejavu > /var/cache/fontconfig//d589a48862398ed80a3d6066f4f56f4c-le64.cache-7 > /usr/share/fonts/truetype/droid > /var/cache/fontconfig//3f7329c5293ffd510edef78f73874cfd-le64.cache-7 > /usr/share/fonts/truetype/fonts-beng-extra > /var/cache/fontconfig//674d1711f2d1d2a09646eb0bdcadee49-le64.cache-7 > /usr/share/fonts/truetype/fonts-deva-extra > /var/cache/fontconfig//550f3886151c940c12a5ed35f6a00586-le64.cache-7 > /usr/share/fonts/truetype/fonts-gujr-extra > /var/cache/fontconfig//f259c2cffa685e28062317905db73c4a-le64.cache-7 > /usr/share/fonts/truetype/fonts-guru-extra > /var/cache/fontconfig//551ecf3b0e8b0bca0f25c0944f561853-le64.cache-7 > /usr/share/fonts/truetype/fonts-kalapi > /var/cache/fontconfig//d5178ab6d91b49bf20a416737dcea9e8-le64.cache-7 > /usr/share/fonts/truetype/fonts-orya-extra > /var/cache/fontconfig//6b2c5944714ca7831b25bed9e85cb5c8-le64.cache-7 > /usr/share/fonts/truetype/fonts-telu-extra > /var/cache/fontconfig//370e5b74bf5dafc30834de68e24a87a4-le64.cache-7 > /usr/share/fonts/truetype/freefont > /var/cache/fontconfig//d52a8644073d54c13679302ca1180695-le64.cache-7 > /usr/share/fonts/truetype/kacst > /var/cache/fontconfig//b47c4e1ecd0709278f4910c18777a504-le64.cache-7 > /usr/share/fonts/truetype/kacst-one > /var/cache/fontconfig//b9d506c9ac06c20b433354fa67a72993-le64.cache-7 > /usr/share/fonts/truetype/lao > /var/cache/fontconfig//56cf4f4769d0f4abc89a4895d7bd3ae1-le64.cache-7 > /usr/share/fonts/truetype/liberation > /var/cache/fontconfig//3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-7 > /usr/share/fonts/truetype/liberation2 > /var/cache/fontconfig//9d2451b1fd30e5bffe8383fd27c35478-le64.cache-7 > /usr/share/fonts/truetype/lohit-assamese > /var/cache/fontconfig//564b2e68ac9bc4e36a6f7f6d6125ec1c-le64.cache-7 > /usr/share/fonts/truetype/lohit-bengali > /var/cache/fontconfig//a48eab177a16e4f3713381162db2f3e9-le64.cache-7 > /usr/share/fonts/truetype/lohit-devanagari > /var/cache/fontconfig//16c2fda60d1b4b719f4b3d06fd951d25-le64.cache-7 > /usr/share/fonts/truetype/lohit-gujarati > /var/cache/fontconfig//3f589640d34b7dc9042c8d453f7c8b9c-le64.cache-7 > /usr/share/fonts/truetype/lohit-kannada > /var/cache/fontconfig//aec30016f93e1b46d1a973dce0d74068-le64.cache-7 > /usr/share/fonts/truetype/lohit-malayalam > /var/cache/fontconfig//c5c45a61289222e0d30b1a26ef4effbe-le64.cache-7 > /usr/share/fonts/truetype/lohit-oriya > /var/cache/fontconfig//2171a34dccabdb6bcbbc728186263178-le64.cache-7 > /usr/share/fonts/truetype/lohit-punjabi > /var/cache/fontconfig//bab58bb527bb656aaa9f116d68a48d89-le64.cache-7 > /usr/share/fonts/truetype/lohit-tamil > /var/cache/fontconfig//589f83ef4c36d296ce6e1c846f468f08-le64.cache-7 > /usr/share/fonts/truetype/lohit-tamil-classical > /var/cache/fontconfig//f6d4eedfaab2589bde49f7a3ff831d22-le64.cache-7 > /usr/share/fonts/truetype/lohit-telugu > /var/cache/fontconfig//b872e6e592da6075ffa4ab0a1fcc0c75-le64.cache-7 > /usr/share/fonts/truetype/malayalam > /var/cache/fontconfig//def309198bfa603429122923fa2bb2d4-le64.cache-7 > /usr/share/fonts/truetype/myriad-online > /var/cache/fontconfig//24758ae07ab5e673120233f8836fa4b2-le64.cache-7 > /usr/share/fonts/truetype/nanum > /var/cache/fontconfig//8801497958630a81b71ace7c5f9b32a8-le64.cache-7 > /usr/share/fonts/truetype/noto > /var/cache/fontconfig//0bd3dc0958fa2205aaaa8ebb13e2872b-le64.cache-7 > /usr/share/fonts/truetype/openoffice > /var/cache/fontconfig//4794a0821666d79190d59a36cb4f44b5-le64.cache-7 > /usr/share/fonts/truetype/padauk > /var/cache/fontconfig//767a8244fc0220cfb567a839d0392e0b-le64.cache-7 > /usr/share/fonts/truetype/pagul > /var/cache/fontconfig//4f3e3037c9980c83b53a9351efadef62-le64.cache-7 > /usr/share/fonts/truetype/samyak > /var/cache/fontconfig//660208299946a285a940457d1287da33-le64.cache-7 > /usr/share/fonts/truetype/samyak-fonts > /var/cache/fontconfig//14a5e22175779b556eaa434240950366-le64.cache-7 > /usr/share/fonts/truetype/sinhala > /var/cache/fontconfig//dc05db6664285cc2f12bf69c139ae4c3-le64.cache-7 > /usr/share/fonts/truetype/takao-gothic > /var/cache/fontconfig//385c0604a188198f04d133e54aba7fe7-le64.cache-7 > /usr/share/fonts/truetype/tibetan-machine > /var/cache/fontconfig//1ac9eb803944fde146138c791f5cc56a-le64.cache-7 > /usr/share/fonts/truetype/tlwg > /var/cache/fontconfig//04aabc0a78ac019cf9454389977116d2-le64.cache-7 > /usr/share/fonts/truetype/ttf-khmeros-core > /var/cache/fontconfig//0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-7 > /usr/share/fonts/truetype/ubuntu > /var/cache/fontconfig//2300eef321c393bfd76478a5c0e95b23-le64.cache-7 > /usr/share/fonts/truetype/wqy > /var/cache/fontconfig//99e8ed0e538f840c565b6ed5dad60d56-le64.cache-7 > /usr/share/fonts/type1/gsfonts > /var/cache/fontconfig//945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-7 > /home/mwieder/.fonts/Library/S > /var/cache/fontconfig//bb1f948abfa40175733ad2af06084916-le64.cache-7 > /usr/share/fonts/X11/encodings/large > /var/cache/fontconfig//6333f38776742d18e214673cd2c24e34-le64.cache-7 > /usr/share/fonts/truetype/myriad-online/melody > /var/cache/fontconfig//a2d1ff13216d88a738b1b1cc4ab845e8-le64.cache-7 > /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf > > -- > -- > Mark Wieder > ahsoftware at gmail.com From hh at hyperhh.de Tue Nov 19 13:21:51 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Nov 2019 19:21:51 +0100 Subject: Special Graphic Effects - Kill Performance On Rapid Redraws Message-ID: This lesson is very short and simple: A bicycle (mobile) usually drives much slower and can transport much less weight than a car (desktop machine). From hh at hyperhh.de Tue Nov 19 13:30:05 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Nov 2019 19:30:05 +0100 Subject: encrypt a standalone html5 Message-ID: <03805983-7381-4577-B0C6-D375F7F6F649@hyperhh.de> > Riko A. wrote: > How do i protect my application with a password? I use livecode business. In the File/Standalone Application Settings go to Tab "Stacks". At bottom right you find a check and a field for the password. From lfredricks at proactive-intl.com Tue Nov 19 13:33:44 2019 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 19 Nov 2019 10:33:44 -0800 Subject: Reporting for LiveCode Introduced; 50% off in November Message-ID: Paradigma Software introduces a complete solution for deploying LiveCode applications on macOS, Windows and Linux with comprehensive reporting features, discounted 50% in November only. Reporting for LiveCode bundles together several professional solutions that extend LiveCode with advanced reporting features. https://valentina-db.com/en/discussions/6600-reporting-for-livecode-build,-t est-deploy-apps-with-reports,-printing,-labels-and-more What is Included - Valentina Studio Pro (select OS) with Report Designer for building, testing and previewing reports within a visual environment. Also fantastic db management tool for MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite (reg $199.99) - Valentina Reports ADK for LiveCode components for deploying the reporting engine on macOS, Windows and Linux (reg $299.99) - Valentina Server /25 (select OS) that includes Report Server as well as Valentina SQLite DB Server, Valentina DB Server and Valentina Forms Server (reg $499.99, included free with bundle) Reports are scalable from applications to Valentina Server and work transparently across operating systems for deployment. Valentina Report Objects include grids, sub-reports, graphs, charts, barcodes and more, and all objects can be scripted using JavaScript and SQL expressions. View and run reports right within the free version of Valentina Studio, Valentina Studio Pro, Valentina Server and within LiveCode applications with the embedded ADK report engine. Reports can also be exported as graphics, HTML, Postscript and PDF, with many printing options you would expect for building business applications, including labels, receipts and more. Reporting for LiveCode regular price is $599.99, but during November 2019 is available for the introductory price of only $299.99. You can also add two additional options and get the same 50% off during November! All products include 12 months of free updates and are fully up-gradable to other Paradigma Software products. Questions about Reporting for LiveCode? Ask on our dedicated forum: https://bit.ly/35kXKtp I can also do my best to answer your questions here on the mailing list as you like. Best regards, Lynn Fredricks Paradigma Software From hh at hyperhh.de Tue Nov 19 13:42:27 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Nov 2019 19:42:27 +0100 Subject: encrypt a standalone html5 Message-ID: > Richard G. wrote: > That said, password protection only applies to the on-disk > representation of a stack. Once in memory, the algorithms of > any program made with any tool can be dumped and disassembled. Little Criminals, I like this song by Randy Newman. https://www.youtube.com/watch?v=T_MDNdPwCRo ;-) From alex at tweedly.net Tue Nov 19 20:13:04 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 20 Nov 2019 01:13:04 +0000 Subject: Commands on server and lack of examples In-Reply-To: <81fce3fd-a796-1495-aa18-00105ca7ef25@fourthworld.com> References: <302c3e84-9a3b-6df5-adaf-6f01c8a43926@sonic.net> <81fce3fd-a796-1495-aa18-00105ca7ef25@fourthworld.com> Message-ID: <34e10be8-aab3-8b37-85e8-6de7269c3d8e@tweedly.net> On 19/11/2019 18:19, Richard Gaskin via use-livecode wrote: > > I may be able to help with the workaround, writing a script to set > that up.? But I'm finding that there are so many different shared > hosting configs, each with their own precious special needs, that > making a single installation script for all of them is non-trivial. > Call me a cynic :-) - but I'm an optimistic cynic .... I know *absolutely* nothing about the workaround or what's involved - but it's easy to believe there are a myriad of special config needs. However, I'm a cynic so I'll admit that I don't care about all the many hundreds or thousands of them - I only care about two; the two ISPs I use for my own sites. That's not *simply* selfishness, because I believe there are perhaps only a handful of ISPs who provide a high percentage of the Livecode (shared) servers found in the real world, and I'm optimistic to think that solving this problem for those cases would be enough to make a difference, and specifically would help anyone coming to LC server as a new user. Google tells me (in a 30 second search, limited to the first two pages) that only on-rev (aka Livecode hosting) and HostM specifically advertise themselves for Livecode servers. Maybe those two would be a good start ? (and by coincidence are the two I care about :-) :-) Alex. From ambassador at fourthworld.com Tue Nov 19 21:02:45 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Nov 2019 21:02:45 -0500 Subject: Commands on server and lack of examples Message-ID: <4f93e1a99cef9638e27d28074013a8df@fourthworld.com> Alex Tweedly wrote: On 19/11/2019 18:19, Richard Gaskin via use-livecode wrote: >> I may be able to help with the workaround, writing a script to set >> that up. But I'm finding that there are so many different shared >> hosting configs, each with their own precious special needs, that >> making a single installation script for all of them is non-trivial. ... > That's not *simply* selfishness, because I believe there are perhaps > only a handful of ISPs who provide a high percentage of the Livecode > (shared) servers found in the real world, and I'm optimistic to think > that solving this problem for those cases would be enough to make a > difference, and specifically would help anyone coming to LC server as > a new user. > > Google tells me (in a 30 second search, limited to the first two pages) > that only on-rev (aka Livecode hosting) and HostM specifically > advertise > themselves for Livecode servers. Maybe those two would be a good start > ? I suppose they would. I don't use either, but you've inspired me. :) I use Dreamhost and Interserver, and conceivably if I write a script that works with both of those we may find that's fine for most others. And then for edge cases we can maintain the code on GitHub so anyone who needs a change for another host can just add that part. In order of prevalence I'd guess that LC deploys are most common on: on-rev.com (very big) hostm.com (kinda big) dreamhost.com (several) jaguarpc.com (a few) ...and after that we're looking at a long but slim tail. I'll give it some thought for when my client work is behind me and I have some spare time. It would also be nice to write a script for installing LC Server on systems that don't have it preinstalled (pretty much everyone right now except on-rev and hostm). Even better would be to handle both shared and VPS hosting. If Let's Encrypt can be automated for so many systems with CertBot (an excellent piece of work), surely we can install LC Server. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Tue Nov 19 21:41:27 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 20 Nov 2019 02:41:27 +0000 Subject: Special Graphic Effects - Kill Performance On Rapid Redraws In-Reply-To: References: Message-ID: <2C8CE5CF-A9CD-4215-90CB-C9B8FD09ACC5@pidigital.co.uk> I was going to continue your analogy but it?s better to put it simply. When you see the effects other apps are able to accomplish on the same device you question the validity of arguing away the lack of performance from our apps. So looking into why is a valid request and worth some investigation. Sean Cole Pi Digital Prod Ltd > On 19 Nov 2019, at 18:21, hh via use-livecode wrote: > > ?This lesson is very short and simple: > > A bicycle (mobile) usually drives much slower and can > transport much less weight than a car (desktop machine). > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mailkeliko01 at gmail.com Tue Nov 19 21:43:14 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 20 Nov 2019 09:43:14 +0700 Subject: social share button Message-ID: Hello, is it possible livecode to add a social sharing button like the usual android application? like this: https://developer.android.com/training/sharing/send.html#java Thanks From mailkeliko01 at gmail.com Tue Nov 19 21:46:05 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 20 Nov 2019 09:46:05 +0700 Subject: Special Graphic Effects - Kill Performance On Rapid Redraws In-Reply-To: <2C8CE5CF-A9CD-4215-90CB-C9B8FD09ACC5@pidigital.co.uk> References: <2C8CE5CF-A9CD-4215-90CB-C9B8FD09ACC5@pidigital.co.uk> Message-ID: @sannyasin I have tried your application on Android SivaSiva 1.6 but I prefer your application "spiritual workout" I feel smoother and faster. Pada tanggal Rab, 20 Nov 2019 pukul 09.42 Pi Digital via use-livecode < use-livecode at lists.runrev.com> menulis: > I was going to continue your analogy but it?s better to put it simply. > When you see the effects other apps are able to accomplish on the same > device you question the validity of arguing away the lack of performance > from our apps. So looking into why is a valid request and worth some > investigation. > > Sean Cole > Pi Digital Prod Ltd > > > On 19 Nov 2019, at 18:21, hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?This lesson is very short and simple: > > > > A bicycle (mobile) usually drives much slower and can > > transport much less weight than a car (desktop machine). > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Tue Nov 19 22:13:18 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 20 Nov 2019 03:13:18 +0000 Subject: encrypt a standalone html5 In-Reply-To: <963f326d-128f-9ad4-2750-b72e9589cfbc@fourthworld.com> References: <963f326d-128f-9ad4-2750-b72e9589cfbc@fourthworld.com> Message-ID: I?ve made an aes encryption library for HTML5 deployment for handling the data I pull from our server via php and js. But AES is not as robust as I would like for the kind of sensitive data we are dealing with so I?m going to make an RSA soon. AES cyphers are easy to create and require very little research. See proprivacy.com/guides/aes-encryption I?d give you the code I?ve done but I don?t really own it as my client is paying for it. Maybe later I?ll be able. Sean Cole Pi Digital Prod Ltd > On 19 Nov 2019, at 18:12, Richard Gaskin via use-livecode wrote: > > If you have a need to protect secrets beyond what most desktop apps need, consider moving those secrets to a server and accessing them from your client app. From mailkeliko01 at gmail.com Tue Nov 19 22:43:11 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 20 Nov 2019 10:43:11 +0700 Subject: encrypt a standalone html5 In-Reply-To: References: <963f326d-128f-9ad4-2750-b72e9589cfbc@fourthworld.com> Message-ID: @Pi Digital I will gladly accept your help. Thanks Pada tanggal Rab, 20 Nov 2019 pukul 10.14 Pi Digital via use-livecode < use-livecode at lists.runrev.com> menulis: > I?ve made an aes encryption library for HTML5 deployment for handling the > data I pull from our server via php and js. But AES is not as robust as I > would like for the kind of sensitive data we are dealing with so I?m going > to make an RSA soon. AES cyphers are easy to create and require very little > research. See proprivacy.com/guides/aes-encryption > I?d give you the code I?ve done but I don?t really own it as my client is > paying for it. Maybe later I?ll be able. > > Sean Cole > Pi Digital Prod Ltd > > > On 19 Nov 2019, at 18:12, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > If you have a need to protect secrets beyond what most desktop apps > need, consider moving those secrets to a server and accessing them from > your client app. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Tue Nov 19 23:27:40 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 20 Nov 2019 04:27:40 +0000 Subject: encrypt a standalone html5 In-Reply-To: References: Message-ID: <9F61556C-F01F-44DF-9DC4-4DA96ADD9BA0@pidigital.co.uk> What specific help do you need Riko? Sean Cole Pi Digital Prod Ltd > On 20 Nov 2019, at 03:43, Riko Abadi via use-livecode wrote: > > ?@Pi Digital > > I will gladly accept your help. Thanks > > Pada tanggal Rab, 20 Nov 2019 pukul 10.14 Pi Digital via use-livecode < > use-livecode at lists.runrev.com> menulis: > >> I?ve made an aes encryption library for HTML5 deployment for handling the >> data I pull from our server via php and js. But AES is not as robust as I >> would like for the kind of sensitive data we are dealing with so I?m going >> to make an RSA soon. AES cyphers are easy to create and require very little >> research. See proprivacy.com/guides/aes-encryption >> I?d give you the code I?ve done but I don?t really own it as my client is >> paying for it. Maybe later I?ll be able. >> >> Sean Cole >> Pi Digital Prod Ltd >> >>> On 19 Nov 2019, at 18:12, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> If you have a need to protect secrets beyond what most desktop apps >> need, consider moving those secrets to a server and accessing them from >> your client app. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnthejocker at yahoo.it Wed Nov 20 03:45:22 2019 From: johnthejocker at yahoo.it (Giovanni) Date: Wed, 20 Nov 2019 09:45:22 +0100 Subject: Managing maximized windows on MacOS In-Reply-To: References: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6.ref@yahoo.it> <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> Message-ID: Hi everybody, as already said the main problem is that there is no way to intercept the maximization action and to understand if the window is maximized or not. screenrects or windowBoundingRect are not useful in this case mainly when the maximized window has a maxWidth or maxHeight value lower than the maximum width/height of the screenrect. Moreover due to the bug #21311 (https://quality.livecode.com/show_bug.cgi?id=21311 ) it?s not possible to prevent the windows maximization for the resizable stacks. So, any other hint about this topic? > Il giorno 12/nov/2019, alle ore 02:52, Paul McClernan via use-livecode ha scritto: > > I ran into this myself recently. LiveCode sends a resizeStack message when > you click the maximize "zoom box" button which you can intercept, but > there's no way to verify that it was the fullscreen zoom button that > generated the message. It would be nice if LC had the opposite of it's > iconifyStack > / uniconifyStack messages for maximize, maybe "fullscreenify" or something > like that. It would also be nice if it played nice with LiveCode's > non-native fullScreen modes, as it is now the stack automatically gets > resized to the current screen's sized putting all the contents to the upper > left (0,0) origin point. > I have played around a bit with a separate LiveCode builder implementation > macOS native fullscreen that seems to behave a bit differently, if you lock > the resizable attributes it centers your stack on the screen without the > resizing. It's part of this LCB library here: > https://github.com/PaulMcClernan/LiveCode-LCB-macOSTools > > On Mon, Nov 4, 2019 at 1:59 PM Giovanni via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi guys, >> from MacOS Mojave and on when you maximize a window (clicking on ?+? >> button on windows main bar) the system maximize the window on the entire >> screen hiding all the system bars and moving the window on a different >> ?virtual? space. >> >> Is there a way using LC to manage this window status? >> It?s possible to detect the window maximization (I.E. in a message) and >> manage the actions to activate when the window goes to this status or go >> back to the normal status? >> >> Thank you in advance for your tips! >> >> Regards >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mailkeliko01 at gmail.com Wed Nov 20 05:27:34 2019 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 20 Nov 2019 17:27:34 +0700 Subject: encrypt a standalone html5 In-Reply-To: <9F61556C-F01F-44DF-9DC4-4DA96ADD9BA0@pidigital.co.uk> References: <9F61556C-F01F-44DF-9DC4-4DA96ADD9BA0@pidigital.co.uk> Message-ID: If you don't mind, can you provide an encryption library for html5. Thanks Sean. Pada tanggal Rab, 20 Nov 2019 pukul 11.28 Pi Digital via use-livecode < use-livecode at lists.runrev.com> menulis: > What specific help do you need Riko? > > Sean Cole > Pi Digital Prod Ltd > > > On 20 Nov 2019, at 03:43, Riko Abadi via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?@Pi Digital > > > > I will gladly accept your help. Thanks > > > > Pada tanggal Rab, 20 Nov 2019 pukul 10.14 Pi Digital via use-livecode < > > use-livecode at lists.runrev.com> menulis: > > > >> I?ve made an aes encryption library for HTML5 deployment for handling > the > >> data I pull from our server via php and js. But AES is not as robust as > I > >> would like for the kind of sensitive data we are dealing with so I?m > going > >> to make an RSA soon. AES cyphers are easy to create and require very > little > >> research. See proprivacy.com/guides/aes-encryption > >> I?d give you the code I?ve done but I don?t really own it as my client > is > >> paying for it. Maybe later I?ll be able. > >> > >> Sean Cole > >> Pi Digital Prod Ltd > >> > >>> On 19 Nov 2019, at 18:12, Richard Gaskin via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> If you have a need to protect secrets beyond what most desktop apps > >> need, consider moving those secrets to a server and accessing them from > >> your client app. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Wed Nov 20 08:17:33 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 20 Nov 2019 08:17:33 -0500 Subject: Managing maximized windows on MacOS In-Reply-To: References: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6.ref@yahoo.it> <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> Message-ID: <48269210-ce18-87d5-a845-a5e106696687@researchware.com> On 11/20/2019 3:45 AM, Giovanni via use-livecode wrote: > Hi everybody, > as already said the main problem is that there is no way to intercept the maximization action and to understand if the window is maximized or not. > screenrects or windowBoundingRect are not useful in this case mainly when the maximized window has a maxWidth or maxHeight value lower than the maximum width/height of the screenrect. > > Moreover due to the bug #21311 (https://quality.livecode.com/show_bug.cgi?id=21311 ) it?s not possible to prevent the windows maximization for the resizable stacks. > > So, any other hint about this topic? As this is really an issue mainly on recent versions of macOS where maximize goes to full screen and then really on on the primary monitor as it covers things like the menu bar, I think a work-around in resizeStack is the way to go. in the resizeStack handler see get the rect of the stack - this will be the stacks new rect. If the top in the space normally reserved for the menu bar. It doesn't have to equal the rect of the primary monitor. You just eed to check the top and see if it is less than the height of the macOS menubar (I think 44px?? Can't remember off the top of my head). If top is less than 44px then the stack has been maximized and then you can reset the rect to the effective working rect of the primary screen so something like: on resizeStack ? lock screen ? if the screen of this stack = 1 then -- this stack is on the primary monitor ?? if (the effective top of this stack < (item 2 of the screenRect + 44)) then -- this stack has been maximized as its top is "above" the menubar ??? set the effective rect of this stack to the effective working screenRect ?? end if ? end if ? -- do the rest of resizeStack based on the (now) revised stack rect, so don't use the height or width passed as params, but get the height, width, or rect after this line so you have the revised rect. ? ... ? unlock screen end resizeStack I have not tested this - I just wrote it off the top of my head, so check to see if it works. From jjs at krutt.org Wed Nov 20 12:28:01 2019 From: jjs at krutt.org (JJS) Date: Wed, 20 Nov 2019 18:28:01 +0100 Subject: Commands on server and lack of examples In-Reply-To: <4f93e1a99cef9638e27d28074013a8df@fourthworld.com> References: <4f93e1a99cef9638e27d28074013a8df@fourthworld.com> Message-ID: At least i know now how to use it with ISPconfig setups and their howto's to get fantastic VPS Linux setups, maybe how it's working with my VPS helps Op 20-11-2019 om 03:02 schreef Richard Gaskin via use-livecode: > Alex Tweedly wrote: > > On 19/11/2019 18:19, Richard Gaskin via use-livecode wrote: >>> I may be able to help with the workaround, writing a script to set >>> that up.? But I'm finding that there are so many different shared >>> hosting configs, each with their own precious special needs, that >>> making a single installation script for all of them is non-trivial. > ... >> That's not *simply* selfishness, because I believe there are perhaps >> only a handful of ISPs who provide a high percentage of the Livecode >> (shared) servers found in the real world, and I'm optimistic to think >> that solving this problem for those cases would be enough to make a >> difference, and specifically would help anyone coming to LC server as >> a new user. >> >> Google tells me (in a 30 second search, limited to the first two pages) >> that only on-rev (aka Livecode hosting) and HostM specifically advertise >> themselves for Livecode servers. Maybe those two would be a good start ? > > I suppose they would. > > I don't use either, but you've inspired me. :) > > I use Dreamhost and Interserver, and conceivably if I write a script > that works with both of those we may find that's fine for most > others.? And then for edge cases we can maintain the code on GitHub so > anyone who needs a change for another host can just add that part. > > In order of prevalence I'd guess that LC deploys are most common on: > > on-rev.com (very big) > hostm.com (kinda big) > dreamhost.com (several) > jaguarpc.com (a few) > ...and after that we're looking at a long but slim tail. > > I'll give it some thought for when my client work is behind me and I > have some spare time. > > It would also be nice to write a script for installing LC Server on > systems that don't have it preinstalled (pretty much everyone right > now except on-rev and hostm).? Even better would be to handle both > shared and VPS hosting.? If Let's Encrypt can be automated for so many > systems with CertBot (an excellent piece of work), surely we can > install LC Server. > From jjs at krutt.org Wed Nov 20 12:30:35 2019 From: jjs at krutt.org (JJS) Date: Wed, 20 Nov 2019 18:30:35 +0100 Subject: Special Graphic Effects - Kill Performance On Rapid Redraws In-Reply-To: <2C8CE5CF-A9CD-4215-90CB-C9B8FD09ACC5@pidigital.co.uk> References: <2C8CE5CF-A9CD-4215-90CB-C9B8FD09ACC5@pidigital.co.uk> Message-ID: <85f0602b-5b32-d1a9-36a7-5e6773c7b9fd@krutt.org> Yes very well said. We must have the power with our great dev tool to get even more things done easier. Same like Android Studio Op 20-11-2019 om 03:41 schreef Pi Digital via use-livecode: > I was going to continue your analogy but it?s better to put it simply. When you see the effects other apps are able to accomplish on the same device you question the validity of arguing away the lack of performance from our apps. So looking into why is a valid request and worth some investigation. > > Sean Cole > Pi Digital Prod Ltd > >> On 19 Nov 2019, at 18:21, hh via use-livecode wrote: >> >> ?This lesson is very short and simple: >> >> A bicycle (mobile) usually drives much slower and can >> transport much less weight than a car (desktop machine). >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 20 12:50:29 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Nov 2019 18:50:29 +0100 Subject: browserDocumentLoadComplete working correctly? Message-ID: <228B9DBC-2F18-45CB-9719-F12AAD929560@major-k.de> Hi all, no idea if this is a bug or feature: When I use the message "browserDocumentLoadComplete" this does not work correctly when dealing with "dynamically created pages" (no idea if that is the correct term?). -> put url "http://www.whatever.com/anything" into aVariable does not work in these cases! I set a custom property to the sourcecode of a browser object with some tricks that Hermann generously told me ->on browserDocumentLoadComplete But when the message fires, the CP is EMPTY and I have to wait a little longer until the sourcecode is actually stored in that CP. My question: Is that correct behaviour of the "browserDocumentLoadComplete" message? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From johnthejocker at yahoo.it Wed Nov 20 13:09:32 2019 From: johnthejocker at yahoo.it (Giovanni) Date: Wed, 20 Nov 2019 19:09:32 +0100 Subject: Managing maximized windows on MacOS In-Reply-To: <48269210-ce18-87d5-a845-a5e106696687@researchware.com> References: <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6.ref@yahoo.it> <31F4F15B-2B4D-4AB2-BBE3-49B2AF5B48E6@yahoo.it> <48269210-ce18-87d5-a845-a5e106696687@researchware.com> Message-ID: Hi Paul, thanks for your reply but unfortunately this workaround cannot suit the need for different reasons: - the stacks that have a maxHeight lower than the height resolution of the screen will not be triggered by this condition; - the condition that you suggest can be triggered manually in other conditions without maximizing the window (multiple screens, windows dragged over the top of the screen etc) As far as I can say there is no way to detect a maximized window with the plus button and I think that should be tracked by LC > Il giorno 20/nov/2019, alle ore 14:17, Paul Dupuis via use-livecode ha scritto: > > On 11/20/2019 3:45 AM, Giovanni via use-livecode wrote: >> Hi everybody, >> as already said the main problem is that there is no way to intercept the maximization action and to understand if the window is maximized or not. >> screenrects or windowBoundingRect are not useful in this case mainly when the maximized window has a maxWidth or maxHeight value lower than the maximum width/height of the screenrect. >> >> Moreover due to the bug #21311 (https://quality.livecode.com/show_bug.cgi?id=21311 ) it?s not possible to prevent the windows maximization for the resizable stacks. >> >> So, any other hint about this topic? > > As this is really an issue mainly on recent versions of macOS where maximize goes to full screen and then really on on the primary monitor as it covers things like the menu bar, I think a work-around in resizeStack is the way to go. in the resizeStack handler see get the rect of the stack - this will be the stacks new rect. If the top in the space normally reserved for the menu bar. It doesn't have to equal the rect of the primary monitor. You just eed to check the top and see if it is less than the height of the macOS menubar (I think 44px? Can't remember off the top of my head). If top is less than 44px then the stack has been maximized and then you can reset the rect to the effective working rect of the primary screen > > so something like: > > on resizeStack > lock screen > if the screen of this stack = 1 then -- this stack is on the primary monitor > if (the effective top of this stack < (item 2 of the screenRect + 44)) then -- this stack has been maximized as its top is "above" the menubar > set the effective rect of this stack to the effective working screenRect > end if > end if > -- do the rest of resizeStack based on the (now) revised stack rect, so don't use the height or width passed as params, but get the height, width, or rect after this line so you have the revised rect. > ... > unlock screen > end resizeStack > > I have not tested this - I just wrote it off the top of my head, so check to see if it works. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 20 13:43:18 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 20 Nov 2019 13:43:18 -0500 Subject: browserDocumentLoadComplete working correctly? In-Reply-To: <228B9DBC-2F18-45CB-9719-F12AAD929560@major-k.de> References: <228B9DBC-2F18-45CB-9719-F12AAD929560@major-k.de> Message-ID: to me it seems like a nope. I would think that this is an issue with the browser widget not being able to detect when the page is completely "rendered" .... which is not the same as being completely "loaded"..... as soon as I noticed that this message does not work consistently, I gave up on using it ...so I did not further investigate the reasons for this. On Wed, Nov 20, 2019 at 12:50 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > no idea if this is a bug or feature: > When I use the message "browserDocumentLoadComplete" > this does not work correctly when dealing with "dynamically created pages" > (no idea if that is the correct term?). > > -> put url "http://www.whatever.com/anything" into aVariable > does not work in these cases! > > I set a custom property to the sourcecode of a browser object with some > tricks > that Hermann generously told me ->on browserDocumentLoadComplete > > But when the message fires, the CP is EMPTY and I have to wait a little > longer until > the sourcecode is actually stored in that CP. > > My question: > Is that correct behaviour of the "browserDocumentLoadComplete" message? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From klaus at major-k.de Wed Nov 20 15:24:07 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Nov 2019 21:24:07 +0100 Subject: browserDocumentLoadComplete working correctly? In-Reply-To: References: <228B9DBC-2F18-45CB-9719-F12AAD929560@major-k.de> Message-ID: <7491628F-46A3-431F-B6B9-EFD71E9993A7@major-k.de> Hi Tom > Am 20.11.2019 um 19:43 schrieb Tom Glod via use-livecode : > > to me it seems like a nope. > > I would think that this is an issue with the browser widget not being able > to detect when the page is completely "rendered" .... which is not the same > as being completely "loaded"..... > > as soon as I noticed that this message does not work consistently, I gave > up on using it ...so I did not further investigate the reasons for this. OK, I see, maybe CURL, this is for a Mac app, can do this? If yes, how to call CURL: curl --url "url here..." will only return what "put url xxx into aVariable" does, show incomplete data. Any hints very welcome! > On Wed, Nov 20, 2019 at 12:50 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> no idea if this is a bug or feature: >> When I use the message "browserDocumentLoadComplete" >> this does not work correctly when dealing with "dynamically created pages" >> (no idea if that is the correct term?). >> >> -> put url "http://www.whatever.com/anything" into aVariable >> does not work in these cases! >> >> I set a custom property to the sourcecode of a browser object with some >> tricks >> that Hermann generously told me ->on browserDocumentLoadComplete >> >> But when the message fires, the CP is EMPTY and I have to wait a little >> longer until >> the sourcecode is actually stored in that CP. >> >> My question: >> Is that correct behaviour of the "browserDocumentLoadComplete" message? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Wed Nov 20 16:13:40 2019 From: hh at hyperhh.de (hh) Date: Wed, 20 Nov 2019 22:13:40 +0100 Subject: browserDocumentLoadComplete working correctly? Message-ID: <686E1B51-0BDB-4E9A-9800-A2E064557082@hyperhh.de> Yes, browserDocumentLoadComplete is working correctly and consistent with HTML5, no bug here. BrowserDocumentLoadComplete is fired as soon as the DOM is finished incl. *reading* your script tags. *After* that your javascript is *executed*. The server and browser/ browser widget don't check/care what you will execute in that page after loading the instructions. How should they know that? Nevertheless this is OK for short jobs, but if you are loading from a slow server or are loading large images and/or apply a time consuming javascript then you have to add some "waiting time", usually up to one second is long enough. There is only one "full" remedy I can see: An own JavaScript handler. One way to know exactly when you are done is to use an "async" function in onload so that you can "await" that certain jobs are done and then send a callback via a javascriptHandler to LC. From klaus at major-k.de Wed Nov 20 17:12:44 2019 From: klaus at major-k.de (Klaus major-k) Date: Wed, 20 Nov 2019 23:12:44 +0100 Subject: browserDocumentLoadComplete working correctly? In-Reply-To: <686E1B51-0BDB-4E9A-9800-A2E064557082@hyperhh.de> References: <686E1B51-0BDB-4E9A-9800-A2E064557082@hyperhh.de> Message-ID: Hi Hermann, > Am 20.11.2019 um 22:13 schrieb hh via use-livecode : > > Yes, browserDocumentLoadComplete is working correctly and consistent > with HTML5, no bug here. > BrowserDocumentLoadComplete is fired as soon as the DOM is finished > incl. *reading* your script tags. ah, I see, thanks for the clarification! > *After* that your javascript is *executed*. The server and browser/ > browser widget don't check/care what you will execute in that page > after loading the instructions. How should they know that? Hm, clairvoyance? 8-) Yes, get it! > Nevertheless this is OK for short jobs, but if you are loading from > a slow server or are loading large images and/or apply a time > consuming javascript then you have to add some "waiting time", > usually up to one second is long enough. Yes, I am already using your tricks, thanks again, but speed is important for my project, since I will need to load up to 20-30 (maybe more later) pages and extract hte data in a specific TABLE from the sourcecode. > There is only one "full" remedy I can see: An own JavaScript handler. > > One way to know exactly when you are done is to use an "async" > function in onload so that you can "await" that certain jobs are done > and then send a callback via a javascriptHandler to LC. That requires access to the html-file, right? Or can I "inject" something like that on-the-fly? If yes, how should it look like? Sorry, still a complete newbie in JavaScript... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Thu Nov 21 03:52:07 2019 From: hh at hyperhh.de (hh) Date: Thu, 21 Nov 2019 09:52:07 +0100 Subject: browserDocumentLoadComplete working correctly? Message-ID: Klaus, looked in the scenario you mention. (I didn't say to use messages of the browser widget ...) This is your scenario (correct me if not): You have several pages on one or more foreign servers. These pages have dynamically generated content you wish to access and extract parts to custom properties. We need a solution that you can adjust yourself without knowing JavaScript. As you need a browser widget, several more use the same widget code, so they are no additional burden in size. You could try the following: Use the javascriptHandler JS I told you with an additional parameter (identifying the page) in the card script. Load each page you need in a separate (invisible) browser widget, using a short wait for the LC callback with that javaScriptHandler. In the handler JS you can check ALL incoming pages for having the content you wish to read, also with a "send in time" loop (say 500 millisecs intervals) for a retry. Then you can even build and update your display page with a "waiting for " for the parts that are not yet ready. A problem with that method could be that the server doesn't allow too many multiple connections from the same IP. Then one has to do the method in pieces with an allowed number of connections. For more detailed questions contact me via email. This may be too special for the list, especially as you may be not allowed to publish too much details. From klaus at major-k.de Thu Nov 21 08:14:14 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Nov 2019 14:14:14 +0100 Subject: browserDocumentLoadComplete working correctly? In-Reply-To: References: Message-ID: <23642192-3662-4BE7-9F58-2F11F8C004A2@major-k.de> Hallo Hermann, > Am 21.11.2019 um 09:52 schrieb hh via use-livecode : > > Klaus, > > looked in the scenario you mention. (I didn't say to use > messages of the browser widget ...) I did not say you did so, just rying out some things! :-) > This is your scenario (correct me if not): > > You have several pages on one or more foreign servers. > ... > For more detailed questions contact me via email. This may > be too special for the list, especially as you may be not > allowed to publish too much details. Thank you very much, will send you a private mail later. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From MikeKerner at roadrunner.com Thu Nov 21 09:44:50 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 21 Nov 2019 09:44:50 -0500 Subject: xpaj-gen infection? Message-ID: i decided to try out avast for mac, and almost immediately i got a message that one of our compiled LC windoze apps is infected with xpaj-gen. I don't see this topic mentioned anywhere. Sophos didn't ever see anything, and neither did Norton. So maybe it's a false positive, and maybe it's something else that everyone but I know about. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Thu Nov 21 10:02:53 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 21 Nov 2019 10:02:53 -0500 Subject: xpaj-gen infection? In-Reply-To: References: Message-ID: <001801d5a07c$c39999b0$4acccd10$@net> This was reported on the forum back in 2016 and again in 2018. http://forums.livecode.com/viewtopic.php?t=26873 >From RG: "Probably a false positive. There was a rash of false positives for LC standalones several years ago with AVG, and after some of us contacted AVG they were able to refine their detection patterns. You may want to contact Avast and see what can be done." I agree. I contacted Kaspersky once and they fixed a false positive in less than 24 hours. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Thursday, November 21, 2019 9:45 AM To: How to use LiveCode Cc: Mike Kerner Subject: xpaj-gen infection? i decided to try out avast for mac, and almost immediately i got a message that one of our compiled LC windoze apps is infected with xpaj-gen. I don't see this topic mentioned anywhere. Sophos didn't ever see anything, and neither did Norton. So maybe it's a false positive, and maybe it's something else that everyone but I know about. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Nov 21 12:29:06 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 21 Nov 2019 12:29:06 -0500 Subject: AVF and DirectShow and access to media tracks and raw data Message-ID: The evolution of LiveCode from Quicktime (OSX/Win) to AVF (OSX) and DirectShow (Win), while necessary, lost some potentially useful features. Under Quicktime you have several player properties to see what "tracks" the player file has and to turn those track on and off. With the current Player object you have the mediaTypes property, which appears to provide the tracks and that's it. What I am really looking for is library or code to extract the audio track from videos? And subsequently to that, get access to the raw audio data as a string of bytes. I am aware of an older LC stack, AudioWaveForm, written i believe by Mark Smith, that parsed raw audio data via a live code script for a very limited set of audio formats ( I that was just uncompressed AIC or WAV audio files) Has anyone built a library or L9 widget that converts audio to a wave form image for display? Or at least lets you get the uncompressed audio byte data from a variety of video and audio sources? Baring that, does any one know of a set fo OS APIs or 3rd party open source library that could be wrapped by LC9's FFI interface into a widget or library? From tom at makeshyft.com Thu Nov 21 15:18:33 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 21 Nov 2019 15:18:33 -0500 Subject: Special Graphic Effects - Kill Performance On Rapid Redraws In-Reply-To: <85f0602b-5b32-d1a9-36a7-5e6773c7b9fd@krutt.org> References: <2C8CE5CF-A9CD-4215-90CB-C9B8FD09ACC5@pidigital.co.uk> <85f0602b-5b32-d1a9-36a7-5e6773c7b9fd@krutt.org> Message-ID: Swami, I just downloaded the spiritual workout application..I really like it. Is the chanting practise menu a datagrid? or a group with custom controls?...it scrolls very well.... can you share the settings? I like the responsiveness and scrolling of the various menus. Very well done, one of the first excellent examples I have ever seen of a LC mobile app. Thanks, Tom On Wed, Nov 20, 2019 at 12:30 PM JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes very well said. > > We must have the power with our great dev tool to get even more things > done easier. > > Same like Android Studio > > Op 20-11-2019 om 03:41 schreef Pi Digital via use-livecode: > > I was going to continue your analogy but it?s better to put it simply. > When you see the effects other apps are able to accomplish on the same > device you question the validity of arguing away the lack of performance > from our apps. So looking into why is a valid request and worth some > investigation. > > > > Sean Cole > > Pi Digital Prod Ltd > > > >> On 19 Nov 2019, at 18:21, hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?This lesson is very short and simple: > >> > >> A bicycle (mobile) usually drives much slower and can > >> transport much less weight than a car (desktop machine). > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From williamdesmet at gmail.com Fri Nov 22 07:01:07 2019 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 22 Nov 2019 13:01:07 +0100 Subject: New app update: four errors in plist In-Reply-To: <29381C6F-7032-407B-9332-597F2EC0CA6E@hindu.org> References: <009a01d59b2f$41ec21a0$c5c464e0$@net> <16e6c986508.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <29381C6F-7032-407B-9332-597F2EC0CA6E@hindu.org> Message-ID: Hi there, Another app update with the same errors. And another 'ITMS-90683: Missing Purpose String in Info.plist' This time 'NSBluetoothAlwaysUsageDescription' (and the app doesn't use Bluetooth). Did several updates this week and only one got this error back. But within a day approved. So from now on I wait for the review before uploading a new binary. greetings, William Op vr 15 nov. 2019 om 20:56 schreef Sannyasin Brahmanathaswami via use-livecode : > FYI, you click "Beta Test" in standalone settings and you will get the > "beta entitlement", properly installed , which is required if you want to > use Test Flight. > > > > > > In standalone settings I see three options: Required, Prohibited, n/a. > Do you mean the plist always contains a location option even if "n/a" is > selected? That doesn't seem right. > > On 11/15/19 4:47 AM, William de Smet via use-livecode wrote: > Hi Jacqueline, > One of the two options is always selected. > You can't select none. > The 'problem' is that there is one required key missing now so you have to > add it yourself bij editing the plist. > After editing the plist the app update was approved within 6 hours #quick > greetings, > William > Op vr 15 nov. 2019 om 02:07 schreef J. Landman Gay via use-livecode < > mailto:use-livecode at lists.runrev.com>: > Is the location key included in the plist if you don't select location > services in standalone settings? (I haven't built for iOS in a long time.) > > -- > Jacqueline Landman Gay | mailto:jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode > wrote: > > ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on > suspend. You need this key for legacy OS versions. You will not be > rejected > for this(yet). > ITMS-90078: will also not get you rejected. This is caused by some > library > binding issue that Mark explained a while back. > ITMS-90191: Also a warning. This is for Beta testing. You can enable the > beta entitlement when generating a provisioning profile. > ITMS-90683: This is the one that will get you rejected. For example if > you > use location services you will have to hack the IDE to change the text of > the location request text. This can be a pain because you have to do it > every time the IDE is started. What I do: > 1) In the message box ==> "put the script of "revSaveAsIosStandalone" > into > url ("/somePath/someFilename") > 2) Edit the text file(See QCC 22150) > > After that every time you want to submit to the app store do this in the > message box ==> set the script of "revSaveAsIosStandalone" to url > ("/somePath/someFilename") > > Ralph DiMola > IT Director > Evergreen Information Services > mailto:rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of William de Smet via use-livecode > Sent: Thursday, November 14, 2019 2:00 PM > To: How to use LiveCode > Cc: William de Smet > Subject: New app update: four errors in plist > > Hi there, > > Today I uploaded an update for one of my apps to the App Store. > Now I have four errors coming back from Apple. > Still need to edit the info.plist but it'd easy to make a mistake with > this. > When will this be fixed? > > ----- > Got this notification back: > ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key > 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that > will soon be unsupported. Remove the key, rebuild your app and resubmit. > > ITMS-90078: Missing Push Notification Entitlement - Your app appears to > register with the Apple Push Notification service, but the app > signature's > entitlements do not include the "aps-environment" entitlement. If your > app > uses the Apple Push Notification service, make sure your App ID is > enabled > for Push Notification in the Provisioning Portal, and resubmit after > signing > your app with a Distribution provisioning profile that includes the > "aps-environment" entitlement. Xcode does not automatically copy the > aps-environment entitlement from provisioning profiles at build time. > This > behavior is intentional. To use this entitlement, either enable Push > Notifications in the project editor's Capabilities pane, or manually add > the > entitlement to your entitlements file. For more information, see > > > https://developer.apple.com/library/content/documentation/NetworkingInternet > > > /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r > ef/doc/uid/TP40008194-CH6-SW1 > . > > ITMS-90191: Missing beta entitlement - Your app does not include the > beta-reports-active entitlement. If you intend to distribute this build > via > TestFlight for beta testing, please re-build this app with an App Store > Distribution provisioning profile. Do not use ad-hoc profiles. > > ITMS-90683: Missing Purpose String in Info.plist - Your app's code > references one or more APIs that access sensitive user data. The app's > Info.plist file should contain a NSLocationAlwaysUsageDescription key > with a > user-facing purpose string explaining clearly and completely why your app > needs the data. Starting Spring 2019, all apps submitted to the App Store > that access user data are required to include a purpose string. If you're > using external libraries or SDKs, they may reference APIs that require a > purpose string. While your app might not use these APIs, a purpose > string is > still required. You can contact the developer of the library or SDK and > request they release a version of their code that doesn't contain the > APIs. > Learn more ( > > > https://developer.apple.com/documentation/uikit/core_app/protecting_the_user > _s_privacy > ). > ----- > > Greetings, > > William > _______________________________________________ > use-livecode mailing list > mailto:use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > mailto:use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > mailto:use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > mailto:use-livecode 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 | mailto:jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > mailto:use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 22 08:33:52 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 22 Nov 2019 14:33:52 +0100 Subject: remove DEFAULTMENUBAR? Message-ID: <50AD395B-7A8A-49DF-AE2A-7AF7DFEB746E@major-k.de> Hi friends, we can: ... set the defaultmenubar to "name of any group" ... But when I try to remove the menubar again with ... set the defaultmenubar to EMPTY ... I get an error: Cannot find group (or something) However I can set the defaultmenubar of a specific stack to EMPTY!? ... set the defaultmenubar of this stack to EMPTY ... So how can we remove a defaultmenubar NOT tied to a stack? What am I missing? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dunbarx at aol.com Fri Nov 22 08:54:34 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 22 Nov 2019 13:54:34 +0000 (UTC) Subject: remove DEFAULTMENUBAR? In-Reply-To: <50AD395B-7A8A-49DF-AE2A-7AF7DFEB746E@major-k.de> References: <50AD395B-7A8A-49DF-AE2A-7AF7DFEB746E@major-k.de> Message-ID: <543582376.3977811.1574430874147@mail.yahoo.com> Hi Klaus.? I never have worked at all with this group, and was surprised that it was a LC stack in the first place.? So I do not know why one cannot set it to empty, except maybe that something inside LC prevents that.? On a completely tangential note, my defaultMenubar contains ten buttons, the first one being button "File", and the last one (after button "help") being button "divider". No idea where that button is, or what it does.? Craig -----Original Message----- From: Klaus major-k via use-livecode To: LiveCode Runrev.Com Cc: Klaus major-k Sent: Fri, Nov 22, 2019 8:34 am Subject: remove DEFAULTMENUBAR? Hi friends, we can: ... set the defaultmenubar to "name of any group" ... But when I try to remove the menubar again with ... set the defaultmenubar to EMPTY ... I get an error: Cannot find group (or something) However I can set the defaultmenubar of a specific stack to EMPTY!? ... set the defaultmenubar of this stack to EMPTY ... So how can we remove a defaultmenubar NOT tied to a stack? What am I missing? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Nov 22 09:02:44 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 22 Nov 2019 15:02:44 +0100 Subject: remove DEFAULTMENUBAR? In-Reply-To: <543582376.3977811.1574430874147@mail.yahoo.com> References: <50AD395B-7A8A-49DF-AE2A-7AF7DFEB746E@major-k.de> <543582376.3977811.1574430874147@mail.yahoo.com> Message-ID: Hi Craig, > Am 22.11.2019 um 14:54 schrieb dunbarx--- via use-livecode : > > Hi Klaus. > > I never have worked at all with this group, and was surprised that it was a LC stack in the first place. no, a menubar is a group of buttons, not a stack. It CAN be a stack however, but not if you want an Apple macOS menubar. > So I do not know why one cannot set it to empty, except maybe that something inside LC prevents that. Anyway, thank you for your moral support! :-) I had to force-quit LC, after saving everything via the message box, then I switched to: ... set the defaultmenubar of this stack to "my menu group here" ... Then I can: ... set the defaultmenubar of this stack to EMPTY ... > On a completely tangential note, my defaultMenubar contains ten buttons, the first one being button "File", and the last one (after button "help") being button "divider". No idea where that button is, or what it does. It divides, right? 8-) > Craig Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From lists at mangomultimedia.com Fri Nov 22 11:30:40 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Nov 2019 10:30:40 -0600 Subject: Help Wrapping HTMLTidy in LCB Message-ID: Hello, While looking at solutions for converting HTML into XHTML that can be parsed by revXML I decided to test HTMLTidy which has an option to output the input as XHTML. While I could bundle up the tidy command line tool and include it with my app, I prefer to wrap things up in LCB if possible. Unfortunately I haven't gotten very far with HTMLTidy and I'm hoping someone else might be able to figure out what I'm doing wrong. If you are up for loading up an LCB project in LC 9 on macOS and looking at some C files then please read on: RESOURCES - Github repo with LCB file, a test stack, and compiled HTMLTidy dylib for testing on macOS: https://github.com/trevordevore/lc-htmltidy - HTMLTidy github repo where source files are located: https://github.com/htacg/tidy-html5 WHAT WORKS In the htmltidy.lcb file I've wrapped some of the simple APIs that return strings: tidyReleaseDate(), tidyLibraryVersion(), and tidyPlatform(). Those all work. WHAT DOESN'T WORK? tidyHTMLToXHTML() in the htmltidy.lcb file has some test code in it that isn't working. As a test I want to call `tidyOptGetIdForName()` from the htmltidy C library and get a valid value returned. I expect the following code to log `0` but it is logging `104`. I don't think I am creating the Ctmbstr pointer properly but I don't really know. Here is code from the htmltidy.lcb file along with links to the ctmbstr definition in the HTMLTidy source code: ``` variable tCStr as Pointer -- Attempting to create a Ctmbstr from a LiveCode string -- ctmbstr: https://github.com/htacg/tidy-html5/blob/next/include/tidyplatform.h#L607 MCStringConvertToCString("TidyUnknownOption", tCStr) -- The next handler is logging `104` which is N_TIDY_OPTIONS (error) -- Appears that tCStr is not the right format. log c_tidyOptGetIdForName(tCStr) ``` MCStringConvertToCString is defined as follows in the htmltidy.lcb file: ``` foreign handler MCStringConvertToCString(in pString as String, out rCString as Pointer) returns CBool binds to "" ``` If anyone can provide some pointers or a PR I would really appreciate it. -- Trevor DeVore ScreenSteps www.screensteps.com From ambassador at fourthworld.com Fri Nov 22 15:24:11 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2019 12:24:11 -0800 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: References: Message-ID: <41447f53-02bc-c1bb-3e67-2e1fe52d6da3@fourthworld.com> Trevor DeVore wrote: > While looking at solutions for converting HTML into XHTML that can be > parsed by revXML I decided to test HTMLTidy which has an option to > output the input as XHTML. While I could bundle up the tidy command > line tool and include it with my app, I prefer to wrap things up in > LCB if possible. Is conversion to XHTML the way to go? I've tried using the XML external to parse even RSS files -- ostensibly pure XML -- only to find it choke on some of them. I've gone back to hand-crafted pull-parsers. -- 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 lists at mangomultimedia.com Fri Nov 22 17:56:34 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Nov 2019 16:56:34 -0600 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: <41447f53-02bc-c1bb-3e67-2e1fe52d6da3@fourthworld.com> References: <41447f53-02bc-c1bb-3e67-2e1fe52d6da3@fourthworld.com> Message-ID: On Fri, Nov 22, 2019 at 2:25 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor DeVore wrote: > > > While looking at solutions for converting HTML into XHTML that can be > > parsed by revXML I decided to test HTMLTidy which has an option to > > output the input as XHTML. While I could bundle up the tidy command > > line tool and include it with my app, I prefer to wrap things up in > > LCB if possible. > > Is conversion to XHTML the way to go? > > I've tried using the XML external to parse even RSS files -- ostensibly > pure XML -- only to find it choke on some of them. I've gone back to > hand-crafted pull-parsers. > There are definitely other ways to approach the problem I'm trying to solve. In fact, in other areas of my app I will extract parts of HTML by without relying on revXML. In this particular case I already have some LC code that parses HTML placed on the clipboard and converts it into data structure used by the application. This was originally implemented using the revXML callback feature (no tree is created in memory) and that API has worked well for the conversions I need to make. HTML may be placed on the clipboard when copying text and images from web browsers or by our good friend Microsoft Word. Microsoft Word places some very "interesting" HTML on the clipboard that needs to be massaged quite a bit before running it through revXML. There is a speed hit that occurs when running some of the regex patterns on the Word HTML that are used to strip out some markup and do things such as add quotes around attributes. Given the code that I have in place already, I would prefer to leverage HTMLTidy rather than fix every potential "gotcha" or spend time trying to optimize the code. I'm betting that HTMLTidy can do it better and faster given how mature it is. -- Trevor DeVore ScreenSteps www.screensteps.com From ambassador at fourthworld.com Fri Nov 22 18:30:50 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2019 15:30:50 -0800 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: References: Message-ID: Trevor DeVore wrote: > HTML may be placed on the clipboard when copying text and images > from web browsers or by our good friend Microsoft Word. Microsoft > Word places some very "interesting" HTML on the clipboard that > needs to be massaged quite a bit before running it through revXML. Are you suggesting Microsoft has trouble reading open and well-documented standards? Why, I never! ;) -- 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 brahma at hindu.org Fri Nov 22 20:24:05 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 23 Nov 2019 01:24:05 +0000 Subject: WebP-Tool v103 In-Reply-To: References: Message-ID: <5F8C207F-591E-44CE-A460-D39C68FC3588@hindu.org> We really appreciate you staying on the "bleeding" edge ahead of us, Herman! Tried the stack, works amazing well. A 1.2MB img ?129K (at 1024 px wide) Look fabulous in Google Chrome! " so you can use webp images in your stacks?" that is using the pngOUT images in our stacks? Right? Disclaimer: probably not doable: I guess to use on Mobile app we need to include binary code in our package and they unpack the WebP image before show them as PNG. Obviously would be get the user in trouble by unpacking too many large PNG (app could take up enormous space on the phone).. Brahmanathaswami ================ Sorry, the download links had a wrong path. Here are correct ones. [Download] Currently I cannot upload to "SampleStacks/livecodeshare". So please use from the message box (EU) go stack url ("http://hyperhh.de/xstacks/webP-Tool_v103.livecode") (US) go stack url ("http://hh.on-rev.com/xstacks/webP-Tool_v103.livecode") or download (EU)?http://hyperhh.de/xstacks/webP-Tool_v103.livecode.zip (US)?http://hh.on-rev.com/xstacks/webP-Tool_v103.livecode.zip When using go stack url, as a first action please SAVE the stack, we need the stack path for writing out helpers and creating folders for conversion. From lists at mangomultimedia.com Fri Nov 22 22:46:59 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Nov 2019 21:46:59 -0600 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: References: Message-ID: On Fri, Nov 22, 2019 at 5:31 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor DeVore wrote: > > > HTML may be placed on the clipboard when copying text and images > > from web browsers or by our good friend Microsoft Word. Microsoft > > Word places some very "interesting" HTML on the clipboard that > > needs to be massaged quite a bit before running it through revXML. > > Are you suggesting Microsoft has trouble reading open and > well-documented standards? Why, I never! ;) It?s not them, it?s me. Clearly I?m expecting too much. - - Trevor DeVore ScreenSteps > From jjs at krutt.org Sat Nov 23 05:18:07 2019 From: jjs at krutt.org (JJS) Date: Sat, 23 Nov 2019 11:18:07 +0100 Subject: WebP-Tool v103 In-Reply-To: <5F8C207F-591E-44CE-A460-D39C68FC3588@hindu.org> References: <5F8C207F-591E-44CE-A460-D39C68FC3588@hindu.org> Message-ID: <82d6018a-e2d6-ed7d-5656-f1ed16c871fc@krutt.org> i'm getting these errors: ''C:' is not recognized as an internal or external command, operable program or batch file. and if i import nothing and just choose an image from the dropdown then the following error occurs: line 91 of card 1002: *put h0*fw/fh into w0* Numeric divide by zero Op 23-11-2019 om 02:24 schreef Sannyasin Brahmanathaswami via use-livecode: > go stack url ("http://hyperhh.de/xstacks/webP-Tool_v103.livecode") From hh at hyperhh.de Sat Nov 23 06:43:34 2019 From: hh at hyperhh.de (hh) Date: Sat, 23 Nov 2019 12:43:34 +0100 Subject: WebP-Tool v103 Message-ID: <08650216-2742-4634-917D-AEC269326E4B@hyperhh.de> @BR. There is currently not yet support for mobile (precompiled binaries). But Android 4.0+ supports the format natively in its browser. See https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp The way you could do it on desktop (and probably as soon as supported on mobile): You have only webp resources of the images (as custom props) in the stack. The binary (could also be installed into temporary folder) converts a webp image of the stack as soon as it is called to png (for display), on the fly. In my stack the needed time for that procedure is displayed above the image. After display you can delete the png -- if converting was fast enough... @JJS. This is most probably the reason for that: The stack contains only the binaries for 64bit machines. I tested successfully on a 64bit Win10 machine. See the instructions for using the stack on 32bit machines (this works here, I tested on a 32bit Win7 machine): http://forums.livecode.com/viewtopic.php?p=185384#p185384 Hope this was the reason and it's fine now. From klaus at major-k.de Sat Nov 23 07:24:01 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 23 Nov 2019 13:24:01 +0100 Subject: macOS, is my app active? Message-ID: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> Hi friends, can we check if our standalone is currently active, means in the "foreground" or if it is not active? Know what I mean? If yes, how can we do that? LC? AppleScript? I want to alert the user if the app is active, but not if the app is not active. Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Sat Nov 23 08:28:44 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 23 Nov 2019 14:28:44 +0100 Subject: macOS, is my app active? In-Reply-To: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> Message-ID: <0522F6E3-697A-4EB1-B259-6E0B0B8A1C89@major-k.de> Hi all, > Am 23.11.2019 um 13:24 schrieb Klaus major-k via use-livecode : > > Hi friends, > > can we check if our standalone is currently active, means in > the "foreground" or if it is not active? Know what I mean? > If yes, how can we do that? LC? AppleScript? > > I want to alert the user if the app is active, but not if the app > is not active. I found this snippet on the net: ------------------------------------ tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell -------------------------------------- Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? Any hints appreciated! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From lists at mangomultimedia.com Sat Nov 23 09:06:55 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 23 Nov 2019 08:06:55 -0600 Subject: macOS, is my app active? In-Reply-To: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> Message-ID: On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > can we check if our standalone is currently active, means in > the "foreground" or if it is not active? Know what I mean? > If yes, how can we do that? LC? AppleScript? > > I want to alert the user if the app is active, but not if the app > is not active. > Apple provides API calls to do this and wrapping Objective-C APIs is pretty straightforward. The APIs you are interested in: Get frontmost app: https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc Get bundle identifier of frontmost app: https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc I have a macOS LCB "playground" repo where I test a number of things out and upload them for others to see. Take a look at the NSWorkspaceGetFrontmostApplication function: https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb#L133 You can call it like this: ``` put NSWorkspaceGetFrontmostApplication("bundle id") ``` If I run the function from within LiveCode it returns "com.runrev.livecode". If I run the following in the message box and switch to Chrome it returns "com.google.Chrome": ``` wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id") ``` So I would think it would do what you want. You would, however, need to compile the nsworkspace.lcb and load the resulting extension in your app. Here are some quick instructions in case you want to try: 1. Download and unzip repo using "Clone or Download" link found at https://github.com/trevordevore/lc-macos-toolset 2. Launch LC 9 and open the Extension Builder (EB) from Tools > Extension Builder menu. 3. Click on the folder icon in top right of EB window and select the ./NSWorkspace/nsworkspace.lcb file. 4. Click on play button in bottom left of EB window. 5. Test `wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id")` in the message box. It should return a value. 6. Look in the ./NSWorkspace folder for the module.2.lcm file. This is the file that can be renamed, added to your application folder, and loaded using `load extension`. Regarding step 6 - If you don't want to store your extension externally to your application you can also use the "+" button in the EB to install the extension in your LC environment. Now the extension will load whenever you launch LC and you can select "NSWorkspace" in the Standalone Builder Inclusions tab so that the extension is bundled with your executable. -- Trevor DeVore ScreenSteps www.screensteps.com From klaus at major-k.de Sat Nov 23 09:11:41 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 23 Nov 2019 15:11:41 +0100 Subject: macOS, is my app active? In-Reply-To: References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> Message-ID: <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> Hi Trevor, > Am 23.11.2019 um 15:06 schrieb Trevor DeVore via use-livecode : > > On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi friends, >> >> can we check if our standalone is currently active, means in >> the "foreground" or if it is not active? Know what I mean? >> If yes, how can we do that? LC? AppleScript? >> >> I want to alert the user if the app is active, but not if the app >> is not active. > Apple provides API calls to do this and wrapping Objective-C APIs is pretty > straightforward. The APIs you are interested in: > ... > Regarding step 6 - If you don't want to store your extension externally to > your application you can also use the "+" button in the EB to install the > extension in your LC environment. Now the extension will load whenever you > launch LC and you can select "NSWorkspace" in the Standalone Builder > Inclusions tab so that the extension is bundled with your executable. > > -- > Trevor DeVore wow, lots of infos, thank you very much, but maybe a little overkill for me. It would suffice for me to get this little snippet to work: ----------------------------------------------------------------- tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell ---------------------------------------------------------------- Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? Any hints appreciated! Thanks a lot! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Sat Nov 23 11:16:49 2019 From: hh at hyperhh.de (hh) Date: Sat, 23 Nov 2019 17:16:49 +0100 Subject: macOS, is my app active? Message-ID: <1F91D2D3-AAC4-4615-9965-7F1776ABFD44@hyperhh.de> MacOS 10.15.1 This is fld "IN" (your snippet): tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell on mouseUp do fld "IN" as "applescript" put the result into fld "OUT" end mouseUp yields in fld "OUT": "Livecode-Community" or "LiveCode-Indy" or "LiveCode-Business" From lists at mangomultimedia.com Sat Nov 23 11:27:48 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 23 Nov 2019 10:27:48 -0600 Subject: macOS, is my app active? In-Reply-To: <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> Message-ID: On Sat, Nov 23, 2019 at 8:11 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > > wow, lots of infos, thank you very much, but maybe a little overkill for > me. > > It would suffice for me to get this little snippet to work: > ----------------------------------------------------------------- > tell application "System Events" > set activeApp to name of first application process whose frontmost > is true > return activeApp > end tell > ---------------------------------------------------------------- > Works fine in the AppleScript Editor, but I get "execution error" when > DOing this in LC!? > Any hints appreciated! > > Thanks a lot! You?re welcome. I don?t know the solution to your problem with AppleScript. If you do go the AppleScript route just check that you don?t trigger any security warnings in later versions of macOS. Maybe that isn?t a big deal for your app but it is worth checking. - - Trevor DeVore > From hh at hyperhh.de Sat Nov 23 11:51:58 2019 From: hh at hyperhh.de (hh) Date: Sat, 23 Nov 2019 17:51:58 +0100 Subject: Help Wrapping HTMLTidy in LCB Message-ID: <284840A8-EEA4-4860-A2BB-B63A6ED183A5@hyperhh.de> Is it really worth the work to do that from LCB? A while ago I installed HTML tidy 5.6.0 from here http://binaries.html-tidy.org (the Mac .dmg) Then I copied the binary "tidy" from /usr/local/bin compressed to my stack (=231 KByte). Now I use it from there, running it in the temporary folder via shell(). Works fine (on any 64bit Mac). From lists at mangomultimedia.com Sat Nov 23 15:26:00 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 23 Nov 2019 14:26:00 -0600 Subject: Help Wrapping HTMLTidy in LCB In-Reply-To: <284840A8-EEA4-4860-A2BB-B63A6ED183A5@hyperhh.de> References: <284840A8-EEA4-4860-A2BB-B63A6ED183A5@hyperhh.de> Message-ID: On Sat, Nov 23, 2019 at 10:52 AM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Is it really worth the work to do that from LCB? In my opinion, yes. If for no other reason then that with each library that is wrapped in LCB I learn what the limitations are in LCB or I learn how to do something that I didn?t know how to do before. There is a lot of code out in the world that we could benefit from in LiveCode. Not all have as nice a command line tool as HTMLTidy. Some don?t have a command line tool at all. Having lots and lots of example of wrapping C, Objective-C, etc. will help more people wrap libraries and contribute to the community in the future. - - Trevor DeVore ScreenSteps > From klaus at major-k.de Sat Nov 23 16:04:48 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 23 Nov 2019 22:04:48 +0100 Subject: macOS, is my app active? In-Reply-To: <1F91D2D3-AAC4-4615-9965-7F1776ABFD44@hyperhh.de> References: <1F91D2D3-AAC4-4615-9965-7F1776ABFD44@hyperhh.de> Message-ID: Hallo Hermann, > Am 23.11.2019 um 17:16 schrieb hh via use-livecode : > > MacOS 10.15.1 macOS 10.14.6 here, LC 9.5.1 rc1 > This is fld "IN" (your snippet): > > tell application "System Events" > set activeApp to name of first application process whose frontmost is true > return activeApp > end tell > > on mouseUp > do fld "IN" as "applescript" > put the result into fld "OUT" > end mouseUp > > yields in fld "OUT": > "Livecode-Community" or > "LiveCode-Indy" or > "LiveCode-Business" no, it doesn't unfortunately! I wrote (this is in fact in my field 1): > ----------------------------------------------------------------- > tell application "System Events" > set activeApp to name of first application process whose frontmost is true > return activeApp > end tell > ---------------------------------------------------------------- > Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? With DOing I meant of course your above mentioned procedere "on mouseup": on mouseUp do fld 1 as AppleScript put the result into fld 2 end mouseUp But all I get in field 2 is -> execution error Clueless... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jjs at krutt.org Sat Nov 23 16:21:01 2019 From: jjs at krutt.org (Jjs) Date: Sat, 23 Nov 2019 22:21:01 +0100 Subject: WebP-Tool v103 In-Reply-To: <08650216-2742-4634-917D-AEC269326E4B@hyperhh.de> References: <08650216-2742-4634-917D-AEC269326E4B@hyperhh.de> Message-ID: Ok sorry, i forgot to mention. I'm also on win10-64bit. hh via use-livecode schreef op 23 november 2019 12:43:34 CET: >@BR. >There is currently not yet support for mobile (precompiled binaries). >But Android 4.0+ supports the format natively in its browser. See > >https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp > >The way you could do it on desktop (and probably as soon as supported >on mobile): > >You have only webp resources of the images (as custom props) in the >stack. >The binary (could also be installed into temporary folder) converts a >webp image >of the stack as soon as it is called to png (for display), on the fly. >In my stack the needed time for that procedure is displayed above the >image. >After display you can delete the png -- if converting was fast >enough... > >@JJS. >This is most probably the reason for that: >The stack contains only the binaries for 64bit machines. >I tested successfully on a 64bit Win10 machine. > >See the instructions for using the stack on 32bit machines >(this works here, I tested on a 32bit Win7 machine): > >http://forums.livecode.com/viewtopic.php?p=185384#p185384 > >Hope this was the reason and it's fine 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 -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From klaus at major-k.de Sat Nov 23 16:26:03 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 23 Nov 2019 22:26:03 +0100 Subject: macOS, is my app active? In-Reply-To: References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> Message-ID: <3B87A8B2-F54C-426A-8C45-BC5FAC672FFE@major-k.de> Hi Trevor, > Am 23.11.2019 um 17:27 schrieb Trevor DeVore via use-livecode : > On Sat, Nov 23, 2019 at 8:11 AM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: >> wow, lots of infos, thank you very much, but maybe a little overkill for >> me. >> >> It would suffice for me to get this little snippet to work: >> ----------------------------------------------------------------- >> tell application "System Events" >> set activeApp to name of first application process whose frontmost >> is true >> return activeApp >> end tell >> ---------------------------------------------------------------- >> Works fine in the AppleScript Editor, but I get "execution error" when >> DOing this in LC!? >> Any hints appreciated! >> >> Thanks a lot! > You?re welcome. I don?t know the solution to your problem with AppleScript. > If you do go the AppleScript route just check that you don?t trigger any > security warnings in later versions of macOS. Maybe that isn?t a big deal > for your app but it is worth checking. I already stored your mail for future use and will surely take a deeper look once I have my current project up and running! > Trevor DeVore Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sundown at pacifier.com Sat Nov 23 18:27:12 2019 From: sundown at pacifier.com (JB) Date: Sat, 23 Nov 2019 15:27:12 -0800 Subject: macOS, is my app active? In-Reply-To: References: <1F91D2D3-AAC4-4615-9965-7F1776ABFD44@hyperhh.de> Message-ID: <833F049C-062C-471F-A966-C0F41BD9CD8F@pacifier.com> Hi Klaus, I did that and got a error but by reformatting the code properly it worked. JB > On Nov 23, 2019, at 1:04 PM, Klaus major-k via use-livecode wrote: > > Hallo Hermann, > >> Am 23.11.2019 um 17:16 schrieb hh via use-livecode : >> >> MacOS 10.15.1 > > macOS 10.14.6 here, LC 9.5.1 rc1 > >> This is fld "IN" (your snippet): >> >> tell application "System Events" >> set activeApp to name of first application process whose frontmost is true >> return activeApp >> end tell >> >> on mouseUp >> do fld "IN" as "applescript" >> put the result into fld "OUT" >> end mouseUp >> >> yields in fld "OUT": >> "Livecode-Community" or >> "LiveCode-Indy" or >> "LiveCode-Business" > > no, it doesn't unfortunately! > > I wrote (this is in fact in my field 1): >> ----------------------------------------------------------------- >> tell application "System Events" >> set activeApp to name of first application process whose frontmost is true >> return activeApp >> end tell >> ---------------------------------------------------------------- >> Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? > > With DOing I meant of course your above mentioned procedere "on mouseup": > > on mouseUp > do fld 1 as AppleScript > put the result into fld 2 > end mouseUp > > But all I get in field 2 is -> execution error > Clueless... > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Sat Nov 23 18:42:06 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 24 Nov 2019 00:42:06 +0100 Subject: macOS, is my app active? In-Reply-To: <833F049C-062C-471F-A966-C0F41BD9CD8F@pacifier.com> References: <1F91D2D3-AAC4-4615-9965-7F1776ABFD44@hyperhh.de> <833F049C-062C-471F-A966-C0F41BD9CD8F@pacifier.com> Message-ID: Hi JB, > Am 24.11.2019 um 00:27 schrieb JB via use-livecode : > > Hi Klaus, > > I did that and got a error but by reformatting > the code properly it worked. what do you mean by "reformatting"? I copied this from a TXT file and "pasted unformatted" into my field. Still -> execution error I suspect this is a permission thing, maybe I need to grant LC, and my later app, permissions in the macOS Settings panel. So the, little more complex, solution Trevor proposed suddenly looks a lot more appealing! :-D > JB > ... >> >>> This is fld "IN" (your snippet): >>> >>> tell application "System Events" >>> set activeApp to name of first application process whose frontmost is true >>> return activeApp >>> end tell >>> >>> on mouseUp >>> do fld "IN" as "applescript" >>> put the result into fld "OUT" >>> end mouseUp >>> >>> yields in fld "OUT": >>> "Livecode-Community" or >>> "LiveCode-Indy" or >>> "LiveCode-Business" Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Sat Nov 23 18:47:19 2019 From: hh at hyperhh.de (hh) Date: Sun, 24 Nov 2019 00:47:19 +0100 Subject: WebP-Tool v103 Message-ID: <8B591284-B11E-4FF2-A0B1-00B4277AC1B9@hyperhh.de> > JJS wrote: > Ok sorry, i forgot to mention. I'm also on win10-64bit. Did you save the stack to a before using it? If not, it has no path for the binaries, which will be installed in folder "WIN" of your stack's folder... If so, I can't really help as it works here. The stack is very basic LC Script. You could start with checking whether the binaries are written out. The rest is simply using shell() with files written to the temporary folder. From sundown at pacifier.com Sat Nov 23 18:49:44 2019 From: sundown at pacifier.com (JB) Date: Sat, 23 Nov 2019 15:49:44 -0800 Subject: macOS, is my app active? In-Reply-To: References: <1F91D2D3-AAC4-4615-9965-7F1776ABFD44@hyperhh.de> <833F049C-062C-471F-A966-C0F41BD9CD8F@pacifier.com> Message-ID: <417B856F-DE55-4270-B42D-4C6325B2B33E@pacifier.com> That is what I did too! Then I went to each line and deleted the white space until I ended up on the line above, after that I pressed return so the text went to its own line and it reformatted that line properly. This process should be done for each line. JB > On Nov 23, 2019, at 3:42 PM, Klaus major-k via use-livecode wrote: > > Hi JB, > >> Am 24.11.2019 um 00:27 schrieb JB via use-livecode : >> >> Hi Klaus, >> >> I did that and got a error but by reformatting >> the code properly it worked. > > what do you mean by "reformatting"? > I copied this from a TXT file and "pasted unformatted" into my field. > > Still -> execution error > > I suspect this is a permission thing, maybe I need to grant LC, and my later app, > permissions in the macOS Settings panel. > > So the, little more complex, solution Trevor proposed suddenly looks a lot more appealing! :-D > >> JB >> ... >>> >>>> This is fld "IN" (your snippet): >>>> >>>> tell application "System Events" >>>> set activeApp to name of first application process whose frontmost is true >>>> return activeApp >>>> end tell >>>> >>>> on mouseUp >>>> do fld "IN" as "applescript" >>>> put the result into fld "OUT" >>>> end mouseUp >>>> >>>> yields in fld "OUT": >>>> "Livecode-Community" or >>>> "LiveCode-Indy" or >>>> "LiveCode-Business" > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Sat Nov 23 18:59:00 2019 From: hh at hyperhh.de (hh) Date: Sun, 24 Nov 2019 00:59:00 +0100 Subject: macOS, is my app active? Message-ID: > Klaus M. wrote: > Still -> execution error It works here in the IDE on MacOS 10.14.6 and 10.15.1 using LC 9.5.0. or LC 8.1.10. (I stopped using unstable LC versions a while ago). Did you try from the IDE? If it is from the standalone only you could also try to use osascript via shell: get shell("osascript " & ) or use "osascript -e " for direct input. Works all here... From scott at elementarysoftware.com Sat Nov 23 20:08:08 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 23 Nov 2019 17:08:08 -0800 Subject: macOS, is my app active? In-Reply-To: References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> Message-ID: <98A36B25-F721-4396-A75E-7296656B06C6@elementarysoftware.com> Trevor, Those directions were awesome! I saw the security warning with the AppleScript method. Your extension method avoided it. Thank you. ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Nov 23, 2019, at 6:06 AM, Trevor DeVore via use-livecode wrote: > > On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi friends, >> >> can we check if our standalone is currently active, means in >> the "foreground" or if it is not active? Know what I mean? >> If yes, how can we do that? LC? AppleScript? >> >> I want to alert the user if the app is active, but not if the app >> is not active. >> > > Apple provides API calls to do this and wrapping Objective-C APIs is pretty > straightforward. The APIs you are interested in: > > Get frontmost app: > https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc > > Get bundle identifier of frontmost app: > https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc > > I have a macOS LCB "playground" repo where I test a number of things out > and upload them for others to see. Take a look at > the NSWorkspaceGetFrontmostApplication function: > > https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb#L133 > > You can call it like this: > > ``` > put NSWorkspaceGetFrontmostApplication("bundle id") > ``` > > If I run the function from within LiveCode it returns "com.runrev.livecode". > > If I run the following in the message box and switch to Chrome it returns > "com.google.Chrome": > > ``` > wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id") > ``` > > So I would think it would do what you want. You would, however, need to > compile the nsworkspace.lcb and load the resulting extension in your app. > Here are some quick instructions in case you want to try: > > 1. Download and unzip repo using "Clone or Download" link found at > https://github.com/trevordevore/lc-macos-toolset > 2. Launch LC 9 and open the Extension Builder (EB) from Tools > Extension > Builder menu. > 3. Click on the folder icon in top right of EB window and select the > ./NSWorkspace/nsworkspace.lcb file. > 4. Click on play button in bottom left of EB window. > 5. Test `wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id")` > in the message box. It should return a value. > 6. Look in the ./NSWorkspace folder for the module.2.lcm file. This is the > file that can be renamed, added to your application folder, and loaded > using `load extension`. > > Regarding step 6 - If you don't want to store your extension externally to > your application you can also use the "+" button in the EB to install the > extension in your LC environment. Now the extension will load whenever you > launch LC and you can select "NSWorkspace" in the Standalone Builder > Inclusions tab so that the extension is bundled with your executable. > > -- > 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 lists at mangomultimedia.com Sat Nov 23 20:24:00 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 23 Nov 2019 19:24:00 -0600 Subject: macOS, is my app active? In-Reply-To: <98A36B25-F721-4396-A75E-7296656B06C6@elementarysoftware.com> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <98A36B25-F721-4396-A75E-7296656B06C6@elementarysoftware.com> Message-ID: On Sat, Nov 23, 2019 at 7:09 PM scott--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor, > > Those directions were awesome! I saw the security warning with the > AppleScript method. Your extension method avoided it. Thank you. You?re welcome Scott. -- Trevor DeVore ScreenSteps From sundown at pacifier.com Sat Nov 23 23:23:50 2019 From: sundown at pacifier.com (JB) Date: Sat, 23 Nov 2019 20:23:50 -0800 Subject: macOS, is my app active? In-Reply-To: References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <98A36B25-F721-4396-A75E-7296656B06C6@elementarysoftware.com> Message-ID: <7E9B2251-7A37-47FE-9916-86A314379A0D@pacifier.com> Trevor, your code is written really nice! Thanks for the links and code. JB > On Nov 23, 2019, at 5:24 PM, Trevor DeVore via use-livecode wrote: > > On Sat, Nov 23, 2019 at 7:09 PM scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Trevor, >> >> Those directions were awesome! I saw the security warning with the >> AppleScript method. Your extension method avoided it. Thank you. > > > You?re welcome Scott. > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Sun Nov 24 02:25:57 2019 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 24 Nov 2019 01:25:57 -0600 Subject: macOS, is my app active? In-Reply-To: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> Message-ID: <054D35F6-7E3F-41CF-9B1A-B6E2711A09E1@sonsothunder.com> Klaus, I have a function that generally works with this AppleScript: function stsGetFrontmostProcess ? put "tell app `System Events`" & cr & \ "get (the name of every application process whose frontmost is true) as string" & cr & \ "end tell" into tScript replace "`" with quote in tScript do tScript as AppleScript put the result into tResult replace quote with "" in tResult return tResult end stsGetFrontmostProcess Give that a try and see if it works for you. Ken > On Nov 23, 2019, at 6:24 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > can we check if our standalone is currently active, means in > the "foreground" or if it is not active? Know what I mean? > If yes, how can we do that? LC? AppleScript? > > I want to alert the user if the app is active, but not if the app > is not active. > > Thanks in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sun Nov 24 05:52:09 2019 From: jjs at krutt.org (JJS) Date: Sun, 24 Nov 2019 11:52:09 +0100 Subject: WebP-Tool v103 In-Reply-To: <8B591284-B11E-4FF2-A0B1-00B4277AC1B9@hyperhh.de> References: <8B591284-B11E-4FF2-A0B1-00B4277AC1B9@hyperhh.de> Message-ID: <10c63769-5d0a-7852-5b6d-779b91470c8b@krutt.org> YEs i did save it and the exe files are there. It only happens when you open the stack and directly use the images dropdown. No worries, i'll see if i can figure it out. thanks. Op 24-11-2019 om 00:47 schreef hh via use-livecode: >> JJS wrote: >> Ok sorry, i forgot to mention. I'm also on win10-64bit. > Did you save the stack to a before using it? If not, it has no path for the > binaries, which will be installed in folder "WIN" of your stack's folder... > > If so, I can't really help as it works here. > > The stack is very basic LC Script. You could start with checking whether the > binaries are written out. The rest is simply using shell() with files written > to the temporary folder. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Nov 24 12:47:56 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 24 Nov 2019 17:47:56 +0000 Subject: WebP-Tool v103 In-Reply-To: <08650216-2742-4634-917D-AEC269326E4B@hyperhh.de> References: <08650216-2742-4634-917D-AEC269326E4B@hyperhh.de> Message-ID: <9C4D09CB-8782-4D9B-894E-7E74B860C61C@hindu.org> Looking forward to support on mobile. There is the total RAM requirement that makes it hard to put the image into custom props of one stack. SivaSiva app holds roughly 350 photos, that must delivered with the package. So a stack which had them as customs prop would "blow out the phone." So I am looking forward to 1. increase the density of those image. Too many have a subtle "pixalation" because I downsized them to fit the package. Based on the eyesight and sense for image aesthetics, some users don't "mind" , they are interested on the "documentary" content of what they see. Other users react first to pixalation relatively other apps which have dense retina display images 2. have more images that fit the package -- last time I check it was 100MB, for iOS. 3. put them on them server and have a fast download time. Looking at the forum post, if I understand it, these are all required, "The stack webP-Tool contains and installs (if not available) the binaries for 64bit Mac/Win/linux. ?The stack has included for mac/win/nux (all 64bit), cwebp (WebP encoder tool), dwebp (WebP decoder tool) and webinfo (WebP info tool) Not included are vwebp (WebP file viewer), webpmux (WebP muxing tool), gif2webp (Tool for converting GIF images to WebP)." And those libs "native" on iOS and Android? Of course we can still only show PNG in LC (for now) Ha! once again, I may be chasing the moon?. BR From klaus at major-k.de Sun Nov 24 13:21:20 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 24 Nov 2019 19:21:20 +0100 Subject: just a test... Message-ID: <639ABA5F-420B-40B4-A6D9-A2A41D391C65@major-k.de> my last two mails do not show up here one the list? -- Klaus Major https://www.major-k.de klaus at major-k.de From brian at milby7.com Sun Nov 24 14:04:18 2019 From: brian at milby7.com (Brian Milby) Date: Sun, 24 Nov 2019 14:04:18 -0500 Subject: just a test... In-Reply-To: <639ABA5F-420B-40B4-A6D9-A2A41D391C65@major-k.de> References: <639ABA5F-420B-40B4-A6D9-A2A41D391C65@major-k.de> Message-ID: <5c80c9c6-771e-4f20-8791-d1be5c86e78c@Spark> I got this one Thanks, Brian On Nov 24, 2019, 1:21 PM -0500, Klaus major-k via use-livecode , wrote: > my last two mails do not show up here one the list? > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sun Nov 24 14:15:52 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 24 Nov 2019 20:15:52 +0100 Subject: just a test... In-Reply-To: <5c80c9c6-771e-4f20-8791-d1be5c86e78c@Spark> References: <639ABA5F-420B-40B4-A6D9-A2A41D391C65@major-k.de> <5c80c9c6-771e-4f20-8791-d1be5c86e78c@Spark> Message-ID: <2DC40454-4A0F-4884-91BF-7CF89B372811@me.com> As did I Regards Tore Nilsen > 24. nov. 2019 kl. 20:04 skrev Brian Milby via use-livecode : > > I got this one > > Thanks, > Brian > On Nov 24, 2019, 1:21 PM -0500, Klaus major-k via use-livecode , wrote: >> my last two mails do not show up here one the list? >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Nov 24 14:21:46 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 24 Nov 2019 20:21:46 +0100 Subject: just a test... In-Reply-To: <2DC40454-4A0F-4884-91BF-7CF89B372811@me.com> References: <639ABA5F-420B-40B4-A6D9-A2A41D391C65@major-k.de> <5c80c9c6-771e-4f20-8791-d1be5c86e78c@Spark> <2DC40454-4A0F-4884-91BF-7CF89B372811@me.com> Message-ID: <5E5AD476-67FC-466D-B651-35DAD715916B@major-k.de> And me! A little server indisposition, I presume... > Am 24.11.2019 um 20:15 schrieb Tore Nilsen via use-livecode : > > As did I > > Regards > Tore Nilsen > >> 24. nov. 2019 kl. 20:04 skrev Brian Milby via use-livecode : >> >> I got this one >> >> Thanks, >> Brian >> On Nov 24, 2019, 1:21 PM -0500, Klaus major-k via use-livecode , wrote: >>> my last two mails do not show up here one the list? -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Sun Nov 24 14:27:29 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 24 Nov 2019 20:27:29 +0100 Subject: macOS, is my app active? In-Reply-To: <054D35F6-7E3F-41CF-9B1A-B6E2711A09E1@sonsothunder.com> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <054D35F6-7E3F-41CF-9B1A-B6E2711A09E1@sonsothunder.com> Message-ID: <7F725313-A771-449B-8665-25E587E6CD11@major-k.de> Hi all, no matter what I tried with AppleScript, all I got was -> execution error So I took the time and tested Trevors solution and thanks to the idiot-proof instructions, this was a snap even for a LCB ignorant like moi! :-) Thanks again Trevor! And thanks to all for your suggestions! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sean at pidigital.co.uk Sun Nov 24 14:59:02 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 24 Nov 2019 19:59:02 +0000 Subject: DocuSign lib Message-ID: <6C885440-DCC2-4EAF-9F0D-F4E855D98978@pidigital.co.uk> Before I plough on, has anyone else created a DocuSign library for LiveCode? I don?t want to reinvent the wheelie-bin. We?d already made one for Adobe Sign but looking to give our clients a more affordable option. Thanks. Sean Cole Pi Digital Prod Ltd From ahsoftware at sonic.net Sun Nov 24 16:51:57 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 24 Nov 2019 13:51:57 -0800 Subject: DocuSign lib In-Reply-To: <6C885440-DCC2-4EAF-9F0D-F4E855D98978@pidigital.co.uk> References: <6C885440-DCC2-4EAF-9F0D-F4E855D98978@pidigital.co.uk> Message-ID: <1d401323-7936-1018-68b6-0e68573b5ef4@sonic.net> On 11/24/19 11:59 AM, Pi Digital via use-livecode wrote: > Before I plough on, has anyone else created a DocuSign library for LiveCode? I don?t want to reinvent the wheelie-bin. I thought I had, but I can't find anything in my archives, so maybe I was just thinking of starting one. Looks like it's up to you. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Sun Nov 24 18:32:53 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 24 Nov 2019 23:32:53 +0000 Subject: DocuSign lib In-Reply-To: <1d401323-7936-1018-68b6-0e68573b5ef4@sonic.net> References: <1d401323-7936-1018-68b6-0e68573b5ef4@sonic.net> Message-ID: It?s not too different to what I did for Adobe Sign. In fact, the Auth token method is even easier. A couple of weeks max. Sean Cole Pi Digital Prod Ltd > On 24 Nov 2019, at 21:51, Mark Wieder via use-livecode wrote: > > ?On 11/24/19 11:59 AM, Pi Digital via use-livecode wrote: >> Before I plough on, has anyone else created a DocuSign library for LiveCode? I don?t want to reinvent the wheelie-bin. > > I thought I had, but I can't find anything in my archives, so maybe I was just thinking of starting one. Looks like it's up to you. > > -- > 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 Mon Nov 25 11:37:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Nov 2019 16:37:57 +0000 Subject: DocuSign lib In-Reply-To: <6C885440-DCC2-4EAF-9F0D-F4E855D98978@pidigital.co.uk> References: <6C885440-DCC2-4EAF-9F0D-F4E855D98978@pidigital.co.uk> Message-ID: <4A0BBEFB-135D-4DF8-A316-458F2E9FB9C3@iotecdigital.com> Just be aware there is an actual product called DocuSign. Bob S > On Nov 24, 2019, at 11:59 , Pi Digital via use-livecode wrote: > > Before I plough on, has anyone else created a DocuSign library for LiveCode? I don?t want to reinvent the wheelie-bin. > > We?d already made one for Adobe Sign but looking to give our clients a more affordable option. > > Thanks. > Sean Cole > Pi Digital Prod Ltd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Nov 25 11:40:28 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 25 Nov 2019 18:40:28 +0200 Subject: [ANN] This Week in LiveCode 203 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 #203 here: http://bit.ly/2OHOI2X This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Nov 25 11:46:35 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Nov 2019 16:46:35 +0000 Subject: macOS, is my app active? In-Reply-To: <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> Message-ID: <97C6BB39-E086-4521-98B2-BB05A936C87D@iotecdigital.com> on mouseUp put "tell application " & quote & "System Events" & quote & cr after tApplescript put "set activeApp to name of first application process whose frontmost is true" & cr after tApplescript put "return activeApp" & cr after tApplescript put "end tell" & cr after tApplescript do tAppleScript as appleScript put the result end mouseUp works for me Bob S > On Nov 23, 2019, at 06:11 , Klaus major-k via use-livecode wrote: > > Hi Trevor, > >> Am 23.11.2019 um 15:06 schrieb Trevor DeVore via use-livecode : >> >> On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi friends, >>> >>> can we check if our standalone is currently active, means in >>> the "foreground" or if it is not active? Know what I mean? >>> If yes, how can we do that? LC? AppleScript? >>> >>> I want to alert the user if the app is active, but not if the app >>> is not active. >> Apple provides API calls to do this and wrapping Objective-C APIs is pretty >> straightforward. The APIs you are interested in: >> ... >> Regarding step 6 - If you don't want to store your extension externally to >> your application you can also use the "+" button in the EB to install the >> extension in your LC environment. Now the extension will load whenever you >> launch LC and you can select "NSWorkspace" in the Standalone Builder >> Inclusions tab so that the extension is bundled with your executable. >> >> -- >> Trevor DeVore > > wow, lots of infos, thank you very much, but maybe a little overkill for me. > > It would suffice for me to get this little snippet to work: > ----------------------------------------------------------------- > tell application "System Events" > set activeApp to name of first application process whose frontmost is true > return activeApp > end tell > ---------------------------------------------------------------- > Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? > Any hints appreciated! > > Thanks a lot! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Nov 25 12:19:52 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Nov 2019 17:19:52 +0000 Subject: Push notification to all user In-Reply-To: References: Message-ID: <21D98B9F-E0A3-43CA-B608-223F3D94293C@iotecdigital.com> What is FCM? Bob S > On Nov 14, 2019, at 10:24 , JJS via use-livecode wrote: > > You need to use FCM From bobsneidar at iotecdigital.com Mon Nov 25 12:28:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Nov 2019 17:28:08 +0000 Subject: Identifying Un-used functions and commands In-Reply-To: References: Message-ID: <5F59B788-B315-431A-84D0-C9F4E73ABB20@iotecdigital.com> Since there is code in the script editor that knows the location of any command or function you right click on, if you found out how they do that, you would be well on your way to developing a way to grok it. Also, GLX2 has a "clairvoyance" (Auto-Complete) function that is handler aware. I suspect Mark Wieder developed a method for getting a list of all handlers in a stack that is opened. That would probably help too. Bob S > On Nov 12, 2019, at 09:12 , Stephen MacLean via use-livecode wrote: > > Hi All, > > I?m wondering if anyone has a way or code to identify any un-used functions and commands in a set of stacks? > > Best, > Steve MacLean > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Nov 25 12:28:43 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 25 Nov 2019 17:28:43 +0000 Subject: DocuSign lib In-Reply-To: <4A0BBEFB-135D-4DF8-A316-458F2E9FB9C3@iotecdigital.com> References: <4A0BBEFB-135D-4DF8-A316-458F2E9FB9C3@iotecdigital.com> Message-ID: <577AB04A-B09C-45CF-85DF-3628882AC7CC@pidigital.co.uk> I know. That?s what I?m writing the library for :) It?s a way of getting pdf documents signed via email. Our clients use Adobe Sign currently but it?s stupid expensive in comparison to others out there. So we?re giving our clients more options. Sean Cole Pi Digital Prod Ltd > On 25 Nov 2019, at 16:37, Bob Sneidar via use-livecode wrote: > > ?Just be aware there is an actual product called DocuSign. > > Bob S > > >> On Nov 24, 2019, at 11:59 , Pi Digital via use-livecode wrote: >> >> Before I plough on, has anyone else created a DocuSign library for LiveCode? I don?t want to reinvent the wheelie-bin. >> >> We?d already made one for Adobe Sign but looking to give our clients a more affordable option. >> >> Thanks. >> Sean Cole >> Pi Digital Prod Ltd >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 25 12:31:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Nov 2019 17:31:57 +0000 Subject: DocuSign lib In-Reply-To: <577AB04A-B09C-45CF-85DF-3628882AC7CC@pidigital.co.uk> References: <4A0BBEFB-135D-4DF8-A316-458F2E9FB9C3@iotecdigital.com> <577AB04A-B09C-45CF-85DF-3628882AC7CC@pidigital.co.uk> Message-ID: Oh brilliant! We have a need for eSigned documents in locations where for one reason or other we do not have access to any of their printing devices. Also none of our service technicians (as opposed to IT technicians) connect to our customer's networks, and an eSign solution on tablets would be a great help. Bob S > On Nov 25, 2019, at 09:28 , Pi Digital via use-livecode wrote: > > I know. That?s what I?m writing the library for :) > It?s a way of getting pdf documents signed via email. Our clients use Adobe Sign currently but it?s stupid expensive in comparison to others out there. So we?re giving our clients more options. > > Sean Cole > Pi Digital Prod Ltd From bobsneidar at iotecdigital.com Mon Nov 25 12:34:10 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Nov 2019 17:34:10 +0000 Subject: Mobile development android vs ios In-Reply-To: References: Message-ID: I'm still working on my first time flawless build! :-) Bob S > On Nov 9, 2019, at 16:32 , Tom Glod via use-livecode wrote: > > I don't expect 100% first time flawlessness. But is there anything I > should keep in mind as I do this? From dunbarx at aol.com Mon Nov 25 12:47:20 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 25 Nov 2019 17:47:20 +0000 (UTC) Subject: Identifying Un-used functions and commands In-Reply-To: <5F59B788-B315-431A-84D0-C9F4E73ABB20@iotecdigital.com> References: <5F59B788-B315-431A-84D0-C9F4E73ABB20@iotecdigital.com> Message-ID: <859573385.3341211.1574704040231@mail.yahoo.com> Hi. This was posted a couple of weeks ago, no? I suggested then that you could write a short handler that loops through all the scripts in all the controls on all the cards, and isolate words that are not preceded by either "command", "on" or "function". In this way you might see, for example, that "myGadget3" may be present in scripts here and there, but there is no "on?myGadget3" anywhere. Then you will have found an unused handler call. This may require tweaking. For example, LC will compile, say: "on ? ? ? ? myGadget3" ?-- spaces galore Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Mon, Nov 25, 2019 12:29 pm Subject: Re: Identifying Un-used functions and commands Since there is code in the script editor that knows the location of any command or function you right click on, if you found out how they do that, you would be well on your way to developing a way to grok it. Also, GLX2 has a "clairvoyance" (Auto-Complete) function that is handler aware. I suspect Mark Wieder developed a method for getting a list of all handlers in a stack that is opened. That would probably help too. Bob S > On Nov 12, 2019, at 09:12 , Stephen MacLean via use-livecode wrote: > > Hi All, > > I?m wondering if anyone has a way or code to identify any un-used functions and commands in a set of stacks? > > Best, > Steve MacLean > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Nov 25 13:00:17 2019 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 25 Nov 2019 18:00:17 +0000 Subject: DocuSign lib In-Reply-To: References: <4A0BBEFB-135D-4DF8-A316-458F2E9FB9C3@iotecdigital.com> <577AB04A-B09C-45CF-85DF-3628882AC7CC@pidigital.co.uk> Message-ID: It wasn't designed to be for use on mobile but it would. In fact, all it does is generate the document as a pdf with special references in the eSign APIs which get replaced with Signature boxes, etc. These then get emailed via our app and AdobeSign to the customer who signs it within the eSign website or app (not ours). If you are interested, once I've put the DocuSign one together I will be able to make them available for sale/download from the LC Store. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 On Mon, 25 Nov 2019 at 17:31, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Oh brilliant! We have a need for eSigned documents in locations where for > one reason or other we do not have access to any of their printing devices. > Also none of our service technicians (as opposed to IT technicians) connect > to our customer's networks, and an eSign solution on tablets would be a > great help. > > Bob S > > > > On Nov 25, 2019, at 09:28 , Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I know. That?s what I?m writing the library for :) > > It?s a way of getting pdf documents signed via email. Our clients use > Adobe Sign currently but it?s stupid expensive in comparison to others out > there. So we?re giving our clients more options. > > > > Sean Cole > > Pi Digital Prod Ltd > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 25 13:08:43 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Nov 2019 12:08:43 -0600 Subject: Identifying Un-used functions and commands In-Reply-To: <859573385.3341211.1574704040231@mail.yahoo.com> References: <5F59B788-B315-431A-84D0-C9F4E73ABB20@iotecdigital.com> <859573385.3341211.1574704040231@mail.yahoo.com> Message-ID: <16ea3c05bf8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think he wants it the other way around, identifying handlers and functions that aren't called by any other handler. I've done this, but only one at a time, by searching for the handler name across all open stacks. If the only occurrence is the handler itself ("on/function whatever", ) then it's unused. The method here would probably be to get a list of all handlers and functions and then do a global search for instances of each. If there's one or more that isn't the handler declaration, it's used. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 25, 2019 11:51:14 AM dunbarx--- via use-livecode wrote: > Hi. > This was posted a couple of weeks ago, no? > I suggested then that you could write a short handler that loops through > all the scripts in all the controls on all the cards, and isolate words > that are not preceded by either "command", "on" or "function". In this way > you might see, for example, that "myGadget3" may be present in scripts here > and there, but there is no "on myGadget3" anywhere. Then you will have > found an unused handler call. > This may require tweaking. For example, LC will compile, say: > "on myGadget3" -- spaces galore > > Craig > > -----Original Message----- > From: Bob Sneidar via use-livecode > To: How to use LiveCode > Cc: Bob Sneidar > Sent: Mon, Nov 25, 2019 12:29 pm > Subject: Re: Identifying Un-used functions and commands > > Since there is code in the script editor that knows the location of any > command or function you right click on, if you found out how they do that, > you would be well on your way to developing a way to grok it. Also, GLX2 > has a "clairvoyance" (Auto-Complete) function that is handler aware. I > suspect Mark Wieder developed a method for getting a list of all handlers > in a stack that is opened. That would probably help too. > > Bob S > > >> On Nov 12, 2019, at 09:12 , Stephen MacLean via use-livecode >> wrote: >> >> >> Hi All, >> >> >> I?m wondering if anyone has a way or code to identify any un-used functions >> and commands in a set of stacks? >> >> >> Best, >> Steve MacLean >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Nov 25 13:17:48 2019 From: jjs at krutt.org (JJS) Date: Mon, 25 Nov 2019 19:17:48 +0100 Subject: Push notification to all user In-Reply-To: <21D98B9F-E0A3-43CA-B608-223F3D94293C@iotecdigital.com> References: <21D98B9F-E0A3-43CA-B608-223F3D94293C@iotecdigital.com> Message-ID: It's Googles Firebase. firebase.google.com Op 25-11-2019 om 18:19 schreef Bob Sneidar via use-livecode: > What is FCM? > > Bob S > > >> On Nov 14, 2019, at 10:24 , JJS via use-livecode wrote: >> >> You need to use FCM > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Nov 25 13:19:44 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 25 Nov 2019 13:19:44 -0500 Subject: Identifying Un-used functions and commands In-Reply-To: <16ea3c05bf8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5F59B788-B315-431A-84D0-C9F4E73ABB20@iotecdigital.com> <859573385.3341211.1574704040231@mail.yahoo.com> <16ea3c05bf8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0cedd1bb-40d0-41b0-b6cf-6df25e29a0c4@researchware.com> revRefactor has a very nice "orphan Code..." feature https://github.com/mwieder/revRefactor/tree/master/Plugin On 11/25/2019 1:08 PM, J. Landman Gay via use-livecode wrote: > I think he wants it the other way around, identifying handlers and > functions that aren't called by any other handler. I've done this, but > only one at a time, by searching for the handler name across all open > stacks. If the only occurrence is the handler itself ("on/function > whatever", ) then it's unused. > > The method here would probably be to get a list of all handlers and > functions and then do a global search for instances of each. If > there's one or more that isn't the handler declaration, it's used. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 25, 2019 11:51:14 AM dunbarx--- via use-livecode > wrote: > >> Hi. >> This was posted a couple of weeks ago, no? >> I suggested then that you could write a short handler that loops >> through all the scripts in all the controls on all the cards, and >> isolate words that are not preceded by either "command", "on" or >> "function". In this way you might see, for example, that "myGadget3" >> may be present in scripts here and there, but there is no "on >> myGadget3" anywhere. Then you will have found an unused handler call. >> This may require tweaking. For example, LC will compile, say: >> "on???????? myGadget3"? -- spaces galore >> >> Craig >> >> -----Original Message----- >> From: Bob Sneidar via use-livecode >> To: How to use LiveCode >> Cc: Bob Sneidar >> Sent: Mon, Nov 25, 2019 12:29 pm >> Subject: Re: Identifying Un-used functions and commands >> >> Since there is code in the script editor that knows the location of >> any command or function you right click on, if you found out how they >> do that, you would be well on your way to developing a way to grok >> it. Also, GLX2 has a "clairvoyance" (Auto-Complete) function that is >> handler aware. I suspect Mark Wieder developed a method for getting a >> list of all handlers in a stack that is opened. That would probably >> help too. >> >> Bob S >> >> >>> On Nov 12, 2019, at 09:12 , Stephen MacLean via use-livecode >>> wrote: >>> >>> >>> Hi All, >>> >>> >>> I?m wondering if anyone has a way or code to identify any un-used >>> functions and commands in a set of stacks? >>> >>> >>> Best, >>> Steve MacLean >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 25 13:19:11 2019 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 25 Nov 2019 19:19:11 +0100 Subject: How do I select graphics that are on top of each other with mousedown? Message-ID: Hi there, I have to square graphics (line style) on top of each other. They have the same width and height and form a letter X. How do I select the different graphics? Mousedown, MouseLoc and points of graphic? Any pointers are welcome. greetings, William From bogdanoff at me.com Mon Nov 25 13:30:44 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 25 Nov 2019 10:30:44 -0800 Subject: How do I select graphics that are on top of each other with mousedown? In-Reply-To: References: Message-ID: <7EB5C158-EA6C-489C-8A30-83BC941FB75A@me.com> William, You could try working with the mouseControl. Peter > On Nov 25, 2019, at 10:19 AM, William de Smet via use-livecode wrote: > > Hi there, > > I have to square graphics (line style) on top of each other. > They have the same width and height and form a letter X. > > How do I select the different graphics? > > Mousedown, MouseLoc and points of graphic? > Any pointers are welcome. > > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Mon Nov 25 13:44:44 2019 From: hh at hyperhh.de (hh) Date: Mon, 25 Nov 2019 19:44:44 +0100 Subject: How do I select graphics that are on top of each other with mousedown? Message-ID: Yet another option is to use the technique from "pointInShape": http://forums.livecode.com/viewtopic.php?p=129274#p129274 From sean at pidigital.co.uk Mon Nov 25 14:00:02 2019 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 25 Nov 2019 19:00:02 +0000 Subject: How do I select graphics that are on top of each other with mousedown? In-Reply-To: References: Message-ID: <366BBFC6-AFFD-4415-A8AB-A83102DE297A@pidigital.co.uk> Put each one in a group control that extends one to the left and the other to the right Sean Cole Pi Digital Prod Ltd > On 25 Nov 2019, at 18:19, William de Smet via use-livecode wrote: > > ?Hi there, > > I have to square graphics (line style) on top of each other. > They have the same width and height and form a letter X. > > How do I select the different graphics? > > Mousedown, MouseLoc and points of graphic? > Any pointers are welcome. > > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Nov 25 14:42:48 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Nov 2019 13:42:48 -0600 Subject: iOS simulator not responding Message-ID: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> When I run a test on the iOS simulator, it will not respond to either clicks/taps or keyboard entry. Basically, it's inert. I've tried several different hardware devices, all with the same results. A Google search seems to show that this is a bug in the simulator when running under Mojave, and works again if run in Catalina. I can't update to Catalina yet because several apps I rely on will not run there. I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, and if so, have a workaround? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Mon Nov 25 15:15:38 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 25 Nov 2019 20:15:38 +0000 (UTC) Subject: Identifying Un-used functions and commands In-Reply-To: <16ea3c05bf8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5F59B788-B315-431A-84D0-C9F4E73ABB20@iotecdigital.com> <859573385.3341211.1574704040231@mail.yahoo.com> <16ea3c05bf8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <863255013.3406726.1574712938049@mail.yahoo.com> Jacque, Ah. You may be right. So, Steve, which way, or do you need both? The methodology is basically the same. Craig -----Original Message----- From: J. Landman Gay via use-livecode To: How to use LiveCode Cc: J. Landman Gay Sent: Mon, Nov 25, 2019 1:09 pm Subject: Re: Identifying Un-used functions and commands I think he wants it the other way around, identifying handlers and functions that aren't called by any other handler. I've done this, but only one at a time, by searching for the handler name across all open stacks. If the only occurrence is the handler itself ("on/function whatever", ) then it's unused. The method here would probably be to get a list of all handlers and functions and then do a global search for instances of each. If there's one or more that isn't the handler declaration, it's used. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 25, 2019 11:51:14 AM dunbarx--- via use-livecode wrote: > Hi. > This was posted a couple of weeks ago, no? > I suggested then that you could write a short handler that loops through > all the scripts in all the controls on all the cards, and isolate words > that are not preceded by either "command", "on" or "function". In this way > you might see, for example, that "myGadget3" may be present in scripts here > and there, but there is no "on myGadget3" anywhere. Then you will have > found an unused handler call. > This may require tweaking. For example, LC will compile, say: > "on? ? ? ? myGadget3"? -- spaces galore > > Craig > > -----Original Message----- > From: Bob Sneidar via use-livecode > To: How to use LiveCode > Cc: Bob Sneidar > Sent: Mon, Nov 25, 2019 12:29 pm > Subject: Re: Identifying Un-used functions and commands > > Since there is code in the script editor that knows the location of any > command or function you right click on, if you found out how they do that, > you would be well on your way to developing a way to grok it. Also, GLX2 > has a "clairvoyance" (Auto-Complete) function that is handler aware. I > suspect Mark Wieder developed a method for getting a list of all handlers > in a stack that is opened. That would probably help too. > > Bob S > > >> On Nov 12, 2019, at 09:12 , Stephen MacLean via use-livecode >> wrote: >> >> >> Hi All, >> >> >> I?m wondering if anyone has a way or code to identify any un-used functions >> and commands in a set of stacks? >> >> >> Best, >> Steve MacLean >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Mon Nov 25 15:29:49 2019 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 25 Nov 2019 21:29:49 +0100 Subject: How do I select graphics that are on top of each other with mousedown? In-Reply-To: <7EB5C158-EA6C-489C-8A30-83BC941FB75A@me.com> References: <7EB5C158-EA6C-489C-8A30-83BC941FB75A@me.com> Message-ID: Hi Peter, MouseControl works fine. Thanks. greetings, William Op ma 25 nov. 2019 om 19:31 schreef Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com>: > William, > > You could try working with the mouseControl. > > Peter > > > On Nov 25, 2019, at 10:19 AM, William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi there, > > > > I have to square graphics (line style) on top of each other. > > They have the same width and height and form a letter X. > > > > How do I select the different graphics? > > > > Mousedown, MouseLoc and points of graphic? > > Any pointers are welcome. > > > > > > greetings, > > > > William > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 25 15:31:11 2019 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 25 Nov 2019 21:31:11 +0100 Subject: How do I select graphics that are on top of each other with mousedown? In-Reply-To: References: Message-ID: Hi there, "pointInShape" looks very interesting, Too much for now. MouseControl does the job. Thanks! groeten, William Op ma 25 nov. 2019 om 19:45 schreef hh via use-livecode < use-livecode at lists.runrev.com>: > Yet another option is to use the technique from "pointInShape": > http://forums.livecode.com/viewtopic.php?p=129274#p129274 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Nov 25 15:37:24 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 25 Nov 2019 20:37:24 +0000 Subject: WebP-Tool v103 In-Reply-To: Message-ID: <20191125203724.Horde.XJ1EvYV7VsiGYKtsGfHM64V@oa.serversignin.com> "2. have more images that fit the package -- last time I check it was 100MB, for iOS." I assume you are referring to the maximum app size when downloading from the App Store, in which case that limit has been removed with iOS 13. https://ww.9to5mac.com/2019/05/31/apple-iphone-cellular-limit-increased/ --Andrew Bell > From: Sannyasin Brahmanathaswami > Subject: Re: WebP-Tool v103 > Message-ID: <9C4D09CB-8782-4D9B-894E-7E74B860C61C at hindu.org> > > Looking forward to support on mobile. There is the total RAM > requirement that makes it hard to put the image into custom props of > one stack. SivaSiva app holds roughly 350 photos, that must > delivered with the package. So a stack which had them as customs > prop would "blow out the phone." So I am looking forward to > > > 1. increase the density of those image. Too many have a subtle > "pixalation" because I downsized them to fit the package. Based on > the eyesight and sense for image aesthetics, some users don't "mind" > , they are interested on the "documentary" content of what they see. > Other users react first to pixalation relatively other apps which > have dense retina display images > 2. have more images that fit the package -- last time I check it > was 100MB, for iOS. > 3. put them on them server and have a fast download time. > > Looking at the forum post, if I understand it, these are all required, > "The stack webP-Tool contains and installs (if not available) the > binaries for 64bit Mac/Win/linux. ?The stack has included for > mac/win/nux (all 64bit), cwebp (WebP encoder tool), dwebp (WebP > decoder tool) and webinfo (WebP info tool) > Not included are vwebp (WebP file viewer), webpmux (WebP muxing > tool), gif2webp (Tool for converting GIF images to WebP)." > > And those libs "native" on iOS and Android? Of course we can still > only show PNG in LC (for now) > > Ha! once again, I may be chasing the moon?. > > BR From dunbarx at aol.com Mon Nov 25 15:45:40 2019 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 25 Nov 2019 20:45:40 +0000 (UTC) Subject: How do I select graphics that are on top of each other with mousedown? In-Reply-To: <366BBFC6-AFFD-4415-A8AB-A83102DE297A@pidigital.co.uk> References: <366BBFC6-AFFD-4415-A8AB-A83102DE297A@pidigital.co.uk> Message-ID: <1007982689.3402209.1574714740918@mail.yahoo.com> The "mouseControl" is very straightforward. The "target" would work just as well. In the card script: on mouseUp? answer the targetend mouseUp But for a line graphic, you must click right on the line, or the function will not work. In other words, the extent of each graphic is the same, but only the lines themselves will respond.This solves the problem discussed below, sort of. Grouping them will not help. This harkens back to just the opposite problem, discussed a couple of years ago, where it was desired that a click somewhere within the "extent" of the graphic would trigger an event. Craig -----Original Message----- From: Pi Digital via use-livecode To: How to use LiveCode Cc: Pi Digital Sent: Mon, Nov 25, 2019 2:01 pm Subject: Re: How do I select graphics that are on top of each other with mousedown? Put each one in a group control that extends one to the left and the other to the right Sean Cole Pi Digital Prod Ltd > On 25 Nov 2019, at 18:19, William de Smet via use-livecode wrote: > > ?Hi there, > > I have to square graphics (line style) on top of each other. > They have the same width and height and form a letter X. > > How do I select the different graphics? > > Mousedown, MouseLoc and points of graphic? > Any pointers are welcome. > > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Nov 25 17:11:24 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 26 Nov 2019 00:11:24 +0200 Subject: iOS simulator not responding In-Reply-To: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> Message-ID: Hello Jacque, So the iOS standalone is installed to the iOS simulator, but the simulator does not respond to clicks / keyboard entry? I am on Mojave as well, but have not seen that happening. Maybe it is worth resetting the simulator state: Quit any instances of Xcode and iOS simulator, and execute this in the terminal: sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService Then: - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar and choose Xcode -> Open Developer Tool -> Simulator) - Wait until the simulator fully loads, until it shows the device's Home screen If you change device by clicking on the Simulator's app menubar (Hardware -> Device -> iOS 12.1 -> ) - again, wait until the new simulator device fully loads, until it shows the device's Home screen - Now go back to LiveCode and test again Fingers crossed :) Panos -- On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > When I run a test on the iOS simulator, it will not respond to either > clicks/taps or keyboard entry. Basically, it's inert. I've tried several > different hardware devices, all with the same results. > > A Google search seems to show that this is a bug in the simulator when > running under Mojave, and works again if run in Catalina. I can't update > to Catalina yet because several apps I rely on will not run there. > > I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, > and if so, have a workaround? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 25 18:09:39 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Nov 2019 17:09:39 -0600 Subject: iOS simulator not responding In-Reply-To: References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> Message-ID: <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> Thanks Panos. Resetting didn't work, so now I'm wondering if it is something about my LC native fields. The first thing the user needs to do is log in, and I can't test beyond that until I can enter credentials. There are two native fields, both are transparent. Would transparency in iOS matter? They work on Android. I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 but I assume that's okay. On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: > Hello Jacque, > > So the iOS standalone is installed to the iOS simulator, but the simulator > does not respond to clicks / keyboard entry? > > I am on Mojave as well, but have not seen that happening. > > Maybe it is worth resetting the simulator state: > Quit any instances of Xcode and iOS simulator, and execute this in the > terminal: > > sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService > > Then: > - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar > and choose > Xcode -> Open Developer Tool -> Simulator) > - Wait until the simulator fully loads, until it shows the device's Home > screen > If you change device by clicking on the Simulator's app menubar > (Hardware -> Device -> iOS 12.1 -> ) - again, wait until the > new simulator device fully loads, until it shows the device's Home screen > - Now go back to LiveCode and test again > > Fingers crossed :) > > Panos > -- > > On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> When I run a test on the iOS simulator, it will not respond to either >> clicks/taps or keyboard entry. Basically, it's inert. I've tried several >> different hardware devices, all with the same results. >> >> A Google search seems to show that this is a bug in the simulator when >> running under Mojave, and works again if run in Catalina. I can't update >> to Catalina yet because several apps I rely on will not run there. >> >> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, >> and if so, have a workaround? >> >> -- >> 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 scott at elementarysoftware.com Tue Nov 26 02:28:05 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 25 Nov 2019 23:28:05 -0800 Subject: macOS, is my app active? In-Reply-To: <97C6BB39-E086-4521-98B2-BB05A936C87D@iotecdigital.com> References: <43B88E15-53FA-484D-9D64-DBAD99D4A4CA@major-k.de> <2B11B53B-864F-476E-ABED-0CDBF87C49EC@major-k.de> <97C6BB39-E086-4521-98B2-BB05A936C87D@iotecdigital.com> Message-ID: <56D11AD6-B242-4AE4-86BC-A333E52CBC22@elementarysoftware.com> It does work nicely from the IDE but as Trevor noted, the downside to using AppleScript in this case is that under newer version of OSX your compiled app will trigger a (one time) dialog asking to grant access to control ?System Events.app? ? Scott Morrow > On Nov 25, 2019, at 8:46 AM, Bob Sneidar via use-livecode wrote: > > on mouseUp > put "tell application " & quote & "System Events" & quote & cr after tApplescript > put "set activeApp to name of first application process whose frontmost is true" & cr after tApplescript > put "return activeApp" & cr after tApplescript > put "end tell" & cr after tApplescript > do tAppleScript as appleScript > put the result > end mouseUp > > works for me > > Bob S > > >> On Nov 23, 2019, at 06:11 , Klaus major-k via use-livecode wrote: >> >> Hi Trevor, >> >>> Am 23.11.2019 um 15:06 schrieb Trevor DeVore via use-livecode : >>> >>> On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi friends, >>>> >>>> can we check if our standalone is currently active, means in >>>> the "foreground" or if it is not active? Know what I mean? >>>> If yes, how can we do that? LC? AppleScript? >>>> >>>> I want to alert the user if the app is active, but not if the app >>>> is not active. >>> Apple provides API calls to do this and wrapping Objective-C APIs is pretty >>> straightforward. The APIs you are interested in: >>> ... >>> Regarding step 6 - If you don't want to store your extension externally to >>> your application you can also use the "+" button in the EB to install the >>> extension in your LC environment. Now the extension will load whenever you >>> launch LC and you can select "NSWorkspace" in the Standalone Builder >>> Inclusions tab so that the extension is bundled with your executable. >>> >>> -- >>> Trevor DeVore >> >> wow, lots of infos, thank you very much, but maybe a little overkill for me. >> >> It would suffice for me to get this little snippet to work: >> ----------------------------------------------------------------- >> tell application "System Events" >> set activeApp to name of first application process whose frontmost is true >> return activeApp >> end tell >> ---------------------------------------------------------------- >> Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? >> Any hints appreciated! >> >> Thanks a lot! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Nov 26 04:58:23 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 26 Nov 2019 11:58:23 +0200 Subject: [ANN] Release 9.6.0 DP-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.0 DP-1. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.0 DP-1 comes with more than 20 bugfixes. In addition, LiveCode 9.6.0 DP-1 includes several amazing new features: - The mobile player control has been updated to use the AVKit framework on iOS. This fixes a lot of existing bugs, including some new issues on iOS 13+ devices. - The mobile browser control has been updated to use the WebKit framework on iOS. This provides better performance on iOS devices. - The "open printing to pdf ..." command can now be used to direct printing to a PDF output file on Android devices. - Support for building with Xcode 11.1 and the iOS 13.1 SDK has been added. - New tsNet build with support for iOS 13+ is included. - New CEF build is included, which addresses rendering issues with the browser widget in some 32bit Windows devices. Known issues ================ - This build (for Mac) is not notarized yet, so if your Mac is running MacOS Catalina (10.15.x) you will get a warning dialog saying that the app cannot be opened. In this case, you have to whitelist LiveCode in the System Settings -> Security and Privacy, and then right-click on LiveCode and choose "Open" from the contextual menu. Just double-clicking to open it will not work. Note that you'll only need to do this once, the very first time you open LiveCode 9.6 DP-1. For more details and instructions see here: https://support.apple.com/en-gb/HT202491 - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0_dp_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team From lists at mangomultimedia.com Tue Nov 26 10:59:00 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 26 Nov 2019 09:59:00 -0600 Subject: Adding `the caller` to LiveCode Script Message-ID: About 15 years ago Dar Scott added a feature request to have a function that returns the long ID of the caller's caller's object: https://quality.livecode.com/show_bug.cgi?id=1954 Two years ago LiveCode Builder added `the caller` which does just that, but only in LCB. If anyone is looking for a contribution to make to the engine I am throwing this out there as something to consider: Add `the caller` to LCS. Why is this useful? When writing handlers that send callback messages it is sometimes desirable to send the message to the object that called the handler. For example, let's say I have a library that makes REST calls to a server API. This calls are asynchronous so a handler in the library will need to notify the caller that the request is finished. If a handler from the library was called from a card then I might want the callback to be sent to the card. If a handler was called from a group then I might want the callback to be sent to the group. The current solution is to pass the long id of the object you want the callback sent to as a parameter to the library handlers. For example: restAPIGetObjects tId, the long id of me # callback will sent to me If you aren't using password protected stacks then you can use `the executioncontexts` to get the information you need to determine the caller. But when a stack is password protected the necessary information isn't included in `the executioncontexts`. I have a recent real world example. I rewrote the REST API interface in an application I work on to use behaviors that I attach to cards in my UI stacks. The design allows me to segment REST calls made within a specific object (card or group) so that callbacks and cleanup are very simple to manage. The need to pass the long id of the caller as a parameter if I want the callback for a specific handler to be sent to a group on the card shouldn't be part of a handlers parameter list, however. -- Trevor DeVore ScreenSteps www.screensteps.com From paul at researchware.com Tue Nov 26 11:15:39 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 26 Nov 2019 11:15:39 -0500 Subject: Adding `the caller` to LiveCode Script In-Reply-To: References: Message-ID: <7cf001f1-cd10-83c4-23aa-fbd27dbc4362@researchware.com> I'd like to see the 'the caller' added as well. Mind you, I'd like to see a *lot* more of the player object bugs fixed and more of the LCS statements that are still not Unicode aware made Unicode aware first, but the "the caller" would probably 3rd on my list. Digging through the executionContexts is a pain even when possible and there are lots of places in my code where being able to fidn the caller would be helpful. On 11/26/2019 10:59 AM, Trevor DeVore via use-livecode wrote: > About 15 years ago Dar Scott added a feature request to have a function > that returns the long ID of the caller's caller's object: > > https://quality.livecode.com/show_bug.cgi?id=1954 > > Two years ago LiveCode Builder added `the caller` which does just that, but > only in LCB. If anyone is looking for a contribution to make to the engine > I am throwing this out there as something to consider: Add `the caller` to > LCS. > > Why is this useful? > > When writing handlers that send callback messages it is sometimes desirable > to send the message to the object that called the handler. For example, > let's say I have a library that makes REST calls to a server API. This > calls are asynchronous so a handler in the library will need to notify the > caller that the request is finished. If a handler from the library was > called from a card then I might want the callback to be sent to the card. > If a handler was called from a group then I might want the callback to be > sent to the group. > > The current solution is to pass the long id of the object you want the > callback sent to as a parameter to the library handlers. For example: > > restAPIGetObjects tId, the long id of me # callback will sent to me > > If you aren't using password protected stacks then you can use `the > executioncontexts` to get the information you need to determine the caller. > But when a stack is password protected the necessary information isn't > included in `the executioncontexts`. > > I have a recent real world example. I rewrote the REST API interface in an > application I work on to use behaviors that I attach to cards in my UI > stacks. The design allows me to segment REST calls made within a specific > object (card or group) so that callbacks and cleanup are very simple to > manage. The need to pass the long id of the caller as a parameter if I want > the callback for a specific handler to be sent to a group on the card > shouldn't be part of a handlers parameter list, however. > From ahsoftware at sonic.net Tue Nov 26 12:51:46 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 26 Nov 2019 09:51:46 -0800 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: Message-ID: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> On 11/26/19 1:58 AM, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.0 DP-1. Really? A major point release while still in the queue there are 186 pull requests for the engine (dating back to 2014) 42 pull requests for the IDE (dating back to 2016) -- Mark Wieder ahsoftware at gmail.com From hh at hyperhh.de Tue Nov 26 13:11:22 2019 From: hh at hyperhh.de (hh) Date: Tue, 26 Nov 2019 19:11:22 +0100 Subject: [ANN] Release 9.6.0 DP-1 Message-ID: <9FD5F108-E5C1-4FE6-821D-53DAFB0FC869@hyperhh.de> > We are pleased to announce the release of LiveCode 9.6.0 DP-1. > Mark Wieder wrote: > Really? > A major point release while still in the queue there are > > 186 pull requests for the engine (dating back to 2014) > 42 pull requests for the IDE (dating back to 2016) Good point, perhaps the major point principle has lost its meaning already with 9.5.0 (compared to 9.0.5)? From mark at livecode.com Tue Nov 26 13:34:11 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 26 Nov 2019 18:34:11 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> References: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> Message-ID: <114dace15c093951f66f4947589602d5@livecode.com> On 2019-11-26 17:51, Mark Wieder via use-livecode wrote: > On 11/26/19 1:58 AM, panagiotis merakos via use-livecode wrote: >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.0 DP-1. > > Really? > A major point release while still in the queue there are > > 186 pull requests for the engine (dating back to 2014) > 42 pull requests for the IDE (dating back to 2016) Its not a major point release, its a minor point release a la semantic versioning (https://semver.org/) - major.minor.maintenance. It contains a number of changes which are definitely not suitable for a maintenance release (as they add or change functionality) but are critical to quite a number of people's apps (iOS player issues, in particular; but also some android issues too) [ otherwise they would have been in a 9.5.2! ] [ Note: We do sometimes change functionality in a backwards incompatible fashion in minor point releases so we aren't strictly semver - but only if it is focused in specific areas - in this case, we had to remove some features from the mobile player control as we could not replicate them with the replacement OS APIs, and we had to tweak how you setup the camera control to stop iOS complaining about permissions. ] At least 100 of the engine pull requests are either incomplete (no release note yet, no issue filed yet, no docs updates yet etc.) or WIP so are not mergeable as they stand. Probably half of the remainder are probably stale/no longer relevant/not going to get merged - so they probably could do with a cull (which is something for when I have a 'spare' afternoon). The IDE PRs (after a very brief perusal) look like about half are not yet complete and a few are WIP so not too dissimilar % wise. We felt it better to get dp-1 almost feature complete, addressing the critical issues holding up people's apps first before lumping a lot of fixes from all over the place. The latter always risks a greater increase in the possibility of regressions and thus potential for a largely unusable build. We're planning to get at least 20 further bugfixes merged for dp-2, and how many more than that depends on how testing goes, regression reports go and how much time we have before christmas :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jjs at krutt.org Tue Nov 26 14:37:58 2019 From: jjs at krutt.org (JJS) Date: Tue, 26 Nov 2019 20:37:58 +0100 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <114dace15c093951f66f4947589602d5@livecode.com> References: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> <114dace15c093951f66f4947589602d5@livecode.com> Message-ID: <1f83bcc9-bc6a-41a7-d0cf-bf2c6a3f7258@krutt.org> Well i'm happy at least PDF printing is a step in the right direction. Via html and opening in a browser one could get to pdf / print on paper, so we can skip that. Hopefully printing on paper will be a next step on Android. Thanks a lot! Jerry Op 26-11-2019 om 19:34 schreef Mark Waddingham via use-livecode: > On 2019-11-26 17:51, Mark Wieder via use-livecode wrote: >> On 11/26/19 1:58 AM, panagiotis merakos via use-livecode wrote: >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.0 DP-1. >> >> Really? >> A major point release while still in the queue there are >> >> 186 pull requests for the engine (dating back to 2014) >> 42 pull requests for the IDE (dating back to 2016) > > Its not a major point release, its a minor point release a la semantic > versioning (https://semver.org/) - major.minor.maintenance. > > It contains a number of changes which are definitely not suitable for > a maintenance release (as they add or change functionality) but are > critical to quite a number of people's apps (iOS player issues, in > particular; but also some android issues too) [ otherwise they would > have been in a 9.5.2! ] > > [ Note: We do sometimes change functionality in a backwards > incompatible fashion in minor point releases so we aren't strictly > semver - but only if it is focused in specific areas - in this case, > we had to remove some features from the mobile player control as we > could not replicate them with the replacement OS APIs, and we had to > tweak how you setup the camera control to stop iOS complaining about > permissions. ] > > At least 100 of the engine pull requests are either incomplete (no > release note yet, no issue filed yet, no docs updates yet etc.) or WIP > so are not mergeable as they stand. Probably half of the remainder are > probably stale/no longer relevant/not going to get merged - so they > probably could do with a cull (which is something for when I have a > 'spare' afternoon). > > The IDE PRs (after a very brief perusal) look like about half are not > yet complete and a few are WIP so not too dissimilar % wise. > > We felt it better to get dp-1 almost feature complete, addressing the > critical issues holding up people's apps first before lumping a lot of > fixes from all over the place. The latter always risks a greater > increase in the possibility of regressions and thus potential for a > largely unusable build. > > We're planning to get at least 20 further bugfixes merged for dp-2, > and how many more than that depends on how testing goes, regression > reports go and how much time we have before christmas :) > > Warmest Regards, > > Mark. > From jacque at hyperactivesw.com Tue Nov 26 14:45:37 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Nov 2019 13:45:37 -0600 Subject: iOS simulator not responding In-Reply-To: <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> Message-ID: I have reduced the problem to iOS input fields. Some testing shows that: * The native fields exist * Their rect is correct * If I script their text data, it is there and can be retrieved But they are inactive, can't be tapped, don't show any text even if its entry is scripted, can't be typed into, can't be focused. They act like they are invisible. Here is what I do to create them. This is a generic handler that creates all input fields throughout the app, and it works fine on Android. Usually I call it like this: createInputFld "email". The other params are used only occasionally. command createInputFld pName,pReturnKey,pMultiline -- native single-line input -- pName = any valid fld identifier (long name, ID, etc) -- pReturnKey = return key type, usually "search" -- pMultiline = boolean, whether to create a multi-line input put (the rect of control pName) into tRect subtract 10 from item 2 of tRect -- adjust for mobile add 10 to item 4 of tRect -- may not need for iOS if pMultiLine = true then mobileControlCreate "multiline", pName else mobileControlCreate "input", pName end if mobileControlSet pName, "rect", tRect mobileControlSet pName, "autoCapitalizationType", "none" mobileControlSet pName, "autoCorrectionType", "no" mobileControlSet pName, "enabled", true mobileControlSet pName, "editable", true -- multiline only (?) mobileControlSet pName, "alpha", 0 -- transparent mobileControlSet pName, "textalign", the effective textalign of control pName mobileControlSet pName, "textColor", the effective textcolor of control pName if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", pReturnKey -- usually "search" mobileControlSet pName, "visible", true if the platform contains "iPhone" then mobileControlSet pName, "borderStyle", "none" mobileControlSet pName, "clearButtonMode", "always" end if end createInputFld The fields on the first card are plain input fields, but I have a question about multiline fields. The docs are a bit confusing. I pass the parameter to Android and it does what I want. But I'm not clear whether that works on iOS. The docs say that multiline fields are applicable to both platforms, but mobileControlCreate info says it is Android only. There is also a separate iOS command to create a multiline field. How does all this work? Multiline isn't applicable to the immediate issue, where I can't get past the first two plain input fields. On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote: > Thanks Panos. Resetting didn't work, so now I'm wondering if it is > something about my LC native fields. The first thing the user needs to > do is log in, and I can't test beyond that until I can enter > credentials. There are two native fields, both are transparent. Would > transparency in iOS matter? They work on Android. > > I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 > but I assume that's okay. > > On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: >> Hello Jacque, >> >> So the iOS standalone is installed to the iOS simulator, but the >> simulator >> does not respond to clicks / keyboard entry? >> >> I am on Mojave as well, but have not seen that happening. >> >> Maybe it is worth resetting the simulator state: >> Quit any instances of Xcode and iOS simulator, and execute this in the >> terminal: >> >> sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService >> >> Then: >> - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar >> and choose >> Xcode -> Open Developer Tool -> Simulator) >> - Wait until the simulator fully loads, until it shows the device's Home >> screen >> If you change device by clicking on the Simulator's app menubar >> (Hardware -> Device -> iOS 12.1 -> ) - again, wait until >> the >> new simulator device fully loads, until it shows the device's Home screen >> - Now go back to LiveCode and test again >> >> Fingers crossed :) >> >> Panos >> -- >> >> On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> When I run a test on the iOS simulator, it will not respond to either >>> clicks/taps or keyboard entry. Basically, it's inert. I've tried several >>> different hardware devices, all with the same results. >>> >>> A Google search seems to show that this is a bug in the simulator when >>> running under Mojave, and works again if run in Catalina. I can't update >>> to Catalina yet because several apps I rely on will not run there. >>> >>> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, >>> and if so, have a workaround? >>> >>> -- >>> 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 ahsoftware at sonic.net Tue Nov 26 14:53:36 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 26 Nov 2019 11:53:36 -0800 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <114dace15c093951f66f4947589602d5@livecode.com> References: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> <114dace15c093951f66f4947589602d5@livecode.com> Message-ID: <0cb58e08-1860-e465-d9c7-a532838cb8fe@sonic.net> On 11/26/19 10:34 AM, Mark Waddingham via use-livecode wrote: > Its not a major point release, its a minor point release a la semantic > versioning (https://semver.org/) - major.minor.maintenance. OK. I don't want to get into arguing semantics. But there are now several active (?) streams. LC 8.2.0 is still at a DP2 build I take it that the 8.x series is a dead end? LC 9.0.x is at a stable 9.0.5 build. Is that the end of 9.0? LC 9.5.1 is at the RC1 stage, and has been for three weeks In LC history that's pretty long for an RC release to lay stagnant. Is there going to be a stable LC 9.5 release or is development now going towards 9.6? LC 9.6.0 is newly at DP1 And I take it that this is the wave of the future and why building from source announces itself as 9.6. > It contains a number of changes which are definitely not suitable for a > maintenance release (as they add or change functionality) but are > critical to quite a number of people's apps (iOS player issues, in > particular; but also some android issues too) [ otherwise they would > have been in a 9.5.2! ] Yes, this feels subjectively to me like a 9.5.2 release. Again, I don't want to argue naming semantics, but the 9.0->9.5 jump was a major change, and this doesn't feel like that kind of leap to me. I'm glad the problems were fixed, I just expected more from the build level. > (which is something for when I have a 'spare' afternoon). Heh. > We felt it better to get dp-1 almost feature complete, addressing the > critical issues holding up people's apps first before lumping a lot of > fixes from all over the place. The latter always risks a greater > increase in the possibility of regressions and thus potential for a > largely unusable build. No argument there. OK - I'm not going to get anywhere by pushing this point further, so I'm gonna shut up and get back to working on things. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Tue Nov 26 15:42:48 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 26 Nov 2019 22:42:48 +0200 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> References: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> Message-ID: <586e03ae-4030-2c1a-d1b1-e3a2fa7a4eda@gmail.com> If I had written that there would be people queueing at the airport to come over to Bulgaria and surgically remove my, erm, "ears." Well done, Mr Wieder. On 26.11.19 19:51, Mark Wieder via use-livecode wrote: > On 11/26/19 1:58 AM, panagiotis merakos via use-livecode wrote: >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.0 DP-1. > > Really? > A major point release while still in the queue there are > > 186 pull requests for the engine (dating back to 2014) > 42 pull requests for the IDE (dating back to 2016) > From hh at hyperhh.de Tue Nov 26 15:44:45 2019 From: hh at hyperhh.de (hh) Date: Tue, 26 Nov 2019 21:44:45 +0100 Subject: [ANN] Release 9.6.0 DP-1 Message-ID: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> @Mark Waddingham. Good to know you are still alive. LC version numbering has it's own logic, agreed -- as long as it's counting up. Integers are meek as a lamb, we have enough of them. Nevertheless Mark Wieder made a good point with looking at the pull requests. If I understand correctly then you both are right: At the very end it is the content that matters. Now we all look forward to know which pull requests are *NOT* "incomplete or WIP" and which are *NOT* "stale / no longer relevant / not going to get merged". From richmondmathewson at gmail.com Tue Nov 26 15:49:52 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 26 Nov 2019 22:49:52 +0200 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> References: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> Message-ID: <7eb55895-b0ef-63df-16f9-421bfb176d18@gmail.com> I think I understand what "no longer relevant" means, but "stale" is unclear to me; I've always thought of something that has gone stale as something that someone should have done something with earlier but somehow 'overlooked.' And, as to "not going to get merged," well, why isn't that feature going to get merged? I wonder how many people are going to feel completely satisfied by either that classification or "stale" ? On 26.11.19 22:44, hh via use-livecode wrote: > @Mark Waddingham. > Good to know you are still alive. > > LC version numbering has it's own logic, agreed -- as long as > it's counting up. Integers are meek as a lamb, we have enough > of them. > > Nevertheless Mark Wieder made a good point with looking at the > pull requests. > > If I understand correctly then you both are right: > At the very end it is the content that matters. > > Now we all look forward to know which pull requests are *NOT* > "incomplete or WIP" and which are *NOT* "stale / no longer > relevant / not going to get merged". > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 26 16:03:59 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 26 Nov 2019 23:03:59 +0200 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> References: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> Message-ID: Round these parts quite a few of us have our own logic, so I wouldn't get fussed about the numbering . . . I'm actually looking forward to fiddling around with the new release over the weekend, and building the new "PDF bits" into my Devawriter Pro: Thanks in advance! On 26.11.19 22:44, hh via use-livecode wrote: > @Mark Waddingham. > Good to know you are still alive. > > LC version numbering has it's own logic, agreed -- as long as > it's counting up. Integers are meek as a lamb, we have enough > of them. > > Nevertheless Mark Wieder made a good point with looking at the > pull requests. > > If I understand correctly then you both are right: > At the very end it is the content that matters. > > Now we all look forward to know which pull requests are *NOT* > "incomplete or WIP" and which are *NOT* "stale / no longer > relevant / not going to get merged". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Nov 26 18:02:51 2019 From: hh at hyperhh.de (hh) Date: Wed, 27 Nov 2019 00:02:51 +0100 Subject: html5-IDE v100_alpha Message-ID: <66DB3BCD-4442-4FE0-BD92-7BBC3BAA2BAF@hyperhh.de> A few more words in defense of the HTML5 standalone builder: Enjoy html5IDE v100_alpha. A LC-playground with 'integrated' propertyInspector, dictionary, scriptEditor and tools. http://hyperhh.de/html5/html5IDE.html You can create objects, edit their properties and their script. Moreover there is a Paint-section and a MessageBox. You can save and load scripts, but not (yet) the created card. The dictionary is a html5 version of Bernd Niggemann's tinyDict. The script editor is based on Codemirror (MIT-licensed). There is a compact help (btn "H" of the Tools). There is still a lot to do... This "IDE" is made out of 6 independent standalones (in frames) that send messages to each other. Each of these standalones can separately be reloaded. ** Please be patient ** Loading the standalone needs here, using Safari and a 100 MBit connection up to 20 seconds (first time only), so up to 2 minutes with a 16 MBit connection. From terry.judd at unimelb.edu.au Tue Nov 26 18:23:57 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 26 Nov 2019 23:23:57 +0000 Subject: iOS simulator not responding In-Reply-To: References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> Message-ID: Not sure if it will help, but here's the code I use to create a multiline text control (pControlName) on iOS that 'overlays' an existing LC field (pObj) # create a native multiline text control put the rect of pObj into tRect # shrink the rect by 1 pixel all around to reveal the object's border add 1 to item 1 of tRect add 1 to item 2 of tRect add -1 to item 3 of tRect add -1 to item 4 of tRect mobileControlCreate "multiline", pControlName mobileControlSet pControlName, "rect", tRect mobileControlSet pControlName, "opaque", true mobileControlSet pControlName, "visible", true mobileControlSet pControlName, "contentType", "plain" mobileControlSet pControlName, "fontSize", "18" mobileControlSet pControlName, "textAlign", "left" mobileControlSet pControlName, "returnKeyType", "default" mobileControlSet pControlName, "autoCorrectionType", "default" mobileControlSet pControlName, "autoCapitalizationType", "sentences" mobileControlSet pControlName, "keyboardStyle", "default" You use 'editable' and 'enabled' as parameters for mobileControlSet but I don't use either of those. I use 'opaque' but you don't because you are after a transparent effect - I wonder whether 'opaque' can be used in conjunction with 'alpha' though? Terry... ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I have reduced the problem to iOS input fields. Some testing shows that: * The native fields exist * Their rect is correct * If I script their text data, it is there and can be retrieved But they are inactive, can't be tapped, don't show any text even if its entry is scripted, can't be typed into, can't be focused. They act like they are invisible. Here is what I do to create them. This is a generic handler that creates all input fields throughout the app, and it works fine on Android. Usually I call it like this: createInputFld "email". The other params are used only occasionally. command createInputFld pName,pReturnKey,pMultiline -- native single-line input -- pName = any valid fld identifier (long name, ID, etc) -- pReturnKey = return key type, usually "search" -- pMultiline = boolean, whether to create a multi-line input put (the rect of control pName) into tRect subtract 10 from item 2 of tRect -- adjust for mobile add 10 to item 4 of tRect -- may not need for iOS if pMultiLine = true then mobileControlCreate "multiline", pName else mobileControlCreate "input", pName end if mobileControlSet pName, "rect", tRect mobileControlSet pName, "autoCapitalizationType", "none" mobileControlSet pName, "autoCorrectionType", "no" mobileControlSet pName, "enabled", true mobileControlSet pName, "editable", true -- multiline only (?) mobileControlSet pName, "alpha", 0 -- transparent mobileControlSet pName, "textalign", the effective textalign of control pName mobileControlSet pName, "textColor", the effective textcolor of control pName if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", pReturnKey -- usually "search" mobileControlSet pName, "visible", true if the platform contains "iPhone" then mobileControlSet pName, "borderStyle", "none" mobileControlSet pName, "clearButtonMode", "always" end if end createInputFld The fields on the first card are plain input fields, but I have a question about multiline fields. The docs are a bit confusing. I pass the parameter to Android and it does what I want. But I'm not clear whether that works on iOS. The docs say that multiline fields are applicable to both platforms, but mobileControlCreate info says it is Android only. There is also a separate iOS command to create a multiline field. How does all this work? Multiline isn't applicable to the immediate issue, where I can't get past the first two plain input fields. On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote: > Thanks Panos. Resetting didn't work, so now I'm wondering if it is > something about my LC native fields. The first thing the user needs to > do is log in, and I can't test beyond that until I can enter > credentials. There are two native fields, both are transparent. Would > transparency in iOS matter? They work on Android. > > I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 > but I assume that's okay. > > On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: >> Hello Jacque, >> >> So the iOS standalone is installed to the iOS simulator, but the >> simulator >> does not respond to clicks / keyboard entry? >> >> I am on Mojave as well, but have not seen that happening. >> >> Maybe it is worth resetting the simulator state: >> Quit any instances of Xcode and iOS simulator, and execute this in the >> terminal: >> >> sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService >> >> Then: >> - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar >> and choose >> Xcode -> Open Developer Tool -> Simulator) >> - Wait until the simulator fully loads, until it shows the device's Home >> screen >> If you change device by clicking on the Simulator's app menubar >> (Hardware -> Device -> iOS 12.1 -> ) - again, wait until >> the >> new simulator device fully loads, until it shows the device's Home screen >> - Now go back to LiveCode and test again >> >> Fingers crossed :) >> >> Panos >> -- >> >> On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> When I run a test on the iOS simulator, it will not respond to either >>> clicks/taps or keyboard entry. Basically, it's inert. I've tried several >>> different hardware devices, all with the same results. >>> >>> A Google search seems to show that this is a bug in the simulator when >>> running under Mojave, and works again if run in Catalina. I can't update >>> to Catalina yet because several apps I rely on will not run there. >>> >>> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, >>> and if so, have a workaround? >>> >>> -- >>> 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 brian at milby7.com Tue Nov 26 18:26:57 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 26 Nov 2019 18:26:57 -0500 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> References: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> Message-ID: <1efcf811-c36d-416d-a0d4-c97c9f5d41dc@Spark> I have a couple and at least one is directly targeted at mobile (7154). ?6404 is Vulcan reviewed but not yet merged (and is the oldest one I have outstanding). ?Both are widget updates. For the IDE I only have 1987 which had a conflict that I just resolved (allow nesting of DG behaviors). Thanks, Brian On Nov 26, 2019, 3:45 PM -0500, hh via use-livecode , wrote: > @Mark Waddingham. > Good to know you are still alive. > > LC version numbering has it's own logic, agreed -- as long as > it's counting up. Integers are meek as a lamb, we have enough > of them. > > Nevertheless Mark Wieder made a good point with looking at the > pull requests. > > If I understand correctly then you both are right: > At the very end it is the content that matters. > > Now we all look forward to know which pull requests are *NOT* > "incomplete or WIP" and which are *NOT* "stale / no longer > relevant / not going to get merged". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Nov 26 19:05:33 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Nov 2019 00:05:33 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <114dace15c093951f66f4947589602d5@livecode.com> References: <33334d11-907c-552c-2335-5853d6ef9808@sonic.net> <114dace15c093951f66f4947589602d5@livecode.com> Message-ID: <36D8D055-E3C8-4560-BCC3-FDC8E576D3E9@hindu.org> Whatever the semantics of release numbers, what pull requests or issues remain. You did the right thing! MW: We felt it better to get dp-1 almost feature complete, addressing the critical issues holding up people's apps first before lumping a lot of fixes from all over the place. The latter always risks a greater increase in the possibility of regressions and thus potential for a largely unusable build. thank you to staying on the key priorities. Hopefully 9.6 will work on iPhone 8! Brahmanathaswami From bobsneidar at iotecdigital.com Tue Nov 26 19:53:30 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 27 Nov 2019 00:53:30 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <1efcf811-c36d-416d-a0d4-c97c9f5d41dc@Spark> References: <9B6FB36A-B8FB-47DF-B35D-7E5ED0D0F25F@hyperhh.de> <1efcf811-c36d-416d-a0d4-c97c9f5d41dc@Spark> Message-ID: I LOVE YOU!!! (erm... plutonically of course.) Bob S > On Nov 26, 2019, at 15:26 , Brian Milby via use-livecode wrote: > > For the IDE I only have 1987 which had a conflict that I just resolved (allow nesting of DG behaviors). > > Thanks, > Brian From tom at makeshyft.com Tue Nov 26 20:30:15 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 26 Nov 2019 20:30:15 -0500 Subject: html5-IDE v100_alpha In-Reply-To: <66DB3BCD-4442-4FE0-BD92-7BBC3BAA2BAF@hyperhh.de> References: <66DB3BCD-4442-4FE0-BD92-7BBC3BAA2BAF@hyperhh.de> Message-ID: Wow..... very impressive......may I ask the reason why you created this? Is it to have an easier time testing html 5 features?..... is it to turn it into a product? On Tue, Nov 26, 2019 at 6:03 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > A few more words in defense of the HTML5 standalone builder: > > Enjoy html5IDE v100_alpha. A LC-playground with 'integrated' > propertyInspector, dictionary, scriptEditor and tools. > > http://hyperhh.de/html5/html5IDE.html > > You can create objects, edit their properties and their script. > Moreover there is a Paint-section and a MessageBox. > > You can save and load scripts, but not (yet) the created card. > The dictionary is a html5 version of Bernd Niggemann's tinyDict. > The script editor is based on Codemirror (MIT-licensed). > > There is a compact help (btn "H" of the Tools). > > There is still a lot to do... > > This "IDE" is made out of 6 independent standalones (in frames) > that send messages to each other. Each of these standalones can > separately be reloaded. > > ** Please be patient ** > Loading the standalone needs here, using Safari and a 100 MBit > connection up to 20 seconds (first time only), so up to 2 minutes > with a 16 MBit connection. > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From mark at livecode.com Tue Nov 26 20:56:59 2019 From: mark at livecode.com (Mark Waddingham) Date: Wed, 27 Nov 2019 01:56:59 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <7eb55895-b0ef-63df-16f9-421bfb176d18@gmail.com> References: <7eb55895-b0ef-63df-16f9-421bfb176d18@gmail.com> Message-ID: <815BF1E5-61BF-45FC-997B-8259F6091059@livecode.com> I suspect most people would prefer and be more satisfied with a situation where the things which were merged were of appropriate quality, traceable, documented, not break anything and were reasonably certain to not cause difficulties in the future. (The latter two criteria are hard to meet, but at least achieving the previous three helps mitigate that fact). As with most cases of quoting numbers without any due diligence, analysis or context (as is the case in the original post) - one would be wise to not infer anything from it as numbers quoted in such a fashion are essentially meaningless (42, anyone?). All of us try things, whether it be adding features, fixing bugs or just experiments in our code - the results of which never see the light of day. In my team?s case we have the tendency to push whatever we do publicly as a branch / PR as a matter of habit (although perhaps I should re-evaluate as to whether it is a good habit or not!) If we did not have that policy and instead we pushed nothing publicly until it was going to be merged (which does not appear to be an uncommon phenomenon looking askance at quite a few other large projects lurking out there); then you?d probably find the number of open PRs at any one time would probably be countable on your digits. Warmest Regards, Mark. Sent from my iPhone > On 26 Nov 2019, at 20:50, Richmond via use-livecode wrote: > > ?I think I understand what "no longer relevant" means, > but "stale" is unclear to me; I've always thought of something > that has gone stale as something that someone > should have done something with earlier but somehow 'overlooked.' > > And, as to "not going to get merged," well, why isn't that feature going to get > merged? I wonder how many people are going to feel completely satisfied by > either that classification or "stale" ? > >> On 26.11.19 22:44, hh via use-livecode wrote: >> @Mark Waddingham. >> Good to know you are still alive. >> >> LC version numbering has it's own logic, agreed -- as long as >> it's counting up. Integers are meek as a lamb, we have enough >> of them. >> >> Nevertheless Mark Wieder made a good point with looking at the >> pull requests. >> >> If I understand correctly then you both are right: >> At the very end it is the content that matters. >> >> Now we all look forward to know which pull requests are *NOT* >> "incomplete or WIP" and which are *NOT* "stale / no longer >> relevant / not going to get merged". >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 26 20:59:27 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Nov 2019 19:59:27 -0600 Subject: iOS simulator not responding In-Reply-To: References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> Message-ID: <16eaa95b018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks Terry. I keep finding new things. It turns out my multiline fields are working, but the single input ones do not. Very strange. Do you have single line inputs? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 26, 2019 5:26:05 PM Terry Judd via use-livecode wrote: > Not sure if it will help, but here's the code I use to create a multiline > text control (pControlName) on iOS that 'overlays' an existing LC field (pObj) > > # create a native multiline text control > put the rect of pObj into tRect > # shrink the rect by 1 pixel all around to reveal the object's border > add 1 to item 1 of tRect > add 1 to item 2 of tRect > add -1 to item 3 of tRect > add -1 to item 4 of tRect > mobileControlCreate "multiline", pControlName > mobileControlSet pControlName, "rect", tRect > mobileControlSet pControlName, "opaque", true > mobileControlSet pControlName, "visible", true > mobileControlSet pControlName, "contentType", "plain" > mobileControlSet pControlName, "fontSize", "18" > mobileControlSet pControlName, "textAlign", "left" > mobileControlSet pControlName, "returnKeyType", "default" > mobileControlSet pControlName, "autoCorrectionType", "default" > mobileControlSet pControlName, "autoCapitalizationType", "sentences" > mobileControlSet pControlName, "keyboardStyle", "default" > > You use 'editable' and 'enabled' as parameters for mobileControlSet but I > don't use either of those. I use 'opaque' but you don't because you are > after a transparent effect - I wonder whether 'opaque' can be used in > conjunction with 'alpha' though? > > Terry... > > > ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via > use-livecode" use-livecode at lists.runrev.com> wrote: > > I have reduced the problem to iOS input fields. Some testing shows that: > > * The native fields exist > * Their rect is correct > * If I script their text data, it is there and can be retrieved > > But they are inactive, can't be tapped, don't show any text even if its > entry is scripted, can't be typed into, can't be focused. They act like > they are invisible. > > Here is what I do to create them. This is a generic handler that creates > all input fields throughout the app, and it works fine on Android. > Usually I call it like this: createInputFld "email". The other params > are used only occasionally. > > command createInputFld pName,pReturnKey,pMultiline -- native single-line > input > -- pName = any valid fld identifier (long name, ID, etc) > -- pReturnKey = return key type, usually "search" > -- pMultiline = boolean, whether to create a multi-line input > put (the rect of control pName) into tRect > subtract 10 from item 2 of tRect -- adjust for mobile > add 10 to item 4 of tRect -- may not need for iOS > if pMultiLine = true then > mobileControlCreate "multiline", pName > else > mobileControlCreate "input", pName > end if > mobileControlSet pName, "rect", tRect > mobileControlSet pName, "autoCapitalizationType", "none" > mobileControlSet pName, "autoCorrectionType", "no" > mobileControlSet pName, "enabled", true > mobileControlSet pName, "editable", true -- multiline only (?) > mobileControlSet pName, "alpha", 0 -- transparent > mobileControlSet pName, "textalign", the effective textalign of > control pName > mobileControlSet pName, "textColor", the effective textcolor of > control pName > if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", > pReturnKey -- usually "search" > mobileControlSet pName, "visible", true > if the platform contains "iPhone" then > mobileControlSet pName, "borderStyle", "none" > mobileControlSet pName, "clearButtonMode", "always" > end if > end createInputFld > > The fields on the first card are plain input fields, but I have a > question about multiline fields. The docs are a bit confusing. I pass > the parameter to Android and it does what I want. But I'm not clear > whether that works on iOS. The docs say that multiline fields are > applicable to both platforms, but mobileControlCreate info says it is > Android only. There is also a separate iOS command to create a multiline > field. How does all this work? > > Multiline isn't applicable to the immediate issue, where I can't get > past the first two plain input fields. > > On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote: > > Thanks Panos. Resetting didn't work, so now I'm wondering if it is > > something about my LC native fields. The first thing the user needs to > > do is log in, and I can't test beyond that until I can enter > > credentials. There are two native fields, both are transparent. Would > > transparency in iOS matter? They work on Android. > > > > I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 > > but I assume that's okay. > > > > On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: > >> Hello Jacque, > >> > >> So the iOS standalone is installed to the iOS simulator, but the > >> simulator > >> does not respond to clicks / keyboard entry? > >> > >> I am on Mojave as well, but have not seen that happening. > >> > >> Maybe it is worth resetting the simulator state: > >> Quit any instances of Xcode and iOS simulator, and execute this in the > >> terminal: > >> > >> sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService > >> > >> Then: > >> - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar > >> and choose > >> Xcode -> Open Developer Tool -> Simulator) > >> - Wait until the simulator fully loads, until it shows the device's Home > >> screen > >> If you change device by clicking on the Simulator's app menubar > >> (Hardware -> Device -> iOS 12.1 -> ) - again, wait until > >> the > >> new simulator device fully loads, until it shows the device's Home screen > >> - Now go back to LiveCode and test again > >> > >> Fingers crossed :) > >> > >> Panos > >> -- > >> > >> On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> When I run a test on the iOS simulator, it will not respond to either > >>> clicks/taps or keyboard entry. Basically, it's inert. I've tried several > >>> different hardware devices, all with the same results. > >>> > >>> A Google search seems to show that this is a bug in the simulator when > >>> running under Mojave, and works again if run in Catalina. I can't update > >>> to Catalina yet because several apps I rely on will not run there. > >>> > >>> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, > >>> and if so, have a workaround? > >>> > >>> -- > >>> 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 terry.judd at unimelb.edu.au Tue Nov 26 21:16:07 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 27 Nov 2019 02:16:07 +0000 Subject: iOS simulator not responding In-Reply-To: <16eaa95b018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> <16eaa95b018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I primarily use single line input fields on my apps' login screens. Here's what I do for a password field - for a 'normal' field I just change the 'contentType' to 'plain'. mobileControlCreate "input", pControlName mobileControlSet pControlName, "rect", the rect of pObj mobileControlSet pControlName, "opaque", true mobileControlSet pControlName, "visible", true mobileControlSet pControlName, "contentType", "password" mobileControlSet pControlName, "borderStyle", "bezel" mobileControlSet pControlName, "fontSize", "18" mobileControlSet pControlName, "textAlign", "left" mobileControlSet pControlName, "returnKeyType", "default" mobileControlSet pControlName, "autoCorrectionType", "no" mobileControlSet pControlName, "autoCapitalizationType", "none" mobileControlSet pControlName, "keyboardStyle", "alert" HTH, Terry... ?On 27/11/19, 1:00 pm, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: Thanks Terry. I keep finding new things. It turns out my multiline fields are working, but the single input ones do not. Very strange. Do you have single line inputs? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 26, 2019 5:26:05 PM Terry Judd via use-livecode wrote: > Not sure if it will help, but here's the code I use to create a multiline > text control (pControlName) on iOS that 'overlays' an existing LC field (pObj) > > # create a native multiline text control > put the rect of pObj into tRect > # shrink the rect by 1 pixel all around to reveal the object's border > add 1 to item 1 of tRect > add 1 to item 2 of tRect > add -1 to item 3 of tRect > add -1 to item 4 of tRect > mobileControlCreate "multiline", pControlName > mobileControlSet pControlName, "rect", tRect > mobileControlSet pControlName, "opaque", true > mobileControlSet pControlName, "visible", true > mobileControlSet pControlName, "contentType", "plain" > mobileControlSet pControlName, "fontSize", "18" > mobileControlSet pControlName, "textAlign", "left" > mobileControlSet pControlName, "returnKeyType", "default" > mobileControlSet pControlName, "autoCorrectionType", "default" > mobileControlSet pControlName, "autoCapitalizationType", "sentences" > mobileControlSet pControlName, "keyboardStyle", "default" > > You use 'editable' and 'enabled' as parameters for mobileControlSet but I > don't use either of those. I use 'opaque' but you don't because you are > after a transparent effect - I wonder whether 'opaque' can be used in > conjunction with 'alpha' though? > > Terry... > > > ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via > use-livecode" use-livecode at lists.runrev.com> wrote: > > I have reduced the problem to iOS input fields. Some testing shows that: > > * The native fields exist > * Their rect is correct > * If I script their text data, it is there and can be retrieved > > But they are inactive, can't be tapped, don't show any text even if its > entry is scripted, can't be typed into, can't be focused. They act like > they are invisible. > > Here is what I do to create them. This is a generic handler that creates > all input fields throughout the app, and it works fine on Android. > Usually I call it like this: createInputFld "email". The other params > are used only occasionally. > > command createInputFld pName,pReturnKey,pMultiline -- native single-line > input > -- pName = any valid fld identifier (long name, ID, etc) > -- pReturnKey = return key type, usually "search" > -- pMultiline = boolean, whether to create a multi-line input > put (the rect of control pName) into tRect > subtract 10 from item 2 of tRect -- adjust for mobile > add 10 to item 4 of tRect -- may not need for iOS > if pMultiLine = true then > mobileControlCreate "multiline", pName > else > mobileControlCreate "input", pName > end if > mobileControlSet pName, "rect", tRect > mobileControlSet pName, "autoCapitalizationType", "none" > mobileControlSet pName, "autoCorrectionType", "no" > mobileControlSet pName, "enabled", true > mobileControlSet pName, "editable", true -- multiline only (?) > mobileControlSet pName, "alpha", 0 -- transparent > mobileControlSet pName, "textalign", the effective textalign of > control pName > mobileControlSet pName, "textColor", the effective textcolor of > control pName > if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", > pReturnKey -- usually "search" > mobileControlSet pName, "visible", true > if the platform contains "iPhone" then > mobileControlSet pName, "borderStyle", "none" > mobileControlSet pName, "clearButtonMode", "always" > end if > end createInputFld > > The fields on the first card are plain input fields, but I have a > question about multiline fields. The docs are a bit confusing. I pass > the parameter to Android and it does what I want. But I'm not clear > whether that works on iOS. The docs say that multiline fields are > applicable to both platforms, but mobileControlCreate info says it is > Android only. There is also a separate iOS command to create a multiline > field. How does all this work? > > Multiline isn't applicable to the immediate issue, where I can't get > past the first two plain input fields. > > On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote: > > Thanks Panos. Resetting didn't work, so now I'm wondering if it is > > something about my LC native fields. The first thing the user needs to > > do is log in, and I can't test beyond that until I can enter > > credentials. There are two native fields, both are transparent. Would > > transparency in iOS matter? They work on Android. > > > > I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 > > but I assume that's okay. > > > > On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: > >> Hello Jacque, > >> > >> So the iOS standalone is installed to the iOS simulator, but the > >> simulator > >> does not respond to clicks / keyboard entry? > >> > >> I am on Mojave as well, but have not seen that happening. > >> > >> Maybe it is worth resetting the simulator state: > >> Quit any instances of Xcode and iOS simulator, and execute this in the > >> terminal: > >> > >> sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService > >> > >> Then: > >> - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar > >> and choose > >> Xcode -> Open Developer Tool -> Simulator) > >> - Wait until the simulator fully loads, until it shows the device's Home > >> screen > >> If you change device by clicking on the Simulator's app menubar > >> (Hardware -> Device -> iOS 12.1 -> ) - again, wait until > >> the > >> new simulator device fully loads, until it shows the device's Home screen > >> - Now go back to LiveCode and test again > >> > >> Fingers crossed :) > >> > >> Panos > >> -- > >> > >> On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> When I run a test on the iOS simulator, it will not respond to either > >>> clicks/taps or keyboard entry. Basically, it's inert. I've tried several > >>> different hardware devices, all with the same results. > >>> > >>> A Google search seems to show that this is a bug in the simulator when > >>> running under Mojave, and works again if run in Catalina. I can't update > >>> to Catalina yet because several apps I rely on will not run there. > >>> > >>> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, > >>> and if so, have a workaround? > >>> > >>> -- > >>> 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Nov 26 22:38:00 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Nov 2019 21:38:00 -0600 Subject: iOS simulator not responding In-Reply-To: References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> <16eaa95b018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Found it, it was the alpha. When I leave that out, it displays, is editable, and works. Thank you! On 11/26/19 8:16 PM, Terry Judd via use-livecode wrote: > I primarily use single line input fields on my apps' login screens. Here's what I do for a password field - for a 'normal' field I just change the 'contentType' to 'plain'. > > mobileControlCreate "input", pControlName > mobileControlSet pControlName, "rect", the rect of pObj > mobileControlSet pControlName, "opaque", true > mobileControlSet pControlName, "visible", true > mobileControlSet pControlName, "contentType", "password" > mobileControlSet pControlName, "borderStyle", "bezel" > mobileControlSet pControlName, "fontSize", "18" > mobileControlSet pControlName, "textAlign", "left" > mobileControlSet pControlName, "returnKeyType", "default" > mobileControlSet pControlName, "autoCorrectionType", "no" > mobileControlSet pControlName, "autoCapitalizationType", "none" > mobileControlSet pControlName, "keyboardStyle", "alert" > > HTH, > > Terry... > > ?On 27/11/19, 1:00 pm, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: > > Thanks Terry. I keep finding new things. It turns out my multiline fields > are working, but the single input ones do not. Very strange. > > Do you have single line inputs? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 26, 2019 5:26:05 PM Terry Judd via use-livecode > wrote: > > > Not sure if it will help, but here's the code I use to create a multiline > > text control (pControlName) on iOS that 'overlays' an existing LC field (pObj) > > > > # create a native multiline text control > > put the rect of pObj into tRect > > # shrink the rect by 1 pixel all around to reveal the object's border > > add 1 to item 1 of tRect > > add 1 to item 2 of tRect > > add -1 to item 3 of tRect > > add -1 to item 4 of tRect > > mobileControlCreate "multiline", pControlName > > mobileControlSet pControlName, "rect", tRect > > mobileControlSet pControlName, "opaque", true > > mobileControlSet pControlName, "visible", true > > mobileControlSet pControlName, "contentType", "plain" > > mobileControlSet pControlName, "fontSize", "18" > > mobileControlSet pControlName, "textAlign", "left" > > mobileControlSet pControlName, "returnKeyType", "default" > > mobileControlSet pControlName, "autoCorrectionType", "default" > > mobileControlSet pControlName, "autoCapitalizationType", "sentences" > > mobileControlSet pControlName, "keyboardStyle", "default" > > > > You use 'editable' and 'enabled' as parameters for mobileControlSet but I > > don't use either of those. I use 'opaque' but you don't because you are > > after a transparent effect - I wonder whether 'opaque' can be used in > > conjunction with 'alpha' though? > > > > Terry... > > > > > > ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via > > use-livecode" > use-livecode at lists.runrev.com> wrote: > > > > I have reduced the problem to iOS input fields. Some testing shows that: > > > > * The native fields exist > > * Their rect is correct > > * If I script their text data, it is there and can be retrieved > > > > But they are inactive, can't be tapped, don't show any text even if its > > entry is scripted, can't be typed into, can't be focused. They act like > > they are invisible. > > > > Here is what I do to create them. This is a generic handler that creates > > all input fields throughout the app, and it works fine on Android. > > Usually I call it like this: createInputFld "email". The other params > > are used only occasionally. > > > > command createInputFld pName,pReturnKey,pMultiline -- native single-line > > input > > -- pName = any valid fld identifier (long name, ID, etc) > > -- pReturnKey = return key type, usually "search" > > -- pMultiline = boolean, whether to create a multi-line input > > put (the rect of control pName) into tRect > > subtract 10 from item 2 of tRect -- adjust for mobile > > add 10 to item 4 of tRect -- may not need for iOS > > if pMultiLine = true then > > mobileControlCreate "multiline", pName > > else > > mobileControlCreate "input", pName > > end if > > mobileControlSet pName, "rect", tRect > > mobileControlSet pName, "autoCapitalizationType", "none" > > mobileControlSet pName, "autoCorrectionType", "no" > > mobileControlSet pName, "enabled", true > > mobileControlSet pName, "editable", true -- multiline only (?) > > mobileControlSet pName, "alpha", 0 -- transparent > > mobileControlSet pName, "textalign", the effective textalign of > > control pName > > mobileControlSet pName, "textColor", the effective textcolor of > > control pName > > if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", > > pReturnKey -- usually "search" > > mobileControlSet pName, "visible", true > > if the platform contains "iPhone" then > > mobileControlSet pName, "borderStyle", "none" > > mobileControlSet pName, "clearButtonMode", "always" > > end if > > end createInputFld > > > > The fields on the first card are plain input fields, but I have a > > question about multiline fields. The docs are a bit confusing. I pass > > the parameter to Android and it does what I want. But I'm not clear > > whether that works on iOS. The docs say that multiline fields are > > applicable to both platforms, but mobileControlCreate info says it is > > Android only. There is also a separate iOS command to create a multiline > > field. How does all this work? > > > > Multiline isn't applicable to the immediate issue, where I can't get > > past the first two plain input fields. > > > > On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote: > > > Thanks Panos. Resetting didn't work, so now I'm wondering if it is > > > something about my LC native fields. The first thing the user needs to > > > do is log in, and I can't test beyond that until I can enter > > > credentials. There are two native fields, both are transparent. Would > > > transparency in iOS matter? They work on Android. > > > > > > I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 > > > but I assume that's okay. > > > > > > On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: > > >> Hello Jacque, > > >> > > >> So the iOS standalone is installed to the iOS simulator, but the > > >> simulator > > >> does not respond to clicks / keyboard entry? > > >> > > >> I am on Mojave as well, but have not seen that happening. > > >> > > >> Maybe it is worth resetting the simulator state: > > >> Quit any instances of Xcode and iOS simulator, and execute this in the > > >> terminal: > > >> > > >> sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService > > >> > > >> Then: > > >> - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar > > >> and choose > > >> Xcode -> Open Developer Tool -> Simulator) > > >> - Wait until the simulator fully loads, until it shows the device's Home > > >> screen > > >> If you change device by clicking on the Simulator's app menubar > > >> (Hardware -> Device -> iOS 12.1 -> ) - again, wait until > > >> the > > >> new simulator device fully loads, until it shows the device's Home screen > > >> - Now go back to LiveCode and test again > > >> > > >> Fingers crossed :) > > >> > > >> Panos > > >> -- > > >> > > >> On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >>> When I run a test on the iOS simulator, it will not respond to either > > >>> clicks/taps or keyboard entry. Basically, it's inert. I've tried several > > >>> different hardware devices, all with the same results. > > >>> > > >>> A Google search seems to show that this is a bug in the simulator when > > >>> running under Mojave, and works again if run in Catalina. I can't update > > >>> to Catalina yet because several apps I rely on will not run there. > > >>> > > >>> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, > > >>> and if so, have a workaround? > > >>> > > >>> -- > > >>> 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 terry.judd at unimelb.edu.au Wed Nov 27 00:10:06 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 27 Nov 2019 05:10:06 +0000 Subject: iOS simulator not responding In-Reply-To: References: <6f544521-4999-f3fb-6cf2-8e7d105ad283@hyperactivesw.com> <5be180d0-3417-4407-02a6-41c93980c315@hyperactivesw.com> <16eaa95b018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Great! I have a vague memory of trying to have a transparent entry field so that it could show some faint placeholder text when empty then change to opaque when any text was entered, and not being able to get it to work. Terry... ?On 27/11/19, 2:39 pm, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: Found it, it was the alpha. When I leave that out, it displays, is editable, and works. Thank you! On 11/26/19 8:16 PM, Terry Judd via use-livecode wrote: > I primarily use single line input fields on my apps' login screens. Here's what I do for a password field - for a 'normal' field I just change the 'contentType' to 'plain'. > > mobileControlCreate "input", pControlName > mobileControlSet pControlName, "rect", the rect of pObj > mobileControlSet pControlName, "opaque", true > mobileControlSet pControlName, "visible", true > mobileControlSet pControlName, "contentType", "password" > mobileControlSet pControlName, "borderStyle", "bezel" > mobileControlSet pControlName, "fontSize", "18" > mobileControlSet pControlName, "textAlign", "left" > mobileControlSet pControlName, "returnKeyType", "default" > mobileControlSet pControlName, "autoCorrectionType", "no" > mobileControlSet pControlName, "autoCapitalizationType", "none" > mobileControlSet pControlName, "keyboardStyle", "alert" > > HTH, > > Terry... > > On 27/11/19, 1:00 pm, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: > > Thanks Terry. I keep finding new things. It turns out my multiline fields > are working, but the single input ones do not. Very strange. > > Do you have single line inputs? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 26, 2019 5:26:05 PM Terry Judd via use-livecode > wrote: > > > Not sure if it will help, but here's the code I use to create a multiline > > text control (pControlName) on iOS that 'overlays' an existing LC field (pObj) > > > > # create a native multiline text control > > put the rect of pObj into tRect > > # shrink the rect by 1 pixel all around to reveal the object's border > > add 1 to item 1 of tRect > > add 1 to item 2 of tRect > > add -1 to item 3 of tRect > > add -1 to item 4 of tRect > > mobileControlCreate "multiline", pControlName > > mobileControlSet pControlName, "rect", tRect > > mobileControlSet pControlName, "opaque", true > > mobileControlSet pControlName, "visible", true > > mobileControlSet pControlName, "contentType", "plain" > > mobileControlSet pControlName, "fontSize", "18" > > mobileControlSet pControlName, "textAlign", "left" > > mobileControlSet pControlName, "returnKeyType", "default" > > mobileControlSet pControlName, "autoCorrectionType", "default" > > mobileControlSet pControlName, "autoCapitalizationType", "sentences" > > mobileControlSet pControlName, "keyboardStyle", "default" > > > > You use 'editable' and 'enabled' as parameters for mobileControlSet but I > > don't use either of those. I use 'opaque' but you don't because you are > > after a transparent effect - I wonder whether 'opaque' can be used in > > conjunction with 'alpha' though? > > > > Terry... > > > > > > ?On 27/11/19, 6:46 am, "use-livecode on behalf of J. Landman Gay via > > use-livecode" > use-livecode at lists.runrev.com> wrote: > > > > I have reduced the problem to iOS input fields. Some testing shows that: > > > > * The native fields exist > > * Their rect is correct > > * If I script their text data, it is there and can be retrieved > > > > But they are inactive, can't be tapped, don't show any text even if its > > entry is scripted, can't be typed into, can't be focused. They act like > > they are invisible. > > > > Here is what I do to create them. This is a generic handler that creates > > all input fields throughout the app, and it works fine on Android. > > Usually I call it like this: createInputFld "email". The other params > > are used only occasionally. > > > > command createInputFld pName,pReturnKey,pMultiline -- native single-line > > input > > -- pName = any valid fld identifier (long name, ID, etc) > > -- pReturnKey = return key type, usually "search" > > -- pMultiline = boolean, whether to create a multi-line input > > put (the rect of control pName) into tRect > > subtract 10 from item 2 of tRect -- adjust for mobile > > add 10 to item 4 of tRect -- may not need for iOS > > if pMultiLine = true then > > mobileControlCreate "multiline", pName > > else > > mobileControlCreate "input", pName > > end if > > mobileControlSet pName, "rect", tRect > > mobileControlSet pName, "autoCapitalizationType", "none" > > mobileControlSet pName, "autoCorrectionType", "no" > > mobileControlSet pName, "enabled", true > > mobileControlSet pName, "editable", true -- multiline only (?) > > mobileControlSet pName, "alpha", 0 -- transparent > > mobileControlSet pName, "textalign", the effective textalign of > > control pName > > mobileControlSet pName, "textColor", the effective textcolor of > > control pName > > if pReturnKey <> "" then mobileControlSet pName, "returnKeyType", > > pReturnKey -- usually "search" > > mobileControlSet pName, "visible", true > > if the platform contains "iPhone" then > > mobileControlSet pName, "borderStyle", "none" > > mobileControlSet pName, "clearButtonMode", "always" > > end if > > end createInputFld > > > > The fields on the first card are plain input fields, but I have a > > question about multiline fields. The docs are a bit confusing. I pass > > the parameter to Android and it does what I want. But I'm not clear > > whether that works on iOS. The docs say that multiline fields are > > applicable to both platforms, but mobileControlCreate info says it is > > Android only. There is also a separate iOS command to create a multiline > > field. How does all this work? > > > > Multiline isn't applicable to the immediate issue, where I can't get > > past the first two plain input fields. > > > > On 11/25/19 5:09 PM, J. Landman Gay via use-livecode wrote: > > > Thanks Panos. Resetting didn't work, so now I'm wondering if it is > > > something about my LC native fields. The first thing the user needs to > > > do is log in, and I can't test beyond that until I can enter > > > credentials. There are two native fields, both are transparent. Would > > > transparency in iOS matter? They work on Android. > > > > > > I forgot to mention that the only OS available in XCode 10.1 is iOS 12.1 > > > but I assume that's okay. > > > > > > On 11/25/19 4:11 PM, panagiotis merakos via use-livecode wrote: > > >> Hello Jacque, > > >> > > >> So the iOS standalone is installed to the iOS simulator, but the > > >> simulator > > >> does not respond to clicks / keyboard entry? > > >> > > >> I am on Mojave as well, but have not seen that happening. > > >> > > >> Maybe it is worth resetting the simulator state: > > >> Quit any instances of Xcode and iOS simulator, and execute this in the > > >> terminal: > > >> > > >> sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService > > >> > > >> Then: > > >> - Open the Simulator from Xcode (Launch Xcode 10.1, go to Xcode's menubar > > >> and choose > > >> Xcode -> Open Developer Tool -> Simulator) > > >> - Wait until the simulator fully loads, until it shows the device's Home > > >> screen > > >> If you change device by clicking on the Simulator's app menubar > > >> (Hardware -> Device -> iOS 12.1 -> ) - again, wait until > > >> the > > >> new simulator device fully loads, until it shows the device's Home screen > > >> - Now go back to LiveCode and test again > > >> > > >> Fingers crossed :) > > >> > > >> Panos > > >> -- > > >> > > >> On Mon, 25 Nov 2019 at 21:43, J. Landman Gay via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >>> When I run a test on the iOS simulator, it will not respond to either > > >>> clicks/taps or keyboard entry. Basically, it's inert. I've tried several > > >>> different hardware devices, all with the same results. > > >>> > > >>> A Google search seems to show that this is a bug in the simulator when > > >>> running under Mojave, and works again if run in Catalina. I can't update > > >>> to Catalina yet because several apps I rely on will not run there. > > >>> > > >>> I'm using LC 9.5.1 (rc1), XCode 10.1, on Mojave. Has anyone seen this, > > >>> and if so, have a workaround? > > >>> > > >>> -- > > >>> 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 e.beugelaar at me.com Wed Nov 27 04:34:25 2019 From: e.beugelaar at me.com (Erik Beugelaar) Date: Wed, 27 Nov 2019 10:34:25 +0100 Subject: html5-IDE v100_alpha In-Reply-To: <66DB3BCD-4442-4FE0-BD92-7BBC3BAA2BAF@hyperhh.de> References: <66DB3BCD-4442-4FE0-BD92-7BBC3BAA2BAF@hyperhh.de> Message-ID: I should left out the world "defense"... A big compliment for making this. This project shows the potential of the HTML5 LiveCode builder beside all your other contributions related to HTML5 LiveCode which is a great help for others. ?On 27/11/2019, 00:03, "use-livecode on behalf of hh via use-livecode" wrote: A few more words in defense of the HTML5 standalone builder: Enjoy html5IDE v100_alpha. A LC-playground with 'integrated' propertyInspector, dictionary, scriptEditor and tools. http://hyperhh.de/html5/html5IDE.html You can create objects, edit their properties and their script. Moreover there is a Paint-section and a MessageBox. You can save and load scripts, but not (yet) the created card. The dictionary is a html5 version of Bernd Niggemann's tinyDict. The script editor is based on Codemirror (MIT-licensed). There is a compact help (btn "H" of the Tools). There is still a lot to do... This "IDE" is made out of 6 independent standalones (in frames) that send messages to each other. Each of these standalones can separately be reloaded. ** Please be patient ** Loading the standalone needs here, using Safari and a 100 MBit connection up to 20 seconds (first time only), so up to 2 minutes with a 16 MBit connection. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Wed Nov 27 04:38:54 2019 From: hh at hyperhh.de (hh) Date: Wed, 27 Nov 2019 10:38:54 +0100 Subject: html5-IDE v100_alpha Message-ID: > Tom G. wrote: > Is it to have an easier time testing html 5 features?..... is it to turn it > into a product? The SE and the messaging between the standalones is already basically done in earlier parts of my html5 samples. To improve the scriptEditor (which is 80% codeMirror) and build the message exchanging I needed a "Tools"/IDE main stack. I made these tools in big parts using the html5SE. To improve the html5Tools I needed a property inspector. I made that PI in big parts using the html5SE and the html5Tools. To improve the PI I needed a dictionary. From Bernd I got an already working html5 version of his tinyDict (by bn and contributors). I only had to adjust it to my needs: LCS dict only, messaging to the other parts. Thanks Bernd. So, as usual with scripting IDEs, one does develop the IDE using itself (Kevin and the other LC-Heroes will smile here). The current "IDE"/playground is at this state more a "proof of concept". Probably a better error handling will be possible. And debugging will be possible if someone is able and willing to write a "LC-Lint" (in javascript, so it is fast enough for client-side use). As it is possible to copy/paste from the native fields (mainly all script editors and the property field) to the script editor of the LC-IDE, one can develop very fast in HTML5 and easily adjust the html5IDE to one's own needs (compile at the very end only, one doesn't have to compile to check for small script changes). HTML5 developing by LC (essentially) "paused" at a state that was *very* promising and kind of "avant-garde". This playground shall also show what is lost when the HTML5 standalone builder isn't continued. I'll add some other features to the html5Tools until the end of this year. But I can't afford to put more "main-time" in it, this is not doable in a few spare evening hours. So it will not become a "product", except someone is willing to pay for it. From bobsneidar at iotecdigital.com Wed Nov 27 10:55:54 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 27 Nov 2019 15:55:54 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <815BF1E5-61BF-45FC-997B-8259F6091059@livecode.com> References: <7eb55895-b0ef-63df-16f9-421bfb176d18@gmail.com> <815BF1E5-61BF-45FC-997B-8259F6091059@livecode.com> Message-ID: <70E670F4-863B-489B-9720-CEF1A628D801@iotecdigital.com> You need a bigger computer. Unfortunately it's scheduled for demolition. ;-) Bob S > On Nov 26, 2019, at 17:56 , Mark Waddingham via use-livecode wrote: > > As with most cases of quoting numbers without any due diligence, analysis or context (as is the case in the original post) - one would be wise to not infer anything from it as numbers quoted in such a fashion are essentially meaningless (42, anyone?). From brahma at hindu.org Wed Nov 27 12:52:52 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Nov 2019 17:52:52 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: Message-ID: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> Panos/Release notes say: - Support for building with Xcode 11.1 and the iOS 13.1 SDK has been added. OK so we are behind Apple, which is probably a good thing, since they appear to innovating so fast without testing?. so we don't want to enter their "public beta wrestling ring" but They have pushed out Xcode 11.2.1 on the App Store and this page https://developer.apple.com/download/more/ I can't find a link to Xcode 11.1 Do you have one? and to command line tools we may need also? I was forced to upgrade to Catalina (Adobe issues?.) This page on the dev forum is not looking good https://forums.developer.apple.com/thread/124010 Hold on? found a "not an Apple website" trying it now, ( but they do link to Apple for the app packages) https://xcodereleases.com/ BR From matthias_livecode_150811 at m-r-d.de Wed Nov 27 13:29:52 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 27 Nov 2019 19:29:52 +0100 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> Message-ID: BR, to download Xcode 11.1 login into your Developer Account. Then on the left pane select 'Downloads' On the next page click on 'More' (it?s on the top of the page above the 'Sign Out' link. On the next page enter xcode 11.1 in the search field and you should be able to download it. Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 27.11.2019 um 18:52 schrieb Sannyasin Brahmanathaswami via use-livecode >: > > Panos/Release notes say: > > - Support for building with Xcode 11.1 and the iOS 13.1 SDK has been added. > > OK so we are behind Apple, which is probably a good thing, since they appear to innovating so fast without testing?. so we don't want to enter their "public beta wrestling ring" but > > They have pushed out Xcode 11.2.1 on the App Store > > and this page > > https://developer.apple.com/download/more/ > > I can't find a link to Xcode 11.1 > > Do you have one? and to command line tools we may need also? > > I was forced to upgrade to Catalina (Adobe issues?.) > > This page on the dev forum is not looking good > > https://forums.developer.apple.com/thread/124010 > > Hold on? found a "not an Apple website" trying it now, ( but they do link to Apple for the app packages) > > https://xcodereleases.com/ > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Wed Nov 27 13:30:44 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 27 Nov 2019 18:30:44 +0000 Subject: mergAV and AVkit Message-ID: <20191127183044.Horde.b-8PtPnxkBZsXxpjHPke1ST@oa.serversignin.com> I'm excited to see that the switch to AVkit in LC 9.6 fixes the bug where cameraControl automatically configured audio and video input devices when created! Will these syntax changes be made to mergAV? Using the barcode reader on iOS still asks for microphone access which is hard to explain to customers. --Andrew Bell From martyknappster at gmail.com Wed Nov 27 15:07:16 2019 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2019 12:07:16 -0800 Subject: iOS Dropbox access Message-ID: <3013980E-6CEC-4BA5-B5E0-66ECD02A7CA1@gmail.com> I have a desktop app that reads data from a text file in Dropbox. I want to create an iOS app that can also read (but not write) the same text file. I've installed the Dropbox app on my iPhone but cannot figure out how to access my text file from my LC app like I do on the desktop version. Is that doable or do I need to use the LC "dropboxDownload" feature to get the latest text file? I could switch to iCloud Drive if that would make things easier - would specialFolderPath(?Documents?) then give me access to my text file? --- Marty K From merakosp at gmail.com Wed Nov 27 16:04:16 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 27 Nov 2019 23:04:16 +0200 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> Message-ID: Hello all, Just saw this, and I am AFK now, but I would avoid downloading Xcode from non-Apple websites. What Matthias said, it should be there. I will check tomorrow first thing. Cheers, Panos On Wed, Nov 27, 2019, 20:30 Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > BR, > > to download Xcode 11.1 login into your Developer Account. > Then on the left pane select 'Downloads' > On the next page click on 'More' (it?s on the top of the page above the > 'Sign Out' link. > On the next page enter xcode 11.1 in the search field and you should be > able to download it. > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > WinSignMaker Mac > > > Am 27.11.2019 um 18:52 schrieb Sannyasin Brahmanathaswami via > use-livecode use-livecode at lists.runrev.com>>: > > > > Panos/Release notes say: > > > > - Support for building with Xcode 11.1 and the iOS 13.1 SDK has been > added. > > > > OK so we are behind Apple, which is probably a good thing, since they > appear to innovating so fast without testing?. so we don't want to enter > their "public beta wrestling ring" but > > > > They have pushed out Xcode 11.2.1 on the App Store > > > > and this page > > > > https://developer.apple.com/download/more/ < > https://developer.apple.com/download/more/> > > > > I can't find a link to Xcode 11.1 > > > > Do you have one? and to command line tools we may need also? > > > > I was forced to upgrade to Catalina (Adobe issues?.) > > > > This page on the dev forum is not looking good > > > > https://forums.developer.apple.com/thread/124010 > > > > Hold on? found a "not an Apple website" trying it now, ( but they do > link to Apple for the app packages) > > > > https://xcodereleases.com/ > > > > BR > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 27 16:14:28 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 27 Nov 2019 16:14:28 -0500 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> Message-ID: Just the other day I copied an Xcode package from another computer via airdrop and it wouldn?t even install/extract. ?It complained that it wasn?t from Apple. Thanks, Brian On Nov 27, 2019, 4:05 PM -0500, panagiotis merakos via use-livecode , wrote: > Hello all, > Just saw this, and I am AFK now, but I would avoid downloading Xcode from > non-Apple websites. > > What Matthias said, it should be there. > > I will check tomorrow first thing. > > Cheers, > Panos > > On Wed, Nov 27, 2019, 20:30 Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > BR, > > > > to download Xcode 11.1 login into your Developer Account. > > Then on the left pane select 'Downloads' > > On the next page click on 'More' (it?s on the top of the page above the > > 'Sign Out' link. > > On the next page enter xcode 11.1 in the search field and you should be > > able to download it. > > > > Matthias > > > > Matthias Rebbe > > > > free tools for Livecoders: > > InstaMaker > > WinSignMaker Mac > > > > > Am 27.11.2019 um 18:52 schrieb Sannyasin Brahmanathaswami via > > use-livecode > use-livecode at lists.runrev.com>>: > > > > > > Panos/Release notes say: > > > > > > - Support for building with Xcode 11.1 and the iOS 13.1 SDK has been > > added. > > > > > > OK so we are behind Apple, which is probably a good thing, since they > > appear to innovating so fast without testing?. so we don't want to enter > > their "public beta wrestling ring" but > > > > > > They have pushed out Xcode 11.2.1 on the App Store > > > > > > and this page > > > > > > https://developer.apple.com/download/more/ < > > https://developer.apple.com/download/more/> > > > > > > I can't find a link to Xcode 11.1 > > > > > > Do you have one? and to command line tools we may need also? > > > > > > I was forced to upgrade to Catalina (Adobe issues?.) > > > > > > This page on the dev forum is not looking good > > > > > > https://forums.developer.apple.com/thread/124010 > > > > > > Hold on? found a "not an Apple website" trying it now, ( but they do > > link to Apple for the app packages) > > > > > > https://xcodereleases.com/ > > > > > > BR > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Nov 27 16:24:55 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 28 Nov 2019 08:24:55 +1100 Subject: mergAV and AVkit In-Reply-To: <20191127183044.Horde.b-8PtPnxkBZsXxpjHPke1ST@oa.serversignin.com> References: <20191127183044.Horde.b-8PtPnxkBZsXxpjHPke1ST@oa.serversignin.com> Message-ID: <4DC2C319-F874-4D45-964D-47AF677E70F8@appisle.net> mergAV has already supported this for a while. You set the microphone to empty before creating the camera. It is in the docs for mergAVCamCreate. > On 28 Nov 2019, at 5:30 am, Andrew Bell via use-livecode wrote: > > I'm excited to see that the switch to AVkit in LC 9.6 fixes the bug where cameraControl automatically configured audio and video input devices when created! > > Will these syntax changes be made to mergAV? Using the barcode reader on iOS still asks for microphone access which is hard to explain to customers. > > --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 brahma at hindu.org Wed Nov 27 17:44:28 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Nov 2019 22:44:28 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> Message-ID: <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> The web site was getting the links from apple. This does appear to be malicious, but does appear to an earlier build (mod sep 29 or so) https://download.developer.apple.com/Developer_Tools/Xcode_11.1_GM_Seed/Xcode_11.1_GM_Seed.xip @Matthias -- this is what I get when following your route using "more" https://download.developer.apple.com/Developer_Tools/Xcode_11.1/Xcode_11.1.xip in any case, case, my first build I am getting ============= Your application failed code-signing check. Check your certificates, provisioning profiles, and bundles ids. ================ sigh? I can't find on my hard drive Panos' terminal command for checking them out? I am using the same certs, profiles and bundles ID for the app I just got approved for the store (1.6) in 9.5 and Xcode 10.1 I try again using the 11.1 not the " Xcode_11.1_GM_Seed.xip" version. Here we go again on Apple's treadmill. :-) BR Just the other day I copied an Xcode package from another computer via airdrop and it wouldn?t even install/extract. ?It complained that it wasn?t from Apple. From brahma at hindu.org Wed Nov 27 22:48:53 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Nov 2019 03:48:53 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> Message-ID: <048D250D-04DB-4B98-B4A8-60EDEAE542DA@hindu.org> I meant say links at https://xcodereleases.com/ Do NOT appear to be malicious, https://download.developer.apple.com/Developer_Tools/Xcode_11.1_GM_Seed/Xcode_11.1_GM_Seed.xip but are a few weeks out of date. BR From brahma at hindu.org Wed Nov 27 23:28:23 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Nov 2019 04:28:23 +0000 Subject: Big App Mobile Download Message-ID: <6820178B-9872-4063-A55F-C5B31A7BC9EF@hindu.org> [change thread title since it is a different subject from WebP-Tool] Wow? Without changing the default setting, you get 200 MB! Or "limitless" if the users changes setting. But: since we get "one push, two platforms" with LC? Android; Google Play https://developer.android.com/google/play/expansion-files " If you'd like to avoid using expansion files and your app's compressed download size is larger than 100 MB, you should instead upload your app using Android App Bundles which allows for up to a 150 MB compressed download size. Additionally, because using app bundles defers APK generation and signing to Google Play, users download optimized APKs with only the code and resources they need to run your app. You don't have to build, sign, and manage multiple APKs or expansion files, and users get smaller, more optimized downloads. " How can you make an " Android App Bundles" and/or "expansion files" from inside the SA builder in LC. I don't see an option for that. It would seem relatively easy to drive an "assets" folder to an expansion file and your core code to an App Bundle. but, it appear we don't have parity (iOS and Android) in large size apps. Do you have a lesson for this? ============ I assume you are referring to the maximum app size when downloading?? from the App Store, in which case that limit has been removed with iOS?? 13. https://ww.9to5mac.com/2019/05/31/apple-iphone-cellular-limit-increased/ --Andrew Bell From merakosp at gmail.com Thu Nov 28 02:55:53 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 28 Nov 2019 09:55:53 +0200 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> Message-ID: @Brahmanathaswami When do you get this error? When building the standalone, or when installing it to device? Regards, Panos -- On Thu, 28 Nov 2019 at 00:45, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > The web site was getting the links from apple. This does appear to be > malicious, but does appear to an earlier build (mod sep 29 or so) > > > https://download.developer.apple.com/Developer_Tools/Xcode_11.1_GM_Seed/Xcode_11.1_GM_Seed.xip > > @Matthias -- this is what I get when following your route using "more" > > > https://download.developer.apple.com/Developer_Tools/Xcode_11.1/Xcode_11.1.xip > > in any case, case, my first build I am getting > > ============= > Your application failed code-signing > check. Check your certificates, > provisioning profiles, and bundles ids. > ================ > sigh? > > I can't find on my hard drive Panos' terminal command for checking them > out? > > I am using the same certs, profiles and bundles ID for the app I just got > approved for the store (1.6) in 9.5 and Xcode 10.1 > > I try again using the 11.1 not the " Xcode_11.1_GM_Seed.xip" version. > > Here we go again on Apple's treadmill. :-) > > BR > Just the other day I copied an Xcode package from another computer via > airdrop and it wouldn?t even install/extract. It complained that it wasn?t > from Apple. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cubist at aol.com Thu Nov 28 09:26:48 2019 From: cubist at aol.com (Quentin Long) Date: Thu, 28 Nov 2019 14:26:48 +0000 (UTC) Subject: Identifying Un-used functions and commands In-Reply-To: References: Message-ID: <838437712.627228.1574951208270@mail.yahoo.com> > Date: Tue, 12 Nov 2019 12:12:47 -0500 > From: Stephen MacLean > To: How to use LiveCode >?Subject: Identifying Un-used functions and commands >?Message-ID: >?Content-Type: text/plain; charset=utf-8 >? >?Hi All, >? >?I?m wondering if anyone has a way or code to identify any un-used functions and commands in a set of stacks? Finding explicit function/command calls seems like it should be a fairly straightforward task. However,?the "do" keyword can also be a source of function/command calls,?which complicates matters a wee bit. You'll also need to evaluate all the non-cleartext components that can go into "do" statements? do (VariableName) do (the WhateverProp of ThisObject) do (line 4 of fld "ThisField") ?etc etc etc. From klaus at major-k.de Thu Nov 28 09:29:30 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 28 Nov 2019 15:29:30 +0100 Subject: remove DEFAULTMENUBAR? In-Reply-To: <50AD395B-7A8A-49DF-AE2A-7AF7DFEB746E@major-k.de> References: <50AD395B-7A8A-49DF-AE2A-7AF7DFEB746E@major-k.de> Message-ID: Hi all, > Am 22.11.2019 um 14:33 schrieb Klaus major-k via use-livecode : > > Hi friends, > > we can: > ... > set the defaultmenubar to "name of any group" > ... > > But when I try to remove the menubar again with > ... > set the defaultmenubar to EMPTY > ... > I get an error: Cannot find group (or something) > > However I can set the defaultmenubar of a specific stack to EMPTY!? > ... > set the defaultmenubar of this stack to EMPTY > ... > > So how can we remove a defaultmenubar NOT tied to a stack? > What am I missing? noone? Really? :-/ Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Thu Nov 28 09:42:07 2019 From: hh at hyperhh.de (hh) Date: Thu, 28 Nov 2019 15:42:07 +0100 Subject: remove DEFAULTMENUBAR? Message-ID: <25DAE66E-C36D-4B72-A4FD-21BC858A4C05@hyperhh.de> The defaultmenubar is a GROUP. Empty is not a group. So you could try: create a new group set the defaultmenubar to that empty group delete that empty group From klaus at major-k.de Thu Nov 28 09:49:19 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 28 Nov 2019 15:49:19 +0100 Subject: remove DEFAULTMENUBAR? In-Reply-To: <25DAE66E-C36D-4B72-A4FD-21BC858A4C05@hyperhh.de> References: <25DAE66E-C36D-4B72-A4FD-21BC858A4C05@hyperhh.de> Message-ID: <828E2E41-032F-4C77-8705-3B51E6983F7F@major-k.de> Hallo Hermann, > Am 28.11.2019 um 15:42 schrieb hh via use-livecode : > > The defaultmenubar is a GROUP. > Empty is not a group. so is "the menubar of stack xyz", but we can: ... set the menubar of this stack to EMPTY ... Why does that not work for the "defaultmenubar", empty is also no group here!? > So you could try: > > create a new group > set the defaultmenubar to that empty group > delete that empty group hm, I was hoping for a ONE-Liner, that can easily be executed via script. Anyway, thank you! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Thu Nov 28 10:07:00 2019 From: hh at hyperhh.de (hh) Date: Thu, 28 Nov 2019 16:07:00 +0100 Subject: remove DEFAULTMENUBAR? Message-ID: As I understand this: the menubar of this stack is a container (containing a group reference), the defaultmenubar is itself a (may be referenced) group. > Klaus M. wrote: > hm, I was hoping for a ONE-Liner, that can easily be executed via script. You could use semicolons ;-) From klaus at major-k.de Thu Nov 28 10:14:47 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 28 Nov 2019 16:14:47 +0100 Subject: remove DEFAULTMENUBAR? In-Reply-To: References: Message-ID: <88C102F4-2B2C-4195-8B20-2478E2C66362@major-k.de> Hi Hermann, > Am 28.11.2019 um 16:07 schrieb hh via use-livecode : > > As I understand this: > > the menubar of this stack is a container (containing a group reference), > the defaultmenubar is itself a (may be referenced) group. OK, but there MUST be a way to remove that defaultmenubar! Having to force-quit LC for this is definitively a no-go! Panos, Mark, or someone else from the mothership? >> Klaus M. wrote: >> hm, I was hoping for a ONE-Liner, that can easily be executed via script. > > You could use semicolons ;-) LOL! OK, convinced. :-D Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Thu Nov 28 11:20:12 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Nov 2019 08:20:12 -0800 Subject: remove DEFAULTMENUBAR? In-Reply-To: References: Message-ID: I pondered this myself some years ago, and was unable to find a way to clear the default menubar. Perhaps setting it to a group you then delete might do it, but that seems wonkier than we would expect for a tool like LC. So we might instead ask: why doesn't the engine offer a means of easily clearing the default menubar? Or to put it another way: What benefit is there to the end-user to do that, to have an incomplete menubar whenever a stack is brought forward that has no menu group? It's kinda nice that macOS will provide at least some basic menu items when no menubar is established by the app, but I've never shipped an app where that sparse set could be satisfying to my users. If it's enough for your app, perhaps an enhancement request may be in order. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Nov 28 11:25:44 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Nov 2019 08:25:44 -0800 Subject: Identifying Un-used functions and commands In-Reply-To: <838437712.627228.1574951208270@mail.yahoo.com> References: <838437712.627228.1574951208270@mail.yahoo.com> Message-ID: Quentin Long wrote: > Finding explicit function/command calls seems like it should be a > fairly straightforward task. However, the "do" keyword can also be > a source of function/command calls, which complicates matters a > wee bit. You'll also need to evaluate all the non-cleartext components > that can go into "do" statements? > do (VariableName) > do (the WhateverProp of ThisObject) > do (line 4 of fld "ThisField") > ?etc etc etc. There are many reasons to resort to "do" only after all other more with-the-grain approaches cannot be made to work. That it eludes static code analysis is just one more. If I get around to tidying up my old orphan-finder and adding it to other code base management tools in devolution, I wouldn't bother attempting to handle "do" cases. Low ROI, and not handling them helps draw attention to the technical debt many uses of "do" accrue. -- 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 Nov 28 11:27:07 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 28 Nov 2019 17:27:07 +0100 Subject: remove DEFAULTMENUBAR? In-Reply-To: References: Message-ID: Hi Richard, > Am 28.11.2019 um 17:20 schrieb Richard Gaskin via use-livecode : > > I pondered this myself some years ago, and was unable to find a way to clear the default menubar. ah, OK, thank you, I thought I had missed something. > Perhaps setting it to a group you then delete might do it, but that seems wonkier than we would expect for a tool like LC. > So we might instead ask: why doesn't the engine offer a means of easily clearing the default menubar? > Or to put it another way: What benefit is there to the end-user to do that, to have an incomplete menubar whenever a stack is brought forward that has no menu group? > > It's kinda nice that macOS will provide at least some basic menu items when no menubar is established by the app, but I've never shipped an app where that sparse set could be satisfying to my users. > > If it's enough for your app, perhaps an enhancement request may be in order. Yes, will do now! > -- > Richard Gaskin Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu Nov 28 11:38:39 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 28 Nov 2019 17:38:39 +0100 Subject: remove DEFAULTMENUBAR? In-Reply-To: References: Message-ID: <3408EF09-4D7D-4794-81F7-B0C79CFC2F6C@major-k.de> Hi all, > Am 28.11.2019 um 17:27 schrieb Klaus major-k via use-livecode : > Hi Richard, >> Am 28.11.2019 um 17:20 schrieb Richard Gaskin via use-livecode : >> I pondered this myself some years ago, and was unable to find a way to clear the default menubar. > > ah, OK, thank you, I thought I had missed something. >> Perhaps setting it to a group you then delete might do it, but that seems wonkier than we would expect for a tool like LC. >> So we might instead ask: why doesn't the engine offer a means of easily clearing the default menubar? >> Or to put it another way: What benefit is there to the end-user to do that, to have an incomplete menubar whenever a stack is brought forward that has no menu group? >> It's kinda nice that macOS will provide at least some basic menu items when no menubar is established by the app, but I've never shipped an app where that sparse set could be satisfying to my users. >> If it's enough for your app, perhaps an enhancement request may be in order. > Yes, will do now! Done: Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ahsoftware at sonic.net Thu Nov 28 12:03:57 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 28 Nov 2019 09:03:57 -0800 Subject: Identifying Un-used functions and commands In-Reply-To: References: <838437712.627228.1574951208270@mail.yahoo.com> Message-ID: On 11/28/19 8:25 AM, Richard Gaskin via use-livecode wrote: > Quentin Long wrote: > > > Finding explicit function/command calls seems like it should be a > > fairly straightforward task. However, the "do" keyword can also be > > a source of function/command calls, which complicates matters a > > wee bit. You'll also need to evaluate all the non-cleartext components > > that can go into "do" statements? > > do (VariableName) > > do (the WhateverProp of ThisObject) > > do (line 4 of fld "ThisField") > > ?etc etc etc. > > There are many reasons to resort to "do" only after all other more > with-the-grain approaches cannot be made to work. > > That it eludes static code analysis is just one more. > > If I get around to tidying up my old orphan-finder and adding it to > other code base management tools in devolution, I wouldn't bother > attempting to handle "do" cases.? Low ROI, and not handling them helps > draw attention to the technical debt many uses of "do" accrue. > Somewhat similar problem with "send" and "dispatch" commands as well. You can alleviate this a bit during parsing by seeing if what follows the "do" or "send" or "dispatch [function]" command is a quoted string. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Nov 28 12:52:39 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Nov 2019 11:52:39 -0600 Subject: Identifying Un-used functions and commands In-Reply-To: References: <838437712.627228.1574951208270@mail.yahoo.com> Message-ID: <16eb324ba58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> We should verify whether we're looking for orphaned handlers or orphaned calls. If it's handlers I'd do something like: Scan all scripts for "end" & space to get a list of handlers Remove duplicates Scan all scripts for each handler name and keep a count If there's only two instances of the handler name, it's an orphan. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 28, 2019 11:05:56 AM Mark Wieder via use-livecode wrote: > On 11/28/19 8:25 AM, Richard Gaskin via use-livecode wrote: >> Quentin Long wrote: >> >> > Finding explicit function/command calls seems like it should be a >> > fairly straightforward task. However, the "do" keyword can also be >> > a source of function/command calls, which complicates matters a >> > wee bit. You'll also need to evaluate all the non-cleartext components >> > that can go into "do" statements? >> > do (VariableName) >> > do (the WhateverProp of ThisObject) >> > do (line 4 of fld "ThisField") >> > ?etc etc etc. >> >> There are many reasons to resort to "do" only after all other more >> with-the-grain approaches cannot be made to work. >> >> That it eludes static code analysis is just one more. >> >> If I get around to tidying up my old orphan-finder and adding it to >> other code base management tools in devolution, I wouldn't bother >> attempting to handle "do" cases. Low ROI, and not handling them helps >> draw attention to the technical debt many uses of "do" accrue. >> > > Somewhat similar problem with "send" and "dispatch" commands as well. > You can alleviate this a bit during parsing by seeing if what follows > the "do" or "send" or "dispatch [function]" command is a quoted string. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Thu Nov 28 14:13:38 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 28 Nov 2019 11:13:38 -0800 Subject: Identifying Un-used functions and commands In-Reply-To: <16eb324ba58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <838437712.627228.1574951208270@mail.yahoo.com> <16eb324ba58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 11/28/19 9:52 AM, J. Landman Gay via use-livecode wrote: > We should verify whether we're looking for orphaned handlers or orphaned > calls. If it's handlers I'd do something like: > > Scan all scripts for "end" & space to get a list of handlers > Remove duplicates > Scan all scripts for each handler name and keep a count > > If there's only two instances of the handler name, it's an orphan. Um. No. It's a bit more complicated. Removing duplicates without keeping track of the object script wouldn't catch handlers of the same name in different scripts. And you'd want to eliminate system messages from the list so that a closeStack handler, for instance, wouldn't show up as an orphan. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Thu Nov 28 15:11:34 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Nov 2019 20:11:34 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> Message-ID: <1815F929-2BA0-4743-99E4-10E0EE704322@hindu.org> > ============= > Your application failed code-signing > check. Check your certificates, > provisioning profiles, and bundles ids. > ================ @Brahmanathaswami When do you get this error? When building the standalone, or when installing it to device? Regards, Panos -- When try to install it to device, I thought worked before in 9.5.1 (rc 1) I looked over all your posts to the list and found one which suggest we use a iOS development profile So I made a new certificate and create a development profile, installed that and chose it from the SA panel. No go?. same error. Next I read the release note?. since XCode 10.1 was supported I tried that? 11.1,SDK 12.1 "green" - 10.1 SKD 12.1 now to "red" e.g. not accepted on mobile preferences. I went back to 11.1, and using the Development profile (I turned off "Beta Text") . I got the "intuition" that I should shut down after reboot. This time trying with the iOS development tool it went through and asked for a pass word to allow LC to use the certificate ? (it is doing "sudo" in the background) I gave it my admin pass word and "always allows" and it installed on the phone. Yay! But to my "dismay" the mobileCreatePlayer causes the app to crash?. which was the whole purpose of my grade, to get audio work on iPhone 7 and 8? Anyway: If you installed Catalina. Don?t make the mistake in thinking that your KeyChain has been ported automatically. You should re-install your certificates, reboot, then things will start to work. (my guess) Meanwhile, can you post again the terminal command for check the profiles. I have lost them somewhere and don't find them on the list. . From merakosp at gmail.com Thu Nov 28 15:56:55 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 28 Nov 2019 22:56:55 +0200 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: <1815F929-2BA0-4743-99E4-10E0EE704322@hindu.org> References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> <1815F929-2BA0-4743-99E4-10E0EE704322@hindu.org> Message-ID: Hello Brahmanathaswami, Not sure which terminal commands you are referring to, maybe these: ``` IOS INVALID ENTITLEMENTS 1. Use the codesign tool to check the entitlements on the .app bundle: Type in a terminal: codesign -d --entitlements :- /path/to/yourApp.app 2. Use the security tool to check the entitlements of the app's embedded provisioning profile: Type in a terminal: security cms -D -i /path/to/yourApp.app/embedded.mobileprovision - Then see if there is an entitlement that is present in (1) but not in (2). ``` Now, regarding the crash you still get with mobileControlCreate, I would suggest you file a bug report with a sample stack and audio file. I had tested the new iOS player with both audio and video before releasing 9.6 dp1, with both local and remote files, and had no issues. BTW I suggest you make sure the command line tools you use are the ones of Xcode 11.1. What is the output of this terminal command? xcode-select -p Best, Panos On Thu, Nov 28, 2019, 22:12 Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > > ============= > > Your application failed code-signing > > check. Check your certificates, > > provisioning profiles, and bundles ids. > > ================ > > @Brahmanathaswami > > When do you get this error? When building the standalone, or when > installing it to device? > > Regards, > Panos > -- > > When try to install it to device, I thought worked before in 9.5.1 (rc 1) > > I looked over all your posts to the list and found one which suggest we > use a iOS development profile > > So I made a new certificate and create a development profile, installed > that and chose it from the SA panel. > No go?. same error. Next I read the release note?. since XCode 10.1 was > supported I tried that? 11.1,SDK 12.1 "green" - 10.1 SKD 12.1 now to "red" > e.g. not accepted on mobile preferences. I went back to 11.1, and using the > Development profile (I turned off "Beta Text") . I got the "intuition" that > I should shut down after reboot. This time trying with the iOS development > tool it went through and asked for a pass word to allow LC to use the > certificate ? (it is doing "sudo" in the background) I gave it my admin > pass word and "always allows" and it installed on the phone. Yay! > > But to my "dismay" the mobileCreatePlayer causes the app to crash?. which > was the whole purpose of my grade, to get audio work on iPhone 7 and 8? > > Anyway: > > If you installed Catalina. Don?t make the mistake in thinking that your > KeyChain has been ported automatically. You should re-install your > certificates, reboot, then things will start to work. (my guess) > > Meanwhile, can you post again the terminal command for check the > profiles. I have lost them somewhere and don't find them on the list. > > > . > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Thu Nov 28 21:52:01 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 29 Nov 2019 02:52:01 +0000 Subject: [ANN] Release 9.6.0 DP-1 In-Reply-To: References: <5592EB2D-23A8-47B0-BF03-171DC9146F43@hindu.org> <980670CD-3E6D-41D2-9230-0B4F96FC21F9@hindu.org> <1815F929-2BA0-4743-99E4-10E0EE704322@hindu.org> Message-ID: <445BBD24-4D09-4329-8035-3269EE728BDA@hindu.org> Aloha Panos 1) Right, the IOS INVALID ENTITLEMENTS were the ones I was looking. I?ll be sure the save them where I can find them again 2) Yes, I will file a bug report after I am sure that the library (which Jacque made originally) is using the correct code for the AVfoundation, something may have changed. 3) Terminal @ xcode-select -p [returns] /Applications/Xcode.app/Contents/Developer # when I installed Xcode, I was prompted for "additional tools" to download and install, which I did. So, I think we are good. Thanks for all that you do! BR Hello Brahmanathaswami, Not sure which terminal commands you are referring to, maybe these: ``` IOS INVALID ENTITLEMENTS 1. Use the codesign tool to check the entitlements on the .app bundle: Type in a terminal: codesign -d --entitlements :- /path/to/yourApp.app 2. Use the security tool to check the entitlements of the app's embedded provisioning profile: Type in a terminal: security cms -D -i /path/to/yourApp.app/embedded.mobileprovision - Then see if there is an entitlement that is present in (1) but not in (2). ``` Now, regarding the crash you still get with mobileControlCreate, I would suggest you file a bug report with a sample stack and audio file. I had tested the new iOS player with both audio and video before releasing 9.6 dp1, with both local and remote files, and had no issues. BTW I suggest you make sure the command line tools you use are the ones of Xcode 11.1. What is the output of this terminal command? xcode-select -p Best, Panos From brahma at hindu.org Thu Nov 28 22:06:15 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 29 Nov 2019 03:06:15 +0000 Subject: Livecode Server - Email Message-ID: I have a email CGI from a very old cgi for the days when "revolution" was the server Now with LiveCode server, Ubuntu 18+ does have /usr/sbin/sendmail installed, at least I see that, but this old process does not work put "/usr/sbin/sendmail -t" into mprocess open process mprocess for write write "From:" && (urlDecode (tDataIn["from"]))& cr to process mprocess write "To:" && tRecipients & cr to process mprocess write "Subject:" && (urlDecode (tDataIn["subject"])) & cr & cr to process mprocess write (urlDecode (tDataIn["body"])) & cr to process mprocess close process mprocess if the result is not empty then put the result into tResponse else put tResponse end if I think we don't use "open process" anymore. What is the LiveCode server method now? BR From brahma at hindu.org Thu Nov 28 22:48:05 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 29 Nov 2019 03:48:05 +0000 Subject: CreateMobileAudioPlayer - Fails on Mobile 9.6.0.dp1 Message-ID: <61628DB3-8F10-48D8-ABD4-C68FC17571BB@hindu.org> Rather than file a bug report, I think we can air this out here on the list first. then if it is a bug will file it. This work on in 9.5.1 rc 1, but is failing on 9.6 dp1. I immediately crashes the app as soon as we pass the parameters to it. We are not using and the "no-longer-available" commands noted in the release notes "iOS mobile player control updated to use AVKit" command createMobileAudioPlayer pURL, pPlayerName, pRect local tHeight,tPlayloc if pPlayerName is among the lines of mobileControls() then mobileControlDelete pPlayerName -- init end if mobileControlCreate "player", pPlayerName put the result into sPlayerId if pRect is empty then put the rect of player pPlayerName into pRect end if ------------ # set the play control without a controller present -- adjust location for mobile:--### FIND OUT IF THIS IS NEEDED ON iOS if the platform is "android" then if the short name of this card is "surprise_audio" then subtract 70 from item 2 of pRect else -- android player controls appear above the player; adjust -- with controller it's about 4x rect of cd player so align the bottom edges: # this is hard wired to the bottom of the card for now. put item 4 of pRect - item 2 of pRect into tHeight put CardHeight() - safeBottomMargin() - 70 into item 4 of pRect put (item 4 of pRect) - tHeight - 50 into item 2 of pRect end if end if put pRect into sPlayerRect mobileControlSet pPlayerName, "visible", false mobileControlSet pPlayerName, "showcontroller", false mobileControlSet pPlayerName, "rect", pRect --mobileControlSet pPlayerName, "showController", true mobileControlSet pPlayerName, "filename", pURL if pURL begins with "https" then showBusyIndicator true, "Loading audio..." -- add loading indicator until duration is available end if if mobileIdleTimerLocked() is false then mobileLockIdleTimer --jg: disallow screen lock end if Do you see anything wrong? From klaus at major-k.de Fri Nov 29 07:42:37 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 29 Nov 2019 13:42:37 +0100 Subject: script for standalone builder in pre-/openstack/card Message-ID: Hi friends, can someone plaes post the script that we need when building a standalone so that the building process does not mess with our pre-openXXX scripts? Know what I mean? I don't know what to search for... Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Nov 29 08:30:12 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 29 Nov 2019 14:30:12 +0100 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: Here?s an example for the closestack message on closeStack if the mode of stack "revStandaloneProgress" > 0 then exit closesStack end if end closeStack You?ll find it in the LC 9 Release notes under Breaking Changes -> Standalone Building. Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 29.11.2019 um 13:42 schrieb Klaus major-k via use-livecode >: > > Hi friends, > > can someone plaes post the script that we need when building a > standalone so that the building process does not mess with our > pre-openXXX scripts? Know what I mean? > I don't know what to search for... > > Thanks in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Nov 29 08:33:11 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 29 Nov 2019 14:33:11 +0100 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: <1BEC1C94-5222-49C3-B6E8-4044AF01A991@m-r-d.de> one little correction: in the release notes of LC 9.0.x Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 29.11.2019 um 14:30 schrieb Matthias Rebbe via use-livecode >: > > Here?s an example for the closestack message > > on closeStack > if the mode of stack "revStandaloneProgress" > 0 > then > exit closesStack > end if > end closeStack > > You?ll find it in the LC 9 Release notes under Breaking Changes -> Standalone Building. > > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > InstaMaker > > WinSignMaker Mac > > >> Am 29.11.2019 um 13:42 schrieb Klaus major-k via use-livecode >>: >> >> Hi friends, >> >> can someone plaes post the script that we need when building a >> standalone so that the building process does not mess with our >> pre-openXXX scripts? Know what I mean? >> I don't know what to search for... >> >> Thanks in advance! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de > >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 29 08:36:03 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 29 Nov 2019 14:36:03 +0100 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: Hallo Matthias, > Am 29.11.2019 um 14:30 schrieb Matthias Rebbe via use-livecode : > > Here?s an example for the closestack message > > on closeStack > if the mode of stack "revStandaloneProgress" > 0 > then > exit closesStack > end if > end closeStack > > You?ll find it in the LC 9 Release notes under Breaking Changes -> Standalone Building. ah, yes, thank you, that was it! :-) > Matthias Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From merakosp at gmail.com Fri Nov 29 08:42:27 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 29 Nov 2019 15:42:27 +0200 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: Hello all, This is a more robust example: on closeStack if the environment is "development" and \ there is a stack "revStandaloneProgress" and \ the mode of stack "revStandaloneProgress" > 0 then exit closeStack end if end closeStack I thought we had updated the release notes. Kind regards, Panos -- On Fri, 29 Nov 2019 at 15:36, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hallo Matthias, > > > Am 29.11.2019 um 14:30 schrieb Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com>: > > > > Here?s an example for the closestack message > > > > on closeStack > > if the mode of stack "revStandaloneProgress" > 0 > > then > > exit closesStack > > end if > > end closeStack > > > > You?ll find it in the LC 9 Release notes under Breaking Changes -> > Standalone Building. > > ah, yes, thank you, that was it! :-) > > > Matthias > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Nov 29 08:47:05 2019 From: klaus at major-k.de (Klaus major-k) Date: Fri, 29 Nov 2019 14:47:05 +0100 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: <3DA723D6-410A-4567-B56D-D6CFB3710AD8@major-k.de> Hi Panos, > Am 29.11.2019 um 14:42 schrieb panagiotis merakos via use-livecode : > Hello all, > > This is a more robust example: > on closeStack > if the environment is "development" and \ > there is a stack "revStandaloneProgress" and \ > the mode of stack "revStandaloneProgress" > 0 then > exit closeStack > end if > end closeStack thank you! > I thought we had updated the release notes. Maybe, but did not find this in the Release Notes of 9.5.1 RC1. > Kind regards, > > Panos Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Nov 29 09:28:11 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 29 Nov 2019 15:28:11 +0100 Subject: script for standalone builder in pre-/openstack/card In-Reply-To: References: Message-ID: <579DB0E0-AB96-40ED-A9C1-34F55DA8E671@m-r-d.de> Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 29.11.2019 um 14:42 schrieb panagiotis merakos via use-livecode >: > > > > > I thought we had updated the release notes. > You are right. I?ve used the script of the 9.0.0 release notes. The updated version of the sample is in release notes 9.0.2 and higher. The release notes of 9.5.x and 9.6.x do not contain any information about this breaking changes. It might be a good idea to add that information also to the 9.5 and 9.6 release notes. > Kind regards, > > Panos > -- > > On Fri, 29 Nov 2019 at 15:36, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Hallo Matthias, >> >>> Am 29.11.2019 um 14:30 schrieb Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com >: >>> >>> Here?s an example for the closestack message >>> >>> on closeStack >>> if the mode of stack "revStandaloneProgress" > 0 >>> then >>> exit closesStack >>> end if >>> end closeStack >>> >>> You?ll find it in the LC 9 Release notes under Breaking Changes -> >> Standalone Building. >> >> ah, yes, thank you, that was it! :-) >> >>> Matthias >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Nov 30 12:18:33 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Nov 2019 11:18:33 -0600 Subject: IPhone geometry Message-ID: <16ebd523a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does anyone know if Apple will reject an app that doesn't fill the screen on the newer tall phones? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From colinholgate at gmail.com Sat Nov 30 12:25:43 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 30 Nov 2019 12:25:43 -0500 Subject: IPhone geometry In-Reply-To: <16ebd523a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16ebd523a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1B54B208-1E10-437E-9574-5656E63D8A35@gmail.com> I think they would, but the iPhone 11 screen is the same ratio of the iPhone X screen. If you had successfully submitted for iPhone X, it should be ok for iPhone 11. It only needs to be background though, but you could do some math and put buttons into the corners where the notches are (if your app hides the status bar that is). > On Nov 30, 2019, at 12:18 PM, J. Landman Gay via use-livecode wrote: > > Does anyone know if Apple will reject an app that doesn't fill the screen on the newer tall phones? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > From ludovic.thebault at laposte.net Sat Nov 30 12:39:39 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 30 Nov 2019 18:39:39 +0100 Subject: IPhone geometry In-Reply-To: <1B54B208-1E10-437E-9574-5656E63D8A35@gmail.com> References: <16ebd523a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1B54B208-1E10-437E-9574-5656E63D8A35@gmail.com> Message-ID: <8DBFC951-0A2A-47AD-8538-855275B13C21@laposte.net> > Le 30 nov. 2019 ? 18:25, Colin Holgate via use-livecode a ?crit : > > I think they would, but the iPhone 11 screen is the same ratio of the iPhone X screen. If you had successfully submitted for iPhone X, it should be ok for iPhone 11. > > It only needs to be background though, but you could do some math and put buttons into the corners where the notches are (if your app hides the status bar that is). > > >> On Nov 30, 2019, at 12:18 PM, J. Landman Gay via use-livecode wrote: >> >> Does anyone know if Apple will reject an app that doesn't fill the screen on the newer tall phones? I submittted a week ago an update to my app which was built for an iphone 4 screen ! (There is just a fullscreenmode to ? show all ?) and is on the App Store ! Ludovic From colinholgate at gmail.com Sat Nov 30 13:14:42 2019 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 30 Nov 2019 13:14:42 -0500 Subject: IPhone geometry In-Reply-To: <8DBFC951-0A2A-47AD-8538-855275B13C21@laposte.net> References: <16ebd523a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1B54B208-1E10-437E-9574-5656E63D8A35@gmail.com> <8DBFC951-0A2A-47AD-8538-855275B13C21@laposte.net> Message-ID: <096E2E7E-D7EE-47D0-90C0-0AED6765B0D1@gmail.com> ShowAll will reveal the bits off the edges of the card. So long as you included the required stash screen the app will fill the taller screens. > On Nov 30, 2019, at 12:39 PM, Ludovic THEBAULT via use-livecode wrote: > > > >> Le 30 nov. 2019 ? 18:25, Colin Holgate via use-livecode a ?crit : >> >> I think they would, but the iPhone 11 screen is the same ratio of the iPhone X screen. If you had successfully submitted for iPhone X, it should be ok for iPhone 11. >> >> It only needs to be background though, but you could do some math and put buttons into the corners where the notches are (if your app hides the status bar that is). >> >> >>> On Nov 30, 2019, at 12:18 PM, J. Landman Gay via use-livecode wrote: >>> >>> Does anyone know if Apple will reject an app that doesn't fill the screen on the newer tall phones? > > I submittted a week ago an update to my app which was built for an iphone 4 screen ! (There is just a fullscreenmode to ? show all ?) and is on the App Store ! > > Ludovic > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Nov 30 14:12:15 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Nov 2019 13:12:15 -0600 Subject: IPhone geometry In-Reply-To: <096E2E7E-D7EE-47D0-90C0-0AED6765B0D1@gmail.com> References: <16ebd523a28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1B54B208-1E10-437E-9574-5656E63D8A35@gmail.com> <8DBFC951-0A2A-47AD-8538-855275B13C21@laposte.net> <096E2E7E-D7EE-47D0-90C0-0AED6765B0D1@gmail.com> Message-ID: Perfect. Thanks guys. On 11/30/19 12:14 PM, Colin Holgate via use-livecode wrote: > ShowAll will reveal the bits off the edges of the card. So long as you included the required stash screen the app will fill the taller screens. > > >> On Nov 30, 2019, at 12:39 PM, Ludovic THEBAULT via use-livecode wrote: >> >> >> >>> Le 30 nov. 2019 ? 18:25, Colin Holgate via use-livecode a ?crit : >>> >>> I think they would, but the iPhone 11 screen is the same ratio of the iPhone X screen. If you had successfully submitted for iPhone X, it should be ok for iPhone 11. >>> >>> It only needs to be background though, but you could do some math and put buttons into the corners where the notches are (if your app hides the status bar that is). >>> >>> >>>> On Nov 30, 2019, at 12:18 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> Does anyone know if Apple will reject an app that doesn't fill the screen on the newer tall phones? >> >> I submittted a week ago an update to my app which was built for an iphone 4 screen ! (There is just a fullscreenmode to ? show all ?) and is on the App Store ! >> >> Ludovic >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Nov 30 18:40:22 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Nov 2019 17:40:22 -0600 Subject: iOS scrollers Message-ID: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> I have scrolers that work fine in a simulated iPhone 6 Plus (which is what the card size is.) But in iPhone X the last one or two lines are cut off so you can't scroll to the bottom of the text. This happens everywhere in the app where there's a scroller involved. Why? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Sat Nov 30 19:37:47 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 1 Dec 2019 00:37:47 +0000 Subject: put img into img after import snapshot Message-ID: <1D088BDE-2E47-4B3F-9CF4-637FC01B4DA1@contoso.com> This works perfectly on desktop. Why would it fail on mobile? put 0,the bottom of btn "newsHeader",the width of this stack,the top of grc "scaleRectangle" into pRect import snapshot from rect pRect put img 2 into img 1 // THIS LINE DOESN?T DO ANYTHING delete img 2 set the rect of img "editingImage" to pRect ?put img 2 into img 1? DOES work if it?s an image that?s not from the import snapshot command. Is there something I have to do to the image before this will work? Using LC 9.5.1 rc1 Thanks in advance! -Dan From brahma at hindu.org Sat Nov 30 21:27:09 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 1 Dec 2019 02:27:09 +0000 Subject: Remote Debugger 9.6dp1? Message-ID: <77831FCB-8D0E-4C5E-BC84-CF233E752E5B@hindu.org> I have Remote Debugger in the inclusions for making a mobile standalone The Development Menu has checked "Script Debug Mode" I put an explicit "breakpoint" in a handler; test (target) my iPhone. Boot the app on the phone. The app hangs where I have the breakpoint. But the script editor does not open, allowing us to step through the rest of the handler. Is there something else to do? I could have sworn this worked on iOS before? BR From brahma at hindu.org Sat Nov 30 21:46:59 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 1 Dec 2019 02:46:59 +0000 Subject: iOS scrollers In-Reply-To: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> Message-ID: <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> Ditto that here. I still have you with handler. Ralph said he was added 20 the rect, so I did this. put ("0,0," & (the formattedwidth of control pName) & "," & \ the formattedheight of control pName + 20) into tRect But on iPhone X increasing by a generic "20" in not enough. I don't think users will mind if there "blank" space at end of the scroll. It going to be pain to work out a fast, accurate, algorithm--fonts and line spacing being "all over the place." So I'll try "50" as see what happens. the formattedheight of control pName + 50) into tRect BR But in iPhone X the last one or two lines are cut off so you can't scroll to the bottom of the text. From jacque at hyperactivesw.com Sat Nov 30 23:26:29 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Nov 2019 22:26:29 -0600 Subject: iOS scrollers In-Reply-To: <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> References: <7ce15c15-c54b-2478-b434-d3bfdc8cb9ce@hyperactivesw.com> <99EF1C56-F7ED-4653-8F87-2E2E7516162E@hindu.org> Message-ID: This is a blocker for us. Adding extra space to the contentRect doesn't work, Swami tested it on a real iPhone 10 and it shows the same issues as the simulator. If anyone has a workaround I need it real soon now. Meanwhile I'll put in a bug report. On 11/30/19 8:46 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Ditto that here. I still have you with handler. > > Ralph said he was added 20 the rect, so I did this. > > put ("0,0," & (the formattedwidth of control pName) & "," & \ > > the formattedheight of control pName + 20) into tRect > But on iPhone X increasing by a generic "20" in not enough. > > I don't think users will mind if there "blank" space at end of the scroll. > It going to be pain to work out a fast, accurate, algorithm--fonts and line spacing being "all over the place." > > So I'll try "50" as see what happens. > > > the formattedheight of control pName + 50) into tRect > BR > > But in iPhone X the last one or two lines are > cut off so you can't scroll to the bottom of the text. > _______________________________________________ > use-livecode mailing list > use-livecode 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