From panos.merakos at livecode.com Mon Jun 1 11:16:02 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 1 Jun 2020 18:16:02 +0300 Subject: [ANN] Release 9.6.0 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.0. 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 comes with more than 120 changes since the last stable release (9.5.1) including: New Features - Support for Storyboard launch images and backgrounds on iOS - Support for using the flash as a torch in the Android Barcode Scanner - Support for building with Xcode 11.4, using the iOS 13.4 SDK - New tsNet and mergExt builds, built with the iOS 13.4 SDK - 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. - New CEF build is included, which addresses rendering issues with the browser widget in some 32bit Windows devices. - New "focusModes" and "focusMode" properties are implemented for the Android camera control. - The ability to pass "detailed-utf8" to the files() and folders() function to preserve unicode filenames has been added. - Support for merging activity attributes is added in the Android Manifest Merging mechanism - New text to speech library for iOS, Android and MacOS (Indy/Business only) - Improved text rendering on Android - Objective-C block support in LCB - Ability to detect dark mode on MacOS, iOS and Android - Improvements on mobilePickPhoto on Android, including support for front camera - Ability to highlight none of the icons in the navigation bar widget Bug Fixes: - Significant performance improvement when saving stacks on Windows - Improvements in the Windows FFI in LCB - Fixes to drag-drop on macOS and Windows - Windows camera control now produces much higher quality output For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. - The mergSettings external still uses the UIWebView API on iOS, so checking "mergSettings" in the Inclusions pane will cause an AppStore rejection, since Apple no longer accepts new apps that use UIWebView. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.2: Xcode 11.4.x - LiveCode builds iOS apps using the iOS 13.4 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: Since the end of April 2020, Apple is only accepting new apps built using iOS13 SDKs. Updates to existing apps can be built using iOS12 SDKs until the end of June 2020. This means that, if you wish to submit new apps to the AppStore, you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From livfoss at mac.com Mon Jun 1 12:51:58 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 1 Jun 2020 18:51:58 +0200 Subject: [ANN] Release 9.6.0 In-Reply-To: References: Message-ID: <3E3CA5CF-E1B5-47A4-BE46-816A5C6BF4F5@mac.com> Panos, what does ?LiveCodeIndy-9_6_0-M Resource Busy" mean? Basically I downloaded the dmg and got that. No other version of LC was open at the time, but the machine (an iMac running HIgh Sierra) has not been rebooted since the last use of LiveCode. I will restart now - but it shouldn?t happen, should it? Graham > On 1 Jun 2020, at 17:16, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.0. > > > 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 comes with more than 120 changes since the last stable > release (9.5.1) including: > > New Features > - Support for Storyboard launch images and backgrounds on iOS > - Support for using the flash as a torch in the Android Barcode Scanner > - Support for building with Xcode 11.4, using the iOS 13.4 SDK > - New tsNet and mergExt builds, built with the iOS 13.4 SDK > - 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. > - New CEF build is included, which addresses rendering issues with the > browser widget in some 32bit Windows devices. > - New "focusModes" and "focusMode" properties are implemented for the > Android camera control. > - The ability to pass "detailed-utf8" to the files() and folders() > function to preserve unicode filenames has been added. > - Support for merging activity attributes is added in the Android > Manifest Merging mechanism > - New text to speech library for iOS, Android and MacOS (Indy/Business > only) > - Improved text rendering on Android > - Objective-C block support in LCB > - Ability to detect dark mode on MacOS, iOS and Android > - Improvements on mobilePickPhoto on Android, including support for front > camera > - Ability to highlight none of the icons in the navigation bar widget > > Bug Fixes: > > - Significant performance improvement when saving stacks on Windows > - Improvements in the Windows FFI in LCB > - Fixes to drag-drop on macOS and Windows > - Windows camera control now produces much higher quality output > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > - The mergSettings external still uses the UIWebView API on iOS, so > checking "mergSettings" in the Inclusions pane will cause an AppStore > rejection, since Apple no longer accepts new apps that use UIWebView. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.2: Xcode 11.4.x - LiveCode builds iOS apps using the iOS > 13.4 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: Since the end of April 2020, Apple is only accepting new apps > built using iOS13 SDKs. Updates to existing apps can be built using iOS12 > SDKs until the end of June 2020. This means that, if you wish to submit new > apps to the AppStore, you will have to be running at least macOS 10.14 in > order to be able to install the necessary version of Xcode. > > > Feedback > ======== > Please report any bugs encountered on our quality center at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Jun 1 13:00:07 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 1 Jun 2020 20:00:07 +0300 Subject: [ANN] Release 9.6.0 In-Reply-To: <3E3CA5CF-E1B5-47A4-BE46-816A5C6BF4F5@mac.com> References: <3E3CA5CF-E1B5-47A4-BE46-816A5C6BF4F5@mac.com> Message-ID: Hello Graham, I have not seen that error before, but looks like it is coming from the OS. Did restarting the machine fix the problem? Kind regards, Panos -- On Mon, 1 Jun 2020 at 19:53, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, what does ?LiveCodeIndy-9_6_0-M Resource Busy" mean? Basically I > downloaded the dmg and got that. No other version of LC was open at the > time, but the machine (an iMac running HIgh Sierra) has not been rebooted > since the last use of LiveCode. I will restart now - but it shouldn?t > happen, should it? > > Graham > > > On 1 Jun 2020, at 17:16, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.0. > > > > > > 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 comes with more than 120 changes since the last stable > > release (9.5.1) including: > > > > New Features > > - Support for Storyboard launch images and backgrounds on iOS > > - Support for using the flash as a torch in the Android Barcode Scanner > > - Support for building with Xcode 11.4, using the iOS 13.4 SDK > > - New tsNet and mergExt builds, built with the iOS 13.4 SDK > > - 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. > > - New CEF build is included, which addresses rendering issues with the > > browser widget in some 32bit Windows devices. > > - New "focusModes" and "focusMode" properties are implemented for the > > Android camera control. > > - The ability to pass "detailed-utf8" to the files() and folders() > > function to preserve unicode filenames has been added. > > - Support for merging activity attributes is added in the Android > > Manifest Merging mechanism > > - New text to speech library for iOS, Android and MacOS (Indy/Business > > only) > > - Improved text rendering on Android > > - Objective-C block support in LCB > > - Ability to detect dark mode on MacOS, iOS and Android > > - Improvements on mobilePickPhoto on Android, including support for > front > > camera > > - Ability to highlight none of the icons in the navigation bar widget > > > > Bug Fixes: > > > > - Significant performance improvement when saving stacks on Windows > > - Improvements in the Windows FFI in LCB > > - Fixes to drag-drop on macOS and Windows > > - Windows camera control now produces much higher quality output > > > > For the full list of all fixes, updates and enhancements please see the > > release notes: > > http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0.pdf > > > > > > Known issues > > ============ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > - The mergSettings external still uses the UIWebView API on iOS, so > > checking "mergSettings" in the Inclusions pane will cause an AppStore > > rejection, since Apple no longer accepts new apps that use UIWebView. > > > > > > Required Software > > ================= > > To build iOS apps with LiveCode you must have the appropriate versions of > > Xcode as follows: > > > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS > 12.1 > > SDK > > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > > 13.2 SDK > > - macOS 10.15.2: Xcode 11.4.x - LiveCode builds iOS apps using the iOS > > 13.4 SDK > > > > There is a full list of working LiveCode/macOS/Xcode combinations here: > > https://livecode.com/docs/9-5-0/faq/faq/ > > > > Note: Whilst we endeavour to release updated versions of LiveCode > > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > > recommend disabling automatic update of Xcode or downloading the specific > > version of Xcode required directly from the Apple developer portal and > > installing it separately. > > > > Important: Since the end of April 2020, Apple is only accepting new apps > > built using iOS13 SDKs. Updates to existing apps can be built using iOS12 > > SDKs until the end of June 2020. This means that, if you wish to submit > new > > apps to the AppStore, you will have to be running at least macOS 10.14 in > > order to be able to install the necessary version of Xcode. > > > > > > Feedback > > ======== > > Please report any bugs encountered on our quality center at > > http://quality.livecode.com/ > > > > We have a forum available for discussing LiveCode Builder at > > http://forums.livecode.com/viewforum.php?f=93 > > > > > > Have fun! > > The LiveCode Team > > > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jun 1 13:23:41 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 1 Jun 2020 19:23:41 +0200 Subject: [ANN] Release 9.6.0 In-Reply-To: References: Message-ID: Yes - just did it. I?m guessing it?s something left over from an earlier activation of LC, but it?s just a guess. I?ve seen it once before. Graham Sent from my iPhone > On 1 Jun 2020, at 19:01, panagiotis merakos via use-livecode wrote: > > ?Hello Graham, > > I have not seen that error before, but looks like it is coming from the OS. > Did restarting the machine fix the problem? > > Kind regards, > Panos > -- > >> On Mon, 1 Jun 2020 at 19:53, Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Panos, what does ?LiveCodeIndy-9_6_0-M Resource Busy" mean? Basically I >> downloaded the dmg and got that. No other version of LC was open at the >> time, but the machine (an iMac running HIgh Sierra) has not been rebooted >> since the last use of LiveCode. I will restart now - but it shouldn?t >> happen, should it? >> >> Graham >> >>> On 1 Jun 2020, at 17:16, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 9.6.0. >>> >>> >>> 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 comes with more than 120 changes since the last stable >>> release (9.5.1) including: >>> >>> New Features >>> - Support for Storyboard launch images and backgrounds on iOS >>> - Support for using the flash as a torch in the Android Barcode Scanner >>> - Support for building with Xcode 11.4, using the iOS 13.4 SDK >>> - New tsNet and mergExt builds, built with the iOS 13.4 SDK >>> - 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. >>> - New CEF build is included, which addresses rendering issues with the >>> browser widget in some 32bit Windows devices. >>> - New "focusModes" and "focusMode" properties are implemented for the >>> Android camera control. >>> - The ability to pass "detailed-utf8" to the files() and folders() >>> function to preserve unicode filenames has been added. >>> - Support for merging activity attributes is added in the Android >>> Manifest Merging mechanism >>> - New text to speech library for iOS, Android and MacOS (Indy/Business >>> only) >>> - Improved text rendering on Android >>> - Objective-C block support in LCB >>> - Ability to detect dark mode on MacOS, iOS and Android >>> - Improvements on mobilePickPhoto on Android, including support for >> front >>> camera >>> - Ability to highlight none of the icons in the navigation bar widget >>> >>> Bug Fixes: >>> >>> - Significant performance improvement when saving stacks on Windows >>> - Improvements in the Windows FFI in LCB >>> - Fixes to drag-drop on macOS and Windows >>> - Windows camera control now produces much higher quality output >>> >>> For the full list of all fixes, updates and enhancements please see the >>> release notes: >>> http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0.pdf >>> >>> >>> Known issues >>> ============ >>> - The Browser widget's native layer is not shown in some Linux distros >> with >>> Cinnamon window manager. >>> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit >> LTS >>> yet. >>> - The mergSettings external still uses the UIWebView API on iOS, so >>> checking "mergSettings" in the Inclusions pane will cause an AppStore >>> rejection, since Apple no longer accepts new apps that use UIWebView. >>> >>> >>> Required Software >>> ================= >>> To build iOS apps with LiveCode you must have the appropriate versions of >>> Xcode as follows: >>> >>> - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS >> 12.1 >>> SDK >>> - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS >>> 13.2 SDK >>> - macOS 10.15.2: Xcode 11.4.x - LiveCode builds iOS apps using the iOS >>> 13.4 SDK >>> >>> There is a full list of working LiveCode/macOS/Xcode combinations here: >>> https://livecode.com/docs/9-5-0/faq/faq/ >>> >>> Note: Whilst we endeavour to release updated versions of LiveCode >>> supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly >>> recommend disabling automatic update of Xcode or downloading the specific >>> version of Xcode required directly from the Apple developer portal and >>> installing it separately. >>> >>> Important: Since the end of April 2020, Apple is only accepting new apps >>> built using iOS13 SDKs. Updates to existing apps can be built using iOS12 >>> SDKs until the end of June 2020. This means that, if you wish to submit >> new >>> apps to the AppStore, you will have to be running at least macOS 10.14 in >>> order to be able to install the necessary version of Xcode. >>> >>> >>> Feedback >>> ======== >>> Please report any bugs encountered on our quality center at >>> http://quality.livecode.com/ >>> >>> We have a forum available for discussing LiveCode Builder at >>> http://forums.livecode.com/viewforum.php?f=93 >>> >>> >>> Have fun! >>> The LiveCode Team >>> >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 1 15:50:24 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Jun 2020 14:50:24 -0500 Subject: iOS builds ignore taps Message-ID: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. This is only on iOS. In the IDE and Android everything works normally. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Mon Jun 1 16:19:31 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 1 Jun 2020 22:19:31 +0200 Subject: iOS builds ignore taps In-Reply-To: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> Message-ID: I am not sure if this will solve your problem, but did you try the touch messages instead? Matthias > Am 01.06.2020 um 21:50 schrieb J. Landman Gay via use-livecode : > > Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. > > Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. > > This is only on iOS. In the IDE and Android everything works normally. > > -- > 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 panos.merakos at livecode.com Mon Jun 1 16:27:02 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 1 Jun 2020 23:27:02 +0300 Subject: [ANN] This Week in LiveCode 228 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 #228 here: https://bit.ly/2Azf3MX 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 andrew at midwestcoastmedia.com Mon Jun 1 19:23:28 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Mon, 1 Jun 2020 19:23:28 -0400 Subject: ADA Compliency References: <85F63FF6-9C13-4D68-84CE-6946FF0A34FB@midwestcoastmedia.com> Message-ID: <644C1B87-1C71-421D-A676-D9DD2F9AA61E@midwestcoastmedia.com> I?m glad this has been brought up as I have done some internal investigation myself, with mixed results. A higher education institute I work for pushes us hard for a11y forward workflows (to the point where we?re supposed to include a text description of any MEMEs we post in the official Slack channel). This made me aware of some common issues and tools for adaptive technology. As Curry mentioned (bravo for the excellent thread), there are LOTS of impairments to consider with absolutely zero practical way of accommodating them all. For the sake of web/mobile most usability requirements would tend to land on touch/motor (adaptive input), vision (text size, screen colors, text to speech), and hearing (transcripts and audio descriptions). iOS has some great accessibility features built-in that (I?ve been told by our ?experts?) are the most common tools for the platform. So I gave them a go with a simple Livecode stack consisting of: - native text field with content - Livecode text field with content - native button - 3 Livecode text fields next to each other A basic test that I tried was using the VoiceOver option. This is basically text to speech at the OS level. Everything in my Livecode app was recognized as ?possible text? by the OS, including the system clock in the corner, but not even the native text fields were ?recognized" as text. This worked ok if the text had a wide line length across the whole screen, but fell apart if fields with word wrap were placed next to each other (columns were ignored and reads across the entire screen, then goes ?down a line? and reads across the screen, etc.). None of the text options take into account the Display & Text Size system settings. ?Andrew Bell > > >> Re: ADA Compliency (Curry Kenworthy) >> From: Curry Kenworthy >> Subject: Re: ADA Compliency >> >> >> Rick: >> >>> I have a couple of questions for you. >> >> Thanks Rick! I do appreciate the concern. But in my post, your questions >> were already either answered or otherwise addressed before you asked. I >> anticipated them; I know what makes people tick! So I'll "re-answer" >> partly by quoting myself. >> >> But when certain memes are burned so deep into community psyche that >> answers bounce right off, I feel like we're heading back toward the old >> failed group think. The same old patronizing ideas and faulty >> assumptions, while actually ignoring both the main point and the details >> of what I posted about UI. >> >> Somehow we have to SHOUT louder than those old memes to get through! >> >>> Is a trackpad or a trackball any better of an experience for you? >> >> Heck no! Emphatically no. Much, much worse. Much more difficult. That's >> why I emphasized my mouse use already, to avoid precisely this type of >> inevitable question. Just be aware that the old oh handicap people >> should use blah blah mindset - the memes are sometimes true, but more >> often not. >> >> Mouse = good. For handicap man too! >> Trashing a UI to replace scientific arrangement with lickable = bad. >> >> I said: "I'm very comfortable using the mouse if set up correctly. I >> switched to Windows for my main work, and that helped save energy and >> improve accuracy." >> >> Thus, problem mostly solved on my end, at least when using apps and web >> sites with non-crappy UI. Pretty easy solution. Handicap man happy. >> >> But problem not solved on Apple's end. Handicap man sad for Apple! >> It really was a lousy move, destroying a once superior interface. >> >>> Have you tried using the mac OS voice commands or controls? >> >> Strike two! Think carefully about the implications of what I said: "I >> can only say a few words without getting out of breath." >> >> For people with good breathing, this is a very good thing for typing or >> for no-hands computer use. But imagining it would be more efficient than >> mouse for the ability levels I described - and imagining I'm suffering >> here because I just haven't tried trackpad or voice recognition (I've >> built Mac apps with voice recognition) - no way. Totally unrealistic! >> >> Now, a mental interface might be good, that's another story. Some >> interest there, for the future. But I'm not anywhere near ready for that >> yet. Privacy concerns etc, plus very importantly - use it or lose it. >> Without that exercise, the fingers are toast, and I need those guys. >> Maybe when I'm 80. Maybe I'll design it myself now and use it then. >> >>> Apple has the money and resources to do it. >> >> No, probably they don't. They can't. They don't have the brains (or the >> paradigm) to allow them to do it, not anymore. Not for any amount of >> money; mental assets are the most crucial. It's sad. I was a huge fan. >> >> But enough about Apple - as I said, this is a pretty-much universal >> problem. Only using them as a small example of the problems: >> >> - Binary thinking about physical abilities >> - Trotting out the same faulty memes and assumptions >> - Placing form above function, subjective over objective >> - Ignoring handicapped voices that don't fit the mold >> - Why being "compliant" will still fail many users >> >> Ignoring the reality that abilities vary - and not even just a range >> along one continuum, but a real mixture of strengths and weaknesses in >> many mental and physical areas. I actually feel like a superman in some >> areas. I bring heavy strengths to the table, as my clients know. >> >> Here's one more attempt to break through the group think. Really THINK >> HARD about this, and don't let it automatically bounce off, try to allow >> it into your mind. You may have to adjust some old assumptions, and if >> so that's good: >> >> In certain ways, I might use a mouse more skillfully than you. It's >> possible; I'm pretty good, and I'm one heck of an adept user. At >> computer 16+ hours a day for both work and rest; I rely on it a LOT for >> all things, since I can't go out and about. In other ways I'm definitely >> worse than you, guaranteed. Some misclicks and doubles. Neurology. >> >> But it's NOT so simple - and in fact so backwards - as oh, he's >> handicapped, he shouldn't use a mouse. (Even though he just said he does >> it well; he's handicapped, so we'll just ignore most of what he says.) >> >> No, no, no, NO! Quite the opposite. This is missing the point, tossing >> most of the actual content, and adopting assumptions that are exactly >> opposite of the real situation. I MUST have a good ergonomic full-sized >> mouse or I can't use the computer at all. I have several backup mice in >> storage for instant swap. With a track pad I'm exhausted in a few >> minutes. Of course I've tried it! That is the reality. >> >> If these popular but faulty memes are so appealing that actual reality >> must be discarded to uphold them, that's sad too. Don't let reality >> bounce off. If we are open to improving our knowledge and perceptions, >> life can improve so much, and progress can happen much faster! >> >> BTW, this mouse versus window UI issue dates way back, to the time of OS >> X introduction. And my muscle and neurology impairments date back, >> likewise. It has been the case for the majority of my many years on this >> list (think carefully how long that has been) and during that time I've >> produced more than the average person! I've done pretty well with my mouse. >> >> That problem was mostly solved long ago - to a reasonable extent. I >> probably couldn't send these message, much less be one of the top coders >> in this community, otherwise. Right? Think about it! Like I say, these >> popular memes and assumptions are so strong that they seen to just >> short-circuit the thinking process at time. But that's OK! >> >> Nowadays the bigger problem is overall energy being sapped by the >> neurology, and I'm working on some next-gen dev solutions for that. >> It'll help people with normal physical ability too; good things are >> coming but it takes some time. >> >> People instinctively tend to assign less weight to info from handicapped >> voices, and ignore whatever bucks the popular trend. That's how society >> works. But that's OK; I'm very much in the business of bucking trends >> and disproving faulty assumptions, and over time I'm winning. It's worth >> it to get new thoughts and improvements out there. >> >> As always, I'm just popping up here to share some accurate and >> potentially valuable ($$$) info from one who really knows and has the >> FIRST-HAND experience plus the tech expertise, to benefit open minds and >> further good projects. Physical abilities are not all-or-nothing! And UI >> matters! >> >> I hope it helps some people. Whether it's OS or app, big corporation or >> lone coder, good solid logical UI is always worthwhile, and bad UI is >> like a disease that keeps on giving. Just like bad code - avoid both >> like the plague they are. Your good code and UI can make a much bigger >> difference than you think. Thanks again.... >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> From scott at elementarysoftware.com Mon Jun 1 20:49:46 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 1 Jun 2020 17:49:46 -0700 Subject: iOS builds ignore taps In-Reply-To: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> Message-ID: <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> For me, when I run across this (and I have several times? including one just last week) it is almost always acceleratedRendering. I usually end up toggling it off and on and then all works fine. Sometimes I wrap code between these but sometimes I just put this at the end of the handler that introduces the unresponsive object. set the acceleratedRendering of this stack to "false" set the acceleratedRendering of this stack to ?true? -- 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 Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode wrote: > > Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. > > Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. > > This is only on iOS. In the IDE and Android everything works normally. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jun 2 00:15:42 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Jun 2020 23:15:42 -0500 Subject: iOS builds ignore taps In-Reply-To: <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> Message-ID: Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. I'm very glad you knew what was wrong, I was completely at a loss. Thank you. It seems like this needs a bug report but there's no consistent recipe that I can find. On 6/1/20 7:49 PM, scott--- via use-livecode wrote: > For me, when I run across this (and I have several times? including one just last week) it is almost always acceleratedRendering. > > I usually end up toggling it off and on and then all works fine. > > Sometimes I wrap code between these but sometimes I just put this at the end of the handler that introduces the unresponsive object. > set the acceleratedRendering of this stack to "false" > set the acceleratedRendering of this stack to ?true? > > -- > 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 Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode wrote: >> >> Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. >> >> Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. >> >> This is only on iOS. In the IDE and Android everything works normally. >> >> -- >> 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 Jun 2 00:30:30 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 1 Jun 2020 21:30:30 -0700 Subject: iOS builds ignore taps In-Reply-To: References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> Message-ID: On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: > Oh my gosh, I *never* would have guessed that fullscreenMode was the > culprit. That's kind of screwy isn't it? Why would it block taps? And > not consistently either. WTF? -- Mark Wieder ahsoftware at gmail.com From scott at elementarysoftware.com Tue Jun 2 01:34:42 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 1 Jun 2020 22:34:42 -0700 Subject: iOS builds ignore taps In-Reply-To: References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> Message-ID: <0BEA6DB3-5F60-42C7-BAF1-C5436ED7E939@elementarysoftware.com> I don?t use fullscreenMode. Is acceleratedRendering a default requirement of fullscreenMode? I?ve been unable to create a simple recipe. In my cases I am suspicious that it has something to do with overlapping groups? but obviously it is more than that. ? Scott > On Jun 1, 2020, at 9:15 PM, J. Landman Gay via use-livecode wrote: > > Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. > > I'm very glad you knew what was wrong, I was completely at a loss. Thank you. It seems like this needs a bug report but there's no consistent recipe that I can find. > > > On 6/1/20 7:49 PM, scott--- via use-livecode wrote: >> For me, when I run across this (and I have several times? including one just last week) it is almost always acceleratedRendering. >> I usually end up toggling it off and on and then all works fine. >> Sometimes I wrap code between these but sometimes I just put this at the end of the handler that introduces the unresponsive object. >> set the acceleratedRendering of this stack to "false" >> set the acceleratedRendering of this stack to ?true? >> -- >> 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 Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode wrote: >>> >>> Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. >>> >>> Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. >>> >>> This is only on iOS. In the IDE and Android everything works normally. >>> >>> -- >>> 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 scott at elementarysoftware.com Tue Jun 2 01:47:05 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 1 Jun 2020 22:47:05 -0700 Subject: iOS builds ignore taps In-Reply-To: <0BEA6DB3-5F60-42C7-BAF1-C5436ED7E939@elementarysoftware.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <0BEA6DB3-5F60-42C7-BAF1-C5436ED7E939@elementarysoftware.com> Message-ID: <3B174F2C-473A-49F9-8BF6-EC1E16C8C168@elementarysoftware.com> And it seems that, at least in my last run-in, the taps were actually going through? it is just that they weren't being drawn on the screen. I had displayed a group with a visual effect inside a rect? only controls inside the rect appeared unresponsive. When put away using unlock the screen with visual effect, I could briefly see the selection on some radio buttons change. ? Scott > On Jun 1, 2020, at 10:34 PM, scott--- via use-livecode wrote: > > I don?t use fullscreenMode. Is acceleratedRendering a default requirement of fullscreenMode? > > I?ve been unable to create a simple recipe. In my cases I am suspicious that it has something to do with overlapping groups? but obviously it is more than that. > ? > Scott > >> On Jun 1, 2020, at 9:15 PM, J. Landman Gay via use-livecode wrote: >> >> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >> >> I'm very glad you knew what was wrong, I was completely at a loss. Thank you. It seems like this needs a bug report but there's no consistent recipe that I can find. >> >> >> On 6/1/20 7:49 PM, scott--- via use-livecode wrote: >>> For me, when I run across this (and I have several times? including one just last week) it is almost always acceleratedRendering. >>> I usually end up toggling it off and on and then all works fine. >>> Sometimes I wrap code between these but sometimes I just put this at the end of the handler that introduces the unresponsive object. >>> set the acceleratedRendering of this stack to "false" >>> set the acceleratedRendering of this stack to ?true? >>> -- >>> 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 Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. >>>> >>>> Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. >>>> >>>> This is only on iOS. In the IDE and Android everything works normally. >>>> >>>> -- >>>> 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 jacque at hyperactivesw.com Tue Jun 2 02:56:08 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 2 Jun 2020 01:56:08 -0500 Subject: iOS builds ignore taps In-Reply-To: <3B174F2C-473A-49F9-8BF6-EC1E16C8C168@elementarysoftware.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <0BEA6DB3-5F60-42C7-BAF1-C5436ED7E939@elementarysoftware.com> <3B174F2C-473A-49F9-8BF6-EC1E16C8C168@elementarysoftware.com> Message-ID: <52776b88-b562-fcdc-31a9-c1cdb3c6af41@hyperactivesw.com> I meant acceleratedRendering, sorry. I was talking to someone about fullscreenMode right before I answered you and had a think-o. I do have acceleratedRendering enabled in my app. I also ran into the problem you described below -- taps went through but the screen did not redraw so the content didn't change. I had to force a screen redraw in several places using "set the backcolor of this cd to the backcolor of this cd". It took me hours to figure out what was wrong, I kept thinking it was something in my scripts. In my case that happened when a group was shown with a visual efect, like you did. The card content did not change. Taps did go through but visually there was no update. That was different from the one I started this thread with, which had no response at all. The script didn't run, breakpoints did not trigger. I even put a transparent button over the graphic to see if that would work and it didn't trigger either. This was on the first card shown at launch. But a field at the bottom of the card did receive a mouseup, so the problem was related to only part of the card. I poked around trying to find where the dead edges were but it didn't match any groups or controls in particular. The weird part is that it worked in some builds and not in others, though I never changed acceleratedRendering settings. This could be a problem since the fields hold credentials and the graphic is a "Log In" button. On the bright side, it keeps users out of the app which cuts down substantially on maintenance. On 6/2/20 12:47 AM, scott--- via use-livecode wrote: > And it seems that, at least in my last run-in, the taps were actually going through? it is just that they weren't being drawn on the screen. I had displayed a group with a visual effect inside a rect? only controls inside the rect appeared unresponsive. When put away using unlock the screen with visual effect, I could briefly see the selection on some radio buttons change. > ? > Scott > >> On Jun 1, 2020, at 10:34 PM, scott--- via use-livecode wrote: >> >> I don?t use fullscreenMode. Is acceleratedRendering a default requirement of fullscreenMode? >> >> I?ve been unable to create a simple recipe. In my cases I am suspicious that it has something to do with overlapping groups? but obviously it is more than that. >> ? >> Scott >> >>> On Jun 1, 2020, at 9:15 PM, J. Landman Gay via use-livecode wrote: >>> >>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >>> >>> I'm very glad you knew what was wrong, I was completely at a loss. Thank you. It seems like this needs a bug report but there's no consistent recipe that I can find. >>> >>> >>> On 6/1/20 7:49 PM, scott--- via use-livecode wrote: >>>> For me, when I run across this (and I have several times? including one just last week) it is almost always acceleratedRendering. >>>> I usually end up toggling it off and on and then all works fine. >>>> Sometimes I wrap code between these but sometimes I just put this at the end of the handler that introduces the unresponsive object. >>>> set the acceleratedRendering of this stack to "false" >>>> set the acceleratedRendering of this stack to ?true? >>>> -- >>>> 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 Jun 1, 2020, at 12:50 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. >>>>> >>>>> Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. >>>>> >>>>> This is only on iOS. In the IDE and Android everything works normally. >>>>> >>>>> -- >>>>> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jun 2 02:58:49 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 2 Jun 2020 01:58:49 -0500 Subject: iOS builds ignore taps In-Reply-To: References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> Message-ID: <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: > On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of >> screwy isn't it? Why would it block taps? And not consistently either. > > WTF? > My mistake. AccleratedRendering. But still...WTF. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From iowahengst at mac.com Tue Jun 2 08:20:24 2020 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 2 Jun 2020 07:20:24 -0500 Subject: iOS builds ignore taps In-Reply-To: <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> Message-ID: <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> I have an iOS app that uses many graphics with movement? in addition to doing as Scott suggested (toggling acceleratedRendering on an off) I also messed with adjusting the compositorCacheLimit. Raising the limit helped. Doing this also helped with some screen redraw issues I saw that sounds consistent with what Scott also mentioned. be well, randy www.classroomFocusedSoftware.com > On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode wrote: > > On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >> WTF? > > My mistake. AccleratedRendering. But still...WTF. > > -- > 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 andre at andregarzia.com Tue Jun 2 10:17:24 2020 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 2 Jun 2020 15:17:24 +0100 Subject: vCard save file format binfile or file? In-Reply-To: <2B7F150A-3BE4-4ACD-B15E-487123C579D5@elloco.com> References: <2B7F150A-3BE4-4ACD-B15E-487123C579D5@elloco.com> Message-ID: A decade ago I wrote a vCard library for LiveCode: https://git.sr.ht/~soapdog/vObjectLib It uses CRLF and file://, I never had trouble opening the generated vCards but I haven't tested this in years. On Mon, 1 Jun 2020 at 01:10, kee nethery via use-livecode < use-livecode at lists.runrev.com> wrote: > > > On May 31, 2020, at 4:56 PM, Bill Vlahos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > If I just use URL file to save vCard files I will get different results > on Windows vs Macintosh regarding CRLF. VCard files are text files. > > UTF-8 files. https://tools.ietf.org/html/rfc6350#section-3.1 > > > The vCard standard requires CRLF as the line format regardless of which > platform the data is being written in. > > True https://tools.ietf.org/html/rfc6350#section-3.2 > > > LiveCode using the URL file command will write the file differently on > Windows compared to Mac or Linux. > > Sure do wish Livecode would let us declare what a ?text? file return > character or characters was for writing a file. Same as we do with > itemdelimiters. Something like: > > set linedelimiter to U+000D & U+000A > > > I can build the variable for the vCard and use CRLF instead of RETURN > for line endings. > > > > If I write the file using URL binfile format will it still be a text > file that other programs can read? > > if you give it a .vcf suffix it should work. > > Kee > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com From andre at andregarzia.com Tue Jun 2 10:21:59 2020 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 2 Jun 2020 15:21:59 +0100 Subject: vCard save file format binfile or file? In-Reply-To: References: <2B7F150A-3BE4-4ACD-B15E-487123C579D5@elloco.com> Message-ID: to be honest, I'd use binfile:// when writing... On Tue, 2 Jun 2020 at 15:17, Andre Garzia wrote: > A decade ago I wrote a vCard library for LiveCode: > > https://git.sr.ht/~soapdog/vObjectLib > > It uses CRLF and file://, I never had trouble opening the generated vCards > but I haven't tested this in years. > > > > On Mon, 1 Jun 2020 at 01:10, kee nethery via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> > On May 31, 2020, at 4:56 PM, Bill Vlahos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > If I just use URL file to save vCard files I will get different results >> on Windows vs Macintosh regarding CRLF. VCard files are text files. >> >> UTF-8 files. https://tools.ietf.org/html/rfc6350#section-3.1 >> >> > The vCard standard requires CRLF as the line format regardless of which >> platform the data is being written in. >> >> True https://tools.ietf.org/html/rfc6350#section-3.2 >> >> > LiveCode using the URL file command will write the file differently on >> Windows compared to Mac or Linux. >> >> Sure do wish Livecode would let us declare what a ?text? file return >> character or characters was for writing a file. Same as we do with >> itemdelimiters. Something like: >> >> set linedelimiter to U+000D & U+000A >> >> > I can build the variable for the vCard and use CRLF instead of RETURN >> for line endings. >> > >> > If I write the file using URL binfile format will it still be a text >> file that other programs can read? >> >> if you give it a .vcf suffix it should work. >> >> Kee >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > http://www.andregarzia.com > > -- http://www.andregarzia.com From ahsoftware at sonic.net Tue Jun 2 11:41:18 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Jun 2020 08:41:18 -0700 Subject: Lost contact Message-ID: <4558654e-0d55-be4b-2920-4c9ed5e05050@sonic.net> I'm getting bounced emails from the following people. If you see your name on this list and you *didn't* get an email from me yesterday, can you send me an email? Thanks. Zac Brewer Ed Cawley Keith Clarke Neil Davis Andre Garzia Robert Glassman Dave Kilroy Tao Meng Warren Samples Harald Schlager Tereza Snyder Chipp Walters -- Mark Wieder ahsoftware at gmail.com From marksmithhfx at gmail.com Tue Jun 2 11:45:30 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 2 Jun 2020 16:45:30 +0100 Subject: Lost contact In-Reply-To: <4558654e-0d55-be4b-2920-4c9ed5e05050@sonic.net> References: <4558654e-0d55-be4b-2920-4c9ed5e05050@sonic.net> Message-ID: <5C74C70C-5043-495D-92DE-64C0AE2831B9@gmail.com> Interesting. I?m not on your list, and I did not get an email from you yesterday, but I did receive this email. M > On Jun 2, 2020, at 4:41 PM, Mark Wieder via use-livecode wrote: > > I'm getting bounced emails from the following people. > If you see your name on this list and you *didn't* get an email from me yesterday, can you send me an email? Thanks. > > Zac Brewer > Ed Cawley > Keith Clarke > Neil Davis > Andre Garzia > Robert Glassman > Dave Kilroy > Tao Meng > Warren Samples > Harald Schlager > Tereza Snyder > Chipp Walters > > -- > 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 Tue Jun 2 11:50:34 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Jun 2020 08:50:34 -0700 Subject: ANN: PowerTools 2.0.22 Message-ID: <8a6bdc58-c3f1-424b-e22d-909e76c11b03@sonic.net> Now that LiveCode 9.6 has had its official release, I have released a new version of PowerTools. In spite of the fact that this is the first release in almost a year, there aren't a lot of changes. They're mostly to do with updates to the core LiveCode product and some bug fixes that I've had time to deal with recently. In particular, the Stack Factory has needed some updates for some time now, and Widget extension folders now nest and unwind properly cross-platform with the new LC versions. The PowerTools plugin now docks magnetically to either side of the LC menubar if you bring it close, and minimizes (double-click the status bar) to a small icon floating next to the menubar. PowerTools registration will never expire, so you will always have access to the latest versions as they're released. https://www.ahsoftware.net/PowerTools/PowerTools.lc https://www.ahsoftware.net/PowerTools/register.lc -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Jun 2 12:03:42 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Jun 2020 09:03:42 -0700 Subject: ANN: PowerDebug 2.2 Message-ID: <2f4ea609-850b-5913-e466-94d443c4bef4@sonic.net> And now that LiveCode 9.6 has had its official release, I have released a new version of PowerDebug. Version 2.2 is significantly refactored (yes, again) in certain areas for speed and to fix some bugs (bugs that nobody reported, so if they didn't bother you, pay no attention to the bugs behind the curtain). And the bigger news is that code profiling is now integrated into PowerDebug. If you're not running the Business edition of LiveCode you'll notice a new entry in the IDE's Development menu. It will toggle between "start profiling code" and "stop profiling code" depending, of course, on the state of the profiler. If you're running the Business edition then you'll already have noticed that menuItem, and PowerDebug's script profiler will be invoked when you select it. Unfortunately, we can't get any more granular that microsecond timing, so nanosecond times are rounded up and then averaged across multiple iterations. https://www.ahsoftware.net/PowerTools/PowerDebug.lc https://www.ahsoftware.net/PowerTools/BuyPowerDebug.lc Documentation is at http://powerdebug.ahsoftware.net And as usual, PowerDebug registration will never expire, so you will always have access to the latest versions as they're released. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Tue Jun 2 14:53:10 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 2 Jun 2020 14:53:10 -0400 Subject: Fonts and Property Inspector / fontNames / fontStyles Different on Every Platform In-Reply-To: <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> Message-ID: <002f01d6390f$12db1a50$38914ef0$@net> LC 9.6 GM Win 10. I have 3 Arial fonts installed. 1) "Arial" with 4 styles (plain, bold, italic, bold-italic) 2) "Arial Narrow" with 4 styles (plain, bold, italic, bold-italic) 3) "Arial Black" with 1 style (plain) In the IDE: Via the PI "Arial Narrow" and "Arial Black" are not accessible. "Arial Narrow" (or Black) are not in seen in LC's fontNames or fontStyles functions either. I guess that's why they are not in the PI. One can select "Arial Narrow" (or Black) by typing the full font name into the PI or set via script. This appears to be a LC Windows IDE limitation with a work-around... OK I can deal with that. MS Word shows all 3 fonts. If you set the font name of a field to empty(PI or Script) then the font of the higher objects are inherited. This is displayed in the PI in italic(as expected). In my environment I have no fonts specified all the way up to the stack so "Segoe UI" (displayed in the PI in italic) is used. Set the font to "XXYYYZZ" then some unknown sans font is used. What font is this? How does LC choose a font when a field is set to a font that is not installed? Font observations by platform. ------------------------ Win 10 using fontNames() and fontStyles(): "Arial" has 4 styles (plain, bold, italic, bold-italic) No mention at all of: "Arial Narrow" "Arial Black" ------------------------ Android using fontNames() and fontStyles(): "Arial" has 4 styles (plain, bold, italic, bold-italic) But also shows "Arial Bold" with 1 style (bold) "Arial Italic" with 1 style (italic) "Arial Bold Italic" with 1 style (bold-italic) "Arial Narrow" 1 styles (plain) "Arial Narrow Bold" with 1 style (plain) "Arial Narrow Italic" with 1 style (plain) "Arial Narrow Bold Italic" with 1 style (plain) "Arial Black" with 1 style (plain) --------------------- iOS using fontNames() and fontStyles(): "Arial" has 1 style (plain) "Arial Bold" with 2 styles (plain, bold) "Arial Italic" with 2 styles (plain, italic) "Arial Bold Italic" with 3 styles (plain, bold, italic) "Arial Narrow " has 1 style (plain) "Arial Narrow Bold" with 2 styles (plain, bold) "Arial Narrow Italic" with 2 styles (plain, italic) "Arial Narrow Bold Italic" with 3 styles (plain, bold, italic) "Arial Black" with 2 styles (plain, bold) --------------------- Mac OS using fontNames() and fontStyles(): (the same as iOS except for the bold italic) "Arial" has 1 style (plain) "Arial Bold" with 2 styles (plain, bold) "Arial Italic" with 2 styles (plain, italic) "Arial Bold Italic" with 4 styles (plain, bold, italic, bold-italic) "Arial Narrow " has 1 style (plain) "Arial Narrow Bold" with 2 styles (plain, bold) "Arial Narrow Italic" with 2 styles (plain, italic) "Arial Narrow Bold Italic" with 4 styles (plain, bold, italic, bold-italic) "Arial Black" with 2 styles (plain, bold) ---------------------------- This is so inconsistent I can't even critique it. How do the rest of you deal with this craziness? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Tue Jun 2 16:15:05 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 2 Jun 2020 15:15:05 -0500 Subject: iOS builds ignore taps In-Reply-To: <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> Message-ID: <42299ea5-0db5-b71b-570c-0763b3158aad@hyperactivesw.com> Did you increase the compositorCacheLimit in addition to toggling acceleratedRendering, or does the adjustment work by itself? Also, were you able to find a good compromise for the increated limit that would work on any i-thing? On 6/2/20 7:20 AM, Randy Hengst via use-livecode wrote: > I have an iOS app that uses many graphics with movement? in addition to doing as Scott suggested (toggling acceleratedRendering on an off) I also messed with adjusting the compositorCacheLimit. Raising the limit helped. Doing this also helped with some screen redraw issues I saw that sounds consistent with what Scott also mentioned. > > > be well, > randy > www.classroomFocusedSoftware.com > >> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode wrote: >> >> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >>> WTF? >> >> My mistake. AccleratedRendering. But still...WTF. >> >> -- >> 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 jacque at hyperactivesw.com Tue Jun 2 16:47:22 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 2 Jun 2020 15:47:22 -0500 Subject: iOS builds ignore taps In-Reply-To: References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> Message-ID: On 6/1/20 3:19 PM, matthias rebbe via use-livecode wrote: > I am not sure if this will solve your problem, but did you try the touch messages instead? It may have changed since I last tried that, which was years ago, but I found that if you have both mouse and touch messages, you get both messages on mobile which causes actions to happen (or fail) twice. If I don't have mouse messages I can't work in the IDE. I'd hate to wrap every mouse message in a test for the environment, so I just stopped using touches. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Tue Jun 2 17:49:40 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 2 Jun 2020 14:49:40 -0700 Subject: iOS builds ignore taps In-Reply-To: References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> Message-ID: <689F93C2-0256-4913-8F53-4D1AADDD908D@elementarysoftware.com> I haven?t found that using touch messages instead of mouse messages makes any difference. -- Scott > On Jun 1, 2020, at 1:19 PM, matthias rebbe via use-livecode wrote: > > > I am not sure if this will solve your problem, but did you try the touch messages instead? > > Matthias > > >> Am 01.06.2020 um 21:50 schrieb J. Landman Gay via use-livecode : >> >> Has anyone seen this problem? On an iOS build, normal LC controls sometimes do not respond to mouseUp events. There are no native controls involved -- the worst offender is a regular LC graphic that serves as a login button. Sometimes it just doesn't trigger. Other times it's a locked LC field that needs to respond with clicktext. No handlers run at all. >> >> Sometimes if I edit a script (any script, not the object involved) and rebuild, taps work again in some places but still not in others. >> >> This is only on iOS. In the IDE and Android everything works normally. >> >> -- >> 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 dochawk at gmail.com Tue Jun 2 19:54:22 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 2 Jun 2020 16:54:22 -0700 Subject: [ANN] Release 9.6.0 In-Reply-To: References: <3E3CA5CF-E1B5-47A4-BE46-816A5C6BF4F5@mac.com> Message-ID: <49ABCD74-DF80-48DC-8A17-3C4EFE7F2992@gmail.com> > Panos protested, > I have not seen that error before, Now *those* are words to make one shudder . . . :_) But I once got a new high-end laptop from it . . . Remember several years ago, when the MacBooks had a problem when switching video cards (the Pros had two, one for performance, and one for battery life)? I had one of the first (maybe the first) machines on which it could be replicated. Mine kernel panicked several nights a week. I brought it in, and it was spitting codes that weren?t even in Cupertino?s database. The third time, they wanted to do an autopsy, I think . . . so they refunded my machine, and sold me the newer version (the middle 15? Pro) for the same price?and commented that they (at the store) had two reasons: I always brought in interesting questions, and the I?d actually understand and appreciate what they were doing. From scott at elementarysoftware.com Tue Jun 2 20:55:42 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 2 Jun 2020 17:55:42 -0700 Subject: iOS builds ignore taps In-Reply-To: <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> Message-ID: <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> Hello Randy, Adjusting the compositorCacheLimit (instead of toggling the acceleratedRendering) also seems to fix my most recent encounter. It is good to have work-arounds but frustrating to have the issue crop up. ? Scott > On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode wrote: > > I have an iOS app that uses many graphics with movement? in addition to doing as Scott suggested (toggling acceleratedRendering on an off) I also messed with adjusting the compositorCacheLimit. Raising the limit helped. Doing this also helped with some screen redraw issues I saw that sounds consistent with what Scott also mentioned. > > > be well, > randy > www.classroomFocusedSoftware.com > >> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode wrote: >> >> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >>> WTF? >> >> My mistake. AccleratedRendering. But still...WTF. >> >> -- >> 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 scott at elementarysoftware.com Tue Jun 2 21:33:30 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 2 Jun 2020 18:33:30 -0700 Subject: iOS builds ignore taps In-Reply-To: <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> Message-ID: <5C1E47C4-9D78-42A3-8F34-EA6CA4CDC0D8@elementarysoftware.com> I had two different scrolling groups on a card where I found it necessary to toggling acceleratedRendering. I just discovered that neither of these groups had the layerMode set to ?scrolling? (they were both ?static?). Though they appeared to scroll smoothly on all my test devices, changing their layerModes to ?scrolling? now makes it so the acceleratedRendering doesn?t need to be fiddled with in order for other objects to display correctly. ? Scott > On Jun 2, 2020, at 5:55 PM, scott--- via use-livecode wrote: > > Hello Randy, > > Adjusting the compositorCacheLimit (instead of toggling the acceleratedRendering) also seems to fix my most recent encounter. It is good to have work-arounds but frustrating to have the issue crop up. > > ? > Scott > >> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode wrote: >> >> I have an iOS app that uses many graphics with movement? in addition to doing as Scott suggested (toggling acceleratedRendering on an off) I also messed with adjusting the compositorCacheLimit. Raising the limit helped. Doing this also helped with some screen redraw issues I saw that sounds consistent with what Scott also mentioned. >> >> >> be well, >> randy >> www.classroomFocusedSoftware.com >> >>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode wrote: >>> >>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >>>> WTF? >>> >>> My mistake. AccleratedRendering. But still...WTF. >>> >>> -- >>> 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 Wed Jun 3 00:50:45 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Jun 2020 23:50:45 -0500 Subject: iOS builds ignore taps In-Reply-To: <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> Message-ID: <17278837688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> How much did you increase the compositorCacheLimit? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 2, 2020 7:57:58 PM scott--- via use-livecode wrote: > Hello Randy, > > Adjusting the compositorCacheLimit (instead of toggling the > acceleratedRendering) also seems to fix my most recent encounter. It is > good to have work-arounds but frustrating to have the issue crop up. > > ? > Scott > >> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode >> wrote: >> >> I have an iOS app that uses many graphics with movement? in addition to >> doing as Scott suggested (toggling acceleratedRendering on an off) I also >> messed with adjusting the compositorCacheLimit. Raising the limit helped. >> Doing this also helped with some screen redraw issues I saw that sounds >> consistent with what Scott also mentioned. >> >> >> be well, >> randy >> www.classroomFocusedSoftware.com >> >>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode >>> wrote: >>> >>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the >>>>> culprit. That's kind of screwy isn't it? Why would it block taps? And not >>>>> consistently either. >>>> WTF? >>> >>> My mistake. AccleratedRendering. But still...WTF. >>> >>> -- >>> 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 scott at elementarysoftware.com Wed Jun 3 01:33:47 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 2 Jun 2020 22:33:47 -0700 Subject: iOS builds ignore taps In-Reply-To: <17278837688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> <17278837688.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <60876D5C-E853-48B1-AD42-3A3D55CB7AA1@elementarysoftware.com> On the test device (an iPhone 6s) it was reporting a compositorCacheLimit of 67108864 (64Mb?) and I increased it by 16Mbs to 83886080 which solved the problem. I didn?t try to find where the edge was. After looking at the layerMode of underlying groups and changing ones that obviously should have been set to scrolling but for some reason were static, fiddling with the acceleratedRendering or compositorCacheLimit was no longer necessary. ? Scott > On Jun 2, 2020, at 9:50 PM, J. Landman Gay via use-livecode wrote: > > How much did you increase the compositorCacheLimit? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 2, 2020 7:57:58 PM scott--- via use-livecode wrote: > >> Hello Randy, >> >> Adjusting the compositorCacheLimit (instead of toggling the acceleratedRendering) also seems to fix my most recent encounter. It is good to have work-arounds but frustrating to have the issue crop up. >> >> ? >> Scott >> >>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode wrote: >>> >>> I have an iOS app that uses many graphics with movement? in addition to doing as Scott suggested (toggling acceleratedRendering on an off) I also messed with adjusting the compositorCacheLimit. Raising the limit helped. Doing this also helped with some screen redraw issues I saw that sounds consistent with what Scott also mentioned. >>> >>> >>> be well, >>> randy >>> www.classroomFocusedSoftware.com >>> >>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >>>>> WTF? >>>> >>>> My mistake. AccleratedRendering. But still...WTF. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jun 3 01:46:25 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jun 2020 00:46:25 -0500 Subject: iOS builds ignore taps In-Reply-To: <5C1E47C4-9D78-42A3-8F34-EA6CA4CDC0D8@elementarysoftware.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> <5C1E47C4-9D78-42A3-8F34-EA6CA4CDC0D8@elementarysoftware.com> Message-ID: <1727897c1d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> In my case all groups that use a scroller have scrolling layermode set. They work. The primary problem for me is that regular LC controls stop getting messages and responding to taps. All these controls are set to static layermode, so I'm not sure how acceleratedRendering could affect them. But it does bring the app to a screeching halt. I wish I had a recipe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 2, 2020 8:35:49 PM scott--- via use-livecode wrote: > I had two different scrolling groups on a card where I found it necessary > to toggling acceleratedRendering. I just discovered that neither of these > groups had the layerMode set to ?scrolling? (they were both ?static?). > Though they appeared to scroll smoothly on all my test devices, changing > their layerModes to ?scrolling? now makes it so the acceleratedRendering > doesn?t need to be fiddled with in order for other objects to display > correctly. > ? > Scott > >> On Jun 2, 2020, at 5:55 PM, scott--- via use-livecode >> wrote: >> >> Hello Randy, >> >> Adjusting the compositorCacheLimit (instead of toggling the >> acceleratedRendering) also seems to fix my most recent encounter. It is >> good to have work-arounds but frustrating to have the issue crop up. >> >> ? >> Scott >> >>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode >>> wrote: >>> >>> I have an iOS app that uses many graphics with movement? in addition to >>> doing as Scott suggested (toggling acceleratedRendering on an off) I also >>> messed with adjusting the compositorCacheLimit. Raising the limit helped. >>> Doing this also helped with some screen redraw issues I saw that sounds >>> consistent with what Scott also mentioned. >>> >>> >>> be well, >>> randy >>> www.classroomFocusedSoftware.com >>> >>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the >>>>>> culprit. That's kind of screwy isn't it? Why would it block taps? And not >>>>>> consistently either. >>>>> WTF? >>>> >>>> My mistake. AccleratedRendering. But still...WTF. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Wed Jun 3 02:03:03 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 2 Jun 2020 23:03:03 -0700 Subject: iOS builds ignore taps In-Reply-To: <1727897c1d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> <5C1E47C4-9D78-42A3-8F34-EA6CA4CDC0D8@elementarysoftware.com> <1727897c1d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I have run into that same scenario more than once. In most cases, over time as I continue to change things, these situations resolve themselves so that toggling acceleratedRendering is no longer needed. But what exactly changed is a mystery :- ) > On Jun 2, 2020, at 10:46 PM, J. Landman Gay via use-livecode wrote: > > In my case all groups that use a scroller have scrolling layermode set. They work. The primary problem for me is that regular LC controls stop getting messages and responding to taps. > > All these controls are set to static layermode, so I'm not sure how acceleratedRendering could affect them. But it does bring the app to a screeching halt. I wish I had a recipe. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 2, 2020 8:35:49 PM scott--- via use-livecode wrote: > >> I had two different scrolling groups on a card where I found it necessary to toggling acceleratedRendering. I just discovered that neither of these groups had the layerMode set to ?scrolling? (they were both ?static?). Though they appeared to scroll smoothly on all my test devices, changing their layerModes to ?scrolling? now makes it so the acceleratedRendering doesn?t need to be fiddled with in order for other objects to display correctly. >> ? >> Scott >> >>> On Jun 2, 2020, at 5:55 PM, scott--- via use-livecode wrote: >>> >>> Hello Randy, >>> >>> Adjusting the compositorCacheLimit (instead of toggling the acceleratedRendering) also seems to fix my most recent encounter. It is good to have work-arounds but frustrating to have the issue crop up. >>> >>> ? >>> Scott >>> >>>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode wrote: >>>> >>>> I have an iOS app that uses many graphics with movement? in addition to doing as Scott suggested (toggling acceleratedRendering on an off) I also messed with adjusting the compositorCacheLimit. Raising the limit helped. Doing this also helped with some screen redraw issues I saw that sounds consistent with what Scott also mentioned. >>>> >>>> >>>> be well, >>>> randy >>>> www.classroomFocusedSoftware.com >>>> >>>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the culprit. That's kind of screwy isn't it? Why would it block taps? And not consistently either. >>>>>> WTF? >>>>> >>>>> My mistake. AccleratedRendering. But still...WTF. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jun 3 07:13:27 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 3 Jun 2020 13:13:27 +0200 Subject: SHELL command works in Terminal but not via SHELL in LC Message-ID: Hi friends, maybe someone has a brilliant hint for me! :-) A customer of mine has installed ffmpeg on his mac via Terminal: 1. google: homebrew 2. terminal: brew install ffmpeg or whatever the command were... Now ffmpeg is available on his Mac and something like: ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test2.mp4 is working as exspected. However if he fires this in LC: on mouseUp put shell("ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test3.mp4") end mouseUp He gets: /bin/sh: line 1: ffmpeg: command not found But this is working in the Terminal!? What is going on here and how can this be fixed? Does some environment or PATH variable need to be set additonally? Thanks a lot in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From mark at livecode.com Wed Jun 3 07:24:37 2020 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Jun 2020 12:24:37 +0100 Subject: SHELL command works in Terminal but not via SHELL in LC In-Reply-To: References: Message-ID: On 2020-06-03 12:13, Klaus major-k via use-livecode wrote: > However if he fires this in LC: > on mouseUp > put shell("ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif > test3.mp4") > end mouseUp > > He gets: > /bin/sh: line 1: ffmpeg: command not found > > But this is working in the Terminal!? > What is going on here and how can this be fixed? > Does some environment or PATH variable need to be set additonally? > > Thanks a lot in advance! Yes - when you launch an app from Finder it has a minimal set of environment variables. Moreover, Terminal will run scripts when a session is started which can add to them (I suspect homebrew adds something to .bashrc or similar which sets up the PATH appropriately). You can easily see what the differences are though by using the 'export' shell command... If you run 'export' from Terminal it will give you the list of all environment variables; then if you do 'answer shell("export")' in LC you will see what ones are defined there - its then a simple case of 'spot the difference' :) Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ludovic.thebault at laposte.net Wed Jun 3 07:26:04 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 3 Jun 2020 13:26:04 +0200 Subject: SHELL command works in Terminal but not via SHELL in LC In-Reply-To: References: Message-ID: <210B5805-AB43-4F9B-937E-095F2ADB1270@laposte.net> > Le 3 juin 2020 ? 13:13, Klaus major-k via use-livecode a ?crit : > > Hi friends, > > maybe someone has a brilliant hint for me! :-) > > A customer of mine has installed ffmpeg on his mac via Terminal: > 1. google: homebrew > 2. terminal: brew install ffmpeg > or whatever the command were... > > Now ffmpeg is available on his Mac and something like: > ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test2.mp4 > is working as exspected. > > However if he fires this in LC: > on mouseUp > put shell("ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test3.mp4") > end mouseUp > > He gets: > /bin/sh: line 1: ffmpeg: command not found > > But this is working in the Terminal!? > What is going on here and how can this be fixed? > Does some environment or PATH variable need to be set additonally? > Yes, you need to set the PATH like : if "/usr/local/bin" is not in $PATH then put "/usr/local/bin:" before $PATH But with the path of ffmepg. From klaus at major-k.de Wed Jun 3 07:43:42 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 3 Jun 2020 13:43:42 +0200 Subject: SHELL command works in Terminal but not via SHELL in LC In-Reply-To: <210B5805-AB43-4F9B-937E-095F2ADB1270@laposte.net> References: <210B5805-AB43-4F9B-937E-095F2ADB1270@laposte.net> Message-ID: <9053ED1C-6E55-4992-BDF1-02620463BB1C@major-k.de> Hi Mark and Ludovic, thank you, will pass this info to my customer! > Yes - when you launch an app from Finder it has a minimal set of environment variables. > > Moreover, Terminal will run scripts when a session is started which can add to them (I suspect homebrew adds something to .bashrc or similar which sets up the PATH appropriately). > > You can easily see what the differences are though by using the 'export' shell command... > > If you run 'export' from Terminal it will give you the list of all environment variables; then if you do 'answer shell("export")' in LC you will see what ones are defined there - its then a simple case of 'spot the difference' :) > > Hope this helps! > > Mark. > ... > Yes, you need to set the PATH like : > if "/usr/local/bin" is not in $PATH then put "/usr/local/bin:" before $PATH > > But with the path of ffmepg. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Wed Jun 3 12:52:18 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jun 2020 11:52:18 -0500 Subject: iOS builds ignore taps In-Reply-To: References: <49344d0a-9f29-b0a9-c8f6-ef31d7d20e6c@hyperactivesw.com> <75BB2A3E-DD9C-4E31-BB83-0F99DAA280A6@elementarysoftware.com> <480d855b-1729-bfd0-d1e7-be007ea6f1b5@hyperactivesw.com> <2A44C93E-F8F0-4A85-9DE6-6F49F2F3CEAD@mac.com> <42D9BF19-227E-462B-AC58-5FAE29CFC4D4@elementarysoftware.com> <5C1E47C4-9D78-42A3-8F34-EA6CA4CDC0D8@elementarysoftware.com> <1727897c1d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1727b1909d0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's exactly what I saw. I changed the script of a completely unrelated control elsewhere and the login graphic started working again. I wish I'd saved the bad stack to send to the team. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 3, 2020 1:05:07 AM scott--- via use-livecode wrote: > I have run into that same scenario more than once. In most cases, over time > as I continue to change things, these situations resolve themselves so that > toggling acceleratedRendering is no longer needed. But what exactly changed > is a mystery :- ) > >> On Jun 2, 2020, at 10:46 PM, J. Landman Gay via use-livecode >> wrote: >> >> In my case all groups that use a scroller have scrolling layermode set. >> They work. The primary problem for me is that regular LC controls stop >> getting messages and responding to taps. >> >> All these controls are set to static layermode, so I'm not sure how >> acceleratedRendering could affect them. But it does bring the app to a >> screeching halt. I wish I had a recipe. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On June 2, 2020 8:35:49 PM scott--- via use-livecode >> wrote: >> >>> I had two different scrolling groups on a card where I found it necessary >>> to toggling acceleratedRendering. I just discovered that neither of these >>> groups had the layerMode set to ?scrolling? (they were both ?static?). >>> Though they appeared to scroll smoothly on all my test devices, changing >>> their layerModes to ?scrolling? now makes it so the acceleratedRendering >>> doesn?t need to be fiddled with in order for other objects to display >>> correctly. >>> ? >>> Scott >>> >>>> On Jun 2, 2020, at 5:55 PM, scott--- via use-livecode >>>> wrote: >>>> >>>> Hello Randy, >>>> >>>> Adjusting the compositorCacheLimit (instead of toggling the >>>> acceleratedRendering) also seems to fix my most recent encounter. It is >>>> good to have work-arounds but frustrating to have the issue crop up. >>>> >>>> ? >>>> Scott >>>> >>>>> On Jun 2, 2020, at 5:20 AM, Randy Hengst via use-livecode >>>>> wrote: >>>>> >>>>> I have an iOS app that uses many graphics with movement? in addition to >>>>> doing as Scott suggested (toggling acceleratedRendering on an off) I also >>>>> messed with adjusting the compositorCacheLimit. Raising the limit helped. >>>>> Doing this also helped with some screen redraw issues I saw that sounds >>>>> consistent with what Scott also mentioned. >>>>> >>>>> >>>>> be well, >>>>> randy >>>>> www.classroomFocusedSoftware.com >>>>> >>>>>> On Jun 2, 2020, at 1:58 AM, J. Landman Gay via use-livecode >>>>>> wrote: >>>>>> >>>>>> On 6/1/20 11:30 PM, Mark Wieder via use-livecode wrote: >>>>>>> On 6/1/20 9:15 PM, J. Landman Gay via use-livecode wrote: >>>>>>>> Oh my gosh, I *never* would have guessed that fullscreenMode was the >>>>>>>> culprit. That's kind of screwy isn't it? Why would it block taps? And not >>>>>>>> consistently either. >>>>>>> WTF? >>>>>> >>>>>> My mistake. AccleratedRendering. But still...WTF. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jun 3 13:28:38 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 3 Jun 2020 10:28:38 -0700 Subject: SHELL command works in Terminal but not via SHELL in LC In-Reply-To: <210B5805-AB43-4F9B-937E-095F2ADB1270@laposte.net> References: <210B5805-AB43-4F9B-937E-095F2ADB1270@laposte.net> Message-ID: <345d8895-324f-6500-d6ae-a50fe4d22297@sonic.net> On 6/3/20 4:26 AM, Ludovic THEBAULT via use-livecode wrote: > Yes, you need to set the PATH like : > if "/usr/local/bin" is not in $PATH then put "/usr/local/bin:" before $PATH > > But with the path of ffmepg. Or be explicit in the commandline if you don't want to change the PATH (watch the wordwrap): put shell("/usr/bin/ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test3.mp4") If you don't know where ffmpeg is installed, try which ffmpeg -- Mark Wieder ahsoftware at gmail.com From dan at clearvisiontech.com Thu Jun 4 11:23:00 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 4 Jun 2020 15:23:00 +0000 Subject: Datagrid Scrollers Message-ID: <0B5AE3DA-D4E0-4A8E-A784-C8178B40DD54@clearvisiontech.com> Hello! I am having an issue with a DataGrid's scroller. The DataGrid is in another group ("flyupMenu") that is located off-screen at the bottom (the top of grp " flyupMenu " = the bottom of the card). Then, when a button is clicked, "flyupMenu" is moved up into view. At this point everything looks good. However, you can't swipe the DataGrid to change the scroll. It is nonresponsive or isn't there. I found the DataGrid's scroller (it's the long id of the DataGrid), and it's location is the original position below the card. I tried everything I can think of to "reset" the scroller, but nothing has worked. I changed the size of the DataGrid, I set the rect of the scroller to the rect of the DataGrid, I reloaded the DataGrid's dgData... nothing has worked to get the scroller to respond to touch. Any thoughts? From jacque at hyperactivesw.com Thu Jun 4 15:22:31 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 4 Jun 2020 14:22:31 -0500 Subject: Scrolling jitter Message-ID: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> So far I've had two complaints from Android users that scrolling fields in our app are jittering when scrolled. Every field that needs to scroll is set up identically: Field expanded to full formattedheight Enclosing (shorter) group is unadorned Group is set to scrolling layermode AcceleratedRendering is set to true (on launch, and remains unchanged throughout) But when I check the "effective layermode" I get "static". Why? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jun 4 15:49:37 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 4 Jun 2020 14:49:37 -0500 Subject: Scrolling jitter In-Reply-To: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> Message-ID: <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote: > So far I've had two complaints from Android users that scrolling fields in our app are > jittering when scrolled. Every field that needs to scroll is set up identically: > > Field expanded to full formattedheight > Enclosing (shorter) group is unadorned > Group is set to scrolling layermode > AcceleratedRendering is set to true (on launch, and remains unchanged throughout) > > But when I check the "effective layermode" I get "static". Why? > Update: that was in IDE and acceleratedRendering wasn't turned on there. However, it is set to true on mobile and that's where the jitter happens. Anything else I can do about that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Fri Jun 5 13:03:45 2020 From: jiml at netrin.com (Jim Lambert) Date: Fri, 5 Jun 2020 10:03:45 -0700 Subject: Scrolling jitter In-Reply-To: References: Message-ID: <33CB33B6-69BF-481F-AE49-EAA847A1BEC1@netrin.com> Clearly jitterbugs! From paul at researchware.com Fri Jun 5 13:15:11 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 5 Jun 2020 13:15:11 -0400 Subject: Unicode and languages Message-ID: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> In all the added stuff the LC7 and higher Unicode engine includes, is there any way to determine the LANGUAGE of a range of text? USE-CASE We have a tool that helps researchers transcribe text from digital media. It is used internationally. We have added spell checking using lclSpell form Live Code Labs, a LiveCode store add-on. For lclSpell, we only have Dictionaries for a small set of languages. You can build you own Dictionaries for lclSpell, but we'll still only have Dictionaries for a small subset of the languages people transcribe in. We also have people who do BOTH transcription AND translations. For example, transcribing a Chinese language media recording, typing in the Simplified or Traditional Chinese characters AND then translate it to English, typing the English translation after the transcription. With lclSpell (or I suspect ANY LiveCode compatible spell checker) if you try to spell check a reasonably large chunk of text that is NOT in the same language as your Dictionary, it ties up LiveCode forever, or at least such a long time and most people would force-quit. It is after all marking every word as misspelled and trying to do whatever it does to determine? that. Now, you can react, that the researcher should just KNOW better than to do Spell check a text in a language that is not their loaded Dictionary! However, people are people, and will do such things and expect software to protect them from their own mistakes. Also, with mixed transcription and translation, you do want to spell check the English part and skip the Chinese (if you do not have a Chinese Dictionary) So, we're looking for a way to detect the LANGUAGE of a range of text, in a LiveCode field, to be able to then determine whether it matches the current (or any available) dictionary or not and act accordingly. There is a "fontLanguage" function in LC, but that seem to predate Unicode Everywhere and seem pretty useless now. For example. in a new stack, with a single scrolling field, we paste in a Chinese text and then execute: put the fontLanguage of (the effective textfont of char 1 to -1 of fld 1) and get "ansi". Even you you set the range (char 2 to 3) that is specifically Chinese (no white space), it still returns "ansi". The textFont returns empty and the effective textFont returns "Segue UI" I don't even know if language exists in the IBM Unicode engine as some exportable property a future version of LiveCode could expose. Any clever ideas or thoughts on this problem are welcome. From mark at livecode.com Fri Jun 5 13:46:43 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 05 Jun 2020 18:46:43 +0100 Subject: Unicode and languages In-Reply-To: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> References: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> Message-ID: <1b0def2b17a7f25b67bd390ce07374ce@livecode.com> On 2020-06-05 18:15, Paul Dupuis via use-livecode wrote: > I don't even know if language exists in the IBM Unicode engine as some > exportable property a future version of LiveCode could expose. > > Any clever ideas or thoughts on this problem are welcome. Unicode doesn't deal in languages but 'scripts' e.g. English and French are both written in the Latin script, whereas Ukrainian can be written in either the Latin or Cyrillic script. LiveCode gives you access to the unicode properties of all codepoints (as held by ICU) via the 'codepointProperty(codepoint, property)' function. e.g. codepointProperty("A", "Script") => "Latin" codepointProperty(numToCodepoint(0x03B1), "Script") => "Greek" This might at least help to cut out trying to spellcheck things which are definitely not the languages you do have dictionaries for. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Fri Jun 5 14:01:54 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 5 Jun 2020 14:01:54 -0400 Subject: Unicode and languages In-Reply-To: <1b0def2b17a7f25b67bd390ce07374ce@livecode.com> References: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> <1b0def2b17a7f25b67bd390ce07374ce@livecode.com> Message-ID: <70e29212-d21c-9d70-2551-eb55e7f166c7@researchware.com> On 6/5/2020 1:46 PM, Mark Waddingham via use-livecode wrote: > On 2020-06-05 18:15, Paul Dupuis via use-livecode wrote: >> I don't even know if language exists in the IBM Unicode engine as some >> exportable property a future version of LiveCode could expose. >> >> Any clever ideas or thoughts on this problem are welcome. > > Unicode doesn't deal in languages but 'scripts' e.g. English and > French are both written in the Latin script, whereas Ukrainian can be > written in either the Latin or Cyrillic script. > > LiveCode gives you access to the unicode properties of all codepoints > (as held by ICU) via the 'codepointProperty(codepoint, property)' > function. > > e.g. codepointProperty("A", "Script") => "Latin" > ???? codepointProperty(numToCodepoint(0x03B1), "Script") => "Greek" > > This might at least help to cut out trying to spellcheck things which > are definitely not the languages you do have dictionaries for. > > Warmest Regards, > > Mark. > Thank you Mark! That is a least a start as to minimizing the problem for our customers. We can make a table of Scripts to Dictionaries and at least prevent erroneous spell checking of Chinese with an English Dictionary! From jacque at hyperactivesw.com Fri Jun 5 14:15:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 5 Jun 2020 13:15:02 -0500 Subject: Scrolling jitter In-Reply-To: <33CB33B6-69BF-481F-AE49-EAA847A1BEC1@netrin.com> References: <33CB33B6-69BF-481F-AE49-EAA847A1BEC1@netrin.com> Message-ID: <888adfdf-f833-f996-df4e-891807779d9d@hyperactivesw.com> On 6/5/20 12:03 PM, Jim Lambert via use-livecode wrote: > Clearly jitterbugs! Our age is showing. ;) I'd still like to know the cause though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Fri Jun 5 14:32:03 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 5 Jun 2020 11:32:03 -0700 Subject: revCopyFolder - execution error in standalone Message-ID: <3820CA2A-0076-4B17-A3E1-8A2B112B1F91@gmail.com> I'm trying to implement "revCopyFolder" in a standalone. It works fine in the IDE but gets an "execution error" in a standalone. In the dictionary it says the "Common library" is implemented. I am manually setting inclusions and don't see anything there that hints at this. Is there some library that I need to select? I have been using revMoveFolder successfully in this same standalone. Any tips? Thanks, Marty From richmondmathewson at gmail.com Fri Jun 5 14:40:23 2020 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Jun 2020 21:40:23 +0300 Subject: Unicode and languages In-Reply-To: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> References: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> Message-ID: <0fce6cac-b605-b4d0-37a8-a602cba07d9f@gmail.com> I doubt that. But if you can determine the Unicode range that is being used you can at least know which writing system is being used. You could then trap for individual glyphs (such as '?', which is only used in Macedonian) to narrow things down a spot. On 5.06.20 20:15, Paul Dupuis via use-livecode wrote: > In all the added stuff the LC7 and higher Unicode engine includes, is > there any way to determine the LANGUAGE of a range of text? > > USE-CASE > > We have a tool that helps researchers transcribe text from digital > media. It is used internationally. We have added spell checking using > lclSpell form Live Code Labs, a LiveCode store add-on. > > For lclSpell, we only have Dictionaries for a small set of languages. > You can build you own Dictionaries for lclSpell, but we'll still only > have Dictionaries for a small subset of the languages people > transcribe in. We also have people who do BOTH transcription AND > translations. > > For example, transcribing a Chinese language media recording, typing > in the Simplified or Traditional Chinese characters AND then translate > it to English, typing the English translation after the transcription. > > With lclSpell (or I suspect ANY LiveCode compatible spell checker) if > you try to spell check a reasonably large chunk of text that is NOT in > the same language as your Dictionary, it ties up LiveCode forever, or > at least such a long time and most people would force-quit. It is > after all marking every word as misspelled and trying to do whatever > it does to determine? that. > > Now, you can react, that the researcher should just KNOW better than > to do Spell check a text in a language that is not their loaded > Dictionary! However, people are people, and will do such things and > expect software to protect them from their own mistakes. Also, with > mixed transcription and translation, you do want to spell check the > English part and skip the Chinese (if you do not have a Chinese > Dictionary) > > So, we're looking for a way to detect the LANGUAGE of a range of text, > in a LiveCode field, to be able to then determine whether it matches > the current (or any available) dictionary or not and act accordingly. > > There is a "fontLanguage" function in LC, but that seem to predate > Unicode Everywhere and seem pretty useless now. > > For example. in a new stack, with a single scrolling field, we paste > in a Chinese text and then execute: > > put the fontLanguage of (the effective textfont of char 1 to -1 of fld 1) > > and get "ansi". Even you you set the range (char 2 to 3) that is > specifically Chinese (no white space), it still returns "ansi". The > textFont returns empty and the effective textFont returns "Segue UI" > > I don't even know if language exists in the IBM Unicode engine as some > exportable property a future version of LiveCode could expose. > > Any clever ideas or thoughts on this problem are welcome. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Fri Jun 5 15:34:32 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 5 Jun 2020 12:34:32 -0700 Subject: revCopyFolder - execution error in standalone In-Reply-To: <3820CA2A-0076-4B17-A3E1-8A2B112B1F91@gmail.com> References: <3820CA2A-0076-4B17-A3E1-8A2B112B1F91@gmail.com> Message-ID: Clarification - ?revCopyFolder" it is working on Windows but not on Mac. Standalones built with LC 9.6 release version. revMoveFolder is working on both. Marty > On Jun 5, 2020, at 11:32 AM, Marty Knapp wrote: > > I'm trying to implement "revCopyFolder" in a standalone. It works fine in the IDE but gets an "execution error" in a standalone. In the dictionary it says the "Common library" is implemented. I am manually setting inclusions and don't see anything there that hints at this. Is there some library that I need to select? I have been using revMoveFolder successfully in this same standalone. Any tips? > > Thanks, > Marty From waprothero at gmail.com Fri Jun 5 15:39:06 2020 From: waprothero at gmail.com (William Prothero) Date: Fri, 5 Jun 2020 12:39:06 -0700 Subject: Zoom or others-and Livecode In-Reply-To: <0B5AE3DA-D4E0-4A8E-A784-C8178B40DD54@clearvisiontech.com> References: <0B5AE3DA-D4E0-4A8E-A784-C8178B40DD54@clearvisiontech.com> Message-ID: <1949EA7F-DB78-4125-9D57-C2FA28D1A62E@gmail.com> Folks: I?m curious if anybody has explored a way to interact over one of the online sharing resources, like Zoom of Google Groups, to interface with livecode apps. There is so much going on with folks trying to continue to teach during the pandemic, that a connection of one of these resources to livecode could be very useful. FYI: I really love the ideas at this site, but they?re not online: https://www.teachinteract.com/c/index.web?s at Spax93mIMdBJQ Best, Bill William A. Prothero https://earthlearningsolutions.org From jacque at hyperactivesw.com Fri Jun 5 18:22:46 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 5 Jun 2020 17:22:46 -0500 Subject: revCopyFolder - execution error in standalone In-Reply-To: References: <3820CA2A-0076-4B17-A3E1-8A2B112B1F91@gmail.com> Message-ID: The common library is included automatically in every standalone, so you don't need to select it. I think revMoveFolder is in the same library, and since that works you can assume the library is loaded. What does the execution error say? If you get the result, does that tell you anything? Is the app fully loaded before you call revCopyFolder? Libraries aren't available until the app is fully up and running. On 6/5/20 2:34 PM, Marty Knapp via use-livecode wrote: > Clarification - ?revCopyFolder" it is working on Windows but not on Mac. Standalones built with LC 9.6 release version. revMoveFolder is working on both. > > Marty > >> On Jun 5, 2020, at 11:32 AM, Marty Knapp wrote: >> >> I'm trying to implement "revCopyFolder" in a standalone. It works fine in the IDE but gets an "execution error" in a standalone. In the dictionary it says the "Common library" is implemented. I am manually setting inclusions and don't see anything there that hints at this. Is there some library that I need to select? I have been using revMoveFolder successfully in this same standalone. Any tips? >> >> Thanks, >> Marty -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jun 5 18:27:13 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 5 Jun 2020 17:27:13 -0500 Subject: Scrolling jitter In-Reply-To: <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> Message-ID: On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote: > On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote: >> So far I've had two complaints from Android users that scrolling fields in our app are >> jittering when scrolled. Every field that needs to scroll is set up identically: >> >> Field expanded to full formattedheight >> Enclosing (shorter) group is unadorned >> Group is set to scrolling layermode >> AcceleratedRendering is set to true (on launch, and remains unchanged throughout) >> >> But when I check the "effective layermode" I get "static". Why? >> > > Update: that was in IDE and acceleratedRendering wasn't turned on there. However, it is set to > true on mobile and that's where the jitter happens. > > Anything else I can do about that? Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think this is a serious issue or is it likely to remain like that for a long time? Does anyone else see significant issues with native scrollers on either mobile platform? LC 9.6. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Fri Jun 5 18:53:49 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 5 Jun 2020 15:53:49 -0700 Subject: revCopyFolder - execution error in standalone In-Reply-To: References: <3820CA2A-0076-4B17-A3E1-8A2B112B1F91@gmail.com> Message-ID: <74901F6C-8798-4382-AF3B-5DB26A4BDCB9@gmail.com> I?ve been fiddling with this and so far this is what I've found: The problem only exists on Mac In the IDE it works fine on both LC 9.5.1 and 9.6 If I create a basic test stack, standalones from 9.5.1 and 9.6 both work fine But when I build my actual app with Levure, the app built with 9.5.1 works but the app built with 9.6 does not work The result just contains "execution error" So I guess I need to post something in the Levure forum to see if anyone else has had the same issue. Marty > On Jun 5, 2020, at 3:22 PM, J. Landman Gay via use-livecode wrote: > > The common library is included automatically in every standalone, so you don't need to select it. I think revMoveFolder is in the same library, and since that works you can assume the library is loaded. > > What does the execution error say? If you get the result, does that tell you anything? Is the app fully loaded before you call revCopyFolder? Libraries aren't available until the app is fully up and running. > > On 6/5/20 2:34 PM, Marty Knapp via use-livecode wrote: >> Clarification - ?revCopyFolder" it is working on Windows but not on Mac. Standalones built with LC 9.6 release version. revMoveFolder is working on both. >> Marty >>> On Jun 5, 2020, at 11:32 AM, Marty Knapp wrote: >>> >>> I'm trying to implement "revCopyFolder" in a standalone. It works fine in the IDE but gets an "execution error" in a standalone. In the dictionary it says the "Common library" is implemented. I am manually setting inclusions and don't see anything there that hints at this. Is there some library that I need to select? I have been using revMoveFolder successfully in this same standalone. Any tips? >>> >>> Thanks, >>> Marty > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sat Jun 6 09:11:32 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 6 Jun 2020 14:11:32 +0100 Subject: Unicode and languages In-Reply-To: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> References: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> Message-ID: If you simply need to protect users in the scenario you describe, then you could try a simple heuristic ?- extract the first 100 (200? - 500?) characters (or first 20 words) ?- spell check that ?- if there are more than 10 (20? - 50??) spelling errors then flag it as a likely language mismatch. ?- and if not, proceed to do the spellcheck. Adjust the numbers until it gives protection without too many false positives. Alex. On 05/06/2020 18:15, Paul Dupuis via use-livecode wrote: > In all the added stuff the LC7 and higher Unicode engine includes, is > there any way to determine the LANGUAGE of a range of text? > > USE-CASE > > We have a tool that helps researchers transcribe text from digital > media. It is used internationally. We have added spell checking using > lclSpell form Live Code Labs, a LiveCode store add-on. > > For lclSpell, we only have Dictionaries for a small set of languages. > You can build you own Dictionaries for lclSpell, but we'll still only > have Dictionaries for a small subset of the languages people > transcribe in. We also have people who do BOTH transcription AND > translations. > > For example, transcribing a Chinese language media recording, typing > in the Simplified or Traditional Chinese characters AND then translate > it to English, typing the English translation after the transcription. > > With lclSpell (or I suspect ANY LiveCode compatible spell checker) if > you try to spell check a reasonably large chunk of text that is NOT in > the same language as your Dictionary, it ties up LiveCode forever, or > at least such a long time and most people would force-quit. It is > after all marking every word as misspelled and trying to do whatever > it does to determine? that. > > Now, you can react, that the researcher should just KNOW better than > to do Spell check a text in a language that is not their loaded > Dictionary! However, people are people, and will do such things and > expect software to protect them from their own mistakes. Also, with > mixed transcription and translation, you do want to spell check the > English part and skip the Chinese (if you do not have a Chinese > Dictionary) > > So, we're looking for a way to detect the LANGUAGE of a range of text, > in a LiveCode field, to be able to then determine whether it matches > the current (or any available) dictionary or not and act accordingly. > > There is a "fontLanguage" function in LC, but that seem to predate > Unicode Everywhere and seem pretty useless now. > > For example. in a new stack, with a single scrolling field, we paste > in a Chinese text and then execute: > > put the fontLanguage of (the effective textfont of char 1 to -1 of fld 1) > > and get "ansi". Even you you set the range (char 2 to 3) that is > specifically Chinese (no white space), it still returns "ansi". The > textFont returns empty and the effective textFont returns "Segue UI" > > I don't even know if language exists in the IBM Unicode engine as some > exportable property a future version of LiveCode could expose. > > Any clever ideas or thoughts on this problem are welcome. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jun 6 13:04:47 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 6 Jun 2020 13:04:47 -0400 Subject: Scrolling jitter In-Reply-To: References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> Message-ID: <00b601d63c24$988a0680$c99e1380$@net> I am not getting jitters on either mobile platform using native scroller. Scrolling is very smooth. I have 10 or so groups(variable) in a containing group with 1 or more fields that are clickable. One of the inner groups contains a small image. I have not seen this or received complaints. I do get complaints that while scrolling sometimes the fields mouseup handlers trigger unintentionally. I guess I should put in a timer to ignore the mouseUPs until a short time after the scrolling stops. Android is most affected. iOS rarely has this issue. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, June 05, 2020 6:27 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Scrolling jitter On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote: > On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote: >> So far I've had two complaints from Android users that scrolling >> fields in our app are jittering when scrolled. Every field that needs to scroll is set up identically: >> >> Field expanded to full formattedheight Enclosing (shorter) group is >> unadorned Group is set to scrolling layermode AcceleratedRendering is >> set to true (on launch, and remains unchanged throughout) >> >> But when I check the "effective layermode" I get "static". Why? >> > > Update: that was in IDE and acceleratedRendering wasn't turned on > there. However, it is set to true on mobile and that's where the jitter happens. > > Anything else I can do about that? Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think this is a serious issue or is it likely to remain like that for a long time? Does anyone else see significant issues with native scrollers on either mobile platform? LC 9.6. -- 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 Sat Jun 6 13:14:46 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Jun 2020 12:14:46 -0500 Subject: Scrolling jitter In-Reply-To: <00b601d63c24$988a0680$c99e1380$@net> References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> <00b601d63c24$988a0680$c99e1380$@net> Message-ID: <1728aa0af70.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks. On my test devices I see a very slight stutter but it's barely noticeable. Apparently on other devices it's worse. I am not using container mode since I only have a single field in each case enclosed by a scrolling group. I guess there's nothing I can do about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 6, 2020 12:05:21 PM Ralph DiMola via use-livecode wrote: > I am not getting jitters on either mobile platform using native scroller. > Scrolling is very smooth. I have 10 or so groups(variable) in a containing > group with 1 or more fields that are clickable. One of the inner groups > contains a small image. I have not seen this or received complaints. I do > get complaints that while scrolling sometimes the fields mouseup handlers > trigger unintentionally. I guess I should put in a timer to ignore the > mouseUPs until a short time after the scrolling stops. Android is most > affected. iOS rarely has this issue. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay via use-livecode > Sent: Friday, June 05, 2020 6:27 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Scrolling jitter > > On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote: >> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote: >>> So far I've had two complaints from Android users that scrolling >>> fields in our app are jittering when scrolled. Every field that needs to > scroll is set up identically: >>> >>> Field expanded to full formattedheight Enclosing (shorter) group is >>> unadorned Group is set to scrolling layermode AcceleratedRendering is >>> set to true (on launch, and remains unchanged throughout) >>> >>> But when I check the "effective layermode" I get "static". Why? >>> >> >> Update: that was in IDE and acceleratedRendering wasn't turned on >> there. However, it is set to true on mobile and that's where the jitter > happens. >> >> Anything else I can do about that? > > Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think > this is a serious issue or is it likely to remain like that for a long time? > > Does anyone else see significant issues with native scrollers on either > mobile platform? LC 9.6. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jun 6 13:43:08 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Jun 2020 12:43:08 -0500 Subject: Scrolling jitter In-Reply-To: <1728aa0af70.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> <00b601d63c24$988a0680$c99e1380$@net> <1728aa0af70.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1728abaa7e0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Actually, did you adjust any of the default values like tilesize or compositorCacheLimit? I wonder if that would help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 6, 2020 12:16:46 PM "J. Landman Gay via use-livecode" wrote: > Thanks. On my test devices I see a very slight stutter but it's barely > noticeable. Apparently on other devices it's worse. I am not using > container mode since I only have a single field in each case enclosed by a > scrolling group. > > I guess there's nothing I can do about it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 6, 2020 12:05:21 PM Ralph DiMola via use-livecode > wrote: > >> I am not getting jitters on either mobile platform using native scroller. >> Scrolling is very smooth. I have 10 or so groups(variable) in a containing >> group with 1 or more fields that are clickable. One of the inner groups >> contains a small image. I have not seen this or received complaints. I do >> get complaints that while scrolling sometimes the fields mouseup handlers >> trigger unintentionally. I guess I should put in a timer to ignore the >> mouseUPs until a short time after the scrolling stops. Android is most >> affected. iOS rarely has this issue. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf >> Of J. Landman Gay via use-livecode >> Sent: Friday, June 05, 2020 6:27 PM >> To: How to use LiveCode >> Cc: J. Landman Gay >> Subject: Re: Scrolling jitter >> >> On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote: >>> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote: >>>> So far I've had two complaints from Android users that scrolling >>>> fields in our app are jittering when scrolled. Every field that needs to >> scroll is set up identically: >>>> >>>> Field expanded to full formattedheight Enclosing (shorter) group is >>>> unadorned Group is set to scrolling layermode AcceleratedRendering is >>>> set to true (on launch, and remains unchanged throughout) >>>> >>>> But when I check the "effective layermode" I get "static". Why? >>>> >>> >>> Update: that was in IDE and acceleratedRendering wasn't turned on >>> there. However, it is set to true on mobile and that's where the jitter >> happens. >>> >>> Anything else I can do about that? >> >> Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think >> this is a serious issue or is it likely to remain like that for a long time? >> >> Does anyone else see significant issues with native scrollers on either >> mobile platform? LC 9.6. >> >> -- >> 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 jiml at netrin.com Sat Jun 6 14:43:21 2020 From: jiml at netrin.com (Jim Lambert) Date: Sat, 6 Jun 2020 11:43:21 -0700 Subject: Unicode and languages In-Reply-To: References: Message-ID: Not LC native but take a look at Google Translate API Jim Lambert > Language detection > When you don?t know your source text language ? for instance, in user-generated content that doesn?t include a language code ? our translation products automatically identify languages with high accuracy. From rdimola at evergreeninfo.net Sat Jun 6 16:19:12 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 6 Jun 2020 16:19:12 -0400 Subject: Scrolling jitter In-Reply-To: <1728abaa7e0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> <00b601d63c24$988a0680$c99e1380$@net> <1728aa0af70.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1728abaa7e0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <00c001d63c3f$c0f70a30$42e51e90$@net> No I did not set either of those. In fact they are all created dynamically every time the card is opened. Now that you mention it I don't even set any scrolling modes. Create master group, create sub groups , put in fields and images in to sub groups and let er rip. Maybe my stuff is not complex enough to be a 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 J. Landman Gay via use-livecode Sent: Saturday, June 06, 2020 1:43 PM To: How to use LiveCode Cc: J. Landman Gay Subject: RE: Scrolling jitter Actually, did you adjust any of the default values like tilesize or compositorCacheLimit? I wonder if that would help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 6, 2020 12:16:46 PM "J. Landman Gay via use-livecode" wrote: > Thanks. On my test devices I see a very slight stutter but it's barely > noticeable. Apparently on other devices it's worse. I am not using > container mode since I only have a single field in each case enclosed > by a scrolling group. > > I guess there's nothing I can do about it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On June 6, 2020 12:05:21 PM Ralph > DiMola via use-livecode wrote: > >> I am not getting jitters on either mobile platform using native scroller. >> Scrolling is very smooth. I have 10 or so groups(variable) in a >> containing group with 1 or more fields that are clickable. One of the >> inner groups contains a small image. I have not seen this or received >> complaints. I do get complaints that while scrolling sometimes the >> fields mouseup handlers trigger unintentionally. I guess I should put >> in a timer to ignore the mouseUPs until a short time after the >> scrolling stops. Android is most affected. iOS rarely has this issue. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of J. Landman Gay via use-livecode >> Sent: Friday, June 05, 2020 6:27 PM >> To: How to use LiveCode >> Cc: J. Landman Gay >> Subject: Re: Scrolling jitter >> >> On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote: >>> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote: >>>> So far I've had two complaints from Android users that scrolling >>>> fields in our app are jittering when scrolled. Every field that >>>> needs to >> scroll is set up identically: >>>> >>>> Field expanded to full formattedheight Enclosing (shorter) group is >>>> unadorned Group is set to scrolling layermode AcceleratedRendering >>>> is set to true (on launch, and remains unchanged throughout) >>>> >>>> But when I check the "effective layermode" I get "static". Why? >>>> >>> >>> Update: that was in IDE and acceleratedRendering wasn't turned on >>> there. However, it is set to true on mobile and that's where the >>> jitter >> happens. >>> >>> Anything else I can do about that? >> >> Today's feedback: It also jitters on iOS. Migraine-inducing. Do >> people think this is a serious issue or is it likely to remain like that for a long time? >> >> Does anyone else see significant issues with native scrollers on >> either mobile platform? LC 9.6. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From simplsol at aol.com Sat Jun 6 16:29:29 2020 From: simplsol at aol.com (PEL) Date: Sat, 6 Jun 2020 13:29:29 -0700 Subject: Times ARE changing References: Message-ID: Children, As you all remember, I did a lot of work with a certain nation-wide restaurant chain in the 80s. I ate cherry pancakes at over 300 locations - including the original in Santa Barbara. I knew both ?Sam? and ?Bo?. Back then the company fought fiercely to protect the name - which was composed of the founders: Sam Battistone and Newell ?Bo? Bohnet. They pointed out, correctly, that ?Little Black Sambo? was Indian, not African. And it was obvious that most protesters had not ?read? the book. Yet, recognizing that in our fact-free age, image counts a lot, the kids have made a good move. I think Sam and Bo would understand. Suddenly I?m hungry for cherry pancakes? Road Trip to Santa Barbara, anyone? Dad From dochawk at gmail.com Sat Jun 6 17:04:51 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 6 Jun 2020 14:04:51 -0700 Subject: Times ARE changing In-Reply-To: References: Message-ID: <48E530DF-7F7F-400B-9BED-7D07B480B0CE@gmail.com> On Jun 6, 2020, at 1:29 PM, PEL via use-livecode wrote: > They pointed out, correctly, that ?Little Black Sambo? was Indian, not African. And it was obvious that most protesters had not ?read? the book. I don?t think this went whereto meant :) However, skids, we thought Sambo was cool, and admired outwitting the tiger .. . . From simplsol at aol.com Sat Jun 6 21:55:53 2020 From: simplsol at aol.com (Paul Looney) Date: Sat, 6 Jun 2020 18:55:53 -0700 Subject: Times ARE changing In-Reply-To: <48E530DF-7F7F-400B-9BED-7D07B480B0CE@gmail.com> References: <48E530DF-7F7F-400B-9BED-7D07B480B0CE@gmail.com> Message-ID: <36A54B6A-655F-401D-8E16-35D14975899D@aol.com> Correct. Sorry. > On Jun 6, 2020, at 2:04 PM, doc hawk via use-livecode wrote: > > I don?t think this went whereto meant :) From richmondmathewson at gmail.com Sun Jun 7 02:51:11 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 7 Jun 2020 09:51:11 +0300 Subject: Times ARE changing In-Reply-To: References: Message-ID: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> My best friend (in fact the only friend that has been consistently my friend for 58 years), Rohit Das, who was born in Scotland in the same hospital as me, has Indian parents (and, in fact, he bides in India just now), used to read Little Black Sambo with me, and we used to laugh together. We also went through all of Angela Banner's other books in that series about Black Jumbo, Black Mumbo and so on. Now my friend's skin is the same colour as that of Little Black Sambo. Neither he nor I (I was red-haired and pink) were ever consious that we were laughing at anything promoting racial stereotypes. I remember I told my Mum that I wanted to climb up a tree to see if that would attract tigers that would turn into butter. I own the complete set of Angela Banner's books and fully intend to read them to any grandchildren who come along. This could be fun as my younger son (3/8 Bulgarian, 1/8 Albanian, 3/8 Scots, 1/8 English) looks set to marry a wonderful young lady from California (1/2 Taiwan Chinese, 1/4 Jamaican Chinese, 1/4 Chigro); in all probability producing kids that I will love to bits. When I was 2 I asked my Mum what was wrong with me because my skin was not black like Rohit's. If some of these types who go on endlessly about anything that might be vaguely construed as 'racist' were capable of slightly more subtle thought they might examine intentions: after all if we all judged people on what they looked like most of us would be out of a job and starving. On 6.06.20 23:29, PEL via use-livecode wrote: > Children, > > As you all remember, I did a lot of work with a certain nation-wide restaurant chain in the 80s. I ate cherry pancakes at over 300 locations - including the original in Santa Barbara. I knew both ?Sam? and ?Bo?. > > Back then the company fought fiercely to protect the name - which was composed of the founders: Sam Battistone and Newell ?Bo? Bohnet. They pointed out, correctly, that ?Little Black Sambo? was Indian, not African. And it was obvious that most protesters had not ?read? the book. > > Yet, recognizing that in our fact-free age, image counts a lot, the kids have made a good move. I think Sam and Bo would understand. > > Suddenly I?m hungry for cherry pancakes? Road Trip to Santa Barbara, anyone? > > Dad > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Jun 7 04:06:09 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 7 Jun 2020 01:06:09 -0700 Subject: Times ARE changing In-Reply-To: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> Message-ID: <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> Richmond wrote: > If some of these types who go on endlessly about anything that might > be vaguely construed as 'racist' were capable of slightly more subtle > thought they might examine intentions: after all if we all judged > people on what they looked like most of us would be out of a job and > starving. There is also the problem of linguistic false cognates. Similar words from different regions often have very different etymologies. While the stories of the old British Empire can be charming (I love the two hard-bound volumes of Kipling my father gave me), the Indian tale is unrelated to both the origins of the American word "sambo" and its colloquial use. On this continent, much of our language is influenced by the Spanish who were among the first Europeans to explore and settle most the Americas. From Wikipedia: The word "sambo" came into the English language from the Latin American Spanish word zambo, the Spanish word in Latin America for a person of mixed African and Native American descent.[3] This in turn may have come from one of three African language sources. Webster's Third International Dictionary holds that it may have come from the Kongo word nzambu ("monkey") ? the z of (Latin American) Spanish being pronounced here like the English s. Complicating matters further is the difference between etymology and popular usage, as Ms Gay has reminded us with good humor over the years. :) English-speaking people in the US didn't use the word until after the American Civil War, popularized mostly by the losing side of that conflict as a derogatory term. Though the war was long ago, the legacy is evident. We needn't go any further on that here in this programmer's list. It is indeed unfortunate that those who used the word most commonly in the States have cast an unfortunate pallor on a tale from the other side of the world, and that Samuel Battistone and Newell Bohnett found themselves in an awkward spot with their restaurants well known for excellent pancake breakfasts. Indeed, the Santa Barbara restaurant is still family-owned, and the current manager Chad Stevens has expressed a hopeful note about the name change that goes into effect this Friday: "With the changing world and circumstances, the name isn?t just about what it means to us, but the meaning it holds for others. At this point, our family has looked into our hearts and realize that we must be sensitive when others whom we respect make a strong appeal. So today we stand in solidarity with those seeking change and doing our part." Maybe best of all, the new temporary name they'll be using while the family decides on a permanent one is: "?&LOVE" https://www.noozhawk.com/article/bizhawk_sambos_santa_barbara_to_change_name_20200604 By any name, the restaurant at 216 W. Cabrillo Blvd in Santa Barbara is well worth making a point of visiting whenever you're passing through that part of California's coast. The pancakes are truly awesome. This is quite off-topic, and I hope this momentary indulgence in etymology and pancakes doesn't stray too close to cheese. Back to our regularly-scheduled LiveCode discussion, where I'll post a question about the Browser widget next... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Jun 7 04:17:11 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 7 Jun 2020 01:17:11 -0700 Subject: Browser Widget on Linux: how can it become possible to use? Message-ID: <1e088f88-49b2-5bb3-4379-370c324ef8a1@fourthworld.com> The Browser widget doesn't work on Linux, and hasn't for a good many years. Possibly related, I recently discovered that the OAuth authentication window so completely hangs LiveCode that a force-reboot is required (yes, bug report forthcoming, when I have time and temperament for that sort of uniquely-frustrating recipe-finding). I have a vague memory that someone in our community had found some sort of workaround for changing the browser config so that it's possible to use LiveCode's Browser widget on Linux. If I'm remembering that correctly, what is that workaround? And for the longer term, though Linux runs most of the modern world's infrastructure I respect that they've ceded the desktop to Microsoft. Accordingly, when it comes to desktop platforms I respect that Windows deserves the lion's share of LC Ltd's time an attention. But as the LiveCode Linux engine falls ever farther out of parity from other platforms, unless we're about to declare the LC Linux engine abandoned maybe we could bring some of that functionality back. The Browser might be a good place to start. What is needed to make the Browser widget work in LC's Linux engine? -- 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 dvglasgow at gmail.com Sun Jun 7 05:06:33 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 7 Jun 2020 10:06:33 +0100 Subject: Unicode and languages In-Reply-To: References: <33b87954-3d8a-88ad-cbc9-a31e89b22b53@researchware.com> Message-ID: Ha! You beat me to it, Alex. The only extra is that Paul might be able to identify very common but distinct markers to identify the language, and create a simple algorithm. Made me wonder how Google translate does it when it is set to 'detect language? Cheers, David G > On 6 Jun 2020, at 2:11 pm, Alex Tweedly via use-livecode wrote: > > If you simply need to protect users in the scenario you describe, then you could try a simple heuristic > > - extract the first 100 (200? - 500?) characters (or first 20 words) > > - spell check that > > - if there are more than 10 (20? - 50??) spelling errors then flag it as a likely language mismatch. > - and if not, proceed to do the spellcheck. > > Adjust the numbers until it gives protection without too many false positives. > > Alex. > > On 05/06/2020 18:15, Paul Dupuis via use-livecode wrote: >> In all the added stuff the LC7 and higher Unicode engine includes, is there any way to determine the LANGUAGE of a range of text? >> >> USE-CASE >> >> We have a tool that helps researchers transcribe text from digital media. It is used internationally. We have added spell checking using lclSpell form Live Code Labs, a LiveCode store add-on. >> >> For lclSpell, we only have Dictionaries for a small set of languages. You can build you own Dictionaries for lclSpell, but we'll still only have Dictionaries for a small subset of the languages people transcribe in. We also have people who do BOTH transcription AND translations. >> >> For example, transcribing a Chinese language media recording, typing in the Simplified or Traditional Chinese characters AND then translate it to English, typing the English translation after the transcription. >> >> With lclSpell (or I suspect ANY LiveCode compatible spell checker) if you try to spell check a reasonably large chunk of text that is NOT in the same language as your Dictionary, it ties up LiveCode forever, or at least such a long time and most people would force-quit. It is after all marking every word as misspelled and trying to do whatever it does to determine that. >> >> Now, you can react, that the researcher should just KNOW better than to do Spell check a text in a language that is not their loaded Dictionary! However, people are people, and will do such things and expect software to protect them from their own mistakes. Also, with mixed transcription and translation, you do want to spell check the English part and skip the Chinese (if you do not have a Chinese Dictionary) >> >> So, we're looking for a way to detect the LANGUAGE of a range of text, in a LiveCode field, to be able to then determine whether it matches the current (or any available) dictionary or not and act accordingly. >> >> There is a "fontLanguage" function in LC, but that seem to predate Unicode Everywhere and seem pretty useless now. >> >> For example. in a new stack, with a single scrolling field, we paste in a Chinese text and then execute: >> >> put the fontLanguage of (the effective textfont of char 1 to -1 of fld 1) >> >> and get "ansi". Even you you set the range (char 2 to 3) that is specifically Chinese (no white space), it still returns "ansi". The textFont returns empty and the effective textFont returns "Segue UI" >> >> I don't even know if language exists in the IBM Unicode engine as some exportable property a future version of LiveCode could expose. >> >> Any clever ideas or thoughts on this problem are welcome. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 7 07:24:05 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 7 Jun 2020 14:24:05 +0300 Subject: Times ARE changing In-Reply-To: <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> Message-ID: <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> Well put, good point. On 7.06.20 11:06, Richard Gaskin via use-livecode wrote: > Richmond wrote: > > If some of these types who go on endlessly about anything that might > > be vaguely construed as 'racist' were capable of slightly more subtle > > thought they might examine intentions: after all if we all judged > > people on what they looked like most of us would be out of a job and > > starving. > > There is also the problem of linguistic false cognates. Similar words > from different regions often have very different etymologies. > > While the stories of the old British Empire can be charming (I love > the two hard-bound volumes of Kipling my father gave me), the Indian > tale is unrelated to both the origins of the American word "sambo" and > its colloquial use. > > On this continent, much of our language is influenced by the Spanish > who were among the first Europeans to explore and settle most the > Americas. > > From Wikipedia: > > ?? The word "sambo" came into the English language from the Latin > ?? American Spanish word zambo, the Spanish word in Latin America > ?? for a person of mixed African and Native American descent.[3] > ?? This in turn may have come from one of three African language > ?? sources. Webster's Third International Dictionary holds that > ?? it may have come from the Kongo word nzambu ("monkey") ? the > ?? z of (Latin American) Spanish being pronounced here like the > ?? English s. > > Complicating matters further is the difference between etymology and > popular usage, as Ms Gay has reminded us with good humor over the > years. :) > > English-speaking people in the US didn't use the word until after the > American Civil War, popularized mostly by the losing side of that > conflict as a derogatory term. > > Though the war was long ago, the legacy is evident. We needn't go any > further on that here in this programmer's list. > > It is indeed unfortunate that those who used the word most commonly in > the States have cast an unfortunate pallor on a tale from the other > side of the world, and that Samuel Battistone and Newell Bohnett found > themselves in an awkward spot with their restaurants well known for > excellent pancake breakfasts. > > Indeed, the Santa Barbara restaurant is still family-owned, and the > current manager Chad Stevens has expressed a hopeful note about the > name change that goes into effect this Friday: > > "With the changing world and circumstances, the name isn?t just about > what it means to us, but the meaning it holds for others. At this > point, our family has looked into our hearts and realize that we must > be sensitive when others whom we respect make a strong appeal. So > today we stand in solidarity with those seeking change and doing our > part." > > Maybe best of all, the new temporary name they'll be using while the > family decides on a permanent one is: "?&LOVE" > > https://www.noozhawk.com/article/bizhawk_sambos_santa_barbara_to_change_name_20200604 > > > By any name, the restaurant at 216 W. Cabrillo Blvd in Santa Barbara > is well worth making a point of visiting whenever you're passing > through that part of California's coast.? The pancakes are truly awesome. > > > This is quite off-topic, and I hope this momentary indulgence in > etymology and pancakes doesn't stray too close to cheese. > > Back to our regularly-scheduled LiveCode discussion, where I'll post a > question about the Browser widget next... > From jacque at hyperactivesw.com Sun Jun 7 14:29:13 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 7 Jun 2020 13:29:13 -0500 Subject: Scrolling jitter In-Reply-To: <00c001d63c3f$c0f70a30$42e51e90$@net> References: <674e9df1-c416-dac2-d6e7-cc903e35c2b0@hyperactivesw.com> <7102a1f3-fa52-13de-370c-3e5dc275b6ad@hyperactivesw.com> <00b601d63c24$988a0680$c99e1380$@net> <1728aa0af70.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1728abaa7e0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <00c001d63c3f$c0f70a30$42e51e90$@net> Message-ID: I'm not sure how you're getting smooth scrolling if you didn't set a layermode. At any rate, for anyone interested, I was able to improve scrolling behavior by: set the compositorTileSize of this stack to 256 set the compositorCacheLimit of this stack to 83886080 Re-reading the dictionary entry, it suggests a bigger tile size for fields with large blocks of text, which is the case here. If there's no limit I might make it even larger but this is okay for now. On 6/6/20 3:19 PM, Ralph DiMola via use-livecode wrote: > No I did not set either of those. In fact they are all created dynamically > every time the card is opened. Now that you mention it I don't even set any > scrolling modes. Create master group, create sub groups , put in fields and > images in to sub groups and let er rip. Maybe my stuff is not complex enough > to be a 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 J. Landman Gay via use-livecode > Sent: Saturday, June 06, 2020 1:43 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: RE: Scrolling jitter > > Actually, did you adjust any of the default values like tilesize or > compositorCacheLimit? I wonder if that would help. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jun 7 14:38:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 7 Jun 2020 13:38:17 -0500 Subject: Script profiler Message-ID: <71814dfa-169a-90a2-aede-f5d50b8dd1c6@hyperactivesw.com> Does anyone with a business license use the script profiler? I'm having trouble interpreting what it reports. According to the lesson in the LC Lessons, it looks like the most recent handler is recorded on top of the output but I'm getting output that is all mixed up without any order that I can see. I also deliberately repeated a user action three times, and the stack responded correctly, but I only see one instance of the handler in the profiler. Is that normal? Or should it list every occurance? I am trying to track down an inexplicable lag in responsiveness in my app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Bernd.Niggemann at uni-wh.de Sun Jun 7 15:27:41 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sun, 7 Jun 2020 19:27:41 +0000 Subject: Script profiler Message-ID: <64B4019F-CB28-47A6-9062-2D5D1E4C5079@uni-wh.de> Jacques wrote > Does anyone with a business license use the script profiler? I'm having trouble interpreting what it reports. According to the lesson in the LC Lessons, it looks like the most recent handler is recorded on top of the output but I'm getting output that is all mixed up without any order that I can see. > I also deliberately repeated a user action three times, and the stack responded correctly, but I only see one instance of the handler in the profiler. Is that normal? Or should it list every occurance? > I am trying to track down an inexplicable lag in responsiveness in my app. For me Script profiler returns the handlers in order of time consumed, the top one used the most time Then it reports the number of calls and the cumultive time for each line that was called. The times are relative to each other, not the real times without the overhead of the profiler. But they give a good indication of where the bottlenecks are. Kind regards Bernd From jacque at hyperactivesw.com Sun Jun 7 15:34:43 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 7 Jun 2020 14:34:43 -0500 Subject: Script profiler In-Reply-To: <64B4019F-CB28-47A6-9062-2D5D1E4C5079@uni-wh.de> References: <64B4019F-CB28-47A6-9062-2D5D1E4C5079@uni-wh.de> Message-ID: <05b273ef-bd53-7bb4-295f-03d4776effde@hyperactivesw.com> On 6/7/20 2:27 PM, Niggemann, Bernd via use-livecode wrote: > Jacques wrote > >> Does anyone with a business license use the script profiler? I'm having trouble interpreting what it reports. According to the lesson in the LC Lessons, it looks like the most recent handler is recorded on top of the output but I'm getting output that is all mixed up without any order that I can see. >> I also deliberately repeated a user action three times, and the stack responded correctly, but I only see one instance of the handler in the profiler. Is that normal? Or should it list every occurance? >> I am trying to track down an inexplicable lag in responsiveness in my app. > > For me Script profiler returns the handlers in order of time consumed, the top one used the most time > > Then it reports the number of calls and the cumultive time for each line that was called. The times are relative to each other, not the real times without the overhead of the profiler. > But they give a good indication of where the bottlenecks are. Thank you, I do see the same thing, now that I know what it's doing. That makes sense. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sun Jun 7 17:13:57 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Sun, 7 Jun 2020 15:13:57 -0600 Subject: Times ARE changing In-Reply-To: <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> Message-ID: When a tiny boy near the middle of a previous century I secretly hid with a book with words in it. I was not able to puzzle the words, but I could look at the pictures. Believing it to be a fun tale mothers told children in a far off land, I studied the pictures to learn a lesson such mothers might have for their children. (I was not allowed to look at books with pictures or magazines or newspapers until I was in 1st grade, though I could look at pictures cut from them, a cold-war thing.) Dar Scott My forthcoming work in five volumes, `The Neglect of Cheese in European Literature,' is a work of such unprecedented and laborious detail that it is doubtful whether I shall live to finish it. -- G. K. Chesterton > On Jun 7, 2020, at 5:24 AM, Richmond via use-livecode wrote: > > Well put, good point. > > On 7.06.20 11:06, Richard Gaskin via use-livecode wrote: >> Richmond wrote: >> > If some of these types who go on endlessly about anything that might >> > be vaguely construed as 'racist' were capable of slightly more subtle >> > thought they might examine intentions: after all if we all judged >> > people on what they looked like most of us would be out of a job and >> > starving. >> >> There is also the problem of linguistic false cognates. Similar words from different regions often have very different etymologies. >> >> While the stories of the old British Empire can be charming (I love the two hard-bound volumes of Kipling my father gave me), the Indian tale is unrelated to both the origins of the American word "sambo" and its colloquial use. >> >> On this continent, much of our language is influenced by the Spanish who were among the first Europeans to explore and settle most the Americas. >> >> From Wikipedia: >> >> The word "sambo" came into the English language from the Latin >> American Spanish word zambo, the Spanish word in Latin America >> for a person of mixed African and Native American descent.[3] >> This in turn may have come from one of three African language >> sources. Webster's Third International Dictionary holds that >> it may have come from the Kongo word nzambu ("monkey") ? the >> z of (Latin American) Spanish being pronounced here like the >> English s. >> >> Complicating matters further is the difference between etymology and popular usage, as Ms Gay has reminded us with good humor over the years. :) >> >> English-speaking people in the US didn't use the word until after the American Civil War, popularized mostly by the losing side of that conflict as a derogatory term. >> >> Though the war was long ago, the legacy is evident. We needn't go any further on that here in this programmer's list. >> >> It is indeed unfortunate that those who used the word most commonly in the States have cast an unfortunate pallor on a tale from the other side of the world, and that Samuel Battistone and Newell Bohnett found themselves in an awkward spot with their restaurants well known for excellent pancake breakfasts. >> >> Indeed, the Santa Barbara restaurant is still family-owned, and the current manager Chad Stevens has expressed a hopeful note about the name change that goes into effect this Friday: >> >> "With the changing world and circumstances, the name isn?t just about what it means to us, but the meaning it holds for others. At this point, our family has looked into our hearts and realize that we must be sensitive when others whom we respect make a strong appeal. So today we stand in solidarity with those seeking change and doing our part." >> >> Maybe best of all, the new temporary name they'll be using while the family decides on a permanent one is: "?&LOVE" >> >> https://www.noozhawk.com/article/bizhawk_sambos_santa_barbara_to_change_name_20200604 >> >> By any name, the restaurant at 216 W. Cabrillo Blvd in Santa Barbara is well worth making a point of visiting whenever you're passing through that part of California's coast. The pancakes are truly awesome. >> >> >> This is quite off-topic, and I hope this momentary indulgence in etymology and pancakes doesn't stray too close to cheese. >> >> Back to our regularly-scheduled LiveCode discussion, where I'll post a question about the Browser widget next... >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Sun Jun 7 21:51:01 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 7 Jun 2020 18:51:01 -0700 Subject: Script profiler In-Reply-To: <05b273ef-bd53-7bb4-295f-03d4776effde@hyperactivesw.com> References: <64B4019F-CB28-47A6-9062-2D5D1E4C5079@uni-wh.de> <05b273ef-bd53-7bb4-295f-03d4776effde@hyperactivesw.com> Message-ID: <06453bc0-9eaf-a588-dc21-c5c4b6e2132d@sonic.net> On 6/7/20 12:34 PM, J. Landman Gay via use-livecode wrote: > On 6/7/20 2:27 PM, Niggemann, Bernd via use-livecode wrote: >> Jacques wrote >> >>> Does anyone with a business license use the script profiler? I'm >>> having trouble interpreting what it reports. According to the lesson >>> in the LC Lessons, it looks like the most recent handler is recorded >>> on top of the output but I'm getting output that is all mixed up >>> without any order that I can see. >>> I also deliberately repeated a user action three times, and the stack >>> responded correctly, but I only see one instance of the handler in >>> the profiler. Is that normal? Or should it list every occurance? >>> I am trying to track down an inexplicable lag in responsiveness in my >>> app. >> >> For me Script profiler returns the handlers in order of time consumed, >> the top one used the most time >> >> Then it reports the number of calls and the cumultive time for each >> line that was called. The times are relative to each other, not the >> real times without the overhead of the profiler. >> But they give a good indication of where the bottlenecks are. > > Thank you, I do see the same thing, now that I know what it's doing. > That makes sense. > I took a different approach in the new PowerDebug. I display the lines of code as they appear in the script, in order to preserve as much sanity as possible. The singleton and aggregate times are both displayed, with the singleton times rounded up to the nearest millisecond because that's the limit of LiveCode's accuracy. However, hovering over the time will show a better indication of the actual time if there are multiple iterations because of averaging over more data points. And any times over 1/2, 1/4, or 1/8 of the total time are flagged in color to alert the developer. -- Mark Wieder ahsoftware at gmail.com From williamdesmet at gmail.com Mon Jun 8 04:06:32 2020 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 8 Jun 2020 10:06:32 +0200 Subject: Pinch-Zoom gesture on native textfield. How to? In-Reply-To: References: Message-ID: Hi Tom, You got it working? Have you got any code to share? greetings, William Op ma 9 mrt. 2020 om 16:38 schreef Tom Glod via use-livecode < use-livecode at lists.runrev.com>: > I need to do this also in the app I am working on..I will be working on it > next week....so I will share what I got unless someone already knows of a > solution. > > On Mon, Mar 9, 2020 at 7:35 AM William de Smet via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi there, > > > > Is it possible to pinch zoom on a native text field to make the text > > bigger/smaller? > > Has anyone done this? > > > > Any pointers / script snippets are welcome. > > > > greetings, > > > > William > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From heather at livecode.com Mon Jun 8 09:28:27 2020 From: heather at livecode.com (Heather Laine) Date: Mon, 8 Jun 2020 14:28:27 +0100 Subject: Times ARE changing In-Reply-To: References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> Message-ID: <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> Hmmm? Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 7 Jun 2020, at 22:13, Dar Scott Consulting via use-livecode wrote: > > Cheese From mkoob at rogers.com Mon Jun 8 10:25:58 2020 From: mkoob at rogers.com (Martin Koob) Date: Mon, 8 Jun 2020 10:25:58 -0400 Subject: on cheese In-Reply-To: <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> Message-ID: <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> Suppose someone made a cheese related app maybe one that handles all of the calculations needed during the cheese making process: https://www.uoguelph.ca/foodscience/book/export/html/1874 Would they be able to discuss their app on the list? Martin > On Jun 8, 2020, at 9:28 AM, Heather Laine via use-livecode wrote: > > Hmmm? > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 7 Jun 2020, at 22:13, Dar Scott Consulting via use-livecode wrote: >> >> Cheese > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Mon Jun 8 10:51:19 2020 From: heather at livecode.com (Heather Laine) Date: Mon, 8 Jun 2020 15:51:19 +0100 Subject: on cheese In-Reply-To: <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> Message-ID: I guess they would need to use appropriate escape /cheese/ characters. And with that, I really think we should move on... Thanks for the chuckle. Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 8 Jun 2020, at 15:25, Martin Koob via use-livecode wrote: > > Suppose someone made a cheese related app maybe one that handles all of the calculations needed during the cheese making process: > > https://www.uoguelph.ca/foodscience/book/export/html/1874 > > Would they be able to discuss their app on the list? > > Martin > >> On Jun 8, 2020, at 9:28 AM, Heather Laine via use-livecode wrote: >> >> Hmmm? >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.com >> >> >> >>> On 7 Jun 2020, at 22:13, Dar Scott Consulting via use-livecode wrote: >>> >>> Cheese >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 8 10:55:24 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 8 Jun 2020 10:55:24 -0400 Subject: Possible Catalina problem... Message-ID: We have run into a possible problem. Researchware makes two applications, HyperRESEARCH and HyperTRANSCRIBE. We have new forthcoming versions of both built on LiveCode 9.5.1. These two applications are code signed and the DMG is code signed, notarized, and stapled for Catalina. They both work fine on testing on macOS ranging from Mavericks (10.9) to Mojave (10.14). We also only have a single Catalina system to test on. On that single system, each application seems to work fine, but if we run them at the same time, the second app to launch throws a script error on startup - and it looks like it may be related to network actions on startup. We have a TON more testing to do, but I wanted to ask if anyone have seen ANY Catalina specific problems running multiple LiveCode standalones at the same time? Our hope is that this is a problem SPECIFIC to our single Catalina mac and not a LC Engine or tsNet Catalina specific bug of some sort. To know that some one else has run multiple LC 9 standalones at the same time on Catalina and seen no errors would be kind of encouraging right now. From torsten.holmer at web.de Mon Jun 8 11:10:53 2020 From: torsten.holmer at web.de (Torsten Holmer) Date: Mon, 8 Jun 2020 17:10:53 +0200 Subject: Possible Catalina problem... In-Reply-To: References: Message-ID: Hi Paul, I have started three LiveCode standalones on Catalina with no problems. But they are just standalones created frome the IDE with no signing etc. If you like, I can test your apps on my MacBook with Catalina in order to check if the problems are replicable. CU, Torsten > Am 08.06.2020 um 16:55 schrieb Paul Dupuis via use-livecode : > > We have run into a possible problem. Researchware makes two applications, HyperRESEARCH and HyperTRANSCRIBE. We have new forthcoming versions of both built on LiveCode 9.5.1. > > These two applications are code signed and the DMG is code signed, notarized, and stapled for Catalina. They both work fine on testing on macOS ranging from Mavericks (10.9) to Mojave (10.14). > > We also only have a single Catalina system to test on. On that single system, each application seems to work fine, but if we run them at the same time, the second app to launch throws a script error on startup - and it looks like it may be related to network actions on startup. > > We have a TON more testing to do, but I wanted to ask if anyone have seen ANY Catalina specific problems running multiple LiveCode standalones at the same time? > > Our hope is that this is a problem SPECIFIC to our single Catalina mac and not a LC Engine or tsNet Catalina specific bug of some sort. To know that some one else has run multiple LC 9 standalones at the same time on Catalina and seen no errors would be kind of encouraging right now. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Mon Jun 8 11:14:14 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Mon, 8 Jun 2020 11:14:14 -0400 Subject: revCopyFolder - execution error in standalone In-Reply-To: References: Message-ID: <6F7F2B79-4FA8-4C15-87E5-5050475F3BF2@midwestcoastmedia.com> What flavor of macOS is this standalone trying to run? I?m guessing it has to do with the enhanced disk permissions in the newer versions. You might need to check System Preferences > Security & Privacy > Files and Folders or Full Disk Access for a blocker. ?Andrew Bell > > Clarification - ?revCopyFolder" it is working on Windows but not on Mac. Standalones built with LC 9.6 release version. revMoveFolder is working on both. > > Marty > >> On Jun 5, 2020, at 11:32 AM, Marty Knapp wrote: >> >> I'm trying to implement "revCopyFolder" in a standalone. It works fine in the IDE but gets an "execution error" in a standalone. In the dictionary it says the "Common library" is implemented. I am manually setting inclusions and don't see anything there that hints at this. Is there some library that I need to select? I have been using revMoveFolder successfully in this same standalone. Any tips? >> >> Thanks, >> Marty > > From paul at researchware.com Mon Jun 8 11:28:26 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 8 Jun 2020 11:28:26 -0400 Subject: Possible Catalina problem... In-Reply-To: References: Message-ID: <559cbeab-a95d-508b-c663-d2c30a9f97d5@researchware.com> Torsten, Thank you. That is encouraging. I may take you up on your offer later to run a test on your Catalina Mac. -- Paul On 6/8/2020 11:10 AM, Torsten Holmer via use-livecode wrote: > Hi Paul, > > I have started three LiveCode standalones on Catalina with no problems. But they are just standalones created frome the IDE with no signing etc. > > If you like, I can test your apps on my MacBook with Catalina in order to check if the problems are replicable. > > CU, > Torsten > > >> Am 08.06.2020 um 16:55 schrieb Paul Dupuis via use-livecode : >> >> We have run into a possible problem. Researchware makes two applications, HyperRESEARCH and HyperTRANSCRIBE. We have new forthcoming versions of both built on LiveCode 9.5.1. >> >> These two applications are code signed and the DMG is code signed, notarized, and stapled for Catalina. They both work fine on testing on macOS ranging from Mavericks (10.9) to Mojave (10.14). >> >> We also only have a single Catalina system to test on. On that single system, each application seems to work fine, but if we run them at the same time, the second app to launch throws a script error on startup - and it looks like it may be related to network actions on startup. >> >> We have a TON more testing to do, but I wanted to ask if anyone have seen ANY Catalina specific problems running multiple LiveCode standalones at the same time? >> >> Our hope is that this is a problem SPECIFIC to our single Catalina mac and not a LC Engine or tsNet Catalina specific bug of some sort. To know that some one else has run multiple LC 9 standalones at the same time on Catalina and seen no errors would be kind of encouraging right 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon Jun 8 11:32:18 2020 From: curry at pair.com (Curry Kenworthy) Date: Mon, 8 Jun 2020 11:32:18 -0400 Subject: Times ARE changing In-Reply-To: <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> References: <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> Message-ID: Times are hardly changing at all in substance, actually - this is nothing but a superficial change of costumes in society's grand parade of exquisite nonsense. Always a great pretense of love, always plenty of real hate and prejudice. The thugs and their victims do change in every Act of society's Play, fitting the fashions of the day, but either way it's still innocent people getting hurt. For devotees of virtue signaling, let's cut to the chase - time to change your OWN names too! Lest Tom or Jane offend the perpetually triggered, not to mention the horror of David, Nancy, Joshua, or Billy with all the cultural skeletons that imaginative minds could attach to them. (I could, easily.) Let's be thorough and not stop half-way with the cultural lobotomy. For those who love fake news and fictitious history, here's a true fact to completely ruin the day: I grew up deep in the real South (not the TV or novel versions) and heard a number of derogatory racial terms for all races including my own, but NEVER once Sambo. At least not by real live English speakers in that region - again, books and TV aside. The point of real derogatory terms would be to sound nasty and hurtful, and in most places where I've been, Sambo just wouldn't cut it. Sorry. Maybe it could have been a problem up in the North or out in California (I have no idea) but certainly not in the South where I was. For book burners and those who love censorship, here's the ultimate downer: the glory of Gutenberg, still going strong! http://www.gutenberg.org/ebooks/17824 Once enough people finally tire of pretense and corruption and control, the smart and honest people of every background can and will finally get on with the REAL business of a non-prejudiced society to benefit real people. And it won't be anything like the media/mob fantasy. Speaking of cheese - even "Cheddar is better" or "I only own Provolone" would seem amazingly intellectual and relevant when compared to mind-numbing trends like this! But I dare say LiveCode topics would be even MORE relevant than either Sambo or the wonders of cheese! Not to mention talented/hilarious Vikings and glorious, marvelous sp*m.... Always in love, but always with some intelligence too, Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Mon Jun 8 12:25:34 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 8 Jun 2020 09:25:34 -0700 Subject: Possible Catalina problem... In-Reply-To: References: Message-ID: On 6/8/20 7:55 AM, Paul Dupuis via use-livecode wrote: > Our hope is that this is a problem SPECIFIC to our single Catalina mac > and not a LC Engine or tsNet Catalina specific bug of some sort. To know > that some one else has run multiple LC 9 standalones at the same time on > Catalina and seen no errors would be kind of encouraging right now. Don't have an answer, but I'm amused that SuperCard now recommends that you install Parallels and a previous OSX because of the Catalina apocalypse. https://youtu.be/WdNjnCVDjNY -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jun 8 13:04:55 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Jun 2020 12:04:55 -0500 Subject: on cheese In-Reply-To: References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> Message-ID: <17294e462d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I am Edam-ent that one should not be prosciutto-Ed for the use of a single word. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 8, 2020 9:51:44 AM Heather Laine via use-livecode wrote: > I guess they would need to use appropriate escape /cheese/ characters. > > And with that, I really think we should move on... > > Thanks for the chuckle. > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 8 Jun 2020, at 15:25, Martin Koob via use-livecode >> wrote: >> >> Suppose someone made a cheese related app maybe one that handles all of the >> calculations needed during the cheese making process: >> >> https://www.uoguelph.ca/foodscience/book/export/html/1874 >> >> Would they be able to discuss their app on the list? >> >> Martin >> >>> On Jun 8, 2020, at 9:28 AM, Heather Laine via use-livecode >>> wrote: >>> >>> Hmmm? >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.com >>> >>> >>> >>>> On 7 Jun 2020, at 22:13, Dar Scott Consulting via use-livecode >>>> wrote: >>>> >>>> Cheese >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Mon Jun 8 13:13:50 2020 From: mkoob at rogers.com (Martin Koob) Date: Mon, 8 Jun 2020 13:13:50 -0400 Subject: on cheese In-Reply-To: <17294e462d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> <17294e462d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <55C621DB-546E-411A-8F83-C82D1D7CB49D@rogers.com> end cheese Regards, Martin Koob Founder/President VideoLinkwell a service of Koob SourceText Solutions Inc. > On Jun 8, 2020, at 1:04 PM, J. Landman Gay via use-livecode wrote: > > I am Edam-ent that one should not be prosciutto-Ed for the use of a single word. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 8, 2020 9:51:44 AM Heather Laine via use-livecode wrote: > >> I guess they would need to use appropriate escape /cheese/ characters. >> >> And with that, I really think we should move on... >> >> Thanks for the chuckle. >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.com >> >> >> >>> On 8 Jun 2020, at 15:25, Martin Koob via use-livecode wrote: >>> >>> Suppose someone made a cheese related app maybe one that handles all of the calculations needed during the cheese making process: >>> >>> https://www.uoguelph.ca/foodscience/book/export/html/1874 >>> >>> Would they be able to discuss their app on the list? >>> >>> Martin >>> >>>> On Jun 8, 2020, at 9:28 AM, Heather Laine via use-livecode wrote: >>>> >>>> Hmmm? >>>> >>>> Heather Laine >>>> Customer Services Manager >>>> LiveCode Ltd >>>> www.livecode.com >>>> >>>> >>>> >>>>> On 7 Jun 2020, at 22:13, Dar Scott Consulting via use-livecode wrote: >>>>> >>>>> Cheese >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 8 15:11:46 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 8 Jun 2020 22:11:46 +0300 Subject: [ANN] This Week in LiveCode 229 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 #229 here: https://bit.ly/3f3PUZO This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From ahsoftware at sonic.net Mon Jun 8 15:17:13 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 8 Jun 2020 12:17:13 -0700 Subject: on cheese In-Reply-To: <17294e462d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> <17294e462d8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <9ce1956e-24e5-1ff8-c6d4-378077e45153@sonic.net> On 6/8/20 10:04 AM, J. Landman Gay via use-livecode wrote: > I am Edam-ent that one should not be prosciutto-Ed for the use of a > single word. C'est la gruyere, or as we say in English "that's the cheese" -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Mon Jun 8 15:36:58 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 8 Jun 2020 12:36:58 -0700 Subject: on cheese In-Reply-To: <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> Message-ID: <40D7F844-E11A-4094-A1CC-07E8FA132B20@gmail.com> Martin mentioned, > Suppose someone made a cheese related app I tried that once but the code was full of holes. On the bright side, I could debug it just by heating it . . . From richmondmathewson at gmail.com Tue Jun 9 02:28:01 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 9 Jun 2020 09:28:01 +0300 Subject: on cheese In-Reply-To: <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> Message-ID: <63d1809e-361c-8589-3161-c30524edfc93@gmail.com> Presumably the majority of the discussion would revolve around programming considerations rather than the whiff of gorgonzola: so I cannot see how that should be a problem. On 8.06.20 17:25, Martin Koob via use-livecode wrote: > Suppose someone made a cheese related app maybe one that handles all of the calculations needed during the cheese making process: > > https://www.uoguelph.ca/foodscience/book/export/html/1874 > > Would they be able to discuss their app on the list? > > Martin > >> On Jun 8, 2020, at 9:28 AM, Heather Laine via use-livecode wrote: >> >> Hmmm? >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.com >> >> >> >>> On 7 Jun 2020, at 22:13, Dar Scott Consulting via use-livecode wrote: >>> >>> Cheese >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 9 02:37:00 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 9 Jun 2020 09:37:00 +0300 Subject: Possible Catalina problem... In-Reply-To: References: Message-ID: Well, goofy as it may seem . . . MacOS 10.15.5 / LiveCode 9.6.0 Community I made a stack containing 1 butoon and NO code and called it "example 1" and ran off a Mac standalone. The I renamed the stack "example 2" and did exactly the same thing. Both of the resultant standalones lauched without an "funny" messages. HOWEVER, that result is only of any value as far as 2 apps built from what are effectively "zero" stacks go (not very far at all). Richmond. On 8.06.20 17:55, Paul Dupuis via use-livecode wrote: > We have run into a possible problem. Researchware makes two > applications, HyperRESEARCH and HyperTRANSCRIBE. We have new > forthcoming versions of both built on LiveCode 9.5.1. > > These two applications are code signed and the DMG is code signed, > notarized, and stapled for Catalina. They both work fine on testing on > macOS ranging from Mavericks (10.9) to Mojave (10.14). > > We also only have a single Catalina system to test on. On that single > system, each application seems to work fine, but if we run them at the > same time, the second app to launch throws a script error on startup - > and it looks like it may be related to network actions on startup. > > We have a TON more testing to do, but I wanted to ask if anyone have > seen ANY Catalina specific problems running multiple LiveCode > standalones at the same time? > > Our hope is that this is a problem SPECIFIC to our single Catalina mac > and not a LC Engine or tsNet Catalina specific bug of some sort. To > know that some one else has run multiple LC 9 standalones at the same > time on Catalina and seen no errors would be kind of encouraging right > now. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 9 02:39:52 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 9 Jun 2020 09:39:52 +0300 Subject: Times ARE changing In-Reply-To: References: <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> Message-ID: Oh, blast, I was wrong: I thought the author was Angela Banner: just shows you how long those books have sat, untouched, on my shelf. Thank you very much for the correction. Richmond. On 8.06.20 18:32, Curry Kenworthy via use-livecode wrote: > > Times are hardly changing at all in substance, actually - this is > nothing but a superficial change of costumes in society's grand parade > of exquisite nonsense. Always a great pretense of love, always plenty > of real hate and prejudice. The thugs and their victims do change in > every Act of society's Play, fitting the fashions of the day, but > either way it's still innocent people getting hurt. > > For devotees of virtue signaling, let's cut to the chase - time to > change your OWN names too! Lest Tom or Jane offend the perpetually > triggered, not to mention the horror of David, Nancy, Joshua, or Billy > with all the cultural skeletons that imaginative minds could attach to > them. (I could, easily.) Let's be thorough and not stop half-way with > the cultural lobotomy. > > For those who love fake news and fictitious history, here's a true > fact to completely ruin the day: I grew up deep in the real South (not > the TV or novel versions) and heard a number of derogatory racial > terms for all races including my own, but NEVER once Sambo. At least > not by real live English speakers in that region - again, books and TV > aside. The point of real derogatory terms would be to sound nasty and > hurtful, and in most places where I've been, Sambo just wouldn't cut > it. Sorry. Maybe it could have been a problem up in the North or out > in California (I have no idea) but certainly not in the South where I > was. > > For book burners and those who love censorship, here's the ultimate > downer: the glory of Gutenberg, still going strong! > > http://www.gutenberg.org/ebooks/17824 > > Once enough people finally tire of pretense and corruption and > control, the smart and honest people of every background can and will > finally get on with the REAL business of a non-prejudiced society to > benefit real people. And it won't be anything like the media/mob fantasy. > > Speaking of cheese - even "Cheddar is better" or "I only own > Provolone" would seem amazingly intellectual and relevant when > compared to mind-numbing trends like this! But I dare say LiveCode > topics would be even MORE relevant than either Sambo or the wonders of > cheese! Not to mention talented/hilarious Vikings and glorious, > marvelous sp*m.... > > Always in love, but always with some intelligence too, > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 9 02:43:03 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 9 Jun 2020 09:43:03 +0300 Subject: on cheese In-Reply-To: <40D7F844-E11A-4094-A1CC-07E8FA132B20@gmail.com> References: <833a34ce-6d22-36aa-8f5f-de026b51f3fa@gmail.com> <88edbf04-3070-ac20-9716-a0cbf42e773e@fourthworld.com> <37ac6be1-87cd-21c6-a66d-ed4a5b9ba33f@gmail.com> <41F0ADAF-494B-45DF-9C95-4501CF0E40A2@livecode.com> <58EE32F6-9A5F-4660-B3E1-592373753551@rogers.com> <40D7F844-E11A-4094-A1CC-07E8FA132B20@gmail.com> Message-ID: <45f85602-808d-05cc-6cfd-a4225cf0a3f0@gmail.com> Wow: this is like heating up Gouda: it can run and run, and run. Richmond. On 8.06.20 22:36, doc hawk via use-livecode wrote: > Martin mentioned, > >> Suppose someone made a cheese related app > I tried that once but the code was full of holes. > > On the bright side, I could debug it just by heating it . . . > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Jun 9 16:07:33 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Jun 2020 13:07:33 -0700 Subject: Browser Widget on Linux: how can it become possible to use? In-Reply-To: <1e088f88-49b2-5bb3-4379-370c324ef8a1@fourthworld.com> References: <1e088f88-49b2-5bb3-4379-370c324ef8a1@fourthworld.com> Message-ID: <0fa531b7-27d0-b029-7ea3-47cffccac0a4@sonic.net> On 6/7/20 1:17 AM, Richard Gaskin via use-livecode wrote: > What is needed to make the Browser widget work in LC's Linux engine? > http://forums.livecode.com/viewtopic.php?f=4&t=33805&p=189397&hilit=CEF#p189397 -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Jun 9 19:07:31 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 9 Jun 2020 16:07:31 -0700 Subject: Browser Widget on Linux: how can it become possible to use? In-Reply-To: <0fa531b7-27d0-b029-7ea3-47cffccac0a4@sonic.net> References: <0fa531b7-27d0-b029-7ea3-47cffccac0a4@sonic.net> Message-ID: Mark Wieder wrote: > On 6/7/20 1:17 AM, Richard Gaskin via use-livecode wrote: > >> What is needed to make the Browser widget work in LC's Linux engine? >> > http://forums.livecode.com/viewtopic.php?f=4&t=33805&p=189397&hilit=CEF#p189397 Sounds like the Browser widget is completely DOA in LC for Linux. I hope I misread that. -- Richard Gaskin Fourth World Systems From heather at livecode.com Mon Jun 15 04:26:15 2020 From: heather at livecode.com (Heather Laine) Date: Mon, 15 Jun 2020 09:26:15 +0100 Subject: checking we are back Message-ID: If you see this, no need to reply. Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From dvglasgow at gmail.com Mon Jun 15 06:20:55 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Mon, 15 Jun 2020 11:20:55 +0100 Subject: Build problems with 9.6 In-Reply-To: References: Message-ID: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> Hi Folks, I have been trying out 9.6 on Mac on a stack developed with 7.1.4. I made some minor tweaks to the stack and then tried to build a standalone. I didn?t check change the default build settings. It built for linux, then entered a blizzard of 'stack with the same name is in memory? alerts then crashed. I relaunched and switched off builds for Win, Mac 32 bit and Linux, so building just for Mac 64 (which was all I wanted). Build for mobile both unchecked by default This failed with the following error(s) There was an error while saving the standalone application Adding ad-hoc signature failed with error: /Users/mrdglasgow/Dropbox/Rev Dev/ISOtex/Forinan12/Forinan.app: replacing existing signature Agreeing to the Xcode/iOS license requires admin privileges, please run xcodebuild -license,All and then retry this command. /Users/mrdglasgow/Dropbox/Rev Dev/ISOtex/Forinan12/Forinan.app: the codesign_allocate helper tool cannot be found or used Que Pasa? This isn?t for distribution or anything, and I have never tried to sign anything previously built. Cheers, David Glasgow From dvglasgow at gmail.com Mon Jun 15 07:01:16 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Mon, 15 Jun 2020 12:01:16 +0100 Subject: Build problems with 9.6 In-Reply-To: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> Message-ID: <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> Should have said, MacOS 10.13.6 > On 15 Jun 2020, at 11:20 am, David V Glasgow wrote: > > Hi Folks, > > I have been trying out 9.6 on Mac on a stack developed with 7.1.4. I made some minor tweaks to the stack and then tried to build a standalone. I didn?t check change the default build settings. It built for linux, then entered a blizzard of 'stack with the same name is in memory? alerts then crashed. > > I relaunched and switched off builds for Win, Mac 32 bit and Linux, so building just for Mac 64 (which was all I wanted). Build for mobile both unchecked by default > > This failed with the following error(s) > > There was an error while saving the > standalone application > > Adding ad-hoc signature failed with error: > /Users/mrdglasgow/Dropbox/Rev > Dev/ISOtex/Forinan12/Forinan.app: > replacing existing signature > > Agreeing to the Xcode/iOS license requires > admin privileges, please run xcodebuild -license,All and then retry this > command. > > /Users/mrdglasgow/Dropbox/Rev > Dev/ISOtex/Forinan12/Forinan.app: the > codesign_allocate helper tool cannot be > found or used > > Que Pasa? This isn?t for distribution or anything, and I have never tried to sign anything previously built. > > Cheers, > > David Glasgow From paul at researchware.com Mon Jun 15 07:55:20 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 15 Jun 2020 07:55:20 -0400 Subject: Catalina Entitlements or Permissions (was Possible Catalina problem) In-Reply-To: References: Message-ID: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> We're having some macOS Catalina permissions/entitlements issues We have applications that we deliver for Catalina where the application (LiveCode standalone) is code-signed. It is then packaged in an installers (LiveCode standalone) and the installer is code signed. That is then placed in a DMG, which is code-signed, notarized, and stapled. This has worked for us since October when Catalina was released. It still works, except sometimes, after successful downloading and installation, when the applications is first launched, Catalina does not ask for the permissions the Application needs. Instead certain handler throw an execution error. The handlers that produce the errors on startup when Catalina fails to ask for permissions have the following in common: The set the defaultFolder to folders such as: /Library/PreferencePanes /Users//Library/Preferences -- this is using the code: the home folder & "/Library/PreferencePanes/" or /private/var/folders/fj/0llnt4vs44vfzy4r97k_wngc0000gp/T/TemporaryItems -- this is 'the temporary folder' on Mojave or Catalina. On Mavericks and earlier teh temporaty folder was /Users//Library/Caches/TemporaryItems After setting the defaultFolder, the code gets 'the files' or 'the folders' and fails (actually we've not pinned down whether it fails on set the defaultFolder OR on the call to 'the files/folders') Going to Apple (menu) > System Preferences (menu item) > Security & Privacy (control) > Privacy (tab) and selecting Full Disk Access and adding our applications prevents these errors from occuring. The issue is clearly with Catalina failing to detect and ask for the correct permissions. This is a known issue a number of developers have run into. See https://forums.developer.apple.com/thread/125438 as one example where an Apple support person admits that detecting what permissions a process is requesting that is tied back to your user visible app (something Apple calls 'responsibility tracking') is really hard. For iOS and Android, you can specify entitlements or requested permissions in the Standalone Builder Settings. How do you do this for macOS Catalina? Does anyone know if there is a way to specify entitlements for a macOS desktop app built in LiveCode? I have been googling and googling and can seem to find anything. I found one discussion on stackExchange that seem to imply that the PLIST file could be edited to specify entitlements. I have tried the Apple Developer site, but SO MUCH of it is orient towards people with lots of Apple Developer experience and focuses of C and SWIFT and Apple specific technologies I don't understand. I can edit the XML in a PLIST file in the standalone bundle IF I only knew what to add? From merakosp at gmail.com Mon Jun 15 08:04:50 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 15 Jun 2020 15:04:50 +0300 Subject: Build problems with 9.6 In-Reply-To: <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> Message-ID: Hello David, Could you try what is suggested in https://quality.livecode.com/show_bug.cgi?id=22740? Kind regards, Panos -- On Mon, 15 Jun 2020 at 14:02, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > Should have said, MacOS 10.13.6 > > > On 15 Jun 2020, at 11:20 am, David V Glasgow > wrote: > > > > Hi Folks, > > > > I have been trying out 9.6 on Mac on a stack developed with 7.1.4. I > made some minor tweaks to the stack and then tried to build a standalone. > I didn?t check change the default build settings. It built for linux, then > entered a blizzard of 'stack with the same name is in memory? alerts then > crashed. > > > > I relaunched and switched off builds for Win, Mac 32 bit and Linux, so > building just for Mac 64 (which was all I wanted). Build for mobile both > unchecked by default > > > > This failed with the following error(s) > > > > There was an error while saving the > > standalone application > > > > Adding ad-hoc signature failed with error: > > /Users/mrdglasgow/Dropbox/Rev > > Dev/ISOtex/Forinan12/Forinan.app: > > replacing existing signature > > > > Agreeing to the Xcode/iOS license requires > > admin privileges, please run xcodebuild -license,All and then retry this > > command. > > > > /Users/mrdglasgow/Dropbox/Rev > > Dev/ISOtex/Forinan12/Forinan.app: the > > codesign_allocate helper tool cannot be > > found or used > > > > Que Pasa? This isn?t for distribution or anything, and I have never > tried to sign anything previously built. > > > > Cheers, > > > > David Glasgow > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Mon Jun 15 10:58:14 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 15 Jun 2020 07:58:14 -0700 Subject: checking we are back In-Reply-To: References: Message-ID: <26c1812f-52ff-ab6d-e788-6e7480f9f994@sonic.net> On 6/15/20 1:26 AM, Heather Laine via use-livecode wrote: > If you see this, no need to reply. ...and if we don't see it? -- Mark Wieder ahsoftware at gmail.com From matthias_livecode_150811 at m-r-d.de Mon Jun 15 11:07:39 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 15 Jun 2020 17:07:39 +0200 Subject: checking we are back In-Reply-To: <26c1812f-52ff-ab6d-e788-6e7480f9f994@sonic.net> References: <26c1812f-52ff-ab6d-e788-6e7480f9f994@sonic.net> Message-ID: Then please reply. ;) > Am 15.06.2020 um 16:58 schrieb Mark Wieder via use-livecode : > > On 6/15/20 1:26 AM, Heather Laine via use-livecode wrote: >> If you see this, no need to reply. > > ...and if we don't see it? > > -- > 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 dvglasgow at gmail.com Mon Jun 15 11:11:42 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Mon, 15 Jun 2020 16:11:42 +0100 Subject: Build problems with 9.6 In-Reply-To: References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> Message-ID: <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> Hi Panos, The tools appeared to install, but the error(s) still appear, and the standalone isn?t saved. Best wishes, David G > On 15 Jun 2020, at 1:04 pm, panagiotis merakos via use-livecode wrote: > > Hello David, > > Could you try what is suggested in > https://quality.livecode.com/show_bug.cgi?id=22740? > > Kind regards, > Panos > -- > > On Mon, 15 Jun 2020 at 14:02, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Should have said, MacOS 10.13.6 >> >>> On 15 Jun 2020, at 11:20 am, David V Glasgow >> wrote: >>> >>> Hi Folks, >>> >>> I have been trying out 9.6 on Mac on a stack developed with 7.1.4. I >> made some minor tweaks to the stack and then tried to build a standalone. >> I didn?t check change the default build settings. It built for linux, then >> entered a blizzard of 'stack with the same name is in memory? alerts then >> crashed. >>> >>> I relaunched and switched off builds for Win, Mac 32 bit and Linux, so >> building just for Mac 64 (which was all I wanted). Build for mobile both >> unchecked by default >>> >>> This failed with the following error(s) >>> >>> There was an error while saving the >>> standalone application >>> >>> Adding ad-hoc signature failed with error: >>> /Users/mrdglasgow/Dropbox/Rev >>> Dev/ISOtex/Forinan12/Forinan.app: >>> replacing existing signature >>> >>> Agreeing to the Xcode/iOS license requires >>> admin privileges, please run xcodebuild -license,All and then retry this >>> command. >>> >>> /Users/mrdglasgow/Dropbox/Rev >>> Dev/ISOtex/Forinan12/Forinan.app: the >>> codesign_allocate helper tool cannot be >>> found or used >>> >>> Que Pasa? This isn?t for distribution or anything, and I have never >> tried to sign anything previously built. >>> >>> Cheers, >>> >>> David Glasgow >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 15 11:19:33 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 15 Jun 2020 08:19:33 -0700 Subject: checking we are back In-Reply-To: References: <26c1812f-52ff-ab6d-e788-6e7480f9f994@sonic.net> Message-ID: <791e8f30-bc18-c467-c31e-34e0fcdc9f92@sonic.net> On 6/15/20 8:07 AM, matthias rebbe via use-livecode wrote: > Then please reply. ;) Ah... the Bertrand Russell approach. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Mon Jun 15 11:54:06 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 15 Jun 2020 16:54:06 +0100 Subject: checking we are back In-Reply-To: References: Message-ID: <3E3D0EE8-25EA-4EE5-AE59-AD4383658DE7@pidigital.co.uk> Resisting the urge to reply Ahh, dang it! Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 15 Jun 2020, at 09:26, Heather Laine via use-livecode wrote: > > ?If you see this, no need to reply. > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Jun 15 12:04:31 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 15 Jun 2020 19:04:31 +0300 Subject: Build problems with 9.6 In-Reply-To: <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> Message-ID: Hello David, Where have you installed Xcode? Could you try this in a terminal: sudo xcode-select -s /path/to/your/Xcode.app Also, it might be worth opening Xcode first (in case you have never opened it). Kind regards, Panos -- On Mon, 15 Jun 2020 at 18:12, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > The tools appeared to install, but the error(s) still appear, and the > standalone isn?t saved. > > Best wishes, > > David G > > > On 15 Jun 2020, at 1:04 pm, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello David, > > > > Could you try what is suggested in > > https://quality.livecode.com/show_bug.cgi?id=22740? > > > > Kind regards, > > Panos > > -- > > > > On Mon, 15 Jun 2020 at 14:02, David V Glasgow via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Should have said, MacOS 10.13.6 > >> > >>> On 15 Jun 2020, at 11:20 am, David V Glasgow > >> wrote: > >>> > >>> Hi Folks, > >>> > >>> I have been trying out 9.6 on Mac on a stack developed with 7.1.4. I > >> made some minor tweaks to the stack and then tried to build a > standalone. > >> I didn?t check change the default build settings. It built for linux, > then > >> entered a blizzard of 'stack with the same name is in memory? alerts > then > >> crashed. > >>> > >>> I relaunched and switched off builds for Win, Mac 32 bit and Linux, so > >> building just for Mac 64 (which was all I wanted). Build for mobile > both > >> unchecked by default > >>> > >>> This failed with the following error(s) > >>> > >>> There was an error while saving the > >>> standalone application > >>> > >>> Adding ad-hoc signature failed with error: > >>> /Users/mrdglasgow/Dropbox/Rev > >>> Dev/ISOtex/Forinan12/Forinan.app: > >>> replacing existing signature > >>> > >>> Agreeing to the Xcode/iOS license requires > >>> admin privileges, please run xcodebuild -license,All and then retry > this > >>> command. > >>> > >>> /Users/mrdglasgow/Dropbox/Rev > >>> Dev/ISOtex/Forinan12/Forinan.app: the > >>> codesign_allocate helper tool cannot be > >>> found or used > >>> > >>> Que Pasa? This isn?t for distribution or anything, and I have never > >> tried to sign anything previously built. > >>> > >>> Cheers, > >>> > >>> David Glasgow > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 15 12:21:53 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 15 Jun 2020 19:21:53 +0300 Subject: Catalina Entitlements or Permissions (was Possible Catalina problem) In-Reply-To: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> References: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> Message-ID: Hello Paul, I guess you can sign the standalone mac app with entitlements, i.e. use a file that will contain all the necessary entitlements, and include it in the params passed to the codesign command. See this report for more details: https://quality.livecode.com/show_bug.cgi?id=22660 Kind regards, Panos -- On Mon, 15 Jun 2020 at 14:56, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > We're having some macOS Catalina permissions/entitlements issues > > We have applications that we deliver for Catalina where the application > (LiveCode standalone) is code-signed. It is then packaged in an > installers (LiveCode standalone) and the installer is code signed. That > is then placed in a DMG, which is code-signed, notarized, and stapled. > > This has worked for us since October when Catalina was released. > > It still works, except sometimes, after successful downloading and > installation, when the applications is first launched, Catalina does not > ask for the permissions the Application needs. Instead certain handler > throw an execution error. The handlers that produce the errors on > startup when Catalina fails to ask for permissions have the following in > common: > > The set the defaultFolder to folders such as: > > /Library/PreferencePanes > /Users//Library/Preferences -- this is using the code: the > home folder & "/Library/PreferencePanes/" > or > /private/var/folders/fj/0llnt4vs44vfzy4r97k_wngc0000gp/T/TemporaryItems > -- this is 'the temporary folder' on Mojave or Catalina. On Mavericks > and earlier teh temporaty folder was > /Users//Library/Caches/TemporaryItems > > After setting the defaultFolder, the code gets 'the files' or 'the > folders' and fails (actually we've not pinned down whether it fails on > set the defaultFolder OR on the call to 'the files/folders') > > Going to Apple (menu) > System Preferences (menu item) > Security & > Privacy (control) > Privacy (tab) and selecting Full Disk Access and > adding our applications prevents these errors from occuring. > > The issue is clearly with Catalina failing to detect and ask for the > correct permissions. This is a known issue a number of developers have > run into. See https://forums.developer.apple.com/thread/125438 as one > example where an Apple support person admits that detecting what > permissions a process is requesting that is tied back to your user > visible app (something Apple calls 'responsibility tracking') is really > hard. > > For iOS and Android, you can specify entitlements or requested > permissions in the Standalone Builder Settings. How do you do this for > macOS Catalina? > > Does anyone know if there is a way to specify entitlements for a macOS > desktop app built in LiveCode? I have been googling and googling and can > seem to find anything. I found one discussion on stackExchange that seem > to imply that the PLIST file could be edited to specify entitlements. I > have tried the Apple Developer site, but SO MUCH of it is orient towards > people with lots of Apple Developer experience and focuses of C and > SWIFT and Apple specific technologies I don't understand. > > I can edit the XML in a PLIST file in the standalone bundle IF I only > knew what to add? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 15 12:31:28 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 15 Jun 2020 17:31:28 +0100 Subject: Moving object out of a group Message-ID: Hi all, This has been a problem for some time now but it's just got so much more frustrating for me. I tend to organise my objects into groups as there are often lots of them and it helps keep them manageable. However, I have created a rectangle grc I need positioning between two group layers but I can never seem to get it to between them but only inside one or the other. It's not easy to describe so I've created a little video to help demonstrate it. - https://www.dropbox.com/s/w75fapg0pqcgezg/MoveOutOfGrp.mov?dl=0 Ideally, the grc should end up outside of both groups but between them in the list. I've tried drag-drop and by changing the layer number but can't get it to place properly. Is there a way to overcome this? Thanks Sean Cole *Pi Digital * From dochawk at gmail.com Mon Jun 15 13:37:47 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 15 Jun 2020 10:37:47 -0700 Subject: checking we are back In-Reply-To: References: Message-ID: Heather hailed, >If you see this, no need to reply. Not required, but permissive? :_) From dochawk at gmail.com Mon Jun 15 13:43:34 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 15 Jun 2020 10:43:34 -0700 Subject: Is the speech library really there? Message-ID: I tried to play with the speech library this morning, and on business 9.6, I can?t even prove that it?s there! (I would think that if nothing else, it would hit the online version of the dictionary Even more interesting, when I try ?speechInitializeLibrary? it comes up with *no* results . . . I see a few pages written by folks that must have got it moving, but . . . From alex at tweedly.net Mon Jun 15 14:48:04 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 15 Jun 2020 19:48:04 +0100 Subject: Moving object out of a group In-Reply-To: References: Message-ID: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> two possible, but not great, answers ... but (something like) this has worked for me in the past. 1. - drag/drop the grc rect to the containing group or card (i.e. outside the groups it should not be in) ?- drag / drop other groups to before it 2. - select the group it is in ?? - "Ungroup" ?? - deselect the rect ?? - "Group" Alex. On 15/06/2020 17:31, Sean Cole (Pi) via use-livecode wrote: > Hi all, > > This has been a problem for some time now but it's just got so much more > frustrating for me. I tend to organise my objects into groups as there are > often lots of them and it helps keep them manageable. > > However, I have created a rectangle grc I need positioning between two > group layers but I can never seem to get it to between them but only inside > one or the other. It's not easy to describe so I've created a little video > to help demonstrate it. - > https://www.dropbox.com/s/w75fapg0pqcgezg/MoveOutOfGrp.mov?dl=0 > > Ideally, the grc should end up outside of both groups but between them in > the list. I've tried drag-drop and by changing the layer number but can't > get it to place properly. Is there a way to overcome this? > > Thanks > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Mon Jun 15 15:10:57 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 15 Jun 2020 15:10:57 -0400 Subject: Moving object out of a group In-Reply-To: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> References: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> Message-ID: <3af36d81-eb14-4607-b7f7-1cd3fd829007@Spark> If the group is expanded in the Project Browser, then it lands inside the group.??If the group is collapsed/closed then it will move between groups. Thanks, Brian On Jun 15, 2020, 2:49 PM -0400, Alex Tweedly via use-livecode , wrote: > two possible, but not great, answers ... but (something like) this has > worked for me in the past. > > 1. - drag/drop the grc rect to the containing group or card (i.e. > outside the groups it should not be in) > > ?- drag / drop other groups to before it > > 2. - select the group it is in > > ?? - "Ungroup" > > ?? - deselect the rect > > ?? - "Group" > > Alex. > > > > On 15/06/2020 17:31, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > > > This has been a problem for some time now but it's just got so much more > > frustrating for me. I tend to organise my objects into groups as there are > > often lots of them and it helps keep them manageable. > > > > However, I have created a rectangle grc I need positioning between two > > group layers but I can never seem to get it to between them but only inside > > one or the other. It's not easy to describe so I've created a little video > > to help demonstrate it. - > > https://www.dropbox.com/s/w75fapg0pqcgezg/MoveOutOfGrp.mov?dl=0 > > > > Ideally, the grc should end up outside of both groups but between them in > > the list. I've tried drag-drop and by changing the layer number but can't > > get it to place properly. Is there a way to overcome this? > > > > Thanks > > > > Sean Cole > > *Pi Digital * > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Jun 15 15:32:47 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 15 Jun 2020 12:32:47 -0700 Subject: Moving object out of a group In-Reply-To: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> References: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> Message-ID: I believe that I?ve also used cut to get things out of groups by scripting the past. > On Jun 15, 2020, at 11:48 AM, Alex Tweedly via use-livecode wrote: > > two possible, but not great, answers ... but (something like) this has worked for me in the past. > > 1. - drag/drop the grc rect to the containing group or card (i.e. outside the groups it should not be in) > > - drag / drop other groups to before it > > 2. - select the group it is in > > - "Ungroup" > > - deselect the rect > > - "Group" > > Alex. > > > > On 15/06/2020 17:31, Sean Cole (Pi) via use-livecode wrote: >> Hi all, >> >> This has been a problem for some time now but it's just got so much more >> frustrating for me. I tend to organise my objects into groups as there are >> often lots of them and it helps keep them manageable. >> >> However, I have created a rectangle grc I need positioning between two >> group layers but I can never seem to get it to between them but only inside >> one or the other. It's not easy to describe so I've created a little video >> to help demonstrate it. - >> https://www.dropbox.com/s/w75fapg0pqcgezg/MoveOutOfGrp.mov?dl=0 >> >> Ideally, the grc should end up outside of both groups but between them in >> the list. I've tried drag-drop and by changing the layer number but can't >> get it to place properly. Is there a way to overcome this? >> >> Thanks >> >> Sean Cole >> *Pi Digital * >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jun 15 15:35:07 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 15 Jun 2020 12:35:07 -0700 Subject: Moving object out of a group In-Reply-To: References: Message-ID: <8bd2fe33-2186-85e8-37ed-828bb36531ef@sonic.net> On 6/15/20 9:31 AM, Sean Cole (Pi) via use-livecode wrote: > Ideally, the grc should end up outside of both groups but between them in > the list. I've tried drag-drop and by changing the layer number but can't > get it to place properly. Is there a way to overcome this? > The only way I can ever do something like this is with the messagebox command line. -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Mon Jun 15 15:43:10 2020 From: paul at livecode.org (Paul Hibbert) Date: Mon, 15 Jun 2020 12:43:10 -0700 Subject: Moving object out of a group In-Reply-To: References: Message-ID: Hi Sean, Try collapsing the groups in the PB, then dragging the Graphic Object in between them. I find that if the groups are displayed expanded, then the dragged object will end up in the group above where it is dropped, but with the groups collapsed you should be able to drop the objects in between them. You should be able to get away with just collapsing the group that you wish to place the Graphic below. Paul > On Jun 15, 2020, at 09:31, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > This has been a problem for some time now but it's just got so much more > frustrating for me. I tend to organise my objects into groups as there are > often lots of them and it helps keep them manageable. > > However, I have created a rectangle grc I need positioning between two > group layers but I can never seem to get it to between them but only inside > one or the other. It's not easy to describe so I've created a little video > to help demonstrate it. - > https://www.dropbox.com/s/w75fapg0pqcgezg/MoveOutOfGrp.mov?dl=0 > > Ideally, the grc should end up outside of both groups but between them in > the list. I've tried drag-drop and by changing the layer number but can't > get it to place properly. Is there a way to overcome this? > > Thanks > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jun 15 15:46:38 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 15 Jun 2020 12:46:38 -0700 Subject: Moving object out of a group In-Reply-To: References: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> Message-ID: On 6/15/20 12:32 PM, doc hawk via use-livecode wrote: > by scripting the past. I thought Jacque was the only who had that superpower... -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jun 15 16:05:07 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Jun 2020 15:05:07 -0500 Subject: mobileComposeMail on iOS Message-ID: <193b7737-14f4-104f-c4c3-f7f57e5d7095@hyperactivesw.com> I'm using mobileComposeMail to send a log file to the support queue when a user has a problem. It works fine in Android with any email client. In iOS it works for everyone except one person who has removed Mail from their iPhone and is using the gMail app as the mail client. When they tap the Send Log button, nothing at all happens. This person also has an iPad with the same setup (no Mail app, gMail app ony.) That device *can* generate an email. Is there some setting or configuration we should look at? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From panos.merakos at livecode.com Mon Jun 15 17:21:29 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 16 Jun 2020 00:21:29 +0300 Subject: [ANN] This Week in LiveCode 230 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 #230 here: https://bit.ly/37znAME 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 mark at canelasoftware.com Mon Jun 15 23:15:46 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 15 Jun 2020 20:15:46 -0700 Subject: Catalina Entitlements or Permissions (was Possible Catalina problem) In-Reply-To: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> References: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> Message-ID: We use App Wrapper 3 to sign and notarize our apps. You can control all of these details from inside the app. It makes it pretty easy. I think you can try the app for free and see if this works for you. https://www.ohanaware.com/appwrapper/ Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Jun 15, 2020, at 4:55 AM, Paul Dupuis via use-livecode wrote: > > We're having some macOS Catalina permissions/entitlements issues > > We have applications that we deliver for Catalina where the application (LiveCode standalone) is code-signed. It is then packaged in an installers (LiveCode standalone) and the installer is code signed. That is then placed in a DMG, which is code-signed, notarized, and stapled. > > This has worked for us since October when Catalina was released. > > It still works, except sometimes, after successful downloading and installation, when the applications is first launched, Catalina does not ask for the permissions the Application needs. Instead certain handler throw an execution error. The handlers that produce the errors on startup when Catalina fails to ask for permissions have the following in common: From jacque at hyperactivesw.com Tue Jun 16 01:00:25 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Jun 2020 00:00:25 -0500 Subject: Moving object out of a group In-Reply-To: References: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> Message-ID: <172bb7ff628.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Kind of, but I'm not very good at it. Look at what happened. Now I'm afraid to go back and try to fix it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 15, 2020 2:48:27 PM Mark Wieder via use-livecode wrote: > On 6/15/20 12:32 PM, doc hawk via use-livecode wrote: > >> by scripting the past. > > I thought Jacque was the only who had that superpower... > > -- > 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 dvglasgow at gmail.com Tue Jun 16 08:03:02 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 16 Jun 2020 13:03:02 +0100 Subject: Build problems with 9.6 In-Reply-To: References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> Message-ID: <529F43CF-40AD-49C4-B6D7-48A2CC684507@gmail.com> > On 15 Jun 2020, at 5:04 pm, panagiotis merakos via use-livecode wrote: > > Hello David, > > Where have you installed Xcode? > > Could you try this in a terminal: > > sudo xcode-select -s /path/to/your/Xcode.app In response to this I get xcode-select: error: invalid developer directory '/path/to/your/Xcode.app' Launching X-Code I get an unknown error with a long field of text in the console. Want to see it? Cheers, David G > > Also, it might be worth opening Xcode first (in case you have never opened > it). > > Kind regards, > Panos > -- > > On Mon, 15 Jun 2020 at 18:12, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Panos, >> >> The tools appeared to install, but the error(s) still appear, and the >> standalone isn?t saved. >> >> Best wishes, >> >> David G From merakosp at gmail.com Tue Jun 16 08:11:09 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 16 Jun 2020 15:11:09 +0300 Subject: Build problems with 9.6 In-Reply-To: <529F43CF-40AD-49C4-B6D7-48A2CC684507@gmail.com> References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> <529F43CF-40AD-49C4-B6D7-48A2CC684507@gmail.com> Message-ID: Hello David, Sorry about that, I should have mentioned that "/path/to/your/Xcode.app" is a placeholder for the actual path to your Xcode.app. So for example if you have installed Xcode into your Applications folder, then the above command should read: sudo xcode-select -s /Applications/Xcode.app *>>>>>>>Launching X-Code I get an unknown error with a long field of text in the console. Want to see it? * If the previous command does not make any difference, then yes please :) Which version of Xcode have you installed BTW? Kind regards, Panos -- On Tue, 16 Jun 2020 at 15:04, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 15 Jun 2020, at 5:04 pm, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello David, > > > > Where have you installed Xcode? > > > > Could you try this in a terminal: > > > > sudo xcode-select -s /path/to/your/Xcode.app > > > In response to this I get > > xcode-select: error: invalid developer directory '/path/to/your/Xcode.app' > > Launching X-Code I get an unknown error with a long field of text in the > console. Want to see it? > > Cheers, > > David G > > > > > Also, it might be worth opening Xcode first (in case you have never > opened > > it). > > > > Kind regards, > > Panos > > -- > > > > On Mon, 15 Jun 2020 at 18:12, David V Glasgow via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi Panos, > >> > >> The tools appeared to install, but the error(s) still appear, and the > >> standalone isn?t saved. > >> > >> Best wishes, > >> > >> David G > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Tue Jun 16 11:50:11 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 16 Jun 2020 08:50:11 -0700 Subject: Moving object out of a group In-Reply-To: <172bb7ff628.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> <172bb7ff628.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0c2713aa-e222-c7fd-67a3-f82f33ff04ea@sonic.net> On 6/15/20 10:00 PM, J. Landman Gay via use-livecode wrote: > Kind of, but I'm not very good at it. Look at what happened. Now I'm > afraid to go back and try to fix it. > Not throwing shade here, but there are a few things I'd like fixed when you get around to it. -- Mark Wieder ahsoftware at gmail.com From dvglasgow at gmail.com Tue Jun 16 11:52:56 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 16 Jun 2020 16:52:56 +0100 Subject: Build problems with 9.6 In-Reply-To: References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> <529F43CF-40AD-49C4-B6D7-48A2CC684507@gmail.com> Message-ID: <78F649B2-23D7-457E-96C3-06C3D10345B2@gmail.com> > On 16 Jun 2020, at 1:11 pm, panagiotis merakos via use-livecode wrote: > > Sorry about that, I should have mentioned that "/path/to/your/Xcode.app" is > a placeholder for the actual path to your Xcode.app. Oh boy. Feel a bit dumb now! Currently 10.1, downloading 11 now, just in case. response this time You have new mail in /var/mail/mrdglasgow ? which was a report. I searched for ?error? and there were none, but launching Xcode resulted in the same error as before. Is it worth trying a build with LC, or should I install Xcode 11? Cheers David G From dochawk at gmail.com Tue Jun 16 12:02:07 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 16 Jun 2020 09:02:07 -0700 Subject: Moving object out of a group In-Reply-To: <8bd2fe33-2186-85e8-37ed-828bb36531ef@sonic.net> References: <8bd2fe33-2186-85e8-37ed-828bb36531ef@sonic.net> Message-ID: Mark mentioned, > > The only way I can ever do something like this is with the messagebox command line. There appears to be something generally wrong when trying to manipulate the layers of objects when groups are involved. I think this goes back (at least) to version 5. The only consistent way I have found to put something between others is to cut and paste *all* items of higher layer number than you want it to land at, and paste them back (which would be a problem for shared groups!) From ahsoftware at sonic.net Tue Jun 16 12:15:44 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 16 Jun 2020 09:15:44 -0700 Subject: Moving object out of a group In-Reply-To: References: <8bd2fe33-2186-85e8-37ed-828bb36531ef@sonic.net> Message-ID: <0e06ef36-12af-4aea-d3e4-5720f519eb30@sonic.net> On 6/16/20 9:02 AM, doc hawk via use-livecode wrote: > The only consistent way I have found to put something between others is to cut and paste *all* items of higher layer number than you want it to land at, and paste them back (which would be a problem for shared groups!) Yes. That's what I meant. Have I mentioned lately how much I hate the Project Browser? -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Tue Jun 16 12:18:52 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 16 Jun 2020 09:18:52 -0700 Subject: Moving object out of a group In-Reply-To: <0e06ef36-12af-4aea-d3e4-5720f519eb30@sonic.net> References: <8bd2fe33-2186-85e8-37ed-828bb36531ef@sonic.net> <0e06ef36-12af-4aea-d3e4-5720f519eb30@sonic.net> Message-ID: <9996D1AE-CEC5-4742-833F-B6EDCC888050@gmail.com> Mark mumbled, > Have I mentioned lately how much I hate the Project Browser? I still find it far too painful to use. A couple of times a year to work around another bug or crash situation, but that?s it. From dochawk at gmail.com Tue Jun 16 12:20:11 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 16 Jun 2020 09:20:11 -0700 Subject: Moving object out of a group In-Reply-To: References: <99cae088-db7d-8aa0-af77-89cab3ddc3de@tweedly.net> Message-ID: <9CDD8C70-C0C2-4C07-9A5E-77AAEFB49EE3@gmail.com> Mark meandedered, > > On 6/15/20 12:32 PM, doc hawk via use-livecode wrote: >> by scripting the past. > I thought Jacque was the only who had that superpower? She had been, but no longer was, once I adjust it. (Gosh,inter- temporal grammar is hard . . .) From MikeKerner at roadrunner.com Tue Jun 16 12:24:24 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Jun 2020 12:24:24 -0400 Subject: base64urlencode Message-ID: does anyone have a routine to do base64urlencoding? it's not the same as base64encoding or urlencoding. -- 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 sean at pidigital.co.uk Tue Jun 16 12:42:24 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 16 Jun 2020 17:42:24 +0100 Subject: Moving object out of a group In-Reply-To: <9996D1AE-CEC5-4742-833F-B6EDCC888050@gmail.com> References: <9996D1AE-CEC5-4742-833F-B6EDCC888050@gmail.com> Message-ID: I don?t hate it but it can be a little frustrating and awkward. It?s still better than it was in v8 and than the application manager. It desperately needs a refresh button. And layering needs a rethink/overhaul. V10 maybe. Looking at the bug list there are heaps for PB that have/will not be addressed. Confirmed is as far as most of them get. Bug 18818 is the most relevant to my symptoms. Reported in Nov 2016. Bumped in Mar 2018. Not touched since. I suppose we have to keep bumping these if we want them looked in to or they just end up getting lost in the forest of bugs that get added and not addressed beyond ?Confirmed?. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 16 Jun 2020, at 17:19, doc hawk via use-livecode wrote: > > ? > Mark mumbled, > >> Have I mentioned lately how much I hate the Project Browser? > > I still find it far too painful to use. > > A couple of times a year to work around another bug or crash situation, but that?s it. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Jun 16 12:43:52 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 16 Jun 2020 09:43:52 -0700 Subject: base64urlencode In-Reply-To: References: Message-ID: On 6/16/20 9:24 AM, Mike Kerner via use-livecode wrote: > does anyone have a routine to do base64urlencoding? it's not the same as > base64encoding or urlencoding. > It mostly is the same. Does this do the trick? function base64urlencode pString local tEncoded put base64encode(pString) into tEncoded replace "+" with "-" in tEncoded replace "/" with "_" in tEncoded replace "=" with "" in tEncoded return tEncoded end base64urlencode -- Mark Wieder ahsoftware at gmail.com From waprothero at gmail.com Tue Jun 16 14:54:16 2020 From: waprothero at gmail.com (William Prothero) Date: Tue, 16 Jun 2020 11:54:16 -0700 Subject: Set Line color in dG? In-Reply-To: References: Message-ID: <371A1C72-9605-4C8F-B7F2-146DE800641A@gmail.com> Folks: I?m having trouble getting the line color of a dataGrid to change. The lessons shows a very simple tutorial and the download example works. However, in my application, it doesn?t. The code is: on mouseup put the dgDataOfLine[3] of group "meterReadings" of this cd into theDataA put not theDataA["line has error"] into theDataA["line has error"] set the dgDataOfLine[3] of group "meterReadings" of this cd to theDataA end mouseup I get the expected values for the line shown on the datagrid, but the color doesn?t change. I?m running Catalina 10.15.5 on a pretty new Mac laptop. I?m using livecode 9.6.0 Business. The mystery is that the downloaded example works as expected, but not on my app. Have I missed something? Best, Bill William A. Prothero https://earthlearningsolutions.org From MikeKerner at roadrunner.com Tue Jun 16 15:00:29 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Jun 2020 15:00:29 -0400 Subject: base64urlencode In-Reply-To: References: Message-ID: you sure? there is a difference in padding, as well, it seems. On Tue, Jun 16, 2020 at 12:44 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/16/20 9:24 AM, Mike Kerner via use-livecode wrote: > > does anyone have a routine to do base64urlencoding? it's not the same as > > base64encoding or urlencoding. > > > > It mostly is the same. Does this do the trick? > > function base64urlencode pString > local tEncoded > > put base64encode(pString) into tEncoded > replace "+" with "-" in tEncoded > replace "/" with "_" in tEncoded > replace "=" with "" in tEncoded > return tEncoded > end base64urlencode > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Jun 16 15:16:08 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Jun 2020 15:16:08 -0400 Subject: SHA256withRSA Message-ID: how about SHA256withRSA - anyone have an lc script? -- 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 ahsoftware at sonic.net Tue Jun 16 15:20:05 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 16 Jun 2020 12:20:05 -0700 Subject: base64urlencode In-Reply-To: References: Message-ID: <7dc4e8c0-be75-b184-baec-a64ed968d4ca@sonic.net> On 6/16/20 12:00 PM, Mike Kerner via use-livecode wrote: > you sure? there is a difference in padding, as well, it seems Dunno. I don't have a use case for this. But https://stackoverflow.com/questions/30246497/using-statement-for-base64urlencode -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Tue Jun 16 15:32:27 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 16 Jun 2020 21:32:27 +0200 Subject: Yet more iOS deployment heartache - finding Xcode SDKs Message-ID: <81EA9091-BBAD-4DFC-B6A5-CEC3AED5DD42@mac.com> I have a viable iOS app that I have previously managed to load into my own iPhone etc. Now I want to ready it for the app store. Since I last asked LC 9.6.0 to save it as a standalone, I have acquired a new iMac (runing Catalina) and upgraded Xcode to version 11.5. Now when I try to save my LC project as a standalone, I get an error message from LC: ?There was an error while saving the standalone application In order to perform device builds, you must have the iOS SDK 13.4 configured - iOS 13.4 comes with Xcode 11.4? Well, thanks for telling me,. Trying to research this, I find that there is an LC lesson that says > NB Xcode must be linked to your version of LiveCode via LiveCodes Mobile Support Preferences. This option is available from "LiveCode"--->"Preferences"---->"Mobile Support? Yes, and that says I have to find the relevant SDKs. But where are they? I search of the iMac didn?t find them. Nothing in Application Support AFAIKS. Someone please help Graham From matthias_livecode_150811 at m-r-d.de Tue Jun 16 15:39:01 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 16 Jun 2020 21:39:01 +0200 Subject: Yet more iOS deployment heartache - finding Xcode SDKs In-Reply-To: <81EA9091-BBAD-4DFC-B6A5-CEC3AED5DD42@mac.com> References: <81EA9091-BBAD-4DFC-B6A5-CEC3AED5DD42@mac.com> Message-ID: Graham, first of all the release notes 9.6.0 say that Xcode 11.4 is supported, not 11.5. So i would suggest to download/install Xcode 11.4. You can find older versions of Xcode in the download sections of your developer account. - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.06.2020 um 21:32 schrieb Graham Samuel via use-livecode : > > I have a viable iOS app that I have previously managed to load into my own iPhone etc. Now I want to ready it for the app store. Since I last asked LC 9.6.0 to save it as a standalone, I have acquired a new iMac (runing Catalina) and upgraded Xcode to version 11.5. > > Now when I try to save my LC project as a standalone, I get an error message from LC: > > ?There was an error while saving the standalone application > In order to perform device builds, you must have the iOS SDK 13.4 configured - iOS 13.4 comes with Xcode 11.4? > > Well, thanks for telling me,. Trying to research this, I find that there is an LC lesson that says > >> NB Xcode must be linked to your version of LiveCode via LiveCodes Mobile Support Preferences. This option is available from "LiveCode"--->"Preferences"---->"Mobile Support? > > Yes, and that says I have to find the relevant SDKs. But where are they? I search of the iMac didn?t find them. Nothing in Application Support AFAIKS. > > Someone please help > > 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 zryip.theslug at gmail.com Tue Jun 16 15:51:10 2020 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 16 Jun 2020 21:51:10 +0200 Subject: Set Line color in dG? In-Reply-To: <371A1C72-9605-4C8F-B7F2-146DE800641A@gmail.com> References: <371A1C72-9605-4C8F-B7F2-146DE800641A@gmail.com> Message-ID: Bill, The example you mention is probably using a custom column behavior script for accomplishing this. Do you have copied the button in your project? The button must be linked to your datagrid by using the following code: set the dgProp["default column behavior"] of grp "myDatagrid" to the long id of btn "myBtn" Best Regards, On Tue, Jun 16, 2020 at 8:55 PM William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Folks: > I?m having trouble getting the line color of a dataGrid to change. The > lessons shows a very simple tutorial and the download example works. > However, in my application, it doesn?t. > > The code is: > on mouseup > > put the dgDataOfLine[3] of group "meterReadings" of this cd into > theDataA > > put not theDataA["line has error"] into theDataA["line has error"] > > set the dgDataOfLine[3] of group "meterReadings" of this cd to theDataA > > end mouseup > > I get the expected values for the line shown on the datagrid, but the > color doesn?t change. I?m running Catalina 10.15.5 on a pretty new Mac > laptop. I?m using livecode 9.6.0 Business. > > The mystery is that the downloaded example works as expected, but not on > my app. > > Have I missed something? > > Best, > Bill > > > William A. Prothero > https://earthlearningsolutions.org > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Zryip TheSlug http://www.aslugontheroad.com From prothero at earthlearningsolutions.org Tue Jun 16 16:04:28 2020 From: prothero at earthlearningsolutions.org (Prothero-ELS) Date: Tue, 16 Jun 2020 13:04:28 -0700 Subject: Set Line color in dG? In-Reply-To: References: Message-ID: <920013A8-5664-4BE3-8263-C3C05A4E3E30@earthlearningsolutions.org> Zryp, What I wanted to do is make a distinction between data that was retrieved from a database and data that was entered but not yet stored. A datagrid is. Way overkill for what I?m doing, but .... the button that accesses the datagrid data to get the specific line is for testing only. William Prothero https://earthlearningsolutions.org > On Jun 16, 2020, at 12:52 PM, zryip theSlug via use-livecode wrote: > > ?Bill, > > The example you mention is probably using a custom column behavior script > for accomplishing this. > Do you have copied the button in your project? The button must be linked to > your datagrid by using the following code: > > set the dgProp["default column behavior"] of grp "myDatagrid" to the long > id of btn "myBtn" > > > Best Regards, > > >> On Tue, Jun 16, 2020 at 8:55 PM William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Folks: >> I?m having trouble getting the line color of a dataGrid to change. The >> lessons shows a very simple tutorial and the download example works. >> However, in my application, it doesn?t. >> >> The code is: >> on mouseup >> >> put the dgDataOfLine[3] of group "meterReadings" of this cd into >> theDataA >> >> put not theDataA["line has error"] into theDataA["line has error"] >> >> set the dgDataOfLine[3] of group "meterReadings" of this cd to theDataA >> >> end mouseup >> >> I get the expected values for the line shown on the datagrid, but the >> color doesn?t change. I?m running Catalina 10.15.5 on a pretty new Mac >> laptop. I?m using livecode 9.6.0 Business. >> >> The mystery is that the downloaded example works as expected, but not on >> my app. >> >> Have I missed something? >> >> Best, >> Bill >> >> >> William A. Prothero >> https://earthlearningsolutions.org >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From michael-kristensen at dsa-net.dk Tue Jun 16 16:07:19 2020 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Tue, 16 Jun 2020 22:07:19 +0200 Subject: Moving object out of a group In-Reply-To: References: Message-ID: <507D18DA-F313-4E53-A562-6027496AC292@dsa-net.dk> Can this help https://forums.livecode.com/viewtopic.php?f=7&t=32494&p=178858#p178858 Mic From prothero at earthlearningsolutions.org Tue Jun 16 16:07:46 2020 From: prothero at earthlearningsolutions.org (Prothero-ELS) Date: Tue, 16 Jun 2020 13:07:46 -0700 Subject: Set Line color in dG? In-Reply-To: <920013A8-5664-4BE3-8263-C3C05A4E3E30@earthlearningsolutions.org> References: <920013A8-5664-4BE3-8263-C3C05A4E3E30@earthlearningsolutions.org> Message-ID: <502FFF06-6C22-436F-9EAB-6C3E22915D87@earthlearningsolutions.org> Zryp, Crap, accidentally sent the response without finishing. I was checking that the code in my test button was actually talking to the datagrid in question, and it returned the correct values, so I assumed it was. I don?t understand how ?myBtn? would participate. I need to change colors from some other script. Best, Bill William Prothero https://earthlearningsolutions.org > On Jun 16, 2020, at 1:04 PM, Prothero-ELS wrote: > > ?Zryp, > What I wanted to do is make a distinction between data that was retrieved from a database and data that was entered but not yet stored. A datagrid is. Way overkill for what I?m doing, but .... the button that accesses the datagrid data to get the specific line is for testing only. > > William Prothero > https://earthlearningsolutions.org > >> On Jun 16, 2020, at 12:52 PM, zryip theSlug via use-livecode wrote: >> >> ?Bill, >> >> The example you mention is probably using a custom column behavior script >> for accomplishing this. >> Do you have copied the button in your project? The button must be linked to >> your datagrid by using the following code: >> >> set the dgProp["default column behavior"] of grp "myDatagrid" to the long >> id of btn "myBtn" >> >> >> Best Regards, >> >> >>> On Tue, Jun 16, 2020 at 8:55 PM William Prothero via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Folks: >>> I?m having trouble getting the line color of a dataGrid to change. The >>> lessons shows a very simple tutorial and the download example works. >>> However, in my application, it doesn?t. >>> >>> The code is: >>> on mouseup >>> >>> put the dgDataOfLine[3] of group "meterReadings" of this cd into >>> theDataA >>> >>> put not theDataA["line has error"] into theDataA["line has error"] >>> >>> set the dgDataOfLine[3] of group "meterReadings" of this cd to theDataA >>> >>> end mouseup >>> >>> I get the expected values for the line shown on the datagrid, but the >>> color doesn?t change. I?m running Catalina 10.15.5 on a pretty new Mac >>> laptop. I?m using livecode 9.6.0 Business. >>> >>> The mystery is that the downloaded example works as expected, but not on >>> my app. >>> >>> Have I missed something? >>> >>> Best, >>> Bill >>> >>> >>> William A. Prothero >>> https://earthlearningsolutions.org >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Zryip TheSlug >> http://www.aslugontheroad.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Tue Jun 16 17:11:28 2020 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 16 Jun 2020 23:11:28 +0200 Subject: Set Line color in dG? In-Reply-To: <502FFF06-6C22-436F-9EAB-6C3E22915D87@earthlearningsolutions.org> References: <920013A8-5664-4BE3-8263-C3C05A4E3E30@earthlearningsolutions.org> <502FFF06-6C22-436F-9EAB-6C3E22915D87@earthlearningsolutions.org> Message-ID: Assuming the lesson you have taken in example is the following: http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table Code for coloring rows is located in the button "My column default behavior". The code you shared is located in the "toggle line 3 color" but it is not enough for coloring a datagrid row. Having a row in color is not a standard datagrid feature. So that is the reason you have to change the "default column" behavior script of your datagrid. Do you have copied the "My column default behavior" button in your project and if yes, do you have linked your datagrid to this button by using the code? set the dgProp["default column behavior"] of grp "myDatagrid" to the long id of btn " My column default behavior " or what ever you named your column behavior script button. where "myDatagrid" is the name of your datagrid. Hope I'm more clear in my explanation. Best Regards, On Tue, Jun 16, 2020 at 10:08 PM Prothero-ELS via use-livecode < use-livecode at lists.runrev.com> wrote: > Zryp, > Crap, accidentally sent the response without finishing. > > I was checking that the code in my test button was actually talking to the > datagrid in question, and it returned the correct values, so I assumed it > was. > > I don?t understand how ?myBtn? would participate. I need to change colors > from some other script. > > Best, > Bill > > William Prothero > https://earthlearningsolutions.org > > > On Jun 16, 2020, at 1:04 PM, Prothero-ELS < > prothero at earthlearningsolutions.org> wrote: > > > > ?Zryp, > > What I wanted to do is make a distinction between data that was > retrieved from a database and data that was entered but not yet stored. A > datagrid is. Way overkill for what I?m doing, but .... the button that > accesses the datagrid data to get the specific line is for testing only. > > > > William Prothero > > https://earthlearningsolutions.org > > > >> On Jun 16, 2020, at 12:52 PM, zryip theSlug via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?Bill, > >> > >> The example you mention is probably using a custom column behavior > script > >> for accomplishing this. > >> Do you have copied the button in your project? The button must be > linked to > >> your datagrid by using the following code: > >> > >> set the dgProp["default column behavior"] of grp "myDatagrid" to the > long > >> id of btn "myBtn" > >> > >> > >> Best Regards, > >> > >> > >>> On Tue, Jun 16, 2020 at 8:55 PM William Prothero via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>> Folks: > >>> I?m having trouble getting the line color of a dataGrid to change. The > >>> lessons shows a very simple tutorial and the download example works. > >>> However, in my application, it doesn?t. > >>> > >>> The code is: > >>> on mouseup > >>> > >>> put the dgDataOfLine[3] of group "meterReadings" of this cd into > >>> theDataA > >>> > >>> put not theDataA["line has error"] into theDataA["line has error"] > >>> > >>> set the dgDataOfLine[3] of group "meterReadings" of this cd to > theDataA > >>> > >>> end mouseup > >>> > >>> I get the expected values for the line shown on the datagrid, but the > >>> color doesn?t change. I?m running Catalina 10.15.5 on a pretty new Mac > >>> laptop. I?m using livecode 9.6.0 Business. > >>> > >>> The mystery is that the downloaded example works as expected, but not > on > >>> my app. > >>> > >>> Have I missed something? > >>> > >>> Best, > >>> Bill > >>> > >>> > >>> William A. Prothero > >>> https://earthlearningsolutions.org > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> -- > >> Zryip TheSlug > >> http://www.aslugontheroad.com > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 livfoss at mac.com Tue Jun 16 17:40:24 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 16 Jun 2020 23:40:24 +0200 Subject: Yet more iOS deployment heartache - finding Xcode SDKs In-Reply-To: References: <81EA9091-BBAD-4DFC-B6A5-CEC3AED5DD42@mac.com> Message-ID: <4B2C082A-52AA-408C-B6E1-0E406B2BFA1F@mac.com> Oh Heck - Xcode is so huge that it is quite a proposition to download yet another copy here in the countryside. Oh well. However, after installing, I still won?t know where to find the SDK so as to link it to LC. There must have been one in 11.5 even if it was the wrong one for LC, but I could not at all see where to find it. I need the path to the thing! Panos perhaps can help, and perhaps can say when 11.5 will be flavour of the month? Deployment! No point in another rant, I suppose. Graham > On 16 Jun 2020, at 21:39, matthias rebbe via use-livecode wrote: > > Graham, > > first of all the release notes 9.6.0 say that Xcode 11.4 is supported, not 11.5. > > So i would suggest to download/install Xcode 11.4. You can find older versions of Xcode in the download sections of your developer account. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 16.06.2020 um 21:32 schrieb Graham Samuel via use-livecode : >> >> I have a viable iOS app that I have previously managed to load into my own iPhone etc. Now I want to ready it for the app store. Since I last asked LC 9.6.0 to save it as a standalone, I have acquired a new iMac (runing Catalina) and upgraded Xcode to version 11.5. >> >> Now when I try to save my LC project as a standalone, I get an error message from LC: >> >> ?There was an error while saving the standalone application >> In order to perform device builds, you must have the iOS SDK 13.4 configured - iOS 13.4 comes with Xcode 11.4? >> >> Well, thanks for telling me,. Trying to research this, I find that there is an LC lesson that says >> >>> NB Xcode must be linked to your version of LiveCode via LiveCodes Mobile Support Preferences. This option is available from "LiveCode"--->"Preferences"---->"Mobile Support? >> >> Yes, and that says I have to find the relevant SDKs. But where are they? I search of the iMac didn?t find them. Nothing in Application Support AFAIKS. >> >> Someone please help >> >> 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 brian at milby7.com Tue Jun 16 17:44:32 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 16 Jun 2020 17:44:32 -0400 Subject: Yet more iOS deployment heartache - finding Xcode SDKs In-Reply-To: <4B2C082A-52AA-408C-B6E1-0E406B2BFA1F@mac.com> References: <81EA9091-BBAD-4DFC-B6A5-CEC3AED5DD42@mac.com> <4B2C082A-52AA-408C-B6E1-0E406B2BFA1F@mac.com> Message-ID: You just point to the Xcode binary.??You don?t navigate to the actual SDK located within. Thanks, Brian On Jun 16, 2020, 5:41 PM -0400, Graham Samuel via use-livecode , wrote: > Oh Heck - Xcode is so huge that it is quite a proposition to download yet another copy here in the countryside. Oh well. > > However, after installing, I still won?t know where to find the SDK so as to link it to LC. There must have been one in 11.5 even if it was the wrong one for LC, but I could not at all see where to find it. I need the path to the thing! Panos perhaps can help, and perhaps can say when 11.5 will be flavour of the month? > > Deployment! No point in another rant, I suppose. > > Graham > > > On 16 Jun 2020, at 21:39, matthias rebbe via use-livecode wrote: > > > > Graham, > > > > first of all the release notes 9.6.0 say that Xcode 11.4 is supported, not 11.5. > > > > So i would suggest to download/install Xcode 11.4. You can find older versions of Xcode in the download sections of your developer account. > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > > > Am 16.06.2020 um 21:32 schrieb Graham Samuel via use-livecode : > > > > > > I have a viable iOS app that I have previously managed to load into my own iPhone etc. Now I want to ready it for the app store. Since I last asked LC 9.6.0 to save it as a standalone, I have acquired a new iMac (runing Catalina) and upgraded Xcode to version 11.5. > > > > > > Now when I try to save my LC project as a standalone, I get an error message from LC: > > > > > > ?There was an error while saving the standalone application > > > In order to perform device builds, you must have the iOS SDK 13.4 configured - iOS 13.4 comes with Xcode 11.4? > > > > > > Well, thanks for telling me,. Trying to research this, I find that there is an LC lesson that says > > > > > > > NB Xcode must be linked to your version of LiveCode via LiveCodes Mobile Support Preferences. This option is available from "LiveCode"--->"Preferences"---->"Mobile Support? > > > > > > Yes, and that says I have to find the relevant SDKs. But where are they? I search of the iMac didn?t find them. Nothing in Application Support AFAIKS. > > > > > > Someone please help > > > > > > 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 paul at researchware.com Tue Jun 16 18:28:50 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 16 Jun 2020 18:28:50 -0400 Subject: Catalina Entitlements or Permissions (was Possible Catalina problem) In-Reply-To: References: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> Message-ID: Hi Panos, Thank you very much. The discussion in the bug entry answered? lot of my questions. I have one last thing I hope you or someone can point me two, which is a list of Apple macOS "entitlements" From the bug entry I see: com.apple.security.device.audio-input com.apple.security.device.camera I need to figure out the ones for email access, finder integration (drag/drop), internet access, and disk access. We've seen Catalina ask the user for: 1. HyperRESEARCH requests access to the Internet (if Apple Firewall is turned on). - We assume this is because out app needs to check for new versions and updates and for license management. 2. HyperRESEARCH requests access to the "Finder". - We assume this is to receive AppleEvents (system messages) if a Study file is double clicked or dragged and dropped on HyperRESEARCH to open the Study. 3. HyperRESEARCH requests access to your "Contacts". We assume this is for access to send an email for an error report if an error occurs. Our App does not accessing any names or addresses. I have tried Google for macOS or Catalina and entitlements but all I seem to be able to find is articles from the user's perspective, not developers information. On 6/15/2020 12:21 PM, panagiotis merakos via use-livecode wrote: > Hello Paul, > > I guess you can sign the standalone mac app with entitlements, i.e. use a > file that will contain all the necessary entitlements, and include it in > the params passed to the codesign command. See this report for more details: > > https://quality.livecode.com/show_bug.cgi?id=22660 > > Kind regards, > Panos > -- > > On Mon, 15 Jun 2020 at 14:56, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> We're having some macOS Catalina permissions/entitlements issues >> >> We have applications that we deliver for Catalina where the application >> (LiveCode standalone) is code-signed. It is then packaged in an >> installers (LiveCode standalone) and the installer is code signed. That >> is then placed in a DMG, which is code-signed, notarized, and stapled. >> >> This has worked for us since October when Catalina was released. >> >> It still works, except sometimes, after successful downloading and >> installation, when the applications is first launched, Catalina does not >> ask for the permissions the Application needs. Instead certain handler >> throw an execution error. The handlers that produce the errors on >> startup when Catalina fails to ask for permissions have the following in >> common: >> >> The set the defaultFolder to folders such as: >> >> /Library/PreferencePanes >> /Users//Library/Preferences -- this is using the code: the >> home folder & "/Library/PreferencePanes/" >> or >> /private/var/folders/fj/0llnt4vs44vfzy4r97k_wngc0000gp/T/TemporaryItems >> -- this is 'the temporary folder' on Mojave or Catalina. On Mavericks >> and earlier teh temporaty folder was >> /Users//Library/Caches/TemporaryItems >> >> After setting the defaultFolder, the code gets 'the files' or 'the >> folders' and fails (actually we've not pinned down whether it fails on >> set the defaultFolder OR on the call to 'the files/folders') >> >> Going to Apple (menu) > System Preferences (menu item) > Security & >> Privacy (control) > Privacy (tab) and selecting Full Disk Access and >> adding our applications prevents these errors from occuring. >> >> The issue is clearly with Catalina failing to detect and ask for the >> correct permissions. This is a known issue a number of developers have >> run into. See https://forums.developer.apple.com/thread/125438 as one >> example where an Apple support person admits that detecting what >> permissions a process is requesting that is tied back to your user >> visible app (something Apple calls 'responsibility tracking') is really >> hard. >> >> For iOS and Android, you can specify entitlements or requested >> permissions in the Standalone Builder Settings. How do you do this for >> macOS Catalina? >> >> Does anyone know if there is a way to specify entitlements for a macOS >> desktop app built in LiveCode? I have been googling and googling and can >> seem to find anything. I found one discussion on stackExchange that seem >> to imply that the PLIST file could be edited to specify entitlements. I >> have tried the Apple Developer site, but SO MUCH of it is orient towards >> people with lots of Apple Developer experience and focuses of C and >> SWIFT and Apple specific technologies I don't understand. >> >> I can edit the XML in a PLIST file in the standalone bundle IF I only >> knew what to add? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Tue Jun 16 19:08:09 2020 From: waprothero at gmail.com (William Prothero) Date: Tue, 16 Jun 2020 16:08:09 -0700 Subject: Set Line color in dG? In-Reply-To: References: <920013A8-5664-4BE3-8263-C3C05A4E3E30@earthlearningsolutions.org> <502FFF06-6C22-436F-9EAB-6C3E22915D87@earthlearningsolutions.org> Message-ID: <908CA018-F93C-4B21-AB7C-9BC350E37F90@gmail.com> Zryp: Ahhhhh, now I get it. Thanks for your patience. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Jun 16, 2020, at 2:11 PM, zryip theSlug via use-livecode wrote: > > Assuming the lesson you have taken in example is the following: > http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table > > Code for coloring rows is located in the button "My column default > behavior". > The code you shared is located in the "toggle line 3 color" but it is not > enough for coloring a datagrid row. Having a row in color is not a standard > datagrid feature. So that is the reason you have to change the "default > column" behavior script of your datagrid. > > Do you have copied the "My column default behavior" button in your project > and if yes, do you have linked your datagrid to this button by using the > code? > > set the dgProp["default column behavior"] of grp "myDatagrid" to the long > id of btn " My column default behavior " or what ever you named your column > behavior script button. > > where "myDatagrid" is the name of your datagrid. > > Hope I'm more clear in my explanation. > > > Best Regards, > > On Tue, Jun 16, 2020 at 10:08 PM Prothero-ELS via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Zryp, >> Crap, accidentally sent the response without finishing. >> >> I was checking that the code in my test button was actually talking to the >> datagrid in question, and it returned the correct values, so I assumed it >> was. >> >> I don?t understand how ?myBtn? would participate. I need to change colors >> from some other script. >> >> Best, >> Bill >> >> William Prothero >> https://earthlearningsolutions.org >> >>> On Jun 16, 2020, at 1:04 PM, Prothero-ELS < >> prothero at earthlearningsolutions.org> wrote: >>> >>> ?Zryp, >>> What I wanted to do is make a distinction between data that was >> retrieved from a database and data that was entered but not yet stored. A >> datagrid is. Way overkill for what I?m doing, but .... the button that >> accesses the datagrid data to get the specific line is for testing only. >>> >>> William Prothero >>> https://earthlearningsolutions.org >>> >>>> On Jun 16, 2020, at 12:52 PM, zryip theSlug via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> ?Bill, >>>> >>>> The example you mention is probably using a custom column behavior >> script >>>> for accomplishing this. >>>> Do you have copied the button in your project? The button must be >> linked to >>>> your datagrid by using the following code: >>>> >>>> set the dgProp["default column behavior"] of grp "myDatagrid" to the >> long >>>> id of btn "myBtn" >>>> >>>> >>>> Best Regards, >>>> >>>> >>>>> On Tue, Jun 16, 2020 at 8:55 PM William Prothero via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Folks: >>>>> I?m having trouble getting the line color of a dataGrid to change. The >>>>> lessons shows a very simple tutorial and the download example works. >>>>> However, in my application, it doesn?t. >>>>> >>>>> The code is: >>>>> on mouseup >>>>> >>>>> put the dgDataOfLine[3] of group "meterReadings" of this cd into >>>>> theDataA >>>>> >>>>> put not theDataA["line has error"] into theDataA["line has error"] >>>>> >>>>> set the dgDataOfLine[3] of group "meterReadings" of this cd to >> theDataA >>>>> >>>>> end mouseup >>>>> >>>>> I get the expected values for the line shown on the datagrid, but the >>>>> color doesn?t change. I?m running Catalina 10.15.5 on a pretty new Mac >>>>> laptop. I?m using livecode 9.6.0 Business. >>>>> >>>>> The mystery is that the downloaded example works as expected, but not >> on >>>>> my app. >>>>> >>>>> Have I missed something? >>>>> >>>>> Best, >>>>> Bill >>>>> >>>>> >>>>> William A. Prothero >>>>> https://earthlearningsolutions.org >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> -- >>>> Zryip TheSlug >>>> http://www.aslugontheroad.com >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Wed Jun 17 10:30:28 2020 From: heather at livecode.com (Heather Laine) Date: Wed, 17 Jun 2020 15:30:28 +0100 Subject: New Campaign Message-ID: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> Dear list folks, I'm drawing your attention to our crowd funding campaign, which we have just launched here: https://livecode.com/covid-19-livecode-impact-fund/ This is an important campaign for LiveCode. If you have a moment please do go and check it out. Warmest Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From devin_asay at byu.edu Wed Jun 17 11:06:23 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 17 Jun 2020 15:06:23 +0000 Subject: New Campaign In-Reply-To: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> Message-ID: <5FBFD7C4-6B58-4B0D-9374-CD4812D22689@byu.edu> Heather, In light of this we?re going to go ahead and move up our annual 2-license renewal and do them now instead of waiting for them to expire in the Fall. Could you send me an invoice so I can get the ball rolling? Best wishes, and stay well! Devin > On Jun 17, 2020, at 8:30 AM, Heather Laine via use-livecode wrote: > > Dear list folks, > > I'm drawing your attention to our crowd funding campaign, which we have just launched here: > > https://livecode.com/covid-19-livecode-impact-fund/ > > This is an important campaign for LiveCode. If you have a moment please do go and check it out. > > Warmest Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Wed Jun 17 11:09:23 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 17 Jun 2020 15:09:23 +0000 Subject: New Campaign In-Reply-To: <5FBFD7C4-6B58-4B0D-9374-CD4812D22689@byu.edu> References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> <5FBFD7C4-6B58-4B0D-9374-CD4812D22689@byu.edu> Message-ID: Ooops! Sorry folks, hit reply without looking at where it was going. Meant for Heather, obviously. Be well, everyone. Devin > On Jun 17, 2020, at 9:06 AM, Devin Asay via use-livecode wrote: > > Heather, > > In light of this we?re going to go ahead and move up our annual 2-license renewal and do them now instead of waiting for them to expire in the Fall. > > Could you send me an invoice so I can get the ball rolling? > > Best wishes, and stay well! > > Devin > > >> On Jun 17, 2020, at 8:30 AM, Heather Laine via use-livecode wrote: >> >> Dear list folks, >> >> I'm drawing your attention to our crowd funding campaign, which we have just launched here: >> >> https://livecode.com/covid-19-livecode-impact-fund/ >> >> This is an important campaign for LiveCode. If you have a moment please do go and check it out. >> >> Warmest Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > 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 Devin Asay Director Office of Digital Humanities Brigham Young University From paul at researchware.com Wed Jun 17 15:23:48 2020 From: paul at researchware.com (Paul Dupuis) Date: Wed, 17 Jun 2020 15:23:48 -0400 Subject: Catalina Entitlements or Permissions (was Possible Catalina problem) In-Reply-To: References: <069b124f-aae9-3368-51f4-5fb743a1d5e8@researchware.com> Message-ID: <5e541646-4586-578b-703a-8dc701f0d093@researchware.com> Arghh! So I am Googling and Googling and hunting around the Apple Developer site to try to find a comprehensive list of macOS entitlements so I can code sign my app with the the entitlements my app needs to not generate errors under Catalina. I want to execute: codesign --verbose --deep --force --sign "" --entitlements with an entitlements.plist file with entitlemenst to grant my app certain disk access, internet access, email access, and finder integration. Finally, I find this article that basically says Apple has no comprehensive list - their published developer documentation has not kept up with the additions they have been making in point release updates to macOS: https://eclecticlight.co/2019/02/26/entitlements-how-apps-get-back-what-theyve-given-up/ The lack of an up-to-date comprehensive entitlements list was apparently bad enough that a guy by the name of Jonathan Levin built a database to keep track of them since Apple couldn't (or wouldn't), so at least there is this hand database at http://newosxbook.com/ent.jl Now, if only I could figure out from the database which ones I need to add. Perhaps, it is time to switch to Mark Talluto's suggestion to use AppWrapper! On 6/16/2020 6:28 PM, Paul Dupuis via use-livecode wrote: > Hi Panos, > > Thank you very much. The discussion in the bug entry answered? lot of > my questions. I have one last thing I hope you or someone can point me > two, which is a list of Apple macOS "entitlements" > > From the bug entry I see: > > ????com.apple.security.device.audio-input > ???? > ????com.apple.security.device.camera > ???? > > I need to figure out the ones for email access, finder integration > (drag/drop), internet access, and disk access. > > We've seen Catalina ask the user for: > > 1. HyperRESEARCH requests access to the Internet (if Apple Firewall is > ?? turned on). - We assume this is because out app needs to check for > ?? new versions and updates and for license management. > 2. HyperRESEARCH requests access to the "Finder". - We assume this is > ?? to receive AppleEvents (system messages) if a Study file is double > ?? clicked or dragged and dropped on HyperRESEARCH to open the Study. > 3. HyperRESEARCH requests access to your "Contacts". We assume this is > ?? for access to send an email for an error report if an error occurs. > ?? Our App does not accessing any names or addresses. > > I have tried Google for macOS or Catalina and entitlements but all I > seem to be able to find is articles from the user's perspective, not > developers information. > > > > > On 6/15/2020 12:21 PM, panagiotis merakos via use-livecode wrote: >> Hello Paul, >> >> I guess you can sign the standalone mac app with entitlements, i.e. >> use a >> file that will contain all the necessary entitlements, and include it in >> the params passed to the codesign command. See this report for more >> details: >> >> https://quality.livecode.com/show_bug.cgi?id=22660 >> >> Kind regards, >> Panos >> -- >> >> On Mon, 15 Jun 2020 at 14:56, Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> We're having some macOS Catalina permissions/entitlements issues >>> >>> We have applications that we deliver for Catalina where the application >>> (LiveCode standalone) is code-signed. It is then packaged in an >>> installers (LiveCode standalone) and the installer is code signed. That >>> is then placed in a DMG, which is code-signed, notarized, and stapled. >>> >>> This has worked for us since October when Catalina was released. >>> >>> It still works, except sometimes, after successful downloading and >>> installation, when the applications is first launched, Catalina does >>> not >>> ask for the permissions the Application needs. Instead certain handler >>> throw an execution error. The handlers that produce the errors on >>> startup when Catalina fails to ask for permissions have the >>> following in >>> common: >>> >>> The set the defaultFolder to folders such as: >>> >>> /Library/PreferencePanes >>> /Users//Library/Preferences -- this is using the code: the >>> home folder & "/Library/PreferencePanes/" >>> or >>> /private/var/folders/fj/0llnt4vs44vfzy4r97k_wngc0000gp/T/TemporaryItems >>> -- this is 'the temporary folder' on Mojave or Catalina. On Mavericks >>> and earlier teh temporaty folder was >>> /Users//Library/Caches/TemporaryItems >>> >>> After setting the defaultFolder, the code gets 'the files' or 'the >>> folders' and fails (actually we've not pinned down whether it fails on >>> set the defaultFolder OR on the call to 'the files/folders') >>> >>> Going to Apple (menu) > System Preferences (menu item) > Security & >>> Privacy (control) > Privacy (tab) and selecting Full Disk Access and >>> adding our applications prevents these errors from occuring. >>> >>> The issue is clearly with Catalina failing to detect and ask for the >>> correct permissions. This is a known issue a number of developers have >>> run into. See https://forums.developer.apple.com/thread/125438 as one >>> example where an Apple support person admits that detecting what >>> permissions a process is requesting that is tied back to your user >>> visible app (something Apple calls 'responsibility tracking') is really >>> hard. >>> >>> For iOS and Android, you can specify entitlements or requested >>> permissions in the Standalone Builder Settings. How do you do this for >>> macOS Catalina? >>> >>> Does anyone know if there is a way to specify entitlements for a macOS >>> desktop app built in LiveCode? I have been googling and googling and >>> can >>> seem to find anything. I found one discussion on stackExchange that >>> seem >>> to imply that the PLIST file could be edited to specify entitlements. I >>> have tried the Apple Developer site, but SO MUCH of it is orient >>> towards >>> people with lots of Apple Developer experience and focuses of C and >>> SWIFT and Apple specific technologies I don't understand. >>> >>> I can edit the XML in a PLIST file in the standalone bundle IF I only >>> knew what to add? >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Jun 17 19:32:05 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 18 Jun 2020 00:32:05 +0100 Subject: New Campaign In-Reply-To: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> Message-ID: <14e844fc-ddf1-ec31-b4d9-80f0ea23a7d4@tweedly.net> Hi Heather, I have a question, and I think it might be a common one, so I'll ask here on the list rather than individually. Please feel free to reply whichever way you think is better :-) I will definitely buy something (or failing that simply donate) - but I wanted to find what would be the best choice for me. I know (or think I know) I have an Indy license, and wanted to see when it expires so I can decide if I should renew/extend it now - and if not, then I'll find another toy to buy. But I can't find that info on the livecode.com/account page. I can only find a licenses for "Livecode commercial" and for "Livecode complete". I know that last one expired a long time ago - but can't find any more info for the "Livecode Commrcial" one. Can you tell me where/how to look ? Or if necessary, tell me off-list. Many thanks, Alex. On 17/06/2020 15:30, Heather Laine via use-livecode wrote: > Dear list folks, > > I'm drawing your attention to our crowd funding campaign, which we have just launched here: > > https://livecode.com/covid-19-livecode-impact-fund/ > > This is an important campaign for LiveCode. If you have a moment please do go and check it out. > > Warmest Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Jun 17 20:13:58 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 18 Jun 2020 01:13:58 +0100 Subject: New Campaign In-Reply-To: <14e844fc-ddf1-ec31-b4d9-80f0ea23a7d4@tweedly.net> References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> <14e844fc-ddf1-ec31-b4d9-80f0ea23a7d4@tweedly.net> Message-ID: Hey Alex, Log in to the LiveCode site and on the left menu there is a link to 'My Subscriptions' which goes to https://livecode.com/account/subscriptions. You should see them there. All the best Sean Cole On Thu, 18 Jun 2020 at 00:32, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Heather, > > I have a question, and I think it might be a common one, so I'll ask > here on the list rather than individually. Please feel free to reply > whichever way you think is better :-) > > I will definitely buy something (or failing that simply donate) - but I > wanted to find what would be the best choice for me. I know (or think I > know) I have an Indy license, and wanted to see when it expires so I can > decide if I should renew/extend it now - and if not, then I'll find > another toy to buy. > > But I can't find that info on the livecode.com/account page. I can only > find a licenses for "Livecode commercial" and for "Livecode complete". I > know that last one expired a long time ago - but can't find any more > info for the "Livecode Commrcial" one. > > Can you tell me where/how to look ? Or if necessary, tell me off-list. > > Many thanks, > > Alex. > > > On 17/06/2020 15:30, Heather Laine via use-livecode wrote: > > Dear list folks, > > > > I'm drawing your attention to our crowd funding campaign, which we have > just launched here: > > > > https://livecode.com/covid-19-livecode-impact-fund/ < > https://livecode.com/covid-19-livecode-impact-fund/> > > > > This is an important campaign for LiveCode. If you have a moment please > do go and check it out. > > > > Warmest Regards, > > > > Heather > > > > Heather Laine > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From heather at livecode.com Thu Jun 18 03:48:11 2020 From: heather at livecode.com (Heather Laine) Date: Thu, 18 Jun 2020 08:48:11 +0100 Subject: New Campaign In-Reply-To: References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> <14e844fc-ddf1-ec31-b4d9-80f0ea23a7d4@tweedly.net> Message-ID: <9CB9E7BF-D76F-4AD6-A3DD-FFCE17F7A3BA@livecode.com> :) what he said. But if you don't see your subscription there, check your email address. You could have a second account under a different email... If you need more help, please email me in support. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 18 Jun 2020, at 01:13, Sean Cole (Pi) via use-livecode wrote: > > Hey Alex, > > Log in to the LiveCode site and on the left menu there is a link to 'My > Subscriptions' which goes to https://livecode.com/account/subscriptions. > You should see them there. > > All the best > > Sean Cole > > On Thu, 18 Jun 2020 at 00:32, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Heather, >> >> I have a question, and I think it might be a common one, so I'll ask >> here on the list rather than individually. Please feel free to reply >> whichever way you think is better :-) >> >> I will definitely buy something (or failing that simply donate) - but I >> wanted to find what would be the best choice for me. I know (or think I >> know) I have an Indy license, and wanted to see when it expires so I can >> decide if I should renew/extend it now - and if not, then I'll find >> another toy to buy. >> >> But I can't find that info on the livecode.com/account page. I can only >> find a licenses for "Livecode commercial" and for "Livecode complete". I >> know that last one expired a long time ago - but can't find any more >> info for the "Livecode Commrcial" one. >> >> Can you tell me where/how to look ? Or if necessary, tell me off-list. >> >> Many thanks, >> >> Alex. >> >> >> On 17/06/2020 15:30, Heather Laine via use-livecode wrote: >>> Dear list folks, >>> >>> I'm drawing your attention to our crowd funding campaign, which we have >> just launched here: >>> >>> https://livecode.com/covid-19-livecode-impact-fund/ < >> https://livecode.com/covid-19-livecode-impact-fund/> >>> >>> This is an important campaign for LiveCode. If you have a moment please >> do go and check it out. >>> >>> Warmest Regards, >>> >>> Heather >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jun 18 13:31:28 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 18 Jun 2020 13:31:28 -0400 Subject: Catalina Entitlements or Permissions (was Possible Catalina problem) In-Reply-To: References: Message-ID: <59F49616-AB5D-4A6A-B0CE-B3D5BBD8BD8C@midwestcoastmedia.com> > http://newosxbook.com/ent.jl > > Now, if only I could figure out from the database which ones I need to add. Wow, that is an AWESOME tool! I hate that Apple won't pull a single engineer off a project to write some documentation. A similar solution I use is to make-up for Apple?s confusing developer matrix is https://xcodereleases.com/ I think you?re on the right track about figuring out entitlements via that database. By randomly selecting some Executable files that I was familiar with (iTunes, TextEdit, etc.) it looks like you might be interested in: com.apple.security.files.user-selected.read-write com.apple.security.files.user-selected.executable com.apple.security.device.camera com.apple.security.device.microphone com.apple.security.app-sandbox Dear LiveCode programmers. I have a question about the Livecode-Javascript integration. I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for styling applications (it is just a personal opinion). So, I'm trying? to create Deskops apps using JS+HTML+CSS for the "front" and LiveCode for? the "back-end". I'm using the CEF embedded browser. My idea is to create something like Electron or NW.js but using Livecode. Note that I'm talking about Desktop apps, not Web apps. I have managed to send data from Livecode to JavaScript using the instruction? "do "document.getElementById -xxxxxx" in widget "Browser", but I'm stuck doing the opposite. My idea is to send an event or data from the CEF to Livecode when someone press a button on the CEF embedded browser. I found the documentation confused and I'd like to have, if it is possible, a real example about how to do that. Another question: Does it works on Android/Apple? I'm afraid it won't work Thanks a lot. PS: I'm going to try to answer you guys as soon as possible, but sometimes I have to read your responses on the use-livecode mail list archives , because our mail server has the ugly habit of blocking some emails that come from the list. -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From rdimola at evergreeninfo.net Thu Jun 18 15:21:52 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 18 Jun 2020 15:21:52 -0400 Subject: JavaScript-Livecode integration question In-Reply-To: <886222b8-56d3-aa91-458a-d819019316a8@networkdreams.net> References: <886222b8-56d3-aa91-458a-d819019316a8@networkdreams.net> Message-ID: <006d01d645a5$bc0409f0$340c1dd0$@net> Heriberto, LC makes it easy... Works for me on Mobile also. In LC do this once. set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName" Create this handler: command LCHandlerName pNum answer pNum end LCHandlerName Javascript: liveCode.LCHandlerName('315'); 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 Heriberto Torrado via use-livecode Sent: Thursday, June 18, 2020 2:27 PM To: use-livecode at lists.runrev.com Cc: Heriberto Torrado Subject: JavaScript-Livecode integration question Dear LiveCode programmers. I have a question about the Livecode-Javascript integration. I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for styling applications (it is just a personal opinion). So, I'm trying to create Deskops apps using JS+HTML+CSS for the "front" and LiveCode for the "back-end". I'm using the CEF embedded browser. My idea is to create something like Electron or NW.js but using Livecode. Note that I'm talking about Desktop apps, not Web apps. I have managed to send data from Livecode to JavaScript using the instruction "do "document.getElementById -xxxxxx" in widget "Browser", but I'm stuck doing the opposite. My idea is to send an event or data from the CEF to Livecode when someone press a button on the CEF embedded browser. I found the documentation confused and I'd like to have, if it is possible, a real example about how to do that. Another question: Does it works on Android/Apple? I'm afraid it won't work Thanks a lot. PS: I'm going to try to answer you guys as soon as possible, but sometimes I have to read your responses on the use-livecode mail list archives , because our mail server has the ugly habit of blocking some emails that come from the list. -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Thu Jun 18 16:12:51 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 18 Jun 2020 16:12:51 -0400 Subject: JavaScript-Livecode integration question In-Reply-To: <006d01d645a5$bc0409f0$340c1dd0$@net> References: <886222b8-56d3-aa91-458a-d819019316a8@networkdreams.net> <006d01d645a5$bc0409f0$340c1dd0$@net> Message-ID: Hi Ralph, Thanks you very much for your quick response! I found some information about the command "revBrowserAddJavaScriptHandler", but you say I can use the command "javascriptHandlers". it's that new? I cannot find information about it on the Livecode dictionary. Anyway, I'm going to try it and I'll tell you if it works. I think a lot of? people will ask me why I want to do that, and why I just don't use Electron.. :-) I don't want to create a flame, so this these are my reasons. 1) I have an strong background with HTML, CSS and Javascript, but I love Livecode scripting (especially its strong text manipulation options.). 2) If you use the Indy edition, it's easy to hide the code (passwords, command calls, etc). It's not possible to do it with Electron or NW.js (NW.js has more options to do that, but they are far to be ideal). 3) I don't like nodejs: promises, asynchronous technology, difficult tracing errors, etc. Best, Hery On 6/18/20 3:21 PM, Ralph DiMola via use-livecode wrote: > Heriberto, > > LC makes it easy... Works for me on Mobile also. > > In LC do this once. > set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName" > > Create this handler: > > command LCHandlerName pNum > answer pNum > end LCHandlerName > > Javascript: > liveCode.LCHandlerName('315'); > > 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 Heriberto Torrado via use-livecode > Sent: Thursday, June 18, 2020 2:27 PM > To: use-livecode at lists.runrev.com > Cc: Heriberto Torrado > Subject: JavaScript-Livecode integration question > > Dear LiveCode programmers. > > I have a question about the Livecode-Javascript integration. > > I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for styling applications (it is just a personal opinion). > > So, I'm trying to create Deskops apps using JS+HTML+CSS for the "front" > and LiveCode for the "back-end". > I'm using the CEF embedded browser. > > My idea is to create something like Electron or NW.js but using Livecode. > > Note that I'm talking about Desktop apps, not Web apps. > > I have managed to send data from Livecode to JavaScript using the instruction "do "document.getElementById -xxxxxx" in widget "Browser", but I'm stuck doing the opposite. > My idea is to send an event or data from the CEF to Livecode when someone press a button on the CEF embedded browser. > > I found the documentation confused and I'd like to have, if it is possible, a real example about how to do that. > > Another question: Does it works on Android/Apple? I'm afraid it won't work > > > Thanks a lot. > > PS: I'm going to try to answer you guys as soon as possible, but sometimes I have to read your responses on the use-livecode mail list archives , because our mail server has the ugly habit of blocking some emails that come from the list. > -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From rdimola at evergreeninfo.net Thu Jun 18 17:22:27 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 18 Jun 2020 17:22:27 -0400 Subject: JavaScript-Livecode integration question In-Reply-To: References: <886222b8-56d3-aa91-458a-d819019316a8@networkdreams.net> <006d01d645a5$bc0409f0$340c1dd0$@net> Message-ID: <008c01d645b6$9453e9a0$bcfbbce0$@net> revBrowserAddJavaScriptHandler is for the browser control. javascriptHandlers is for the browser widget. You will need to use the widget to get this to work on mobile. 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 Heriberto Torrado via use-livecode Sent: Thursday, June 18, 2020 4:13 PM To: use-livecode at lists.runrev.com Cc: Heriberto Torrado Subject: Re: JavaScript-Livecode integration question Hi Ralph, Thanks you very much for your quick response! I found some information about the command "revBrowserAddJavaScriptHandler", but you say I can use the command "javascriptHandlers". it's that new? I cannot find information about it on the Livecode dictionary. Anyway, I'm going to try it and I'll tell you if it works. I think a lot of people will ask me why I want to do that, and why I just don't use Electron.. :-) I don't want to create a flame, so this these are my reasons. 1) I have an strong background with HTML, CSS and Javascript, but I love Livecode scripting (especially its strong text manipulation options.). 2) If you use the Indy edition, it's easy to hide the code (passwords, command calls, etc). It's not possible to do it with Electron or NW.js (NW.js has more options to do that, but they are far to be ideal). 3) I don't like nodejs: promises, asynchronous technology, difficult tracing errors, etc. Best, Hery On 6/18/20 3:21 PM, Ralph DiMola via use-livecode wrote: > Heriberto, > > LC makes it easy... Works for me on Mobile also. > > In LC do this once. > set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName" > > Create this handler: > > command LCHandlerName pNum > answer pNum > end LCHandlerName > > Javascript: > liveCode.LCHandlerName('315'); > > 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 Heriberto Torrado via use-livecode > Sent: Thursday, June 18, 2020 2:27 PM > To: use-livecode at lists.runrev.com > Cc: Heriberto Torrado > Subject: JavaScript-Livecode integration question > > Dear LiveCode programmers. > > I have a question about the Livecode-Javascript integration. > > I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for styling applications (it is just a personal opinion). > > So, I'm trying to create Deskops apps using JS+HTML+CSS for the "front" > and LiveCode for the "back-end". > I'm using the CEF embedded browser. > > My idea is to create something like Electron or NW.js but using Livecode. > > Note that I'm talking about Desktop apps, not Web apps. > > I have managed to send data from Livecode to JavaScript using the instruction "do "document.getElementById -xxxxxx" in widget "Browser", but I'm stuck doing the opposite. > My idea is to send an event or data from the CEF to Livecode when someone press a button on the CEF embedded browser. > > I found the documentation confused and I'd like to have, if it is possible, a real example about how to do that. > > Another question: Does it works on Android/Apple? I'm afraid it won't > work > > > Thanks a lot. > > PS: I'm going to try to answer you guys as soon as possible, but sometimes I have to read your responses on the use-livecode mail list archives , because our mail server has the ugly habit of blocking some emails that come from the list. > -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Thu Jun 18 17:24:36 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 18 Jun 2020 17:24:36 -0400 Subject: JavaScript-Livecode integration question In-Reply-To: <008c01d645b6$9453e9a0$bcfbbce0$@net> References: <886222b8-56d3-aa91-458a-d819019316a8@networkdreams.net> <006d01d645a5$bc0409f0$340c1dd0$@net> <008c01d645b6$9453e9a0$bcfbbce0$@net> Message-ID: <414ef1bc-f130-402a-e189-7efe105e7094@networkdreams.net> Got it! :-) On 6/18/20 5:22 PM, Ralph DiMola via use-livecode wrote: > revBrowserAddJavaScriptHandler is for the browser control. > > javascriptHandlers is for the browser widget. You will need to use the widget to get this to work on mobile. > > 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 Heriberto Torrado via use-livecode > Sent: Thursday, June 18, 2020 4:13 PM > To: use-livecode at lists.runrev.com > Cc: Heriberto Torrado > Subject: Re: JavaScript-Livecode integration question > > Hi Ralph, > > Thanks you very much for your quick response! > > I found some information about the command "revBrowserAddJavaScriptHandler", but you say I can use the command "javascriptHandlers". > it's that new? I cannot find information about it on the Livecode dictionary. > > Anyway, I'm going to try it and I'll tell you if it works. > > I think a lot of people will ask me why I want to do that, and why I just don't use Electron.. :-) I don't want to create a flame, so this these are my reasons. > > 1) I have an strong background with HTML, CSS and Javascript, but I love Livecode scripting (especially its strong text manipulation options.). > 2) If you use the Indy edition, it's easy to hide the code (passwords, command calls, etc). It's not possible to do it with Electron or NW.js (NW.js has more options to do that, but they are far to be ideal). > 3) I don't like nodejs: promises, asynchronous technology, difficult tracing errors, etc. > > Best, > Hery > > > On 6/18/20 3:21 PM, Ralph DiMola via use-livecode wrote: >> Heriberto, >> >> LC makes it easy... Works for me on Mobile also. >> >> In LC do this once. >> set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName" >> >> Create this handler: >> >> command LCHandlerName pNum >> answer pNum >> end LCHandlerName >> >> Javascript: >> liveCode.LCHandlerName('315'); >> >> 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 Heriberto Torrado via use-livecode >> Sent: Thursday, June 18, 2020 2:27 PM >> To: use-livecode at lists.runrev.com >> Cc: Heriberto Torrado >> Subject: JavaScript-Livecode integration question >> >> Dear LiveCode programmers. >> >> I have a question about the Livecode-Javascript integration. >> >> I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for styling applications (it is just a personal opinion). >> >> So, I'm trying to create Deskops apps using JS+HTML+CSS for the "front" >> and LiveCode for the "back-end". >> I'm using the CEF embedded browser. >> >> My idea is to create something like Electron or NW.js but using Livecode. >> >> Note that I'm talking about Desktop apps, not Web apps. >> >> I have managed to send data from Livecode to JavaScript using the instruction "do "document.getElementById -xxxxxx" in widget "Browser", but I'm stuck doing the opposite. >> My idea is to send an event or data from the CEF to Livecode when someone press a button on the CEF embedded browser. >> >> I found the documentation confused and I'd like to have, if it is possible, a real example about how to do that. >> >> Another question: Does it works on Android/Apple? I'm afraid it won't >> work >> >> >> Thanks a lot. >> >> PS: I'm going to try to answer you guys as soon as possible, but sometimes I have to read your responses on the use-livecode mail list archives , because our mail server has the ugly habit of blocking some emails that come from the list. >> -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From alex at tweedly.net Thu Jun 18 19:55:36 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 19 Jun 2020 00:55:36 +0100 Subject: New Campaign In-Reply-To: <9CB9E7BF-D76F-4AD6-A3DD-FFCE17F7A3BA@livecode.com> References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> <14e844fc-ddf1-ec31-b4d9-80f0ea23a7d4@tweedly.net> <9CB9E7BF-D76F-4AD6-A3DD-FFCE17F7A3BA@livecode.com> Message-ID: On 18/06/2020 08:48, Heather Laine via use-livecode wrote: > :) what he said. Thanks Sean - tried that first :-) No (relevant) subscriptions, only two old ones (one deactivated, one cancelled !!). > But if you don't see your subscription there, check your email address. You could have a second account under a different email... If you need more help, please email me in support. Thanks Heather, I do indeed have a second email registered - but it has no subscriptions at all. So clearly there is something slightly weird specific to me (no surprise, I've had many different licenses over the years, depending on the special offers at the time :-) I'll email you via the support list ... Thanks again, Alex. From tom at makeshyft.com Thu Jun 18 23:03:50 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 18 Jun 2020 23:03:50 -0400 Subject: New Campaign In-Reply-To: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> References: <0CDB36A5-0370-4163-87B5-297B7CB06530@livecode.com> Message-ID: Hi Heather, I nearly missed this, as I am not working with LC at the moment so I don't visit the list as often. Happy to take part in this. Excited about 9.6+ All the best to the Livecode team! PS ... Worldpay is killing me on the exchange rate. wish we could do straight up paypal if possible. On Wed, Jun 17, 2020 at 10:30 AM Heather Laine via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list folks, > > I'm drawing your attention to our crowd funding campaign, which we have > just launched here: > > https://livecode.com/covid-19-livecode-impact-fund/ < > https://livecode.com/covid-19-livecode-impact-fund/> > > This is an important campaign for LiveCode. If you have a moment please do > go and check it out. > > Warmest Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From theaford at btinternet.com Fri Jun 19 13:29:49 2020 From: theaford at btinternet.com (Terence Heaford) Date: Fri, 19 Jun 2020 18:29:49 +0100 Subject: Browser Message-ID: <9A556B02-C2A8-4D9F-A93C-C62D8D637078@btinternet.com> I am again looking at implementing Javascript charts within a LC browser. Looking at amCharts. Got a chart displaying easily within the browser widget. Tries to print the card but the widget does not print. So, I am left wondering if printing is impossible from within LC but then remembered there is another browser contained within LC. Which should I use, the widget or revBrowser? What is the pro?s and cons and can one print? Thanks Terry From ludovic.thebault at laposte.net Fri Jun 19 14:43:51 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 19 Jun 2020 20:43:51 +0200 Subject: AppstoreConnect : no build available Message-ID: Hello, I?ve submitted an update of my app on the store. I got these problems (which are the same has previous submitting) : > We identified one or more issues with a recent delivery for your app, [?] Your delivery was successful, but you may wish to correct the following issues in your next delivery: > > ITMS-90191: Missing beta entitlement - > ITMS-90737: Missing Document Configuration - > ITMS-90078: Missing Push Notification Entitlement - > ITMS-90683: Missing Purpose String in Info.plist After processing, I got this email : > You can now use this build for TestFlight testing or submit it to the App Store. The build is ok on the ? Activity ? pane of the appstoreconnect site. So all is good, no ? But always no build available to send my update to the verification process? since this morning? I use Transporter to send the binary. Any ideas ? Thanks ! Ludovic From jacque at hyperactivesw.com Fri Jun 19 15:49:42 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jun 2020 14:49:42 -0500 Subject: AppstoreConnect : no build available In-Reply-To: References: Message-ID: I'm having the same problem. Submitted a verified app last night and got an email immediately that it had completed processing. But when I log into App Store Connect it is not available. If I look in the Test Flight pane it shows there but it is not available in the App Info page to submit for review. I have waited 16 hours so far. I think the store is delayed. A Google search revealed that uploading the same version with a different build number would kick the server into action so I did built another ipa this morning with a higher build number, but it didn't help. That was 6 hours ago. Now both uploads are stuck "processing". On 6/19/20 1:43 PM, Ludovic THEBAULT via use-livecode wrote: > Hello, > > I?ve submitted an update of my app on the store. > > I got these problems (which are the same has previous submitting) : > >> We identified one or more issues with a recent delivery for your app, [?] Your delivery was successful, but you may wish to correct the following issues in your next delivery: >> >> ITMS-90191: Missing beta entitlement - >> ITMS-90737: Missing Document Configuration - >> ITMS-90078: Missing Push Notification Entitlement - >> ITMS-90683: Missing Purpose String in Info.plist > > > After processing, I got this email : > >> You can now use this build for TestFlight testing or submit it to the App Store. > > > The build is ok on the ? Activity ? pane of the appstoreconnect site. > > So all is good, no ? > > But always no build available to send my update to the verification process? since this morning? > > I use Transporter to send the binary. > > Any ideas ? > > Thanks ! > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Jun 19 20:44:23 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 20 Jun 2020 01:44:23 +0100 Subject: "Set filename of image" does nothing if the file name has not changed. Message-ID: <8921c602-c259-a3a3-e8d2-bc9b5b528ef3@tweedly.net> Hi folks, I'm trying to decide if this is a bug or just an oddity. (or a documentation deficiency). Comments welcome to help me decide what bug report (if any) to file :-) When I "set the filename of an image" to a file, I expected that the image should show the content of the file. And if I then go (outside the app) and change the file, that change will *not* be immediately reflected - but if I again "set the filename" (to the same value), it would then pick up the new, correct image data from the file. However it doesn't. The 'filename' property has the correct value, but the image is not updated. If I "set the filename to empty", and then "set the filename to (the file)" again then the image is updated. (Kind of hard to describe well - see end of this email for another description). Does that seem right ?? Or like a bug ? The docs do say > Setting an image's filename property to the name and > location of a file deletes the previous contents of the image. > which to me means this should just work - but I could be persuaded otherwise. Alex. ((Same description in step-by-step .... 1. copy bad.gif into this.gif (it's a bad file) 2. click on button - should show the bad image - that is, shows a blank image ?????? i.e.?? set the filename of img "img1" to "...." 3. copy good.gif to this.gif (it's a good image) 4. click button again (doesn't fix it) ?????? i.e.?? set the filename of img "img1" to "...." 5. shift-click button (does fix it) ?????? i.e.?? set the filename of img "img1" to empty; set the filename of img "img1" to "...." From dev at porta.ca Fri Jun 19 21:04:00 2020 From: dev at porta.ca (Dev) Date: Fri, 19 Jun 2020 19:04:00 -0600 Subject: "Set filename of image" does nothing if the file name has not changed. In-Reply-To: <8921c602-c259-a3a3-e8d2-bc9b5b528ef3@tweedly.net> References: <8921c602-c259-a3a3-e8d2-bc9b5b528ef3@tweedly.net> Message-ID: <7FC9B9E4-5CDF-4C2D-8BC6-27DF5DDF9ABB@porta.ca> Sounds like a caching issue in the engine. Following your recipe, I get the same results on a Catalina Mac with 9.6.0 and 9.0.5 (the two builds I have access too. In fact, I have two graphics - original and defaced, with the same file name, but one in .jpg format and the other in .png format, and the graphic still doesn?t update. I vote for bug. kelly > On 19-Jun-2020, at 6:44 PM, Alex Tweedly via use-livecode wrote: > > Hi folks, > > I'm trying to decide if this is a bug or just an oddity. (or a documentation deficiency). > > Comments welcome to help me decide what bug report (if any) to file :-) > > When I "set the filename of an image" to a file, I expected that the image should show the content of the file. And if I then go (outside the app) and change the file, that change will *not* be immediately reflected - but if I again "set the filename" (to the same value), it would then pick up the new, correct image data from the file. > > However it doesn't. The 'filename' property has the correct value, but the image is not updated. > > If I "set the filename to empty", and then "set the filename to (the file)" again then the image is updated. > > (Kind of hard to describe well - see end of this email for another description). > > Does that seem right ? Or like a bug ? > > The docs do say > >> Setting an image's filename property to the name and >> location of a file deletes the previous contents of the image. >> > which to me means this should just work - but I could be persuaded otherwise. > > Alex. > > ((Same description in step-by-step .... > > 1. copy bad.gif into this.gif (it's a bad file) > > 2. click on button - should show the bad image - that is, shows a blank image > i.e. set the filename of img "img1" to "...." > > 3. copy good.gif to this.gif (it's a good image) > > 4. click button again (doesn't fix it) > i.e. set the filename of img "img1" to "...." > > 5. shift-click button (does fix it) > i.e. set the filename of img "img1" to empty; set the filename of img "img1" to "...." > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jun 19 22:00:01 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 19 Jun 2020 22:00:01 -0400 Subject: Linux OAuth2 (was Browser Widget on Linux: how can it become possible to use?) In-Reply-To: References: <0fa531b7-27d0-b029-7ea3-47cffccac0a4@sonic.net> Message-ID: I think it should be relatively easy to fix the OAuth2 library such that it works on Linux. Currently it does use the browser widget for a better user experience, but it should be able to launch the URL and use the system's default browser. Is there any interest in a PR for that type of fix for this issue (at least until the browser widget can be addressed). Also, I ran into a bug in the library this week where the auth code that was returned included something that was actually URL encoded. The library then encoded it again which made things not work. I actually found the bug report which provided the solution to the problem. You can see the PR here: https://github.com/livecode/livecode/pull/7381 Thanks, Brian From ludovic.thebault at laposte.net Sat Jun 20 01:52:35 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 20 Jun 2020 07:52:35 +0200 Subject: AppstoreConnect : no build available In-Reply-To: References: Message-ID: > Le 19 juin 2020 ? 21:49, J. Landman Gay via use-livecode a ?crit : > > I'm having the same problem. Submitted a verified app last night and got an email immediately that it had completed processing. But when I log into App Store Connect it is not available. If I look in the Test Flight pane it shows there but it is not available in the App Info page to submit for review. I have waited 16 hours so far. > > I think the store is delayed. A Google search revealed that uploading the same version with a different build number would kick the server into action so I did built another ipa this morning with a higher build number, but it didn't help. That was 6 hours ago. Now both uploads are stuck "processing". > > Thanks. Nothing new this morning. But we are not alone ! https://twitter.com/orangepascal/status/1273535811292737536 From dvglasgow at gmail.com Sat Jun 20 10:24:06 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Sat, 20 Jun 2020 15:24:06 +0100 Subject: Build problems with 9.6 [mostly fixed] In-Reply-To: References: <5FE8FD29-5ACA-4C78-A70A-C839E2B4204B@gmail.com> <32177A11-78F2-48E8-A53D-07EAEDDA4125@gmail.com> <6A6B242A-2826-4A45-AEA3-F80CA2FFE123@gmail.com> <529F43CF-40AD-49C4-B6D7-48A2CC684507@gmail.com> Message-ID: Updating to Xcode 10.1 did the trick, so it looks like something had gone awry with the previous Xcode install. I really hadn?t appreciated that there is any LC dependency on Xcode with respect to desktop builds. Thanks for the advice Panos. I now get a build, but with the warning ?could not auto-detect inclusions or security categories because stack is password protected? This didn?t happen in 7.x or 8.x, and as far as I know, the stack is not encrypted. I have seen a discussion of the same message with a script only stack, but I couldn?t see any real connection with my case. I tried set the password of stack "ISOPtex" to empty in the message box, but still got the same message on build. Any suggestions anyone? Thanks David G > On 16 Jun 2020, at 1:11 pm, panagiotis merakos via use-livecode wrote: > > Hello David, > > Sorry about that, I should have mentioned that "/path/to/your/Xcode.app" is > a placeholder for the actual path to your Xcode.app. So for example if you > have installed Xcode into your Applications folder, then the above command > should read: > > sudo xcode-select -s /Applications/Xcode.app > > *>>>>>>>Launching X-Code I get an unknown error with a long field of text > in the console. Want to see it? * > > If the previous command does not make any difference, then yes please :) > > Which version of Xcode have you installed BTW? > > Kind regards, > Panos > -- > > On Tue, 16 Jun 2020 at 15:04, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> >>> On 15 Jun 2020, at 5:04 pm, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hello David, >>> >>> Where have you installed Xcode? >>> >>> Could you try this in a terminal: >>> >>> sudo xcode-select -s /path/to/your/Xcode.app >> >> >> In response to this I get >> >> xcode-select: error: invalid developer directory '/path/to/your/Xcode.app' >> >> Launching X-Code I get an unknown error with a long field of text in the >> console. Want to see it? >> >> Cheers, >> >> David G >> >>> >>> Also, it might be worth opening Xcode first (in case you have never >> opened >>> it). >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Mon, 15 Jun 2020 at 18:12, David V Glasgow via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi Panos, >>>> >>>> The tools appeared to install, but the error(s) still appear, and the >>>> standalone isn?t saved. >>>> >>>> Best wishes, >>>> >>>> David G >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Sat Jun 20 11:25:17 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 20 Jun 2020 17:25:17 +0200 Subject: test Message-ID: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> test From dochawk at gmail.com Sat Jun 20 11:26:55 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 20 Jun 2020 08:26:55 -0700 Subject: test In-Reply-To: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> References: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> Message-ID: <5B8C6EB6-DA1D-4761-BD4D-D41847F3D3D4@gmail.com> flunk From jeejeestudio at gmail.com Sat Jun 20 11:32:43 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 20 Jun 2020 17:32:43 +0200 Subject: test In-Reply-To: <5B8C6EB6-DA1D-4761-BD4D-D41847F3D3D4@gmail.com> References: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> <5B8C6EB6-DA1D-4761-BD4D-D41847F3D3D4@gmail.com> Message-ID: <1a844598-d7b5-cfd7-68ad-82093849dd6a@gmail.com> it seems my emails do not always arrive on this use list. Can't find the cause why. In the settings i've set it to get a copy, but i don't get it. Sometimes when looking in the archive i see my answer is not there, although it was send correctly. Op 20-6-2020 om 17:26 schreef doc hawk via use-livecode: > flunk > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jun 20 11:53:48 2020 From: e.beugelaar at me.com (Erik Beugelaar) Date: Sat, 20 Jun 2020 17:53:48 +0200 Subject: test In-Reply-To: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> References: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> Message-ID: <008801d6471a$fe35d170$faa17450$@me.com> Testing one two three ;-) You are on a mission? -----Original Message----- From: use-livecode On Behalf Of JeeJeeStudio via use-livecode Sent: zaterdag 20 juni 2020 17:25 To: How to use LiveCode Cc: JeeJeeStudio Subject: test test _______________________________________________ use-livecode mailing list use-livecode at 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 Jun 20 11:54:33 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 20 Jun 2020 08:54:33 -0700 Subject: test In-Reply-To: <1a844598-d7b5-cfd7-68ad-82093849dd6a@gmail.com> References: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> <5B8C6EB6-DA1D-4761-BD4D-D41847F3D3D4@gmail.com> <1a844598-d7b5-cfd7-68ad-82093849dd6a@gmail.com> Message-ID: Jee jee jabbered > = > it seems my emails do not always arrive on this use list. Can't find the cause why. This is usually the mail client, not the mailing list. Gmail, for example, does not show your own messages until and unless someone replies. From jacque at hyperactivesw.com Sat Jun 20 14:17:12 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Jun 2020 13:17:12 -0500 Subject: AppstoreConnect : no build available In-Reply-To: References: Message-ID: On 6/20/20 12:52 AM, Ludovic THEBAULT via use-livecode wrote: > > >> Le 19 juin 2020 ? 21:49, J. Landman Gay via use-livecode a ?crit : >> >> I'm having the same problem. Submitted a verified app last night and got an email immediately that it had completed processing. But when I log into App Store Connect it is not available. If I look in the Test Flight pane it shows there but it is not available in the App Info page to submit for review. I have waited 16 hours so far. >> >> I think the store is delayed. A Google search revealed that uploading the same version with a different build number would kick the server into action so I did built another ipa this morning with a higher build number, but it didn't help. That was 6 hours ago. Now both uploads are stuck "processing". >> >> > > > Thanks. > > Nothing new this morning. > > But we are not alone ! > > https://twitter.com/orangepascal/status/1273535811292737536 Thanks for that link, I'm glad we're not the only ones. I just checked the Activity page and ALL my previous uploads of this version have disappeared now. It's like I never uploaded anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeejeestudio at gmail.com Sat Jun 20 16:29:28 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 20 Jun 2020 22:29:28 +0200 Subject: test In-Reply-To: References: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> <5B8C6EB6-DA1D-4761-BD4D-D41847F3D3D4@gmail.com> <1a844598-d7b5-cfd7-68ad-82093849dd6a@gmail.com> Message-ID: <1d77290b-1fa6-46c9-175e-1b852b52fa45@gmail.com> ok thanks for the clear up doc! i'm using thunderbird with gmail Op 20-6-2020 om 17:54 schreef doc hawk via use-livecode: > Jee jee jabbered >> = >> it seems my emails do not always arrive on this use list. Can't find the cause why. > This is usually the mail client, not the mailing list. > > Gmail, for example, does not show your own messages until and unless someone replies. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Sat Jun 20 16:30:11 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 20 Jun 2020 22:30:11 +0200 Subject: test In-Reply-To: <008801d6471a$fe35d170$faa17450$@me.com> References: <78287eba-77c2-6d40-c69d-a5875175616e@gmail.com> <008801d6471a$fe35d170$faa17450$@me.com> Message-ID: <8e83b791-43b6-1137-f185-f28ecb222131@gmail.com> testin testing 1,2 in the place to be sort of Op 20-6-2020 om 17:53 schreef Erik Beugelaar via use-livecode: > Testing one two three ;-) > You are on a mission? > > -----Original Message----- > From: use-livecode On Behalf Of > JeeJeeStudio via use-livecode > Sent: zaterdag 20 juni 2020 17:25 > To: How to use LiveCode > Cc: JeeJeeStudio > Subject: test > > test > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 20 16:51:20 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Jun 2020 13:51:20 -0700 Subject: Linux OAuth2 (was Browser Widget on Linux: how can it become possible to use?) In-Reply-To: References: Message-ID: Brian Milby wrote: > I think it should be relatively easy to fix the OAuth2 library such that it > works on Linux. Currently it does use the browser widget for a better user > experience, but it should be able to launch the URL and use the system's > default browser. Is there any interest in a PR for that type of fix for > this issue (at least until the browser widget can be addressed). Absolutely. Thank you. I owe you a beer. > Also, I ran into a bug in the library this week where the auth code that > was returned included something that was actually URL encoded. The > library then encoded it again which made things not work. I actually found > the bug report which provided the solution to the problem. You can see the > PR here: https://github.com/livecode/livecode/pull/7381 Good work - thank you. I don't mean to press my luck, but do you have any insight into why the Browser widget has been broken on Linux for the last few years? Or more specifically, what it might take to fix it? Mark Wieder posted a link to a discussion on it, and while it did describe that the problem is non-trivial I have no idea if that means the Browser widget is abandoned in LC on Linux forever, or what it would take to address it. http://forums.livecode.com/viewtopic.php?f=4&t=33805&p=189397&hilit=CEF#p189397 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andrew at midwestcoastmedia.com Sun Jun 21 08:46:40 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Sun, 21 Jun 2020 08:46:40 -0400 Subject: Browser In-Reply-To: References: Message-ID: > I am again looking at implementing Javascript charts within a LC browser. > Looking at amCharts. > Got a chart displaying easily within the browser widget. > Tries to print the card but the widget does not print. I?m using amCharts in another project and ran into the same problem: everything looked right in Live view but would disappear when I tried to print a PDF. The only way I could get them to appear right was by taking a picture of the browser and using that image instead of the live JavaScript in the browser (widget). I think hh keyed me into this with his epic knowledge of this tool set the width of templateImage to the width of widget "Browser" set the height of templateImage to the height of widget "Browser" export snapshot from rect globalRect(the rect of widget "Browser") to tSnapshot as JPEG create image ?renderedBrowser" set the visible of widget ?Browser? to FALSE put tSnapshot into image tSnapshotName set the name of image tSnapshotName to tSnapshotName set the loc of image tSnapshotName to the loc of widget ?Browser" ?Andrew Bell From dan at clearvisiontech.com Sun Jun 21 12:13:03 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 21 Jun 2020 16:13:03 +0000 Subject: Dismiss Answer Dialog on Android Message-ID: <23CA4115-5119-4639-959D-C43201178521@clearvisiontech.com> On android, if you issue an answer command and tap outside the bounds of the dialog, it = the last button supplied. For example: answer "Are you sure you want to logout?" with "Cancel" or "Logout" If you tap outside the dialog, the dialog is dismissed and it = "Logout". Is this the correct behavior? Shouldn't tapping outside the dialog do nothing, or beep? I would think you would have to tap one of the choices to continue. Maybe this is standard Android behavior? Anyone have any insight to this behavior? Or, is this a bug? -Dan From jacque at hyperactivesw.com Sun Jun 21 13:04:56 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Jun 2020 12:04:56 -0500 Subject: Dismiss Answer Dialog on Android In-Reply-To: <23CA4115-5119-4639-959D-C43201178521@clearvisiontech.com> References: <23CA4115-5119-4639-959D-C43201178521@clearvisiontech.com> Message-ID: <172d7d712c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Tapping outside the dialog should be the equivalent of Cancel. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 21, 2020 11:15:18 AM Dan Friedman via use-livecode wrote: > On android, if you issue an answer command and tap outside the bounds of > the dialog, it = the last button supplied. For example: > > answer "Are you sure you want to logout?" with "Cancel" or "Logout" > > If you tap outside the dialog, the dialog is dismissed and it = "Logout". > Is this the correct behavior? Shouldn't tapping outside the dialog do > nothing, or beep? I would think you would have to tap one of the choices > to continue. Maybe this is standard Android behavior? > > Anyone have any insight to this behavior? Or, is this a bug? > > -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 jacque at hyperactivesw.com Sun Jun 21 15:35:23 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Jun 2020 14:35:23 -0500 Subject: AppstoreConnect : no build available In-Reply-To: References: Message-ID: On 6/20/20 12:52 AM, Ludovic THEBAULT via use-livecode wrote: > > Nothing new this morning. > > But we are not alone ! I had a series of unhelpful responses to Apple dev support this weekend. Finally I got an answer: Apps will not process completely unless they have the beta entitlement checked. This is contradictory to the email you receive after processing is complete, which says "You can now use this build for TestFlight testing or submit it to the App Store." Also, the "issue" reported after an upload says that lack of a beta entitlement is a warning and we may want to fix it in the "next version" but it isn't required for this one. I just built a new ipa with beta checked in Standalone Settings and it processed and became available in the Build section in the App Store. This undocumented change doesn't care whether you are using TestFlight or not, you must claim it as a beta release regardless. I hate dealing with Apple. Our Android app was accepted in about 10 minutes without any problems, and is waiting for us to send it to the store. We've had to rewrite some of the silliest things to appease Apple and have been trying to pass review for the last 2 weeks. And, I should add, the uploads from last week did not require a beta entitlement, nor have any others at any time up to now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mkoob at rogers.com Sun Jun 21 15:58:49 2020 From: mkoob at rogers.com (Martin Koob) Date: Sun, 21 Jun 2020 15:58:49 -0400 Subject: Create expanding field editor in LiveCode 9.6 References: <47AEDCA5-4B5B-4669-A3C6-6A87E273C482.ref@rogers.com> Message-ID: <47AEDCA5-4B5B-4669-A3C6-6A87E273C482@rogers.com> Hi I am trying to create a data grid where the height of the row expands as the user types in the row and adds new lines. I have managed to have the data grid row resize when the data is loaded or the data is refreshed with the following handler in the behaviour script for the row. on LayoutControl pControlRect, pWorkingRect ## Expand field to fill in available width put the rect of field "Comments" of me into tVariableHeightTextFieldRect put item 3 of pControlRect -5 into item 3 of tVariableHeightTextFieldRect set the rect of field "JudgesComments" of me to tVariableHeightTextFieldRect ## Resize field height to fit content put item 2 of tVariableHeightTextFieldRect + the formattedheight of field "Comments" of me \ into item 4 of tVariableHeightTextFieldRect set the rect of field "Comments" of me to tVariableHeightTextFieldRect ## Update the bounding rect to match total height ## that you want this row to have put item 4 of tVariableHeightTextFieldRect into item 4 of pControlRect ## Resize Row to take in text field height set the rect of graphic "Background" of me to pControlRect end LayoutControl Using this when I set the dgData of the DataGrid the row height is set based on the formatted height of the ?comments? field. However this does not work dynamically while typing. I found an answer to this question on stack overflow by LiveCode?s own Monte Goulding. https://stackoverflow.com/questions/15262660/how-do-i-create-an-expanding-field-editor-in-a-livecode-datagrid/62499552#62499552 However I wasn?t sure if this still works given that it says to copy the script of the field editor behaviour button from the revDataGridLibrary stack. In LiveCode 9.6 there isn't a revDataGridLibrary stack with a field editor behavior button. In LiveCode version 8 the IDE started to be refactored with the behaviour buttons on binary stacks changed to script only stacks. https://livecode.com/script-only-stacks/ Now, I see there is a script only stack "RevDataGridLibraryBehaviorsFieldEditorButtonBehavior". So instead of copying the button I created a new button on the card with the row template and copied the script from the script only stack with the Field editor Button?s b ehaviour to it and then added the code above to that button's script. I then commented out the changes that I made to the layoutControl handler above to make sure that didn?t interfere with Monte?s solution. That did not work. Monte?s solutions talks about a field editor being created and used while editing the text. Is this still done in LiveCode 9.6? If anyone has any suggestions of how to resized a row dynamically while user adds lines to a field that would be great. Also I am trying to update the dgData of the DataGrid and add the new data typed by the user, but I can?t get that working either. Thanks in advance for any help. Martin Koob BTW I don?t understand how Stack Overflow works. I posted this question in response to Monte?s answer and it got deleted. https://stackoverflow.com/a/62499552/12863578 "This post is hidden. It was deleted 3 hours ago by Bhargav Rao??. I thought it was a legitimate question relating to the answer, basically ?has this answer changed given a new OS?", I even provided a link to an article by Mark W explaining the change in the move to Script only Stacks in the IDE. I find it a very unfriendly place. So back here to the friendly environment of the use-livecode list. Martin From ludovic.thebault at laposte.net Mon Jun 22 00:17:14 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 22 Jun 2020 06:17:14 +0200 Subject: AppstoreConnect : no build available In-Reply-To: References: Message-ID: <77753372-0DD8-4184-94FE-CC62893E6CA5@laposte.net> > Le 21 juin 2020 ? 21:35, J. Landman Gay via use-livecode a ?crit : > > On 6/20/20 12:52 AM, Ludovic THEBAULT via use-livecode wrote: >> Nothing new this morning. >> But we are not alone ! > > I had a series of unhelpful responses to Apple dev support this weekend. Finally I got an answer: Apps will not process completely unless they have the beta entitlement checked. This is contradictory to the email you receive after processing is complete, which says "You can now use this build for TestFlight testing or submit it to the App Store." Also, the "issue" reported after an upload says that lack of a beta entitlement is a warning and we may want to fix it in the "next version" but it isn't required for this one. Really silly ! > > I just built a new ipa with beta checked in Standalone Settings and it processed and became available in the Build section in the App Store. This undocumented change doesn't care whether you are using TestFlight or not, you must claim it as a beta release regardless. > > I hate dealing with Apple. Our Android app was accepted in about 10 minutes without any problems, and is waiting for us to send it to the store. We've had to rewrite some of the silliest things to appease Apple and have been trying to pass review for the last 2 weeks. And, I should add, the uploads from last week did not require a beta entitlement, nor have any others at any time up to now. Many thanks for the solution ! Ludovic From theaford at btinternet.com Mon Jun 22 02:58:29 2020 From: theaford at btinternet.com (Terence Heaford) Date: Mon, 22 Jun 2020 07:58:29 +0100 Subject: Browser Message-ID: <25EDC3F1-8914-4F26-8EE2-9B6F3E84B86F@btinternet.com> That?s the solution I was thinking about. It?s probably necessary to capture the screen image at a larger size for printing as I suspect otherwise the printed output will be rather blurred. Thanks Terry > On 21 Jun 2020, at 13:46, Andrew at MidWest Coast Media wrote: > > >> I am again looking at implementing Javascript charts within a LC browser. >> Looking at amCharts. >> Got a chart displaying easily within the browser widget. >> Tries to print the card but the widget does not print. > > > I?m using amCharts in another project and ran into the same problem: everything looked right in Live view but would disappear when I tried to print a PDF. The only way I could get them to appear right was by taking a picture of the browser and using that image instead of the live JavaScript in the browser (widget). I think hh keyed me into this with his epic knowledge of this tool > > set the width of templateImage to the width of widget "Browser" > set the height of templateImage to the height of widget "Browser" > export snapshot from rect globalRect(the rect of widget "Browser") to tSnapshot as JPEG > create image ?renderedBrowser" > set the visible of widget ?Browser? to FALSE > put tSnapshot into image tSnapshotName > set the name of image tSnapshotName to tSnapshotName > set the loc of image tSnapshotName to the loc of widget ?Browser" > > ?Andrew Bell From panos.merakos at livecode.com Mon Jun 22 10:27:46 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 22 Jun 2020 17:27:46 +0300 Subject: [ANN] This Week in LiveCode 231 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 #231 here: https://bit.ly/2B1LWTh 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 prothero at earthlearningsolutions.org Mon Jun 22 12:51:33 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 22 Jun 2020 09:51:33 -0700 Subject: Chromebook apps? In-Reply-To: References: Message-ID: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> Folks: A LOT of elementary school teachers are using Chromebooks to teach online. So? I am wondering what the current situation is with Android (?) apps on Chromebooks. Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers to online Chromebook specific docs? I may invest in a Chromebook, for testing, but would like to scope out the landscape before I waste my time. Thanks for any offerings. Best, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From colinholgate at gmail.com Mon Jun 22 13:05:32 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 22 Jun 2020 11:05:32 -0600 Subject: Chromebook apps? In-Reply-To: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> References: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> Message-ID: <24E3396B-EDF2-451E-A924-1E9030050AC3@gmail.com> Would HTML5 be a better option? > On Jun 22, 2020, at 10:51 AM, prothero--- via use-livecode wrote: > > Folks: > A LOT of elementary school teachers are using Chromebooks to teach online. So? I am wondering what the current situation is with Android (?) apps on Chromebooks. > > Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers to online Chromebook specific docs? I may invest in a Chromebook, for testing, but would like to scope out the landscape before I waste my time. > > Thanks for any offerings. > Best, > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Mon Jun 22 13:32:23 2020 From: waprothero at gmail.com (William Prothero) Date: Mon, 22 Jun 2020 10:32:23 -0700 Subject: Chromebook apps? In-Reply-To: <24E3396B-EDF2-451E-A924-1E9030050AC3@gmail.com> References: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> <24E3396B-EDF2-451E-A924-1E9030050AC3@gmail.com> Message-ID: Colin: Probably HTML5 would be better, ultimately. But, I look at the HTML5 postings, limitations, and quirks and it would most likely require me to become an expert in javascript and various server technologies that put me over the interest level that would be required. I?m fine with programming in livecode, but I don?t think the payoff for me to get into HTML5 is worth what I would get out of it. My programming is a combination of personal apps that I can use (like managing my 6 water meters and fruit tree drip system) and updating a plate tectonics app that students at UCSB use. My two sons are both 5?th grade teachers, one of whom uses chromebooks in his school, so collaborating with him on a nice app for his students is attractive, but only so far. Thanks, Colin for your suggestion, though. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Jun 22, 2020, at 10:05 AM, Colin Holgate via use-livecode wrote: > > Would HTML5 be a better option? > > >> On Jun 22, 2020, at 10:51 AM, prothero--- via use-livecode wrote: >> >> Folks: >> A LOT of elementary school teachers are using Chromebooks to teach online. So? I am wondering what the current situation is with Android (?) apps on Chromebooks. >> >> Is anybody developing apps for Chromebooks? Are there gothchas? Any pointers to online Chromebook specific docs? I may invest in a Chromebook, for testing, but would like to scope out the landscape before I waste my time. >> >> Thanks for any offerings. >> Best, >> Bill >> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jun 22 14:52:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Jun 2020 11:52:21 -0700 Subject: Chromebook apps? In-Reply-To: References: Message-ID: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> William Prothero wrote: > Probably HTML5 would be better, ultimately. But, I look at the HTML5 > postings, limitations, and quirks and it would most likely require me > to become an expert in javascript and various server technologies that > put me over the interest level that would be required. If your app doesn't depend on server tech beyond downloading, a web app wouldn't either. That said, I hear you on this: > I?m fine with programming in livecode, but I don?t think the payoff > for me to get into HTML5 is worth what I would get out of it. My > programming is a combination of personal apps that I can use (like > managing my 6 water meters and fruit tree drip system) and updating a > plate tectonics app that students at UCSB use. My two sons are both > 5?th grade teachers, one of whom uses chromebooks in his school, so > collaborating with him on a nice app for his students is attractive, > but only so far. Writing in HTML/CSS/JavaScript is a world apart from LiveCode. When the business opportunity merits it, it can be rewarding (oh the joys of never needing to genuflect at an OS vendor's app store, or give up a third of your revenue for the privilege of their control). And because the nature of the browser is so radically different from native app development, I agree that attempting to port LC stacks to the web via the Emscripten option is pretty much a non-starter for most things people have ever made in LC. I haven't yet deployed to a Chromebook so I have nothing to offer there with regard to LC compatibility. But with the core of Android well represented in ChromeOS, I would hope it's no more difficult than deploying to a tablet. Please keep us posted with what you learn. -- 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 davros at bellaliant.net Mon Jun 22 15:11:46 2020 From: davros at bellaliant.net (John McKenzie) Date: Mon, 22 Jun 2020 16:11:46 -0300 Subject: Chromebook apps? In-Reply-To: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> References: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> Message-ID: <20200622161146.5712b4c4@poesidon> Could you not just deploy a Linux desktop Livecode app to a Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped down one, after all. You can install some regular desktop Linux software such as regular Libre Office on Chromebooks. Some software you cannot install though and I do not know what the limiting factors are. I do not have a Chromebook to test out LC apps on but thought I would mention this point. Apologies if there some obvious reason not to try this that I missed. From williamdesmet at gmail.com Mon Jun 22 15:12:50 2020 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 22 Jun 2020 21:12:50 +0200 Subject: Chromebook apps? In-Reply-To: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> References: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> Message-ID: I am a longtime user of Chromebooks in education and most 'cheap' Chromebooks' come with only 4 GB RAM. The Chrome browser itself uses a lot of RAM already and my experience with Android apps on Chromebooks is that they are slow (lack of available RAM) or sometimes not fully functional/compatible. greetings, William Op ma 22 jun. 2020 om 20:53 schreef Richard Gaskin via use-livecode < use-livecode at lists.runrev.com>: > William Prothero wrote: > > > Probably HTML5 would be better, ultimately. But, I look at the HTML5 > > postings, limitations, and quirks and it would most likely require me > > to become an expert in javascript and various server technologies that > > put me over the interest level that would be required. > > If your app doesn't depend on server tech beyond downloading, a web app > wouldn't either. > > That said, I hear you on this: > > > I?m fine with programming in livecode, but I don?t think the payoff > > for me to get into HTML5 is worth what I would get out of it. My > > programming is a combination of personal apps that I can use (like > > managing my 6 water meters and fruit tree drip system) and updating a > > plate tectonics app that students at UCSB use. My two sons are both > > 5?th grade teachers, one of whom uses chromebooks in his school, so > > collaborating with him on a nice app for his students is attractive, > > but only so far. > > Writing in HTML/CSS/JavaScript is a world apart from LiveCode. When the > business opportunity merits it, it can be rewarding (oh the joys of > never needing to genuflect at an OS vendor's app store, or give up a > third of your revenue for the privilege of their control). > > And because the nature of the browser is so radically different from > native app development, I agree that attempting to port LC stacks to the > web via the Emscripten option is pretty much a non-starter for most > things people have ever made in LC. > > I haven't yet deployed to a Chromebook so I have nothing to offer there > with regard to LC compatibility. But with the core of Android well > represented in ChromeOS, I would hope it's no more difficult than > deploying to a tablet. Please keep us posted with what you learn. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Jun 22 15:17:37 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Jun 2020 12:17:37 -0700 Subject: Chromebook apps? In-Reply-To: <20200622161146.5712b4c4@poesidon> References: <20200622161146.5712b4c4@poesidon> Message-ID: <24658329-2178-fff2-4d0e-b579bc64d7d9@fourthworld.com> John McKenzie wrote: > Could you not just deploy a Linux desktop Livecode app to a > Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped > down one, after all. Alas, while ChromeOS is based on the Linux kernel, everything above the kernel is different (desktop manager, compositor, UI inputs, etc.). And of course the current LC build for Linux is compiled for x86 processors. Since Frazier left we haven't seen any further development of an ARM-based compile of the LC Linux engine. -- 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 Jun 22 15:19:33 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Jun 2020 12:19:33 -0700 Subject: Chromebook apps? In-Reply-To: References: Message-ID: William de Smet wrote: > I am a longtime user of Chromebooks in education and most 'cheap' > Chromebooks' come with only 4 GB RAM. > The Chrome browser itself uses a lot of RAM already and my experience with > Android apps on Chromebooks is that they are slow (lack of available RAM) > or sometimes not fully functional/compatible. Ouch. Thanks for that info, William. It's disappointing, but I'd much rather be disappointed by real constraints than invest in deployment plans that can't come to fruition. -- 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 smaclean at madmansoft.com Mon Jun 22 15:21:00 2020 From: smaclean at madmansoft.com (Stephen MacLean) Date: Mon, 22 Jun 2020 15:21:00 -0400 Subject: Chromebook apps? In-Reply-To: <24658329-2178-fff2-4d0e-b579bc64d7d9@fourthworld.com> References: <20200622161146.5712b4c4@poesidon> <24658329-2178-fff2-4d0e-b579bc64d7d9@fourthworld.com> Message-ID: <55AFEC39-20C1-48DB-A8AB-D8F8705674F6@madmansoft.com> > On Jun 22, 2020, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > John McKenzie wrote: > >> Could you not just deploy a Linux desktop Livecode app to a >> Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped >> down one, after all. > > Alas, while ChromeOS is based on the Linux kernel, everything above the kernel is different (desktop manager, compositor, UI inputs, etc.). > > And of course the current LC build for Linux is compiled for x86 processors. Since Frazier left we haven't seen any further development of an ARM-based compile of the LC Linux engine. > Looks like ARM just became a MUCH bigger issue! From dev at porta.ca Mon Jun 22 15:22:14 2020 From: dev at porta.ca (Dev) Date: Mon, 22 Jun 2020 13:22:14 -0600 Subject: Chromebook apps? In-Reply-To: <24658329-2178-fff2-4d0e-b579bc64d7d9@fourthworld.com> References: <20200622161146.5712b4c4@poesidon> <24658329-2178-fff2-4d0e-b579bc64d7d9@fourthworld.com> Message-ID: <4F9366C8-1A08-4584-8133-4CBD157BD129@porta.ca> Then we are going to need to get Frazier back with Apple?s new all in commitment to ARM chips! kelly > On 22-Jun-2020, at 1:17 PM, Richard Gaskin via use-livecode wrote: > > John McKenzie wrote: > >> Could you not just deploy a Linux desktop Livecode app to a >> Chromebook? ChromeOS is a Linux distribution, if admittedly a stripped >> down one, after all. > > Alas, while ChromeOS is based on the Linux kernel, everything above the kernel is different (desktop manager, compositor, UI inputs, etc.). > > And of course the current LC build for Linux is compiled for x86 processors. Since Frazier left we haven't seen any further development of an ARM-based compile of the LC Linux engine. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Mon Jun 22 15:31:00 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 22 Jun 2020 12:31:00 -0700 Subject: Chromebook apps? In-Reply-To: <55AFEC39-20C1-48DB-A8AB-D8F8705674F6@madmansoft.com> References: <20200622161146.5712b4c4@poesidon> <24658329-2178-fff2-4d0e-b579bc64d7d9@fourthworld.com> <55AFEC39-20C1-48DB-A8AB-D8F8705674F6@madmansoft.com> Message-ID: On 6/22/20 12:21 PM, Stephen MacLean via use-livecode wrote: > Looks like ARM just became a MUCH bigger issue! *MUCH* Fortunately, I've seen github notifications for the last few months that point toward ARM capability, so I'm guessing we're on track for this. For OSX anyway. -- Mark Wieder ahsoftware at gmail.com From davros at bellaliant.net Mon Jun 22 17:01:07 2020 From: davros at bellaliant.net (John McKenzie) Date: Mon, 22 Jun 2020 18:01:07 -0300 Subject: Chromebook apps? In-Reply-To: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> References: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> Message-ID: <20200622180107.301da21e@poesidon> Despite using Raspberry Pi devices allot I somehow did not think of ARM chips. I did not know Chromebooks were based on them. From prothero at earthlearningsolutions.org Mon Jun 22 17:14:23 2020 From: prothero at earthlearningsolutions.org (Prothero-ELS) Date: Mon, 22 Jun 2020 14:14:23 -0700 Subject: Chromebook apps? In-Reply-To: <20200622180107.301da21e@poesidon> References: <20200622180107.301da21e@poesidon> Message-ID: Thanks for the info, folks! I don?t see anything that would draw me to Chromebooks. Seems it?s another world. Too bad. Education really needs good apps at all levels and chromebooks are a bright target. EST, Bill William Prothero https://earthlearningsolutions.org > On Jun 22, 2020, at 2:02 PM, John McKenzie via use-livecode wrote: > > ? > Despite using Raspberry Pi devices allot I somehow did not think of > ARM chips. I did not know Chromebooks were based on them. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 22 17:45:07 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Jun 2020 16:45:07 -0500 Subject: Chromebook apps? In-Reply-To: References: <3b9dd9da-0849-be35-bc73-4e831a727a6d@fourthworld.com> Message-ID: I've had fairly good experiences running an Android app on Chromebook. The manufacturer matters. On my Lenovo there are a few glitches, on my client's Asus Flip there are a few different glitches, but in general they are minor. I've made two Android apps that also run on Chromebooks. Both apps are limited to portrait mode only and that works very well as long as you don't flip the device between desktop and tablet. Whatever mode you open the app with, stay there. In desktop mode, the window appears at approximately the same size as the stack; in tablet mode (using fullscreenMode "showAll") it resizes beautifully and looks gorgeous. My client actually did demos at an educational conference with her Chromebook in tablet mode and was well received. But if you launch in tablet mode and then flip to desktop mode, the window resizes oddly. The same thing happens if you do it in reverse. LC isn't aware of the change, it's probably the same reason you can't change the desktop resolution on a PC in the middle of a session. While my Lenovo performs as above, the Asus will sometimes crash the app if you switch device modes. Other manufacturers may behave differently. I can't recall offhand what the other glitches were but they were minor and what happened on one Chromebook didn't happen on the other. If I remember right, some were visual artifacts that appeared on one Chromebook only. We do have a few students running one of the apps on Chromebooks (models unknown) and we haven't had any complaints. Both our test Chromebooks have only 4 GB of RAM and I haven't noticed any slowness. But if you do, close down other apps and you should be fine. I suppose it would also depend on what your app is trying to do and how much RAM it takes. We're downloading some fairly sizeable images on demand and haven't had any trouble. Internet connections work flawlessly (we do heavy server interactions) and LC in general functions as you'd expect. One thing to keep in mind is that you must build with 32-bit enabled, as the Android emulator on a Chromebook is only 32-bit. If you build with 64-bit only, the app will not launch. I always tick both checkboxes. I'm sure there are some LC features that won't work but so far everything our apps do is working. As long as the dictionary says the command is Android compatible it seems to be okay. BTW, I'm starting to love my Chromebook, it's an amazing device. Fast, extremely secure, and very reliable. I've starting doing almost everything on it except LC development. Installing and learning Linux is more than I want to do right now, but I'm thinking LC would work fine if I ever got that far. I think you should go ahead and try it, you might be surprised. ChromeOS has come a long way in a very short time, and it gets better with every 6-week update. On 6/22/20 2:12 PM, William de Smet via use-livecode wrote: > I am a longtime user of Chromebooks in education and most 'cheap' > Chromebooks' come with only 4 GB RAM. > The Chrome browser itself uses a lot of RAM already and my experience with > Android apps on Chromebooks is that they are slow (lack of available RAM) > or sometimes not fully functional/compatible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jun 22 17:52:11 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Jun 2020 16:52:11 -0500 Subject: Chromebook apps? In-Reply-To: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> References: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> Message-ID: On 6/22/20 11:51 AM, prothero--- via use-livecode wrote: > I may invest in a Chromebook, for testing, but would like to scope out the landscape before I waste my time. I forgot to mention that I recently saw that some of last year's Chromebooks are going for as low as $80. They don't have high-end specs, but you can get a better one for about $150 if you shop around. I should have made a note of the article but I'm so happy with my current one I didn't see a need. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From waprothero at gmail.com Tue Jun 23 01:15:04 2020 From: waprothero at gmail.com (William Prothero) Date: Mon, 22 Jun 2020 22:15:04 -0700 Subject: Chromebook apps? In-Reply-To: References: <0972FC9B-877A-4317-BD01-9632053F1BA0@earthlearningsolutions.org> Message-ID: Thanks, Jacqueline! I?ll file that info away for future pondering. I?m glad there was one positive response to the possibility of using Livecode on a chromebook. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Jun 22, 2020, at 2:52 PM, J. Landman Gay via use-livecode wrote: > > On 6/22/20 11:51 AM, prothero--- via use-livecode wrote: >> I may invest in a Chromebook, for testing, but would like to scope out the landscape before I waste my time. > > I forgot to mention that I recently saw that some of last year's Chromebooks are going for as low as $80. They don't have high-end specs, but you can get a better one for about $150 if you shop around. I should have made a note of the article but I'm so happy with my current one I didn't see a need. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Tue Jun 23 07:52:04 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 23 Jun 2020 12:52:04 +0100 Subject: Fwd: Build problems with 9.6 [mostly fixed] References: Message-ID: I never saw mail below reach the list, and received no replies, so I am trying again. Aside from thanks to Panos, I reported a new problem with an error ?could not auto-detect inclusions or security categories because stack is password protected? when I don?t think it is password protected. I tried setting the password of the stack to empty, with no change to error. Stack has no sub stacks. I suppose I could select inclusions manually, but it would be nice to know what is going on. Cheers, David G > Begin forwarded message: > > From: David V Glasgow > Subject: Re: Build problems with 9.6 [mostly fixed] > Date: 20 June 2020 at 3:24:06 pm BST > To: How to use LiveCode > > Updating to Xcode 10.1 did the trick, so it looks like something had gone awry with the previous Xcode install. I really hadn?t appreciated that there is any LC dependency on Xcode with respect to desktop builds. > > Thanks for the advice Panos. > > I now get a build, but with the warning ?could not auto-detect inclusions or security categories because stack is password protected? > > This didn?t happen in 7.x or 8.x, and as far as I know, the stack is not encrypted. I have seen a discussion of the same message with a script only stack, but I couldn?t see any real connection with my case. > > I tried > > set the password of stack "ISOPtex" to empty > > in the message box, but still got the same message on build. > > Any suggestions anyone? > > Thanks David G > >> On 16 Jun 2020, at 1:11 pm, panagiotis merakos via use-livecode > wrote: >> >> Hello David, >> >> Sorry about that, I should have mentioned that "/path/to/your/Xcode.app" is >> a placeholder for the actual path to your Xcode.app. So for example if you >> have installed Xcode into your Applications folder, then the above command >> should read: >> >> sudo xcode-select -s /Applications/Xcode.app >> >> *>>>>>>>Launching X-Code I get an unknown error with a long field of text >> in the console. Want to see it? * >> >> If the previous command does not make any difference, then yes please :) >> >> Which version of Xcode have you installed BTW? >> >> Kind regards, >> Panos >> -- >> >> On Tue, 16 Jun 2020 at 15:04, David V Glasgow via use-livecode < >> use-livecode at lists.runrev.com > wrote: >> >>> >>> >>>> On 15 Jun 2020, at 5:04 pm, panagiotis merakos via use-livecode < >>> use-livecode at lists.runrev.com > wrote: >>>> >>>> Hello David, >>>> >>>> Where have you installed Xcode? >>>> >>>> Could you try this in a terminal: >>>> >>>> sudo xcode-select -s /path/to/your/Xcode.app >>> >>> >>> In response to this I get >>> >>> xcode-select: error: invalid developer directory '/path/to/your/Xcode.app' >>> >>> Launching X-Code I get an unknown error with a long field of text in the >>> console. Want to see it? >>> >>> Cheers, >>> >>> David G >>> >>>> >>>> Also, it might be worth opening Xcode first (in case you have never >>> opened >>>> it). >>>> >>>> Kind regards, >>>> Panos >>>> -- >>>> >>>> On Mon, 15 Jun 2020 at 18:12, David V Glasgow via use-livecode < >>>> use-livecode at lists.runrev.com > wrote: >>>> >>>>> Hi Panos, >>>>> >>>>> The tools appeared to install, but the error(s) still appear, and the >>>>> standalone isn?t saved. >>>>> >>>>> Best wishes, >>>>> >>>>> David G >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Tue Jun 23 09:26:22 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 23 Jun 2020 16:26:22 +0300 Subject: Build problems with 9.6 [mostly fixed] In-Reply-To: References: Message-ID: Hello David, This warning is thrown only if the stack (or a substack) is password protected. If a stack is password protected, then automatic inclusions are not expected to work. If the stack is not password-protected, and you still get that error, then this might be a bug. Could you file a report and attach this stack to the report, so as we investigate this further? Kind regards, Panos -- On Tue, 23 Jun 2020 at 14:53, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > I never saw mail below reach the list, and received no replies, so I am > trying again. > > Aside from thanks to Panos, I reported a new problem with an error ?could > not auto-detect inclusions or security categories because stack is password > protected? when I don?t think it is password protected. I tried setting > the password of the stack to empty, with no change to error. Stack has no > sub stacks. I suppose I could select inclusions manually, but it would be > nice to know what is going on. > > Cheers, > > David G > > > Begin forwarded message: > > > > From: David V Glasgow > > Subject: Re: Build problems with 9.6 [mostly fixed] > > Date: 20 June 2020 at 3:24:06 pm BST > > To: How to use LiveCode > > > > Updating to Xcode 10.1 did the trick, so it looks like something had > gone awry with the previous Xcode install. I really hadn?t appreciated > that there is any LC dependency on Xcode with respect to desktop builds. > > > > Thanks for the advice Panos. > > > > I now get a build, but with the warning ?could not auto-detect > inclusions or security categories because stack is password protected? > > > > This didn?t happen in 7.x or 8.x, and as far as I know, the stack is not > encrypted. I have seen a discussion of the same message with a script only > stack, but I couldn?t see any real connection with my case. > > > > I tried > > > > set the password of stack "ISOPtex" to empty > > > > in the message box, but still got the same message on build. > > > > Any suggestions anyone? > > > > Thanks David G > > > >> On 16 Jun 2020, at 1:11 pm, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com > > wrote: > >> > >> Hello David, > >> > >> Sorry about that, I should have mentioned that > "/path/to/your/Xcode.app" is > >> a placeholder for the actual path to your Xcode.app. So for example if > you > >> have installed Xcode into your Applications folder, then the above > command > >> should read: > >> > >> sudo xcode-select -s /Applications/Xcode.app > >> > >> *>>>>>>>Launching X-Code I get an unknown error with a long field of > text > >> in the console. Want to see it? * > >> > >> If the previous command does not make any difference, then yes please :) > >> > >> Which version of Xcode have you installed BTW? > >> > >> Kind regards, > >> Panos > >> -- > >> > >> On Tue, 16 Jun 2020 at 15:04, David V Glasgow via use-livecode < > >> use-livecode at lists.runrev.com > > wrote: > >> > >>> > >>> > >>>> On 15 Jun 2020, at 5:04 pm, panagiotis merakos via use-livecode < > >>> use-livecode at lists.runrev.com > > wrote: > >>>> > >>>> Hello David, > >>>> > >>>> Where have you installed Xcode? > >>>> > >>>> Could you try this in a terminal: > >>>> > >>>> sudo xcode-select -s /path/to/your/Xcode.app > >>> > >>> > >>> In response to this I get > >>> > >>> xcode-select: error: invalid developer directory > '/path/to/your/Xcode.app' > >>> > >>> Launching X-Code I get an unknown error with a long field of text in > the > >>> console. Want to see it? > >>> > >>> Cheers, > >>> > >>> David G > >>> > >>>> > >>>> Also, it might be worth opening Xcode first (in case you have never > >>> opened > >>>> it). > >>>> > >>>> Kind regards, > >>>> Panos > >>>> -- > >>>> > >>>> On Mon, 15 Jun 2020 at 18:12, David V Glasgow via use-livecode < > >>>> use-livecode at lists.runrev.com > > wrote: > >>>> > >>>>> Hi Panos, > >>>>> > >>>>> The tools appeared to install, but the error(s) still appear, and the > >>>>> standalone isn?t saved. > >>>>> > >>>>> Best wishes, > >>>>> > >>>>> David G > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Tue Jun 23 14:56:49 2020 From: jiml at netrin.com (Jim Lambert) Date: Tue, 23 Jun 2020 11:56:49 -0700 Subject: Platform Divergence In-Reply-To: References: Message-ID: <0A8768F6-9730-46F1-9804-B5927334C7C9@netrin.com> This year?s WWDC shows Apple is moving to a unified ?system' for all their products: Mac, iPhone, iPad, Apple Watch, AppleTV. The Apple development environment promises to produce a single app capable of running on all, or almost all, of Apple devices. This unification promises to be quite convenient for Apple developers. In contrast, over the last decade or so there has been an ever increasing divergence in UX between major operating systems: Apple, Windows, Linux, Android. The days when systems were so similar that you could rely on the commonality of a handful of UI elements across platforms seems over to me. That?s troubling because such commonality is fundamental to LiveCode?s approach - write once, run everywhere. In watching WWDC sessions it?s pretty clear that even simple UI elements have become more like UX elements having intrinsic and complex properties, such as certain visual and behavioral animations. Users readily learn to expect these behaviors. Yet such things are increasing difficult to fake with LiveCode?s basic palette of objects. Enter LiveCode Builder and LC Widgets. They offer the promise of platform-specific UI elements - a promise fulfilled with some simple elements like iOS Native Button or Android Native Field. But I?m concerned that as platforms diverge in the interface experiences they present to users, that LC and LC developers will have difficulty satisfying users' divergent expectations. Is my concern valid? Jim Lambert From paul at researchware.com Tue Jun 23 15:21:26 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 23 Jun 2020 15:21:26 -0400 Subject: Platform Divergence In-Reply-To: <0A8768F6-9730-46F1-9804-B5927334C7C9@netrin.com> References: <0A8768F6-9730-46F1-9804-B5927334C7C9@netrin.com> Message-ID: <9064a6d2-a023-a153-5c4f-b25e8d84276b@researchware.com> We make and sell a desktop application (Windows and macOS) for a niche research market. I expect when Apple does their migration to a common processor and OS, Apple Developer's will have to go through all of Apple hoops for all their platforms.Most of our customer don't care about UI widget animations. They want the app to do certain functions and do them well and quickly to work with their data. As long as the UI is effective, whether it conforms precisely to Microsoft or Apple UI guidelines is secondary. So, even if you only care about desktops, your app will have to be sold through Apple's single App Store, conform to all screen sizes on all their devices, and follow all their UI guidelines, etc. At that point, given that Windows is 2/3rd of our market and macOS 1/3rd, we'll drop support for macOS sadly. I say sadly because our application originated way back in the late 1980 as a HyperCard App for MacOS. But, to your point, your concern IS valid for those people wanting Apps from you that they insist MUST conform to all of Apple's esoteric requirements. It is likely it will become increasingly harder for the LiveCode ideal of develop once and deploy everywhere. On 6/23/2020 2:56 PM, Jim Lambert via use-livecode wrote: > This year?s WWDC shows Apple is moving to a unified ?system' for all their products: Mac, iPhone, iPad, Apple Watch, AppleTV. > The Apple development environment promises to produce a single app capable of running on all, or almost all, of Apple devices. This unification promises to be quite convenient for Apple developers. > > In contrast, over the last decade or so there has been an ever increasing divergence in UX between major operating systems: Apple, Windows, Linux, Android. The days when systems were so similar that you could rely on the commonality of a handful of UI elements across platforms seems over to me. That?s troubling because such commonality is fundamental to LiveCode?s approach - write once, run everywhere. > > In watching WWDC sessions it?s pretty clear that even simple UI elements have become more like UX elements having intrinsic and complex properties, such as certain visual and behavioral animations. Users readily learn to expect these behaviors. Yet such things are increasing difficult to fake with LiveCode?s basic palette of objects. > > Enter LiveCode Builder and LC Widgets. They offer the promise of platform-specific UI elements - a promise fulfilled with some simple elements like iOS Native Button or Android Native Field. But I?m concerned that as platforms diverge in the interface experiences they present to users, that LC and LC developers will have difficulty satisfying users' divergent expectations. > > Is my concern valid? > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Jun 23 15:34:57 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jun 2020 15:34:57 -0400 Subject: stacks panel in standalone application settings disabled Message-ID: why would everything on the stacks panel of the standalone application settings be disabled? -- 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 stephen at barncard.com Tue Jun 23 15:36:07 2020 From: stephen at barncard.com (Stephen Barncard) Date: Tue, 23 Jun 2020 12:36:07 -0700 Subject: Platform Divergence In-Reply-To: <9064a6d2-a023-a153-5c4f-b25e8d84276b@researchware.com> References: <0A8768F6-9730-46F1-9804-B5927334C7C9@netrin.com> <9064a6d2-a023-a153-5c4f-b25e8d84276b@researchware.com> Message-ID: Got really depressed watching the presentation. On Tue, Jun 23, 2020 at 12:22 Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > We make and sell a desktop application (Windows and macOS) for a niche > research market. I expect when Apple does their migration to a common > processor and OS, Apple Developer's will have to go through all of Apple > hoops for all their platforms.Most of our customer don't care about UI > widget animations. They want the app to do certain functions and do them > well and quickly to work with their data. As long as the UI is > effective, whether it conforms precisely to Microsoft or Apple UI > guidelines is secondary. So, even if you only care about desktops, your > app will have to be sold through Apple's single App Store, conform to > all screen sizes on all their devices, and follow all their UI > guidelines, etc. > > At that point, given that Windows is 2/3rd of our market and macOS > 1/3rd, we'll drop support for macOS sadly. I say sadly because our > application originated way back in the late 1980 as a HyperCard App for > MacOS. > > But, to your point, your concern IS valid for those people wanting Apps > from you that they insist MUST conform to all of Apple's esoteric > requirements. It is likely it will become increasingly harder for the > LiveCode ideal of develop once and deploy everywhere. > > > On 6/23/2020 2:56 PM, Jim Lambert via use-livecode wrote: > > This year?s WWDC shows Apple is moving to a unified ?system' for all > their products: Mac, iPhone, iPad, Apple Watch, AppleTV. > > The Apple development environment promises to produce a single app > capable of running on all, or almost all, of Apple devices. This > unification promises to be quite convenient for Apple developers. > > > > In contrast, over the last decade or so there has been an ever > increasing divergence in UX between major operating systems: Apple, > Windows, Linux, Android. The days when systems were so similar that you > could rely on the commonality of a handful of UI elements across platforms > seems over to me. That?s troubling because such commonality is fundamental > to LiveCode?s approach - write once, run everywhere. > > > > In watching WWDC sessions it?s pretty clear that even simple UI elements > have become more like UX elements having intrinsic and complex properties, > such as certain visual and behavioral animations. Users readily learn to > expect these behaviors. Yet such things are increasing difficult to fake > with LiveCode?s basic palette of objects. > > > > Enter LiveCode Builder and LC Widgets. They offer the promise of > platform-specific UI elements - a promise fulfilled with some simple > elements like iOS Native Button or Android Native Field. But I?m concerned > that as platforms diverge in the interface experiences they present to > users, that LC and LC developers will have difficulty satisfying users' > divergent expectations. > > > > Is my concern valid? > > > > Jim Lambert > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From richmondmathewson at gmail.com Tue Jun 23 15:43:54 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 23 Jun 2020 22:43:54 +0300 Subject: Platform Divergence In-Reply-To: References: <0A8768F6-9730-46F1-9804-B5927334C7C9@netrin.com> <9064a6d2-a023-a153-5c4f-b25e8d84276b@researchware.com> Message-ID: <0f2d1f10-fd1e-9389-fc1b-713fb69c80d4@gmail.com> A plastic bath-toy that dumbs everything down for the fashionistas and rich, slack-jawed morons. Vrey sad indeed. On 23.06.20 22:36, Stephen Barncard via use-livecode wrote: > Got really depressed watching the presentation. > > On Tue, Jun 23, 2020 at 12:22 Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> We make and sell a desktop application (Windows and macOS) for a niche >> research market. I expect when Apple does their migration to a common >> processor and OS, Apple Developer's will have to go through all of Apple >> hoops for all their platforms.Most of our customer don't care about UI >> widget animations. They want the app to do certain functions and do them >> well and quickly to work with their data. As long as the UI is >> effective, whether it conforms precisely to Microsoft or Apple UI >> guidelines is secondary. So, even if you only care about desktops, your >> app will have to be sold through Apple's single App Store, conform to >> all screen sizes on all their devices, and follow all their UI >> guidelines, etc. >> >> At that point, given that Windows is 2/3rd of our market and macOS >> 1/3rd, we'll drop support for macOS sadly. I say sadly because our >> application originated way back in the late 1980 as a HyperCard App for >> MacOS. >> >> But, to your point, your concern IS valid for those people wanting Apps >> from you that they insist MUST conform to all of Apple's esoteric >> requirements. It is likely it will become increasingly harder for the >> LiveCode ideal of develop once and deploy everywhere. >> >> >> On 6/23/2020 2:56 PM, Jim Lambert via use-livecode wrote: >>> This year?s WWDC shows Apple is moving to a unified ?system' for all >> their products: Mac, iPhone, iPad, Apple Watch, AppleTV. >>> The Apple development environment promises to produce a single app >> capable of running on all, or almost all, of Apple devices. This >> unification promises to be quite convenient for Apple developers. >>> In contrast, over the last decade or so there has been an ever >> increasing divergence in UX between major operating systems: Apple, >> Windows, Linux, Android. The days when systems were so similar that you >> could rely on the commonality of a handful of UI elements across platforms >> seems over to me. That?s troubling because such commonality is fundamental >> to LiveCode?s approach - write once, run everywhere. >>> In watching WWDC sessions it?s pretty clear that even simple UI elements >> have become more like UX elements having intrinsic and complex properties, >> such as certain visual and behavioral animations. Users readily learn to >> expect these behaviors. Yet such things are increasing difficult to fake >> with LiveCode?s basic palette of objects. >>> Enter LiveCode Builder and LC Widgets. They offer the promise of >> platform-specific UI elements - a promise fulfilled with some simple >> elements like iOS Native Button or Android Native Field. But I?m concerned >> that as platforms diverge in the interface experiences they present to >> users, that LC and LC developers will have difficulty satisfying users' >> divergent expectations. >>> Is my concern valid? >>> >>> Jim Lambert >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Jun 23 16:56:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Jun 2020 15:56:39 -0500 Subject: stacks panel in standalone application settings disabled In-Reply-To: References: Message-ID: On 6/23/20 2:34 PM, Mike Kerner via use-livecode wrote: > why would everything on the stacks panel of the standalone application > settings be disabled? It's disabled if you are building for mobile. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Tue Jun 23 17:11:43 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jun 2020 17:11:43 -0400 Subject: stacks panel in standalone application settings disabled In-Reply-To: References: Message-ID: uh, isn't that a problem if you have behaviors included and you need to add or remove some? On Tue, Jun 23, 2020 at 4:57 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/23/20 2:34 PM, Mike Kerner via use-livecode wrote: > > why would everything on the stacks panel of the standalone application > > settings be disabled? > > It's disabled if you are building for mobile. > > -- > 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 > -- 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 dev at porta.ca Tue Jun 23 17:20:19 2020 From: dev at porta.ca (Dev) Date: Tue, 23 Jun 2020 15:20:19 -0600 Subject: Platform Divergence In-Reply-To: <0f2d1f10-fd1e-9389-fc1b-713fb69c80d4@gmail.com> References: <0f2d1f10-fd1e-9389-fc1b-713fb69c80d4@gmail.com> Message-ID: <858523F3-4E1F-48C1-941F-48B18D4E5BD2@porta.ca> Time to learn Swift and SwiftUI Sent from my iPhone > On Jun 23, 2020, at 1:44 PM, Richmond via use-livecode wrote: > > ?A plastic bath-toy that dumbs everything down for the fashionistas and rich, slack-jawed morons. > > Vrey sad indeed. > >> On 23.06.20 22:36, Stephen Barncard via use-livecode wrote: >> Got really depressed watching the presentation. >> >> On Tue, Jun 23, 2020 at 12:22 Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> We make and sell a desktop application (Windows and macOS) for a niche >>> research market. I expect when Apple does their migration to a common >>> processor and OS, Apple Developer's will have to go through all of Apple >>> hoops for all their platforms.Most of our customer don't care about UI >>> widget animations. They want the app to do certain functions and do them >>> well and quickly to work with their data. As long as the UI is >>> effective, whether it conforms precisely to Microsoft or Apple UI >>> guidelines is secondary. So, even if you only care about desktops, your >>> app will have to be sold through Apple's single App Store, conform to >>> all screen sizes on all their devices, and follow all their UI >>> guidelines, etc. >>> >>> At that point, given that Windows is 2/3rd of our market and macOS >>> 1/3rd, we'll drop support for macOS sadly. I say sadly because our >>> application originated way back in the late 1980 as a HyperCard App for >>> MacOS. >>> >>> But, to your point, your concern IS valid for those people wanting Apps >>> from you that they insist MUST conform to all of Apple's esoteric >>> requirements. It is likely it will become increasingly harder for the >>> LiveCode ideal of develop once and deploy everywhere. >>> >>> >>> On 6/23/2020 2:56 PM, Jim Lambert via use-livecode wrote: >>>> This year?s WWDC shows Apple is moving to a unified ?system' for all >>> their products: Mac, iPhone, iPad, Apple Watch, AppleTV. >>>> The Apple development environment promises to produce a single app >>> capable of running on all, or almost all, of Apple devices. This >>> unification promises to be quite convenient for Apple developers. >>>> In contrast, over the last decade or so there has been an ever >>> increasing divergence in UX between major operating systems: Apple, >>> Windows, Linux, Android. The days when systems were so similar that you >>> could rely on the commonality of a handful of UI elements across platforms >>> seems over to me. That?s troubling because such commonality is fundamental >>> to LiveCode?s approach - write once, run everywhere. >>>> In watching WWDC sessions it?s pretty clear that even simple UI elements >>> have become more like UX elements having intrinsic and complex properties, >>> such as certain visual and behavioral animations. Users readily learn to >>> expect these behaviors. Yet such things are increasing difficult to fake >>> with LiveCode?s basic palette of objects. >>>> Enter LiveCode Builder and LC Widgets. They offer the promise of >>> platform-specific UI elements - a promise fulfilled with some simple >>> elements like iOS Native Button or Android Native Field. But I?m concerned >>> that as platforms diverge in the interface experiences they present to >>> users, that LC and LC developers will have difficulty satisfying users' >>> divergent expectations. >>>> Is my concern valid? >>>> >>>> Jim Lambert >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dev at porta.ca Tue Jun 23 17:24:29 2020 From: dev at porta.ca (Dev) Date: Tue, 23 Jun 2020 15:24:29 -0600 Subject: Platform Divergence In-Reply-To: <9064a6d2-a023-a153-5c4f-b25e8d84276b@researchware.com> References: <9064a6d2-a023-a153-5c4f-b25e8d84276b@researchware.com> Message-ID: <7F762DE7-6663-4FC7-A150-7A17982D6C7C@porta.ca> Presentation yesterday made a point of saying that apps DID NOT have to go through the Mac App Store. It will probably be like Catalina where the OS will warn, but there is an unobtrusive Open button that will let you run anything you want. Sent from my iPhone > On Jun 23, 2020, at 1:22 PM, Paul Dupuis via use-livecode wrote: > > ?We make and sell a desktop application (Windows and macOS) for a niche research market. I expect when Apple does their migration to a common processor and OS, Apple Developer's will have to go through all of Apple hoops for all their platforms.Most of our customer don't care about UI widget animations. They want the app to do certain functions and do them well and quickly to work with their data. As long as the UI is effective, whether it conforms precisely to Microsoft or Apple UI guidelines is secondary. So, even if you only care about desktops, your app will have to be sold through Apple's single App Store, conform to all screen sizes on all their devices, and follow all their UI guidelines, etc. > > At that point, given that Windows is 2/3rd of our market and macOS 1/3rd, we'll drop support for macOS sadly. I say sadly because our application originated way back in the late 1980 as a HyperCard App for MacOS. > > But, to your point, your concern IS valid for those people wanting Apps from you that they insist MUST conform to all of Apple's esoteric requirements. It is likely it will become increasingly harder for the LiveCode ideal of develop once and deploy everywhere. > > >> On 6/23/2020 2:56 PM, Jim Lambert via use-livecode wrote: >> This year?s WWDC shows Apple is moving to a unified ?system' for all their products: Mac, iPhone, iPad, Apple Watch, AppleTV. >> The Apple development environment promises to produce a single app capable of running on all, or almost all, of Apple devices. This unification promises to be quite convenient for Apple developers. >> >> In contrast, over the last decade or so there has been an ever increasing divergence in UX between major operating systems: Apple, Windows, Linux, Android. The days when systems were so similar that you could rely on the commonality of a handful of UI elements across platforms seems over to me. That?s troubling because such commonality is fundamental to LiveCode?s approach - write once, run everywhere. >> >> In watching WWDC sessions it?s pretty clear that even simple UI elements have become more like UX elements having intrinsic and complex properties, such as certain visual and behavioral animations. Users readily learn to expect these behaviors. Yet such things are increasing difficult to fake with LiveCode?s basic palette of objects. >> >> Enter LiveCode Builder and LC Widgets. They offer the promise of platform-specific UI elements - a promise fulfilled with some simple elements like iOS Native Button or Android Native Field. But I?m concerned that as platforms diverge in the interface experiences they present to users, that LC and LC developers will have difficulty satisfying users' divergent expectations. >> >> Is my concern valid? >> >> Jim Lambert >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Tue Jun 23 17:26:16 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 23 Jun 2020 15:26:16 -0600 Subject: Platform Divergence In-Reply-To: <858523F3-4E1F-48C1-941F-48B18D4E5BD2@porta.ca> References: <0f2d1f10-fd1e-9389-fc1b-713fb69c80d4@gmail.com> <858523F3-4E1F-48C1-941F-48B18D4E5BD2@porta.ca> Message-ID: <356A1135-8608-469C-9702-8E783CE8076A@gmail.com> Something they did show was a demo of a high end Intel CPU compiled game, and with Rosetta 2 the performance was good. I think it will be a few years before having to take advantage of native hardware will matter, and if LiveCode is built with Xcode, there is already a way to compile so that the application supports both sets of hardware. From MikeKerner at roadrunner.com Tue Jun 23 17:30:46 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jun 2020 17:30:46 -0400 Subject: datagrid delay hilite Message-ID: i just put a new dg in a mobile app (was using the mergDGScroller before), and noticed that the auto-hilite is very fast, like so fast that the dg selects the row instead of recognizing that what you're really trying to do is scroll. has anyone resolved that? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Tue Jun 23 17:40:58 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Jun 2020 16:40:58 -0500 Subject: stacks panel in standalone application settings disabled In-Reply-To: References: Message-ID: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> Yeah. But you can disable the mobile build(s) and add the files and then re-enable mobile. Seems like the wrong interface but it works. On 6/23/20 4:11 PM, Mike Kerner via use-livecode wrote: > uh, isn't that a problem if you have behaviors included and you need to add > or remove some? > > On Tue, Jun 23, 2020 at 4:57 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 6/23/20 2:34 PM, Mike Kerner via use-livecode wrote: >>> why would everything on the stacks panel of the standalone application >>> settings be disabled? >> >> It's disabled if you are building for mobile. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Jun 23 18:41:14 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 23 Jun 2020 18:41:14 -0400 Subject: Mobile Keyboard In-Reply-To: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> Message-ID: <006601d649af$69ae66b0$3d0b3410$@net> I have a card with one focusable input field. How can I keep the keyboard from opening until the user taps into the field? I tried putting "focus on nothing"s in various places such as preopencard and opencard with no success? I think this has been discussed before. Was there ever a solution for both iOS and Android? Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dan at clearvisiontech.com Tue Jun 23 19:53:38 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 23 Jun 2020 23:53:38 +0000 Subject: Mobile Keyboard In-Reply-To: <006601d649af$69ae66b0$3d0b3410$@net> References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> Message-ID: Ralph, I had this same issue on a project. The problem is when the card/stack opens, LiveCode want to activate the first typable field it finds. If my old memory is correct, what I did was this: on preOpenCard set the lockText of fld "thisDarnField" to true end preOpenCard on openCard send "doUnlockTheField" to this card in 1 tick //don't send this until everything is done loading (you could probably send this in the preOpenCard too) end openCard on doUnlockTheField set the lockText of fld "thisDarnField" to false end doUnlockTheField Hope that helps and I hope it works! I hope my cobweb-ridden brain remembers this correctly! -Dan ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: I have a card with one focusable input field. How can I keep the keyboard from opening until the user taps into the field? I tried putting "focus on nothing"s in various places such as preopencard and opencard with no success? I think this has been discussed before. Was there ever a solution for both iOS and Android? Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Tue Jun 23 20:03:52 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 24 Jun 2020 01:03:52 +0100 Subject: Platform Divergence In-Reply-To: <356A1135-8608-469C-9702-8E783CE8076A@gmail.com> References: <0f2d1f10-fd1e-9389-fc1b-713fb69c80d4@gmail.com> <858523F3-4E1F-48C1-941F-48B18D4E5BD2@porta.ca> <356A1135-8608-469C-9702-8E783CE8076A@gmail.com> Message-ID: I'm pretty convinced that, although some of the UI niceties won't be included initially, LC will be barely, if not completely, unaffected by this divergence (even with AppleStore complications). No more than we already have! Scrollbars always get me! Put a standard scrolling field on a mobile device and it always looks Win91/Linux styled. To this day!! Hasn't been improved by Team LC or even considered. It has always fallen on us to fake it and go through mental amounts of flaming hoops. We have the 'native' fields now (LCB) but you have to swap out in code between platforms if you are developing for multi-platform environments. That said, it's still easier jumping through those hoops that coding in C+, C#, Obj-C/Swift, Java and Html5/CSS/JS/PHP to get something working cross-platform. LC is still a little marvel! Sean Cole *Pi Digital * From MikeKerner at roadrunner.com Wed Jun 24 08:26:48 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jun 2020 08:26:48 -0400 Subject: stacks panel in standalone application settings disabled In-Reply-To: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> Message-ID: why would it be disabled in the first place? On Tue, Jun 23, 2020 at 5:42 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Yeah. But you can disable the mobile build(s) and add the files and then > re-enable mobile. > Seems like the wrong interface but it works. > > On 6/23/20 4:11 PM, Mike Kerner via use-livecode wrote: > > uh, isn't that a problem if you have behaviors included and you need to > add > > or remove some? > > > > On Tue, Jun 23, 2020 at 4:57 PM J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> On 6/23/20 2:34 PM, Mike Kerner via use-livecode wrote: > >>> why would everything on the stacks panel of the standalone application > >>> settings be disabled? > >> > >> It's disabled if you are building for mobile. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Jun 24 08:58:41 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jun 2020 08:58:41 -0400 Subject: datagrid delay hilite In-Reply-To: References: Message-ID: nm, the datagrid library uses mobileControlSet sScrollerId, "delayTouches", "false" instead of true. bug report issued. On Tue, Jun 23, 2020 at 5:30 PM Mike Kerner wrote: > i just put a new dg in a mobile app (was using the mergDGScroller before), > and noticed that the auto-hilite is very fast, like so fast that the dg > selects the row instead of recognizing that what you're really trying to do > is scroll. > has anyone resolved that? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Wed Jun 24 09:49:03 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 24 Jun 2020 09:49:03 -0400 Subject: datagrid delay hilite In-Reply-To: References: Message-ID: <001701d64a2e$3bb2c150$b31843f0$@net> Setting (mobileControlSet sScrollerId, "delayTouches", "true") to make it easier to scroll without getting the mouseDown message unintentionally is iOS only. What is the solution for Android? 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: Wednesday, June 24, 2020 8:59 AM To: How to use LiveCode Cc: Mike Kerner Subject: Re: datagrid delay hilite nm, the datagrid library uses mobileControlSet sScrollerId, "delayTouches", "false" instead of true. bug report issued. On Tue, Jun 23, 2020 at 5:30 PM Mike Kerner wrote: > i just put a new dg in a mobile app (was using the mergDGScroller > before), and noticed that the auto-hilite is very fast, like so fast > that the dg selects the row instead of recognizing that what you're > really trying to do is scroll. > has anyone resolved that? > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 24 10:09:11 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 24 Jun 2020 10:09:11 -0400 Subject: Mobile Keyboard In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> Message-ID: <001801d64a31$0b9c3d90$22d4b8b0$@net> Dan, Thanks! I was fiddling with the lockText property earlier and it did not seem to work. The field does predictive typing. I discovered that keyDown and rawKeyDown messages are still sent even if lockText is true. I had to put this code at the top of both rawKeyDown and keyDown handlers to prevent data entry into the field.. if the lockText of me then pass keyDown/rawKeyDown end if Still learning... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: Dan Friedman [mailto:dan at clearvisiontech.com] Sent: Tuesday, June 23, 2020 7:54 PM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Mobile Keyboard Ralph, I had this same issue on a project. The problem is when the card/stack opens, LiveCode want to activate the first typable field it finds. If my old memory is correct, what I did was this: on preOpenCard set the lockText of fld "thisDarnField" to true end preOpenCard on openCard send "doUnlockTheField" to this card in 1 tick //don't send this until everything is done loading (you could probably send this in the preOpenCard too) end openCard on doUnlockTheField set the lockText of fld "thisDarnField" to false end doUnlockTheField Hope that helps and I hope it works! I hope my cobweb-ridden brain remembers this correctly! -Dan ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: I have a card with one focusable input field. How can I keep the keyboard from opening until the user taps into the field? I tried putting "focus on nothing"s in various places such as preopencard and opencard with no success? I think this has been discussed before. Was there ever a solution for both iOS and Android? Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jun 24 11:35:29 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 24 Jun 2020 11:35:29 -0400 Subject: Mobile Keyboard In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> Message-ID: <002201d64a3d$1a0d0650$4e2712f0$@net> If found that you need to enclose the (set the lockText of fld "thisDarnField" to false) with lock/unlock messages or the keyboard will pop up when the doUnlockTheField handler is run. Probably because I do a lot in the passed open card message path I also needed to send the message in 100 ticks. Works great now. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: Dan Friedman [mailto:dan at clearvisiontech.com] Sent: Tuesday, June 23, 2020 7:54 PM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Mobile Keyboard Ralph, I had this same issue on a project. The problem is when the card/stack opens, LiveCode want to activate the first typable field it finds. If my old memory is correct, what I did was this: on preOpenCard set the lockText of fld "thisDarnField" to true end preOpenCard on openCard send "doUnlockTheField" to this card in 1 tick //don't send this until everything is done loading (you could probably send this in the preOpenCard too) end openCard on doUnlockTheField set the lockText of fld "thisDarnField" to false end doUnlockTheField Hope that helps and I hope it works! I hope my cobweb-ridden brain remembers this correctly! -Dan ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: I have a card with one focusable input field. How can I keep the keyboard from opening until the user taps into the field? I tried putting "focus on nothing"s in various places such as preopencard and opencard with no success? I think this has been discussed before. Was there ever a solution for both iOS and Android? Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Wed Jun 24 11:58:07 2020 From: paul at livecode.org (Paul Hibbert) Date: Wed, 24 Jun 2020 08:58:07 -0700 Subject: Mobile Keyboard In-Reply-To: <002201d64a3d$1a0d0650$4e2712f0$@net> References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> <002201d64a3d$1a0d0650$4e2712f0$@net> Message-ID: <1B72DD06-1A20-4953-AC90-8D1E970F9442@livecode.org> Try setting the traversalOn to false rather than using lockText, I seem to remember that worked for the last iOS app that I made (quite a while ago now), I?m sure it has been discussed here, probably several years ago, so I?m amazes that I remembered it. :-) I tested the script below in the simulator on a card with 5 fields and it worked as expected. CODE: local sFields on preOpenCard put the number of fields on this card into sFields repeat with x = 1 to sFields set the traversalOn of fld x to false end repeat end preOpenCard on openCard ## openCard stuff here send "unlockAllFields" to this card in 2 ticks ## Last line of the openCard handler end openCard on unlockAllFields repeat with x = 1 to sFields set the traversalOn of fld x to true end repeat end unlockAllFields END CODE Best of luck. Paul > On Jun 24, 2020, at 08:35, Ralph DiMola via use-livecode wrote: > > If found that you need to enclose the (set the lockText of fld "thisDarnField" to false) with lock/unlock messages or the keyboard will pop up when the doUnlockTheField handler is run. Probably because I do a lot in the passed open card message path I also needed to send the message in 100 ticks. > > Works great now. > Thanks! > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: Dan Friedman [mailto:dan at clearvisiontech.com] > Sent: Tuesday, June 23, 2020 7:54 PM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Mobile Keyboard > > Ralph, > > I had this same issue on a project. The problem is when the card/stack opens, LiveCode want to activate the first typable field it finds. If my old memory is correct, what I did was this: > > on preOpenCard > set the lockText of fld "thisDarnField" to true > end preOpenCard > > on openCard > send "doUnlockTheField" to this card in 1 tick //don't send this until everything is done loading (you could probably send this in the preOpenCard too) end openCard > > on doUnlockTheField > set the lockText of fld "thisDarnField" to false end doUnlockTheField > > > Hope that helps and I hope it works! I hope my cobweb-ridden brain remembers this correctly! > > -Dan > > > ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: > > I have a card with one focusable input field. > How can I keep the keyboard from opening until the user taps into the field? > > I tried putting "focus on nothing"s in various places such as preopencard > and opencard with no success? > > I think this has been discussed before. Was there ever a solution for both > iOS and Android? > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Jun 24 12:07:39 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jun 2020 12:07:39 -0400 Subject: datagrid delay hilite In-Reply-To: <001701d64a2e$3bb2c150$b31843f0$@net> References: <001701d64a2e$3bb2c150$b31843f0$@net> Message-ID: dunno, not using android. On Wed, Jun 24, 2020 at 9:48 AM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Setting (mobileControlSet sScrollerId, "delayTouches", "true") to make it > easier to scroll without getting the mouseDown message unintentionally is > iOS only. What is the solution for Android? > > 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: Wednesday, June 24, 2020 8:59 AM > To: How to use LiveCode > Cc: Mike Kerner > Subject: Re: datagrid delay hilite > > nm, the datagrid library uses > mobileControlSet sScrollerId, "delayTouches", "false" > instead of true. bug report issued. > > On Tue, Jun 23, 2020 at 5:30 PM Mike Kerner > wrote: > > > i just put a new dg in a mobile app (was using the mergDGScroller > > before), and noticed that the auto-hilite is very fast, like so fast > > that the dg selects the row instead of recognizing that what you're > > really trying to do is scroll. > > has anyone resolved that? > > > > -- > > On the first day, God created the heavens and the Earth On the second > > day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Wed Jun 24 14:39:43 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jun 2020 13:39:43 -0500 Subject: Mobile Keyboard In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> Message-ID: <7f8a449f-d65f-dd2c-c3f7-f8a43181d975@hyperactivesw.com> We've all had that problem: On 6/23/20 6:53 PM, Dan Friedman via use-livecode wrote: > Ralph, > > I had this same issue on a project. The problem is when the card/stack opens, LiveCode want to activate the first typable field it finds. If my old memory is correct, what I did was this: > > on preOpenCard > set the lockText of fld "thisDarnField" to true > end preOpenCard > > on openCard > send "doUnlockTheField" to this card in 1 tick //don't send this until everything is done loading (you could probably send this in the preOpenCard too) > end openCard > > on doUnlockTheField > set the lockText of fld "thisDarnField" to false > end doUnlockTheField > > > Hope that helps and I hope it works! I hope my cobweb-ridden brain remembers this correctly! > > -Dan > > > ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: > > I have a card with one focusable input field. > How can I keep the keyboard from opening until the user taps into the field? > > I tried putting "focus on nothing"s in various places such as preopencard > and opencard with no success? > > I think this has been discussed before. Was there ever a solution for both > iOS and Android? > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 24 14:44:13 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jun 2020 13:44:13 -0500 Subject: Platform Divergence In-Reply-To: References: <0f2d1f10-fd1e-9389-fc1b-713fb69c80d4@gmail.com> <858523F3-4E1F-48C1-941F-48B18D4E5BD2@porta.ca> <356A1135-8608-469C-9702-8E783CE8076A@gmail.com> Message-ID: <64b76951-9f0b-ffe6-24ac-88320d703b6d@hyperactivesw.com> On 6/23/20 7:03 PM, Sean Cole (Pi) via use-livecode wrote: > Put a standard scrolling field on a > mobile device and it always looks Win91/Linux styled. To this day!! Hasn't > been improved by Team LC or even considered. It has always fallen on us to > fake it and go through mental amounts of flaming hoops. It would be great to have a scrolling field widget, I do hope that happens, but you can already do the same thing with a native mobile scroller. It's cross-platform. It does require some initial scripting but once you've done that, you can use the same handlers anywhere or set them up as behaviors. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jun 24 14:47:05 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jun 2020 13:47:05 -0500 Subject: stacks panel in standalone application settings disabled In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> Message-ID: <0fddc1d1-f1dd-9be7-969a-4939ce8ba053@hyperactivesw.com> On 6/24/20 7:26 AM, Mike Kerner via use-livecode wrote: > why would it be disabled in the first place? That's a question for the LC gods. It might have been necessary before we had script-only stacks and just hasn't been changed since then. Or it's a bug. Or it's just a fluke of the universe. > On Tue, Jun 23, 2020 at 5:42 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Yeah. But you can disable the mobile build(s) and add the files and then >> re-enable mobile. >> Seems like the wrong interface but it works. >> >> On 6/23/20 4:11 PM, Mike Kerner via use-livecode wrote: >>> uh, isn't that a problem if you have behaviors included and you need to >> add >>> or remove some? >>> >>> On Tue, Jun 23, 2020 at 4:57 PM J. Landman Gay via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> On 6/23/20 2:34 PM, Mike Kerner via use-livecode wrote: >>>>> why would everything on the stacks panel of the standalone application >>>>> settings be disabled? >>>> >>>> It's disabled if you are building for mobile. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From merakosp at gmail.com Wed Jun 24 14:46:59 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 24 Jun 2020 21:46:59 +0300 Subject: Mobile Keyboard In-Reply-To: <7f8a449f-d65f-dd2c-c3f7-f8a43181d975@hyperactivesw.com> References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> <7f8a449f-d65f-dd2c-c3f7-f8a43181d975@hyperactivesw.com> Message-ID: By the way, this has worked for me, tested on iOS: on preopenstack do_stuff send "hideMobileKeyword" to me in 100 millisec end preopenstack on hideMobileKeyword focus on nothing end hideMobileKeyword Kind regards, Panos -- On Wed, 24 Jun 2020 at 21:40, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > We've all had that problem: > > > On 6/23/20 6:53 PM, Dan Friedman via use-livecode wrote: > > Ralph, > > > > I had this same issue on a project. The problem is when the card/stack > opens, LiveCode want to activate the first typable field it finds. If my > old memory is correct, what I did was this: > > > > on preOpenCard > > set the lockText of fld "thisDarnField" to true > > end preOpenCard > > > > on openCard > > send "doUnlockTheField" to this card in 1 tick //don't send this > until everything is done loading (you could probably send this in the > preOpenCard too) > > end openCard > > > > on doUnlockTheField > > set the lockText of fld "thisDarnField" to false > > end doUnlockTheField > > > > > > Hope that helps and I hope it works! I hope my cobweb-ridden brain > remembers this correctly! > > > > -Dan > > > > > > ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via > use-livecode" use-livecode at lists.runrev.com> wrote: > > > > I have a card with one focusable input field. > > How can I keep the keyboard from opening until the user taps into > the field? > > > > I tried putting "focus on nothing"s in various places such as > preopencard > > and opencard with no success? > > > > I think this has been discussed before. Was there ever a solution > for both > > iOS and Android? > > > > Thanks > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jun 24 16:01:26 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jun 2020 15:01:26 -0500 Subject: Mobile Keyboard In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> <7f8a449f-d65f-dd2c-c3f7-f8a43181d975@hyperactivesw.com> Message-ID: <8a5c6a04-612a-c04e-9586-ae584841fe70@hyperactivesw.com> I'll have to try that. The last time I looked, the keyboard popped up briefly after openCard finished, and then went back down. On 6/24/20 1:46 PM, panagiotis merakos via use-livecode wrote: > By the way, this has worked for me, tested on iOS: > > on preopenstack > do_stuff > send "hideMobileKeyword" to me in 100 millisec > end preopenstack > > on hideMobileKeyword > focus on nothing > end hideMobileKeyword > > Kind regards, > Panos > -- > > On Wed, 24 Jun 2020 at 21:40, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> We've all had that problem: >> >> >> On 6/23/20 6:53 PM, Dan Friedman via use-livecode wrote: >>> Ralph, >>> >>> I had this same issue on a project. The problem is when the card/stack >> opens, LiveCode want to activate the first typable field it finds. If my >> old memory is correct, what I did was this: >>> >>> on preOpenCard >>> set the lockText of fld "thisDarnField" to true >>> end preOpenCard >>> >>> on openCard >>> send "doUnlockTheField" to this card in 1 tick //don't send this >> until everything is done loading (you could probably send this in the >> preOpenCard too) >>> end openCard >>> >>> on doUnlockTheField >>> set the lockText of fld "thisDarnField" to false >>> end doUnlockTheField >>> >>> >>> Hope that helps and I hope it works! I hope my cobweb-ridden brain >> remembers this correctly! >>> >>> -Dan >>> >>> >>> ?On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >>> >>> I have a card with one focusable input field. >>> How can I keep the keyboard from opening until the user taps into >> the field? >>> >>> I tried putting "focus on nothing"s in various places such as >> preopencard >>> and opencard with no success? >>> >>> I think this has been discussed before. Was there ever a solution >> for both >>> iOS and Android? >>> >>> Thanks >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> 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 MikeKerner at roadrunner.com Wed Jun 24 16:45:55 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jun 2020 16:45:55 -0400 Subject: stacks panel in standalone application settings disabled In-Reply-To: <0fddc1d1-f1dd-9be7-969a-4939ce8ba053@hyperactivesw.com> References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <0fddc1d1-f1dd-9be7-969a-4939ce8ba053@hyperactivesw.com> Message-ID: what's really weird is even if you turn on the other platforms, it stays disabled. On Wed, Jun 24, 2020 at 2:47 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/24/20 7:26 AM, Mike Kerner via use-livecode wrote: > > why would it be disabled in the first place? > > That's a question for the LC gods. It might have been necessary before we > had script-only > stacks and just hasn't been changed since then. Or it's a bug. Or it's > just a fluke of the > universe. > > > On Tue, Jun 23, 2020 at 5:42 PM J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Yeah. But you can disable the mobile build(s) and add the files and then > >> re-enable mobile. > >> Seems like the wrong interface but it works. > >> > >> On 6/23/20 4:11 PM, Mike Kerner via use-livecode wrote: > >>> uh, isn't that a problem if you have behaviors included and you need to > >> add > >>> or remove some? > >>> > >>> On Tue, Jun 23, 2020 at 4:57 PM J. Landman Gay via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> On 6/23/20 2:34 PM, Mike Kerner via use-livecode wrote: > >>>>> why would everything on the stacks panel of the standalone > application > >>>>> settings be disabled? > >>>> > >>>> It's disabled if you are building for mobile. > >>>> > >>>> -- > >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>> HyperActive Software | http://www.hyperactivesw.com > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 Wed Jun 24 20:27:11 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 24 Jun 2020 20:27:11 -0400 Subject: iOS Browser Widget and javascriptHandlers In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <0fddc1d1-f1dd-9be7-969a-4939ce8ba053@hyperactivesw.com> Message-ID: <005901d64a87$61a2fc00$24e8f400$@net> LC 9.6 I create I browser widget. I add a JavaScript Handler using (set the javascriptHandlers). Load webpage on an https server. The callbacks to LC work OK in Win 10 IDE and on Android deployment. On iOS 13 testers report the JavaScript call backs don't work first time but on subsequent loads of the page it works OK. This is the initial problem. So I fired up my test device to see what's going on. This is where it get weird. My test device is an iPad Mini running iOS 12.4.7 and JavaScript Handler call back to LC never works. I put some JavaScript "alert"s in the code for debugging. The alerts never show up but does show on Android and in the IDE. The alerts also show up in Safari and Chrome on the same 12.4.7 device just not in the browser widget. I verified that the remaining JavaScript code in the page is actually running just fine but no JavaScript Handler call backs or alerts are working. Could there a plist permission issue? I'm at a loss... Any ideas? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From prothero at earthlearningsolutions.org Wed Jun 24 20:35:55 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 24 Jun 2020 17:35:55 -0700 Subject: What the heck? Writing and reading ios files?? Message-ID: Folks: I?m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I?ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file?s existence and it says it doesn?t. But when I write the file and immediately check for the file?s existence (in the same handler), it says it exists. I?ve checked the path with the debugger and the path it writes to is exactly the same as the path it looks for the file in. I must be missing something very basic. It works on my dev system, but in the phone, it can?t find the files it just wrote. Is there some kind of permission needed? I?m stumped. Please enlighten me. There must be some really, really basic thing I?m missing. Thanks, Bill --retrieves an arbitrary array from the waterdetective local storage folder function getArrayFromLocal fName put getPathToUserDocuments() into tFloc put tFloc&"/"&"waterdetective/"&fName into tFile if the last char of tFile is cr then delete the last char of tFile end if ?It can?t find the file I just wrote if there is a file tFile then put URL ("binfile:"&tFile) into temp put base64decode(temp) into temp put arrayDecode(temp) into tArray else return "" end if return tArray end getArrayFromLocal function getPathToUserDocuments put specialFolderPath("Documents") into tPath return tPath end getPathToUserDocuments on saveArrayToLocal fName,tArray if fname contains "meterReadingsA" then breakpoint end if --put tNameExt after fName if the last char of fName is cr then delete the last char of fName end if put getPathToUserDocuments() into tFloc put tFloc&"/"&"waterdetective" into tFolder checkCreateFolder tFolder put tFolder&"/"&fName into tDataFile delete file tDataFile put arrayEncode(tArray) into temp put base64encode(temp) into tData put tData into URL ("binfile:"&tDataFile) wait 2 seconds if there is a file tDataFile then put "Yes" into x ?on ios I get ?Yes" put tDataFile into theLocalPath else put "No" into x end if end saveArrayToLocal William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From prothero at earthlearningsolutions.org Wed Jun 24 23:04:39 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 24 Jun 2020 20:04:39 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: Message-ID: Added info: I?ve tried putting the files in ?cache?, in the ?Documents? folder directly, and using > put URL ("file:"&tFile) to store the data. Didn?t change anything. I also looked at the lesson on reading and writing livecode files. Nothing helps. I?m using Livecode Business 9.6.0 on a Mac running 10.15.5 This is the last hurdle I have before am finished with this project. Any suggestions would be mucho appreciated. Best, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode wrote: > > Folks: > I?m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I?ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file?s existence and it says it doesn?t. But when I write the file and immediately check for the file?s existence (in the same handler), it says it exists. I?ve checked the path with the debugger and the path it writes to is exactly the same as the path it looks for the file in. > > I must be missing something very basic. It works on my dev system, but in the phone, it can?t find the files it just wrote. Is there some kind of permission needed? I?m stumped. > > Please enlighten me. There must be some really, really basic thing I?m missing. > > Thanks, > Bill > > --retrieves an arbitrary array from the waterdetective local storage folder > > function getArrayFromLocal fName > > put getPathToUserDocuments() into tFloc > > put tFloc&"/"&"waterdetective/"&fName into tFile > > if the last char of tFile is cr then > > delete the last char of tFile > > end if > > ?It can?t find the file I just wrote > if there is a file tFile then > > put URL ("binfile:"&tFile) into temp > > put base64decode(temp) into temp > > put arrayDecode(temp) into tArray > > else > > return "" > > end if > > return tArray > > end getArrayFromLocal > > > function getPathToUserDocuments > > put specialFolderPath("Documents") into tPath > > return tPath > > end getPathToUserDocuments > > on saveArrayToLocal fName,tArray > > if fname contains "meterReadingsA" then > > breakpoint > > end if > > --put tNameExt after fName > > if the last char of fName is cr then > > delete the last char of fName > > end if > > put getPathToUserDocuments() into tFloc > > put tFloc&"/"&"waterdetective" into tFolder > > checkCreateFolder tFolder > > put tFolder&"/"&fName into tDataFile > > delete file tDataFile > > put arrayEncode(tArray) into temp > > put base64encode(temp) into tData > > put tData into URL ("binfile:"&tDataFile) > > wait 2 seconds > > if there is a file tDataFile then > > put "Yes" into x ?on ios I get ?Yes" > > put tDataFile into theLocalPath > > else > > put "No" into x > > end if > > end saveArrayToLocal > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Jun 24 23:32:21 2020 From: sundown at pacifier.com (JB) Date: Wed, 24 Jun 2020 20:32:21 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: Message-ID: I didn?t test the code so I do not know what is happening with the file. But and idea to test for problems is only write code that will put something like :Hello world!? into the file and see if you can locate the file on your drive. If you still have the problem at least it can be fixed within that few lines of code or it might be a bug of some sort. JB > On Jun 24, 2020, at 8:04 PM, prothero--- via use-livecode wrote: > > Added info: > I?ve tried putting the files in ?cache?, in the ?Documents? folder directly, and using >> put URL ("file:"&tFile) > to store the data. Didn?t change anything. > I also looked at the lesson on reading and writing livecode files. Nothing helps. > > I?m using Livecode Business 9.6.0 on a Mac running 10.15.5 > > This is the last hurdle I have before am finished with this project. Any suggestions would be mucho appreciated. > > Best, > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode wrote: >> >> Folks: >> I?m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I?ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file?s existence and it says it doesn?t. But when I write the file and immediately check for the file?s existence (in the same handler), it says it exists. I?ve checked the path with the debugger and the path it writes to is exactly the same as the path it looks for the file in. >> >> I must be missing something very basic. It works on my dev system, but in the phone, it can?t find the files it just wrote. Is there some kind of permission needed? I?m stumped. >> >> Please enlighten me. There must be some really, really basic thing I?m missing. >> >> Thanks, >> Bill >> >> --retrieves an arbitrary array from the waterdetective local storage folder >> >> function getArrayFromLocal fName >> >> put getPathToUserDocuments() into tFloc >> >> put tFloc&"/"&"waterdetective/"&fName into tFile >> >> if the last char of tFile is cr then >> >> delete the last char of tFile >> >> end if >> >> ?It can?t find the file I just wrote >> if there is a file tFile then >> >> put URL ("binfile:"&tFile) into temp >> >> put base64decode(temp) into temp >> >> put arrayDecode(temp) into tArray >> >> else >> >> return "" >> >> end if >> >> return tArray >> >> end getArrayFromLocal >> >> >> function getPathToUserDocuments >> >> put specialFolderPath("Documents") into tPath >> >> return tPath >> >> end getPathToUserDocuments >> >> on saveArrayToLocal fName,tArray >> >> if fname contains "meterReadingsA" then >> >> breakpoint >> >> end if >> >> --put tNameExt after fName >> >> if the last char of fName is cr then >> >> delete the last char of fName >> >> end if >> >> put getPathToUserDocuments() into tFloc >> >> put tFloc&"/"&"waterdetective" into tFolder >> >> checkCreateFolder tFolder >> >> put tFolder&"/"&fName into tDataFile >> >> delete file tDataFile >> >> put arrayEncode(tArray) into temp >> >> put base64encode(temp) into tData >> >> put tData into URL ("binfile:"&tDataFile) >> >> wait 2 seconds >> >> if there is a file tDataFile then >> >> put "Yes" into x ?on ios I get ?Yes" >> >> put tDataFile into theLocalPath >> >> else >> >> put "No" into x >> >> end if >> >> end saveArrayToLocal >> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Jun 24 23:44:34 2020 From: sundown at pacifier.com (JB) Date: Wed, 24 Jun 2020 20:44:34 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: Message-ID: <8124C334-9A6E-4D89-8DFD-BA3D707B68DC@pacifier.com> Another solution might be to copy and paste a file or create a new file of any type and give it a name like myPath or whatever. Put that file in the same location of the directory you expect your other file to show up in. You can use any method to get the file path of your new file myPath and use the info to validate the path you are providing for the file you have been trying to create but cannot find. There might be some hidden character etc that is preventing the file showing up or even something like a dot before the name making it invisible on a mac. JB > On Jun 24, 2020, at 8:04 PM, prothero--- via use-livecode wrote: > > Added info: > I?ve tried putting the files in ?cache?, in the ?Documents? folder directly, and using >> put URL ("file:"&tFile) > to store the data. Didn?t change anything. > I also looked at the lesson on reading and writing livecode files. Nothing helps. > > I?m using Livecode Business 9.6.0 on a Mac running 10.15.5 > > This is the last hurdle I have before am finished with this project. Any suggestions would be mucho appreciated. > > Best, > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode wrote: >> >> Folks: >> I?m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I?ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file?s existence and it says it doesn?t. But when I write the file and immediately check for the file?s existence (in the same handler), it says it exists. I?ve checked the path with the debugger and the path it writes to is exactly the same as the path it looks for the file in. >> >> I must be missing something very basic. It works on my dev system, but in the phone, it can?t find the files it just wrote. Is there some kind of permission needed? I?m stumped. >> >> Please enlighten me. There must be some really, really basic thing I?m missing. >> >> Thanks, >> Bill >> >> --retrieves an arbitrary array from the waterdetective local storage folder >> >> function getArrayFromLocal fName >> >> put getPathToUserDocuments() into tFloc >> >> put tFloc&"/"&"waterdetective/"&fName into tFile >> >> if the last char of tFile is cr then >> >> delete the last char of tFile >> >> end if >> >> ?It can?t find the file I just wrote >> if there is a file tFile then >> >> put URL ("binfile:"&tFile) into temp >> >> put base64decode(temp) into temp >> >> put arrayDecode(temp) into tArray >> >> else >> >> return "" >> >> end if >> >> return tArray >> >> end getArrayFromLocal >> >> >> function getPathToUserDocuments >> >> put specialFolderPath("Documents") into tPath >> >> return tPath >> >> end getPathToUserDocuments >> >> on saveArrayToLocal fName,tArray >> >> if fname contains "meterReadingsA" then >> >> breakpoint >> >> end if >> >> --put tNameExt after fName >> >> if the last char of fName is cr then >> >> delete the last char of fName >> >> end if >> >> put getPathToUserDocuments() into tFloc >> >> put tFloc&"/"&"waterdetective" into tFolder >> >> checkCreateFolder tFolder >> >> put tFolder&"/"&fName into tDataFile >> >> delete file tDataFile >> >> put arrayEncode(tArray) into temp >> >> put base64encode(temp) into tData >> >> put tData into URL ("binfile:"&tDataFile) >> >> wait 2 seconds >> >> if there is a file tDataFile then >> >> put "Yes" into x ?on ios I get ?Yes" >> >> put tDataFile into theLocalPath >> >> else >> >> put "No" into x >> >> end if >> >> end saveArrayToLocal >> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Jun 25 00:22:58 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jun 2020 23:22:58 -0500 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: Message-ID: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Mobile is case-sensitive, desktop isn't. The "documents" folder should be all lower case. If that's not the problem then show us the lines of script that both create the file path and retrieve it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 24, 2020 10:06:45 PM prothero--- via use-livecode wrote: > Added info: > I?ve tried putting the files in ?cache?, in the ?Documents? folder > directly, and using >> put URL ("file:"&tFile) > to store the data. Didn?t change anything. > I also looked at the lesson on reading and writing livecode files. Nothing > helps. > > I?m using Livecode Business 9.6.0 on a Mac running 10.15.5 > > This is the last hurdle I have before am finished with this project. Any > suggestions would be mucho appreciated. > > Best, > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode >> wrote: >> >> Folks: >> I?m having a very weird problem writing then reading the same file on ios. >> I must be missing something very basic. I?ve checked the path to the file >> when it is written and it matches exactly to the path when I try to read >> it. In the read routine, I check for the file?s existence and it says it >> doesn?t. But when I write the file and immediately check for the file?s >> existence (in the same handler), it says it exists. I?ve checked the path >> with the debugger and the path it writes to is exactly the same as the path >> it looks for the file in. >> >> I must be missing something very basic. It works on my dev system, but in >> the phone, it can?t find the files it just wrote. Is there some kind of >> permission needed? I?m stumped. >> >> Please enlighten me. There must be some really, really basic thing I?m missing. >> >> Thanks, >> Bill >> >> --retrieves an arbitrary array from the waterdetective local storage folder >> >> function getArrayFromLocal fName >> >> put getPathToUserDocuments() into tFloc >> >> put tFloc&"/"&"waterdetective/"&fName into tFile >> >> if the last char of tFile is cr then >> >> delete the last char of tFile >> >> end if >> >> ?It can?t find the file I just wrote >> if there is a file tFile then >> >> put URL ("binfile:"&tFile) into temp >> >> put base64decode(temp) into temp >> >> put arrayDecode(temp) into tArray >> >> else >> >> return "" >> >> end if >> >> return tArray >> >> end getArrayFromLocal >> >> >> function getPathToUserDocuments >> >> put specialFolderPath("Documents") into tPath >> >> return tPath >> >> end getPathToUserDocuments >> >> on saveArrayToLocal fName,tArray >> >> if fname contains "meterReadingsA" then >> >> breakpoint >> >> end if >> >> --put tNameExt after fName >> >> if the last char of fName is cr then >> >> delete the last char of fName >> >> end if >> >> put getPathToUserDocuments() into tFloc >> >> put tFloc&"/"&"waterdetective" into tFolder >> >> checkCreateFolder tFolder >> >> put tFolder&"/"&fName into tDataFile >> >> delete file tDataFile >> >> put arrayEncode(tArray) into temp >> >> put base64encode(temp) into tData >> >> put tData into URL ("binfile:"&tDataFile) >> >> wait 2 seconds >> >> if there is a file tDataFile then >> >> put "Yes" into x ?on ios I get ?Yes" >> >> put tDataFile into theLocalPath >> >> else >> >> put "No" into x >> >> end if >> >> end saveArrayToLocal >> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Jun 25 03:37:51 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 25 Jun 2020 09:37:51 +0200 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: Message-ID: <1F140B90-3667-45DC-9656-D989BA5C90B4@major-k.de> Hi Bill, > Am 25.06.2020 um 02:35 schrieb prothero--- via use-livecode : > > Folks: > I?m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I?ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file?s existence and it says it doesn?t. But when I write the file and immediately check for the file?s existence (in the same handler), it says it exists. I?ve checked the path with the debugger and the path it writes to is exactly the same as the path it looks for the file in. > > I must be missing something very basic. It works on my dev system, but in the phone, it can?t find the files it just wrote. Is there some kind of permission needed? I?m stumped. > > Please enlighten me. There must be some really, really basic thing I?m missing. > > Thanks, > Bill > > --retrieves an arbitrary array from the waterdetective local storage folder > ... > function getPathToUserDocuments ## Use lowercase -> documents! > put specialFolderPath("documents") into tPath > ... > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From waprothero at gmail.com Thu Jun 25 12:38:21 2020 From: waprothero at gmail.com (William Prothero) Date: Thu, 25 Jun 2020 09:38:21 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> Jacqueline: Thanks for responding. I am really stuck on this. I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the filepaths, etc, the read routine says the file doesn?t exist. It all works in the dev environment. I had used a ?_? char in the filenames, so I removed it. The read routine can?t find the file. Very wierd. I?m going to try to make a very simple test case that I can run on my phone and post it, but I?m going to take a break. I?ve posted my file reading and writing code here, but there is probably too much to go through. Thanks for responding, Bill --saves an arbitrary array to the waterdetective local storage folder --fname is the name of the db, tNameExt -"_Wkng" for added files, or "_Dwnld" for downloaded files. on saveArrayToLocal fName,tArray put fixUpFName(fName) into fName if fname contains "meterReadingsA" then --breakpoint end if if the last char of fName is cr then delete the last char of fName end if put getPathToUserDocuments() into tFloc put tFloc into tFolder --put tFloc&"/"&"waterdetective" into tFolder checkCreateFolder tFolder put tFolder&"/"&fName into tDataFile delete file tDataFile put arrayEncode(tArray) into temp put base64encode(temp) into tData put tData into URL ("binfile:"&tDataFile) --put tData into URL ("file:"&tDataFile) wait 2 seconds --This is for testing with debug if there is a file tDataFile then put "Yes" into x put tDataFile into theLocalPath else put "No" into x end if end saveArrayToLocal on deleteLocalTempFiles tFileNameAddon put checkCreateLocalFolder() into tFolderPath put getTheLocalFiles() into tFiles repeat for each line tFile in tFiles put tFile&tFileNameAddon into theFileToDelete if not (char 1 of theFileToDelete is ".") then put tFolderPath&"/"&theFileToDelete into xFilePath delete file xFilePath end if end repeat end deleteLocalTempFiles function getTheLocalFiles put checkCreateLocalFolder() into tFolderPath set the defaultFolder to tFolderPath put files(tFolderPath) into tFiles return tFiles end getTheLocalFiles function isThereALocalFile fName put fixUpFName(fName) into fName put getPathToUserDocuments() into tFloc put tFloc&"/"&fName into tDataFile if there is a file tDataFile then return TRUE else return FALSE end if end isThereALocalFile function fixUpFName fName replace "_" with "xx" in fName return fName end fixUpFName --creates local folder and returns the folderPath function checkCreateLocalFolder tFolder put getPathToUserDocuments() into tFloc if tFolder = "" then return tFloc exit checkCreateLocalFolder end if put tFloc&"/"&tFolder into tFolderPath checkCreateFolder tFolderPath return tFolderPath end checkCreateLocalFolder --retrieves an arbitrary array from the waterdetective local storage folder function getArrayFromLocal fName put fixUpFName(fName) into fName if fname contains "meterReadingsA" then --breakpoint end if put getPathToUserDocuments() into tFloc put tFloc&"/"&fName into tFile put isThereALocalFile(fName) into isAFile if isAFile is TRUE then put URL ("binfile:"&tFile) into temp --put URL ("file:"&tFile) into temp put base64decode(temp) into temp put arrayDecode(temp) into tArray else return "Can't find file." end if return tArray end getArrayFromLocal on deleteLocalFile fName put fixUpFName(fName) into fName put getPathToUserDocuments() into tFloc put tFloc&"/"&"waterdetective/"&fName into tFile if there is a file tFile then delete file tFile end if end deleteLocalFile --tFolder is the complete path to the folder to be tested on checkCreateFolder tFolder if there is not a folder tFolder then create folder tFolder end if end checkCreateFolder function getPathToUserDocuments tFolder put specialFolderPath("documents") into tPath if the environment contains "development" then put tPath&"/waterdetective" into tPath end if if tFolder = "" then return tPath else put tPath&"/"&tFolder into tPath end if return tPath end getPathToUserDocuments William A. Prothero https://earthlearningsolutions.org > On Jun 24, 2020, at 9:22 PM, J. Landman Gay via use-livecode wrote: > > Mobile is case-sensitive, desktop isn't. The "documents" folder should be all lower case. > > If that's not the problem then show us the lines of script that both create the file path and retrieve it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 24, 2020 10:06:45 PM prothero--- via use-livecode wrote: > >> Added info: >> I?ve tried putting the files in ?cache?, in the ?Documents? folder directly, and using >>> put URL ("file:"&tFile) >> to store the data. Didn?t change anything. >> I also looked at the lesson on reading and writing livecode files. Nothing helps. >> >> I?m using Livecode Business 9.6.0 on a Mac running 10.15.5 >> >> This is the last hurdle I have before am finished with this project. Any suggestions would be mucho appreciated. >> >> Best, >> Bill >> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >>> On Jun 24, 2020, at 5:35 PM, prothero--- via use-livecode wrote: >>> >>> Folks: >>> I?m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I?ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file?s existence and it says it doesn?t. But when I write the file and immediately check for the file?s existence (in the same handler), it says it exists. I?ve checked the path with the debugger and the path it writes to is exactly the same as the path it looks for the file in. >>> >>> I must be missing something very basic. It works on my dev system, but in the phone, it can?t find the files it just wrote. Is there some kind of permission needed? I?m stumped. >>> >>> Please enlighten me. There must be some really, really basic thing I?m missing. >>> >>> Thanks, >>> Bill >>> >>> --retrieves an arbitrary array from the waterdetective local storage folder >>> >>> function getArrayFromLocal fName >>> >>> put getPathToUserDocuments() into tFloc >>> >>> put tFloc&"/"&"waterdetective/"&fName into tFile >>> >>> if the last char of tFile is cr then >>> >>> delete the last char of tFile >>> >>> end if >>> >>> ?It can?t find the file I just wrote >>> if there is a file tFile then >>> >>> put URL ("binfile:"&tFile) into temp >>> >>> put base64decode(temp) into temp >>> >>> put arrayDecode(temp) into tArray >>> >>> else >>> >>> return "" >>> >>> end if >>> >>> return tArray >>> >>> end getArrayFromLocal >>> >>> >>> function getPathToUserDocuments >>> >>> put specialFolderPath("Documents") into tPath >>> >>> return tPath >>> >>> end getPathToUserDocuments >>> >>> on saveArrayToLocal fName,tArray >>> >>> if fname contains "meterReadingsA" then >>> >>> breakpoint >>> >>> end if >>> >>> --put tNameExt after fName >>> >>> if the last char of fName is cr then >>> >>> delete the last char of fName >>> >>> end if >>> >>> put getPathToUserDocuments() into tFloc >>> >>> put tFloc&"/"&"waterdetective" into tFolder >>> >>> checkCreateFolder tFolder >>> >>> put tFolder&"/"&fName into tDataFile >>> >>> delete file tDataFile >>> >>> put arrayEncode(tArray) into temp >>> >>> put base64encode(temp) into tData >>> >>> put tData into URL ("binfile:"&tDataFile) >>> >>> wait 2 seconds >>> >>> if there is a file tDataFile then >>> >>> put "Yes" into x ?on ios I get ?Yes" >>> >>> put tDataFile into theLocalPath >>> >>> else >>> >>> put "No" into x >>> >>> end if >>> >>> end saveArrayToLocal >>> >>> William A. Prothero >>> Santa Barbara, CA. 93105 >>> http://earthlearningsolutions.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Thu Jun 25 16:05:53 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 25 Jun 2020 21:05:53 +0100 Subject: iOS sharing extension In-Reply-To: References: Message-ID: <98eddab7-85b6-4038-b121-82fd05c0161e@Spark> Having another go at creating an iOS Share extension in Livecode. Ben I had a go with the code snippets you supplied, but I?m not getting my app appearing in the list of apps available to share. I had a bit of a goose around and tried a bunch of options for the info.plist file without result - well in fact I?m getting the app launching with a black screen and then crashing if I use the following style recipe: NSExtension ? ?NSExtensionAttributes ? ?NSExtensionActivationRule ?TRUEPREDICATE ? ?NSExtensionMainStoryboard ?MainInterface ?NSExtensionPointIdentifier ?com.apple.share-services ? This type of plist addition: CFBundleDocumentTypes CFBundleTypeName Sound Garden CFBundleTypeRole Editor LSItemContentTypes public.plain-text LSHandlerRank Alternate CFBundleTypeName Audio CFBundleTypeRole Editor LSItemContentTypes public.audio LSHandlerRank Alternate Does not crash the app - but appears to do nothing? The following lesson appears related -?http://lessons.livecode.com/m/4069/l/1069016-associating-a-file-type-file-extension-with-an-lc-ios-app?and I note there are / were issues with iPhone X and this lesson. My basic question is how do I get an iOS app to work with as an iOS sharing extension such that in any app (say a web browser) where I select the share icon I can use my Livecode app as something that handles the share? On 20 Nov 2018, 18:40 +0000, Ben Rubinstein via use-livecode , wrote: > You need to do two things: > > - add code in your app to handle the "urlWakeUp" message, see the dictionary > entry and > http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes > > - add entries in the app's plist to tell the operating system what file types > your app can handle, see > https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685 > > The latter is the bit you need to do for iOS - not sure what the Android > equivalent is. > > > On 19/11/2018 20:35, David Bovill via use-livecode wrote: > > How could I create the ability for Livecode mobile apps - say iOS but > > ideally also on Android) to add the ability for other apps to share to them? > > > > - > > https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html > > > > I can't find any thread here or in the forums? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Jun 25 16:06:36 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Thu, 25 Jun 2020 13:06:36 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> Message-ID: Folks: Thanks for you input. What I found out is that the iPhone cares very much about case in text, but running the app on my desktop didn?t care about case, so I had a mystery solved only by going down every blind alley until I finally found the offending code. It also seems, but I haven?t tested this because I?m burned out after a day fighting with this, is that it seems the put URL statement likes to have its defaultFolder set and that it doesn?t like full pathnames. Not sure, but ?? This is one thing that can be extremely frustrating when the IDE doesn?t match the requirements for the destination device. Seems maybe there could be warning that would appear in the help files especially about the case sensitivity of iOS filenames. BTW, specialFilePath(?Documents?) works on ios, as does specialFilePath(?documents?), at least on the versions I'm using. (iOS latest and latest Mac OS?s). Thanks for your responses, BIll William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From terry.judd at unimelb.edu.au Thu Jun 25 16:53:39 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 25 Jun 2020 20:53:39 +0000 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> Message-ID: <3B67EB07-4498-470A-83FF-2A2A28622FC4@unimelb.edu.au> On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via use-livecode" wrote: Jacqueline: Thanks for responding. I am really stuck on this. I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the filepaths, etc, the read routine says the file doesn?t exist. It all works in the dev environment. I had used a ?_? char in the filenames, so I removed it. The read routine can?t find the file. Very wierd. I?m going to try to make a very simple test case that I can run on my phone and post it, but I?m going to take a break. I?ve posted my file reading and writing code here, but there is probably too much to go through. Thanks for responding, Bill Hi Bill - here's an example script that I use cross-platform (desktop, iOS and Android) for reading and writing a settings file using specialFoderPath("documents") on mobile and specialFolderPath("support") on desktop. In this case the 'settings' are an array that are stored in a multipurpose global array (gData). Terry... global gData on setPaths switch environment() case "mobile" put specialFolderPath("documents")&"/" into tFolder break default put specialFolderPath("support")&"/myAppName/" into tFolder if not (there is a folder tFolder) then create folder tFolder end if end switch put tFolder&"settings.dat" into gData["paths"]["settings"] end setPaths on loadSettings put gData["paths"]["settings"] into tPath put url ("binfile:"&tPath) into tSettings if tSettings is not empty then put arrayDecode(tSettings) into tSettingsA if tSettingsA is an array then put tSettingsA into gData["settings"] else # invalid settings data end if else # no settings file end if end loadSettings on updateSettings put gData["paths"]["settings"] into tPath put gData["settings"] into tSettings put arrayEncode(tSettings) into tSettings put tSettings into url ("binfile:"&tPath) end updateSettings on clearSettings put gData["paths"]["settings"] into tPath if there is a file tPath then delete file tPath end clearSettings From rdimola at evergreeninfo.net Thu Jun 25 17:16:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 25 Jun 2020 17:16:34 -0400 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> Message-ID: <007001d64b35$ea6c8a20$bf459e60$@net> FYI: So does Android. I always get pushback when I say "case sensitivity in file names is a disaster waiting to happen". If doesn't waste a few days now it will later. The push back is either purest or that it saves cpu cycles. If your running Amazon's website then OK have a party with case sensitivity but in most cases it doesn't make much if any performance difference. Imagine if we had case sensitive URLs or email addresses. That would be a hackers dream. 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 prothero--- via use-livecode Sent: Thursday, June 25, 2020 4:07 PM To: JJS via use-livecode Cc: prothero at earthlearningsolutions.org Subject: Re: What the heck? Writing and reading ios files?? Folks: Thanks for you input. What I found out is that the iPhone cares very much about case in text, but running the app on my desktop didn?t care about case, so I had a mystery solved only by going down every blind alley until I finally found the offending code. It also seems, but I haven?t tested this because I?m burned out after a day fighting with this, is that it seems the put URL statement likes to have its defaultFolder set and that it doesn?t like full pathnames. Not sure, but ?? This is one thing that can be extremely frustrating when the IDE doesn?t match the requirements for the destination device. Seems maybe there could be warning that would appear in the help files especially about the case sensitivity of iOS filenames. BTW, specialFilePath(?Documents?) works on ios, as does specialFilePath(?documents?), at least on the versions I'm using. (iOS latest and latest Mac OS?s). Thanks for your responses, BIll William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Jun 25 17:23:43 2020 From: sundown at pacifier.com (JB) Date: Thu, 25 Jun 2020 14:23:43 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <3B67EB07-4498-470A-83FF-2A2A28622FC4@unimelb.edu.au> References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> <3B67EB07-4498-470A-83FF-2A2A28622FC4@unimelb.edu.au> Message-ID: <17917985-E6D1-49CE-9133-B4645F15C064@pacifier.com> I don?t think the underscore character ?_? should cause any problems in the pathname but if you use a space in the name you need to be sure and enclose the pathname in quotes or it will fail. JB > On Jun 25, 2020, at 1:53 PM, Terry Judd via use-livecode wrote: > > On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via use-livecode" wrote: > > Jacqueline: > Thanks for responding. I am really stuck on this. > > I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the filepaths, etc, the read routine says the file doesn?t exist. It all works in the dev environment. I had used a ?_? char in the filenames, so I removed it. The read routine can?t find the file. Very wierd. > > I?m going to try to make a very simple test case that I can run on my phone and post it, but I?m going to take a break. I?ve posted my file reading and writing code here, but there is probably too much to go through. > > Thanks for responding, > Bill > > > Hi Bill - here's an example script that I use cross-platform (desktop, iOS and Android) for reading and writing a settings file using specialFoderPath("documents") on mobile and specialFolderPath("support") on desktop. In this case the 'settings' are an array that are stored in a multipurpose global array (gData). > > Terry... > > global gData > > on setPaths > switch environment() > case "mobile" > put specialFolderPath("documents")&"/" into tFolder > break > default > put specialFolderPath("support")&"/myAppName/" into tFolder > if not (there is a folder tFolder) then > create folder tFolder > end if > end switch > put tFolder&"settings.dat" into gData["paths"]["settings"] > end setPaths > > on loadSettings > put gData["paths"]["settings"] into tPath > put url ("binfile:"&tPath) into tSettings > if tSettings is not empty then > put arrayDecode(tSettings) into tSettingsA > if tSettingsA is an array then > put tSettingsA into gData["settings"] > else > # invalid settings data > end if > else > # no settings file > end if > end loadSettings > > on updateSettings > put gData["paths"]["settings"] into tPath > put gData["settings"] into tSettings > put arrayEncode(tSettings) into tSettings > put tSettings into url ("binfile:"&tPath) > end updateSettings > > on clearSettings > put gData["paths"]["settings"] into tPath > if there is a file tPath then delete file tPath > end clearSettings > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Jun 25 18:25:18 2020 From: prothero at earthlearningsolutions.org (Prothero-ELS) Date: Thu, 25 Jun 2020 15:25:18 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <17917985-E6D1-49CE-9133-B4645F15C064@pacifier.com> References: <17917985-E6D1-49CE-9133-B4645F15C064@pacifier.com> Message-ID: JB, Thanks for the comment. Yes, I went back to my previous use of ?_? in the file name. All is working now. It was the difference between ?l? and ?L? in a file name. Sheesh! Bill William Prothero https://earthlearningsolutions.org > On Jun 25, 2020, at 2:27 PM, JB via use-livecode wrote: > > ?I don?t think the underscore character ?_? should cause any problems > in the pathname but if you use a space in the name you need to be > sure and enclose the pathname in quotes or it will fail. > > JB > >> On Jun 25, 2020, at 1:53 PM, Terry Judd via use-livecode wrote: >> >> On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via use-livecode" wrote: >> >> Jacqueline: >> Thanks for responding. I am really stuck on this. >> >> I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the filepaths, etc, the read routine says the file doesn?t exist. It all works in the dev environment. I had used a ?_? char in the filenames, so I removed it. The read routine can?t find the file. Very wierd. >> >> I?m going to try to make a very simple test case that I can run on my phone and post it, but I?m going to take a break. I?ve posted my file reading and writing code here, but there is probably too much to go through. >> >> Thanks for responding, >> Bill >> >> >> Hi Bill - here's an example script that I use cross-platform (desktop, iOS and Android) for reading and writing a settings file using specialFoderPath("documents") on mobile and specialFolderPath("support") on desktop. In this case the 'settings' are an array that are stored in a multipurpose global array (gData). >> >> Terry... >> >> global gData >> >> on setPaths >> switch environment() >> case "mobile" >> put specialFolderPath("documents")&"/" into tFolder >> break >> default >> put specialFolderPath("support")&"/myAppName/" into tFolder >> if not (there is a folder tFolder) then >> create folder tFolder >> end if >> end switch >> put tFolder&"settings.dat" into gData["paths"]["settings"] >> end setPaths >> >> on loadSettings >> put gData["paths"]["settings"] into tPath >> put url ("binfile:"&tPath) into tSettings >> if tSettings is not empty then >> put arrayDecode(tSettings) into tSettingsA >> if tSettingsA is an array then >> put tSettingsA into gData["settings"] >> else >> # invalid settings data >> end if >> else >> # no settings file >> end if >> end loadSettings >> >> on updateSettings >> put gData["paths"]["settings"] into tPath >> put gData["settings"] into tSettings >> put arrayEncode(tSettings) into tSettings >> put tSettings into url ("binfile:"&tPath) >> end updateSettings >> >> on clearSettings >> put gData["paths"]["settings"] into tPath >> if there is a file tPath then delete file tPath >> end clearSettings >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 25 18:35:48 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 25 Jun 2020 15:35:48 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <007001d64b35$ea6c8a20$bf459e60$@net> References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> <007001d64b35$ea6c8a20$bf459e60$@net> Message-ID: On 6/25/20 2:16 PM, Ralph DiMola via use-livecode wrote: > FYI: So does Android. > > ...Imagine if we had case sensitive URLs or email addresses... Um. In that case, you'll probably be surprised to find out that URLs *are* case-sensitive. It's only the TLD where it doesn't matter. What *is* a problem is the use of unicode characters to simulate ASCII in URLs in order to redirect traffic to phishing sites. -- Mark Wieder ahsoftware at gmail.com From sundown at pacifier.com Thu Jun 25 18:35:26 2020 From: sundown at pacifier.com (JB) Date: Thu, 25 Jun 2020 15:35:26 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: <17917985-E6D1-49CE-9133-B4645F15C064@pacifier.com> Message-ID: <0F5EE128-4168-477D-A219-E84A075C7081@pacifier.com> Glad to see you got it working! JB > On Jun 25, 2020, at 3:25 PM, Prothero-ELS via use-livecode wrote: > > JB, > Thanks for the comment. Yes, I went back to my previous use of ?_? in the file name. All is working now. It was the difference between ?l? and ?L? in a file name. Sheesh! > Bill > > William Prothero > https://earthlearningsolutions.org > >> On Jun 25, 2020, at 2:27 PM, JB via use-livecode wrote: >> >> ?I don?t think the underscore character ?_? should cause any problems >> in the pathname but if you use a space in the name you need to be >> sure and enclose the pathname in quotes or it will fail. >> >> JB >> >>> On Jun 25, 2020, at 1:53 PM, Terry Judd via use-livecode wrote: >>> >>> On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via use-livecode" wrote: >>> >>> Jacqueline: >>> Thanks for responding. I am really stuck on this. >>> >>> I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the filepaths, etc, the read routine says the file doesn?t exist. It all works in the dev environment. I had used a ?_? char in the filenames, so I removed it. The read routine can?t find the file. Very wierd. >>> >>> I?m going to try to make a very simple test case that I can run on my phone and post it, but I?m going to take a break. I?ve posted my file reading and writing code here, but there is probably too much to go through. >>> >>> Thanks for responding, >>> Bill >>> >>> >>> Hi Bill - here's an example script that I use cross-platform (desktop, iOS and Android) for reading and writing a settings file using specialFoderPath("documents") on mobile and specialFolderPath("support") on desktop. In this case the 'settings' are an array that are stored in a multipurpose global array (gData). >>> >>> Terry... >>> >>> global gData >>> >>> on setPaths >>> switch environment() >>> case "mobile" >>> put specialFolderPath("documents")&"/" into tFolder >>> break >>> default >>> put specialFolderPath("support")&"/myAppName/" into tFolder >>> if not (there is a folder tFolder) then >>> create folder tFolder >>> end if >>> end switch >>> put tFolder&"settings.dat" into gData["paths"]["settings"] >>> end setPaths >>> >>> on loadSettings >>> put gData["paths"]["settings"] into tPath >>> put url ("binfile:"&tPath) into tSettings >>> if tSettings is not empty then >>> put arrayDecode(tSettings) into tSettingsA >>> if tSettingsA is an array then >>> put tSettingsA into gData["settings"] >>> else >>> # invalid settings data >>> end if >>> else >>> # no settings file >>> end if >>> end loadSettings >>> >>> on updateSettings >>> put gData["paths"]["settings"] into tPath >>> put gData["settings"] into tSettings >>> put arrayEncode(tSettings) into tSettings >>> put tSettings into url ("binfile:"&tPath) >>> end updateSettings >>> >>> on clearSettings >>> put gData["paths"]["settings"] into tPath >>> if there is a file tPath then delete file tPath >>> end clearSettings >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Jun 25 19:36:01 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 25 Jun 2020 19:36:01 -0400 Subject: What the heck? Writing and reading ios files?? In-Reply-To: References: <172e9b6b9f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <93730A52-E0DD-417B-81D4-12CE1C356801@gmail.com> <007001d64b35$ea6c8a20$bf459e60$@net> Message-ID: <007401d64b49$65b64c30$3122e490$@net> I did not know that. I thought all DNS was case insensitive not just the TLD. I never seen it to the contrary. The Unicode thing is scary though. It validates my surfing habits. I never use email links. If I get an email from say my bank I always type the URL into a browser or a verified bookmark to check it out. Live and learn, thanks. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Thursday, June 25, 2020 6:36 PM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: What the heck? Writing and reading ios files?? On 6/25/20 2:16 PM, Ralph DiMola via use-livecode wrote: > FYI: So does Android. > > ...Imagine if we had case sensitive URLs or email addresses... Um. In that case, you'll probably be surprised to find out that URLs *are* case-sensitive. It's only the TLD where it doesn't matter. What *is* a problem is the use of unicode characters to simulate ASCII in URLs in order to redirect traffic to phishing sites. -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jun 25 19:56:56 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Jun 2020 16:56:56 -0700 Subject: What the heck? Writing and reading ios files?? In-Reply-To: <007401d64b49$65b64c30$3122e490$@net> References: <007401d64b49$65b64c30$3122e490$@net> Message-ID: <69fdeedf-4784-23e7-cd11-2287fc4a37bf@fourthworld.com> Ralph DiMola wrote: > I did not know that. I thought all DNS was case insensitive not just > the TLD. I never seen it to the contrary. > > The Unicode thing is scary though. It validates my surfing habits. I > never use email links. If I get an email from say my bank I always > type the URL into a browser or a verified bookmark to check it out. Good habit. For extra protection this browser extension (Firefox, Chrome, Opera) will warn and block when you attempt to visit a Unicode domain: https://aykutcevik.com/blog/idn-safe-now-available-for-nearly-all-browsers/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Fri Jun 26 10:25:06 2020 From: curry at pair.com (Curry Kenworthy) Date: Fri, 26 Jun 2020 10:25:06 -0400 Subject: What if Windows users rarely printed things? Message-ID: <6cbbf4c9-1610-54bb-2b38-95637f5cedcf@pair.com> What if Windows users rarely printed things? That hypothetical alternative world/dimension almost looks like part of LiveCode's operating paradigm! Windows print bugs don't seem to get much attention. For example, LC cannot print a field that has vGrid turned on. https://quality.livecode.com/show_bug.cgi?id=21894 (Direct to PDF works, but not every client wants to go that route.) Or take this one (it may be two) - tiny checkboxes printed: https://quality.livecode.com/show_bug.cgi?id=16958 https://quality.livecode.com/show_bug.cgi?id=21000 Lots of printer bugs. They tend to stick around. So I just want to point out, that in the real world: Windows users frequently print things. And in USA, Windows is very common for SMALL businesses. With printers. That's a whole market segment that LC could grow in - if some of the bugs are fixed. (There's a way to bring in some of that extra money LC Ltd needs post-COVID! Fix a few bugs, grow a more diverse user base.) Thanks. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From htorrado at networkdreams.net Fri Jun 26 15:59:07 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Fri, 26 Jun 2020 15:59:07 -0400 Subject: How many objects (IDs) can be generated by script? Message-ID: Dear Livecode developers and experts: I read this thread, but it's old and it is not very clear to me. http://forums.livecode.com/viewtopic.php?t=22112 I have the same problem than "Havanna". About six years ago I developed a Livecode desktop app for my company. Several employees open and close the app several times a day. Many fields are created at runtime. The current IDs are in the 250.000 Is there a limit? Can we have a problem on the next years? Did it changed with Livecode 64bits versions? Thank you very much. -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From ambassador at fourthworld.com Fri Jun 26 17:21:05 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jun 2020 14:21:05 -0700 Subject: How many objects (IDs) can be generated by script? In-Reply-To: References: Message-ID: <19d2c1af-7e59-6396-e813-18297f0b6d04@fourthworld.com> Heriberto Torrado wrote: > I read this thread, but it's old and it is not very clear to me. > > http://forums.livecode.com/viewtopic.php?t=22112 > > I have the same problem than "Havanna". > > About six years ago I developed a Livecode desktop app for my company. > Several employees open and close the app several times a day. > Many fields are created at runtime. > > The current IDs are in the 250.000 > > Is there a limit? > Can we have a problem on the next years? > Did it changed with Livecode 64bits versions? My understanding is that the 64-bit versions of LC are compatible with 64-bit OSes, but internal addressing is still 32-bit. So AFAIK my comment from the thread you linked to still applies: IDs are 32-bit unsigned integers, so the range of possible values goes up to about 4 billion. If you never manually set IDs, since the engine begins with ID 101 and increments within a stack from there with each object created, for all practical purposes over the life cycle of an app there's little risk of running out of IDs. If you're curious about what happens when you exceed the range of possible values, you can set a control's ID to the highest value allowed (UINT4, or 4294967295), and then create some new controls. Last time I did that (several versions ago) I found nothing amiss during the current session, but after saving the stack I was unable to open it again. As long as you work with ID ranges well below the maximum, you should have no problem for many years even with the DataGrid or other controls that create large numbers of objects dynamically. Given practical memory limits, ID range could only be a problem if you go out of your way to set IDs to unnecessarily large numbers. If by chance you happen to have the first project in this community's history that actually runs out of IDs, the worse thing that would be needed would be to simply copy the controls to a new stack (could easily be automated), in which the ID numbers would be reset starting at 101. -- 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 htorrado at networkdreams.net Fri Jun 26 17:59:22 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Fri, 26 Jun 2020 17:59:22 -0400 Subject: How many objects (IDs) can be generated by script? In-Reply-To: <19d2c1af-7e59-6396-e813-18297f0b6d04@fourthworld.com> References: <19d2c1af-7e59-6396-e813-18297f0b6d04@fourthworld.com> Message-ID: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> Thank you very much Richard. 4 Billions is a lot, but I think it could be possible to reach it using some kind of automation tool.? I'm thinking about a stock exchange app or something that uses many changes and/or math calculations and it is displayed on a real time on a created field at runtime. But it could be the same if for example, we use a long int 32bits data type in C language on a 32 bits system and we don't take care. Nothing to be worried about for the 99.9% of Livecode users. Best, Hery On 6/26/20 5:21 PM, Richard Gaskin via use-livecode wrote: > Heriberto Torrado wrote: > > > I read this thread, but it's old and it is not very clear to me. > > > > http://forums.livecode.com/viewtopic.php?t=22112 > > > > I have the same problem than "Havanna". > > > > About six years ago I developed a Livecode desktop app for my company. > > Several employees open and close the app several times a day. > > Many fields are created at runtime. > > > > The current IDs are in the 250.000 > > > > Is there a limit? > > Can we have a problem on the next years? > > Did it changed with Livecode 64bits versions? > > My understanding is that the 64-bit versions of LC are compatible with > 64-bit OSes, but internal addressing is still 32-bit. > > So AFAIK my comment from the thread you linked to still applies: > > ?? IDs are 32-bit unsigned integers, so the range of possible values > ?? goes up to about 4 billion. > > ?? If you never manually set IDs, since the engine begins with ID 101 > ?? and increments within a stack from there with each object created, > ?? for all practical purposes over the life cycle of an app there's > ?? little risk of running out of IDs. > > ?? If you're curious about what happens when you exceed the range of > ?? possible values, you can set a control's ID to the highest value > ?? allowed (UINT4, or 4294967295), and then create some new controls. > ?? Last time I did that (several versions ago) I found nothing amiss > ?? during the current session, but after saving the stack I was unable > ?? to open it again. > > ?? As long as you work with ID ranges well below the maximum, you should > ?? have no problem for many years even with the DataGrid or other > ?? controls that create large numbers of objects dynamically. Given > ?? practical memory limits, ID range could only be a problem if you go > ?? out of your way to set IDs to unnecessarily large numbers. > > ?? If by chance you happen to have the first project in this community's > ?? history that actually runs out of IDs, the worse thing that would be > ?? needed would be to simply copy the controls to a new stack (could > ?? easily be automated), in which the ID numbers would be reset starting > ?? at 101. > > -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From ambassador at fourthworld.com Fri Jun 26 18:13:57 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jun 2020 15:13:57 -0700 Subject: How many objects (IDs) can be generated by script? In-Reply-To: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> References: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> Message-ID: <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> Heriberto Torrado wrote: > 4 Billions is a lot, but I think it could be possible to reach it > using some kind of automation tool. I'm thinking about a stock > exchange app or something that uses many changes and/or math > calculations and it is displayed on a real time on a created field > at runtime. If you're generating those objects on the fly in each session you don't need to save them. And if you're not saving the stack it doesn't increment its nextID counter. -- 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 david.bovill at gmail.com Sat Jun 27 16:41:32 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 27 Jun 2020 21:41:32 +0100 Subject: Quick question: player object callbacks still working? In-Reply-To: <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> References: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> Message-ID: I?ve been testing an idea for an app - and I can?t get the callbacks property sending of messages. Does it still work with 9.6 MacOS? From david.bovill at gmail.com Sat Jun 27 20:09:28 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 28 Jun 2020 01:09:28 +0100 Subject: Animation Engine: speed tips In-Reply-To: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> Message-ID: <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> I made a quick test - creating and animating small graphic circles along a complex curve with many points. It works fine with one or two animated spheres but I?d like to be able to animate >30 and it slows to a crawl after 4 or 5. I tried setting the layer mode appropriately for all the objects - but I?m doing this on a new MacBook Pro - and it does not make a difference. Does anyone have an example stack with multiple animated objects that I can compare / test for speed? From livecode at speedbump.io Sat Jun 27 22:31:11 2020 From: livecode at speedbump.io (Derek Bump) Date: Sat, 27 Jun 2020 21:31:11 -0500 Subject: Animation Engine: speed tips In-Reply-To: <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> Message-ID: On 6/27/20 7:09 PM, David Bovill via use-livecode wrote: > I made a quick test - creating and animating small graphic circles along a complex curve with many points. It works fine with one or two animated spheres but I?d like to be able to animate >30 and it slows to a crawl after 4 or 5. I tried setting the layer mode appropriately for all the objects - but I?m doing this on a new MacBook Pro - and it does not make a difference. > > Does anyone have an example stack with multiple animated objects that I can compare / test for speed? Hello David, You're welcome to play around with my sketchbook: https://speedbump.io/shared/yage-sketchbook.zip Ignore the first card, as it's my misunderstanding of how to effectively use Animation Engine, but the 2nd card uses the movePolygonal command to animate 60 objects across several polygons at about 60FPS on my Ryzen 3700X on Linux Mint 19.3. Frame rate jumps a tad on Windows, but I don't have a Mac to test with anymore. Would you be willing to share your stack? -- Derek Bump From paul at livecode.org Sat Jun 27 23:10:13 2020 From: paul at livecode.org (Paul Hibbert) Date: Sat, 27 Jun 2020 20:10:13 -0700 Subject: Quick question: player object callbacks still working? In-Reply-To: References: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> Message-ID: <35E2E71D-0D5D-4F65-B1BB-769B850CD314@livecode.org> Just done a quick test and it?s working fine for me with LC9.6.0 on macOS Mojave 10.14.6. Paul > On Jun 27, 2020, at 13:41, David Bovill via use-livecode wrote: > > I?ve been testing an idea for an app - and I can?t get the callbacks property sending of messages. Does it still work with 9.6 MacOS? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sun Jun 28 01:34:05 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 27 Jun 2020 22:34:05 -0700 Subject: Quick question: player object callbacks still working? In-Reply-To: References: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> Message-ID: David, Specifically what is not working? Setting the callbacks, the callbacks message not being sent or received? Sometimes I?ve seen that the interval between callbacks is so great, that the message is never sent before the player ends. That is highly dependent on the timeScale of the player. Put in the message box after the file is loaded into the player: put the timeScale of player ?? to see if the numbers make sense. Some files will have very different timeScales (a Mac file with 600/second may have a Windows equivalent of a number in the millions). Peter Bogdanoff > On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode wrote: > > I?ve been testing an idea for an app - and I can?t get the callbacks property sending of messages. Does it still work with 9.6 MacOS? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Sun Jun 28 05:27:22 2020 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 28 Jun 2020 11:27:22 +0200 Subject: Animation Engine: speed tips In-Reply-To: References: Message-ID: <68FCA41E-370C-4959-AA03-4002A04980CD@derbrill.de> Hi, off it. might be worth digging into AEs source and change the handlers from using cProps to local variables. Also, there might be unnecessary instances. of locking / unlocking screen that. should be refactored in AE. If anyone is going to take that up I?d be happy iff you shared your patches to the community. :-) on All the. Best, Malte From david.bovill at gmail.com Sun Jun 28 11:22:55 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 28 Jun 2020 16:22:55 +0100 Subject: Quick question: player object callbacks still working? In-Reply-To: References: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> Message-ID: The message is not being sent. I set the callbacks of the payer and test it with: set?the?callbacks?of player?1?to?"0,soundNotes" command?soundNotes ??? does not get sent ??put?the params end?soundNotes on?currentTimeChanged theInterval ??put?theInterval end?currentTimeChanged on?playPaused ??put?the?currenttime?of me endplayPaused As I understand it the callback timing should be in ?intervals" ? The?duration?of player?1=?4665600 ? The??timescale?of player?1 =?90000 Setting the callbacks to a range of values between 0 and the duration seems to have no effect with regard to messages actually being sent. I?ve tried putting the ?soundNotes? handler in various positions - card, stack and player. Still debugging... On 28 Jun 2020, 06:35 +0100, Peter Bogdanoff via use-livecode , wrote: > David, > > Specifically what is not working? Setting the callbacks, the callbacks message not being sent or received? > > Sometimes I?ve seen that the interval between callbacks is so great, that the message is never sent before the player ends. That is highly dependent on the timeScale of the player. Put in the message box after the file is loaded into the player: > > put the timeScale of player ?? > > to see if the numbers make sense. Some files will have very different timeScales (a Mac file with 600/second may have a Windows equivalent of a number in the millions). > > Peter Bogdanoff > > > On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode wrote: > > > > I?ve been testing an idea for an app - and I can?t get the callbacks property sending of messages. Does it still work with 9.6 MacOS? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Sun Jun 28 11:24:50 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 28 Jun 2020 16:24:50 +0100 Subject: Animation Engine: speed tips In-Reply-To: <68FCA41E-370C-4959-AA03-4002A04980CD@derbrill.de> References: <68FCA41E-370C-4959-AA03-4002A04980CD@derbrill.de> Message-ID: <48ca3b6c-0e43-4a8e-ad4e-ee50d323e9b6@Spark> OK - will take a look. I suspect it is due to too many messages being sent due to the sort of line that is drawn when you create a curve by hand?. On 28 Jun 2020, 10:28 +0100, Malte Pfaff-Brill via use-livecode , wrote: > Hi, > > off > it. might be worth digging into AEs source and change the handlers from using cProps to local variables. Also, there might be unnecessary instances. of locking / unlocking screen that. should be refactored in AE. > If anyone is going to take that up I?d be happy iff you shared your patches to the community. :-) > on > > All the. Best, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Sun Jun 28 11:30:02 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 28 Jun 2020 16:30:02 +0100 Subject: iOS sharing extensions: an important market for Livecode? In-Reply-To: <98eddab7-85b6-4038-b121-82fd05c0161e@Spark> References: <98eddab7-85b6-4038-b121-82fd05c0161e@Spark> Message-ID: Not sure what people think, but for my part one of the main itches I have for creating mobile apps in Livecode is to figure out more advanced ways of processing data that is generated by all those mobile apps I have installed on my phone. So I REALLY want tone able to share from podcast apps, and browsers, and note / project management apps to a Livecode app I create on my mobile - get Livecode to??massage the data then save it somewhere useful. But first I need to create that sharing extension - a test case would be to share a browser url from Chrome or Safari. Any ideas what I?m doing wrong? On 25 Jun 2020, 21:05 +0100, David Bovill , wrote: > Having another go at creating an iOS Share extension in Livecode. > > Ben I had a go with the code snippets you supplied, but I?m not getting my app appearing in the list of apps available to share. I had a bit of a goose around and tried a bunch of options for the info.plist file without result - well in fact I?m getting the app launching with a black screen and then crashing if I use the following style recipe: > NSExtension > ? > ?NSExtensionAttributes > ? > ?NSExtensionActivationRule > ?TRUEPREDICATE > ? > ?NSExtensionMainStoryboard > ?MainInterface > ?NSExtensionPointIdentifier > ?com.apple.share-services > ? > > This type of plist addition: > CFBundleDocumentTypes > > > CFBundleTypeName > Sound Garden > CFBundleTypeRole > Editor > LSItemContentTypes > > public.plain-text > > LSHandlerRank > Alternate > > > CFBundleTypeName > Audio > CFBundleTypeRole > Editor > LSItemContentTypes > > public.audio > > LSHandlerRank > Alternate > > > > Does not crash the app - but appears to do nothing? The following lesson appears related -?http://lessons.livecode.com/m/4069/l/1069016-associating-a-file-type-file-extension-with-an-lc-ios-app?and I note there are / were issues with iPhone X and this lesson. > > My basic question is how do I get an iOS app to work with as an iOS sharing extension such that in any app (say a web browser) where I select the share icon I can use my Livecode app as something that handles the share? > On 20 Nov 2018, 18:40 +0000, Ben Rubinstein via use-livecode , wrote: > > You need to do two things: > > > > - add code in your app to handle the "urlWakeUp" message, see the dictionary > > entry and > > http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes > > > > - add entries in the app's plist to tell the operating system what file types > > your app can handle, see > > https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685 > > > > The latter is the bit you need to do for iOS - not sure what the Android > > equivalent is. > > > > > > On 19/11/2018 20:35, David Bovill via use-livecode wrote: > > > How could I create the ability for Livecode mobile apps - say iOS but > > > ideally also on Android) to add the ability for other apps to share to them? > > > > > > - > > > https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html > > > > > > I can't find any thread here or in the forums? > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Sun Jun 28 12:01:01 2020 From: mkoob at rogers.com (Martin Koob) Date: Sun, 28 Jun 2020 12:01:01 -0400 Subject: Quick question: player object callbacks still working? In-Reply-To: References: <0979eaa9-9c90-6eed-9f91-97acc664b0fa@networkdreams.net> <75690655-072b-268f-2bb8-497255fba540@fourthworld.com> Message-ID: Hi I have an app that uses player callbacks and I am now using LC 9.6 to work on it and the callbacks work fine. The callbacks, duration, currentTime and other movie time properties are in timescale which is intervals/second as you said. I just created a small stack and did a basic test of callbacks and it worked. -create a new stack -drag a player to the card -drag a single line field to the card -put the following code in the card's script --------------- local sMovieScale on mouseup put the timescale of player 1 into sMovieScale set the callbacks of player 1 to (sMovieScale * 0), "secondcount" & CR & \ (sMovieScale * 1), "secondcount" & CR & \ (sMovieScale * 2), "secondcount" & CR & \ (sMovieScale * 3), "secondcount" end mouseup on secondcount pCallbackTime put (pCallbackTime / sMovieScale) && "seconds" into field 1 end secondcount --------------------- - click on the card to set the callbacks - play the movie to see if the seconds are displayed in the field. See if that works. If it does then maybe it is something with how you create your callback list. You can see if the callbacks are actually set by with the line ? in the message box put the callbacks of player ?yourPlayer > On Jun 28, 2020, at 11:22 AM, David Bovill via use-livecode wrote: > > The message is not being sent. I set the callbacks of the payer and test it with: > set the callbacks of player 1 to "0,soundNotes" > > command soundNotes > ? does not get sent > put the params > end soundNotes > > on currentTimeChanged theInterval > put theInterval > end currentTimeChanged > > on playPaused > put the currenttime of me > endplayPaused > > As I understand it the callback timing should be in ?intervals" > > ? The duration of player 1= 4665600 > ? The timescale of player 1 = 90000 > > Setting the callbacks to a range of values between 0 and the duration seems to have no effect with regard to messages actually being sent. I?ve tried putting the ?soundNotes? handler in various positions - card, stack and player. Still debugging... > On 28 Jun 2020, 06:35 +0100, Peter Bogdanoff via use-livecode , wrote: >> David, >> >> Specifically what is not working? Setting the callbacks, the callbacks message not being sent or received? >> >> Sometimes I?ve seen that the interval between callbacks is so great, that the message is never sent before the player ends. That is highly dependent on the timeScale of the player. Put in the message box after the file is loaded into the player: >> >> put the timeScale of player ?? >> >> to see if the numbers make sense. Some files will have very different timeScales (a Mac file with 600/second may have a Windows equivalent of a number in the millions). >> >> Peter Bogdanoff >> >>> On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode wrote: >>> >>> I?ve been testing an idea for an app - and I can?t get the callbacks property sending of messages. Does it still work with 9.6 MacOS? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sun Jun 28 12:40:37 2020 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 28 Jun 2020 23:40:37 +0700 Subject: Navigator won't go away! In-Reply-To: References: <1C371B6E-DBD0-4394-9D48-558B2891531D@iotecdigital.com> <41833A95-2654-48B5-B1A1-F8EAB49E964A@iotecdigital.com> Message-ID: Just came across this -- sorry for the frustration. I'll reach out to the LC crew about either updating or removing Navigator. gc On Fri, Mar 27, 2020 at 12:51 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > OK Sorry for the noise. I see now that the Files & Memory/User Extensions > setting in preferences needs to be pointed at /Users/ profile>/Documents/Livecode/ and NOT the plugins folder. Now all the > plugins are loading properly. > > Bob S > > > > On Mar 26, 2020, at 10:45 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Whoopsie, NO plugins are loading from the /Users/ profile>/Documents/Livecode/PlugIns/ folder! Wha??? > > > > Bob S > > > > > >> On Mar 26, 2020, at 10:41 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> FOUND IT! It was in the actual MacOS APPLICATION BUNDLE!!! > >> > >> Hey LC, I appreciate the freebies, but a beta of 2.5?? Seriously? Geoff > is up to v6 now, and it?s open source, not honor-ware. If putting the newer > version in the Plugins folder is supposed to override the embedded one, it > doesn?t work. > >> > >> Bob S > >> > >> > >>> On Mar 26, 2020, at 10:33 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> I have removed every instance of Navigator from my hard drive (I > searched for them and deleted them) in preparation of installing the latest > version. I did this because on my home Mac, I keep getting a 2.5 beta > version of the plug-in every time I launch! > >>> > >>> I verified my plugin folder is set to /Users/ profile/Documents/Livecode/PlugIns/ > >>> > >>> I quit Livecode, then relaunch it. I still see revNavigator in the > Development/Plugins menu, and when I select it, the 2.5 beta version > loads!!! What the actual eff??? > >>> > >>> Where else would Livecode be getting these plugins from?? > >>> > >>> Bob S > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sun Jun 28 13:34:57 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 28 Jun 2020 18:34:57 +0100 Subject: Animation Engine: speed tips In-Reply-To: <68FCA41E-370C-4959-AA03-4002A04980CD@derbrill.de> References: <68FCA41E-370C-4959-AA03-4002A04980CD@derbrill.de> Message-ID: <54004549-db08-6598-f3ae-52d8c84da203@tweedly.net> Hi there submariner :-), can you just confirm the licensing of AE ? The demo code says it is dual Commercial & GLPL3 - but GitHub says it is Public Domain. Can you just say which of those is correct ? Thanks Alex. On 28/06/2020 10:27, Malte Pfaff-Brill via use-livecode wrote: > Hi, > > off > it. might be worth digging into AEs source and change the handlers from using cProps to local variables. Also, there might be unnecessary instances. of locking / unlocking screen that. should be refactored in AE. > If anyone is going to take that up I?d be happy iff you shared your patches to the community. :-) > on > > All the. Best, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alanstenhouse at hotmail.com Sun Jun 28 21:02:34 2020 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Mon, 29 Jun 2020 10:32:34 +0930 Subject: get URL results in tsneterr(6) on Android, previously worked ok Message-ID: Hi all Am re-building an app that's been running fine for over 2 years now and when attempting to get a URL I always get the error "tsneterr: (6)" contained in it with "could not resolve host" as the result. When I try the same code in the IDE it works as expected. I didn't previously include tsnet in my builds and I get this error whether I do or do not include it in my build for Android now. I do have "internet" selected in Application Permissions in the Standalone Settings. I also build up my httpHeaders manually to include username & pw and these are still valid. I recall previous discussions that were maybe similar to this issue but couldn't find anything in the forums/google/etc so far. Any hints or other pointers welcome - thanks! The code is: --- put "https://" into tPost put "Authorization: Basic" &CR&"userName: " & CR & "password: " into tHeaders set the httpHeaders to tHeaders get URL (tPost) --- cheers Alan From jacque at hyperactivesw.com Sun Jun 28 22:29:20 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Jun 2020 21:29:20 -0500 Subject: get URL results in tsneterr(6) on Android, previously worked ok In-Reply-To: References: Message-ID: <172fde85000.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think that's a DNS error. One of my testers got that once and later it stopped by itself. I think she was using her ISP's DNS resolver. I'm not sure there's much we can do about it, it happens after the request is sent, but maybe someone else knows more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 28, 2020 8:04:50 PM Alan Stenhouse via use-livecode wrote: > Hi all > > Am re-building an app that's been running fine for over 2 years now and > when attempting to get a URL I always get the error "tsneterr: (6)" > contained in it with "could not resolve host" as the result. > > When I try the same code in the IDE it works as expected. > > I didn't previously include tsnet in my builds and I get this error whether > I do or do not include it in my build for Android now. > > I do have "internet" selected in Application Permissions in the Standalone > Settings. > > I also build up my httpHeaders manually to include username & pw and these > are still valid. > > I recall previous discussions that were maybe similar to this issue but > couldn't find anything in the forums/google/etc so far. > > Any hints or other pointers welcome - thanks! > > The code is: > --- > put "https://" into tPost > put "Authorization: Basic" &CR&"userName: " & CR & > "password: " into tHeaders > set the httpHeaders to tHeaders > get URL (tPost) > --- > > cheers > > Alan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Mon Jun 29 05:15:20 2020 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Mon, 29 Jun 2020 11:15:20 +0200 Subject: Animation Engine: speed tips In-Reply-To: References: Message-ID: Hey Alex, Public Domain it is. I?ve set it free couple. of years back, as I am essentially no longer writing code. :-) Still following LiveCodes progress with interest though. :-) Cheers, Malte From alex at tweedly.net Mon Jun 29 11:12:27 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Jun 2020 16:12:27 +0100 Subject: Animation Engine: speed tips In-Reply-To: References: Message-ID: <7db53fc6-10d6-9154-1c20-2d951ed34340@tweedly.net> Thanks Malte. Hope you are enjoying whatever it is you're doing instead of writing code :-) Thanks again for having put AE into the Public Domain. Alex. On 29/06/2020 10:15, Malte Pfaff-Brill via use-livecode wrote: > Hey Alex, > > Public Domain it is. I?ve set it free couple. of years back, as I am essentially no longer writing code. :-) Still following LiveCodes progress with interest though. :-) > > Cheers, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 29 11:26:49 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Jun 2020 08:26:49 -0700 Subject: OFFLIST Re: Animation Engine: speed tips In-Reply-To: References: Message-ID: <312bdd66-60ef-79ef-e6c6-d44f1b87efb1@fourthworld.com> On the use-livecode list you wrote: > Hey Alex, > > Public Domain it is. I?ve set it free couple. of years back, as I am > essentially no longer writing code. :-) Still following LiveCodes > progress with interest though. :-) > > Cheers, > > Malte If you're no coding, what are you up to these days? -- 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 colinholgate at gmail.com Mon Jun 29 12:20:48 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 29 Jun 2020 10:20:48 -0600 Subject: OFFLIST Re: Animation Engine: speed tips In-Reply-To: <312bdd66-60ef-79ef-e6c6-d44f1b87efb1@fourthworld.com> References: <312bdd66-60ef-79ef-e6c6-d44f1b87efb1@fourthworld.com> Message-ID: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> We?re all curious! > On Jun 29, 2020, at 9:26 AM, Richard Gaskin via use-livecode wrote: > > On the use-livecode list you wrote: > > Hey Alex, > > > > Public Domain it is. I?ve set it free couple. of years back, as I am > > essentially no longer writing code. :-) Still following LiveCodes > > progress with interest though. :-) > > > > Cheers, > > > > Malte > > If you're no coding, what are you up to these days? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jun 29 13:14:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Jun 2020 10:14:01 -0700 Subject: OFFLIST Re: Animation Engine: speed tips In-Reply-To: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> References: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> Message-ID: <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> D'oh! My bad, I'd meant to not take up list space with this. But we all love Malte, and maybe he won't mind taking a moment to let us know what he's working on lately. -- Richard Gaskin Fourth World Systems Colin wrote: > We?re all curious! > >> On Jun 29, 2020, at 9:26 AM, Richard Gaskin via use-livecode wrote: >> >> On the use-livecode list you wrote: >> > Hey Alex, >> > >> > Public Domain it is. I?ve set it free couple. of years back, as I am >> > essentially no longer writing code. :-) Still following LiveCodes >> > progress with interest though. :-) >> > >> > Cheers, >> > >> > Malte >> >> If you're no coding, what are you up to these days? From mkoob at rogers.com Mon Jun 29 13:19:41 2020 From: mkoob at rogers.com (Martin Koob) Date: Mon, 29 Jun 2020 13:19:41 -0400 Subject: OFFLIST Re: Animation Engine: speed tips In-Reply-To: <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> References: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> Message-ID: <0820A03A-8C3F-4FA5-954D-16CDBF4E5F5D@rogers.com> The first rule of OFFLIST is you don?t cc to the list. :-) But, I too an interested in what Malte is up to. Hope all things are going well for you Malte. Martin > On Jun 29, 2020, at 1:14 PM, Richard Gaskin via use-livecode wrote: > > D'oh! My bad, I'd meant to not take up list space with this. > > But we all love Malte, and maybe he won't mind taking a moment to let us know what he's working on lately. > > -- > Richard Gaskin > Fourth World Systems > > > Colin wrote: >> We?re all curious! >>> On Jun 29, 2020, at 9:26 AM, Richard Gaskin via use-livecode wrote: >>> On the use-livecode list you wrote: >>> > Hey Alex, >>> > >>> > Public Domain it is. I?ve set it free couple. of years back, as I am >>> > essentially no longer writing code. :-) Still following LiveCodes >>> > progress with interest though. :-) >>> > >>> > Cheers, >>> > >>> > Malte >>> If you're no coding, what are you up to these days? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 29 15:31:21 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 29 Jun 2020 15:31:21 -0400 Subject: Mora Catalina permissions woes.... Message-ID: <9fa2361e-d67d-c759-efd9-d8807528a512@researchware.com> List Folks: A head up of a Catalina issue: If your code signed Standalone is trying to access stacks that are OUTSIDE the app bundle under Catalina, sometimes Catalina will not properly detect your apps need for access. You will not get an "App wants access to blah blah: Allow or Deny" dialogs and you app will throw a script error (if you have assumed successful access and not coded for errors) In our case, we have the App (bundle) and a folder of stacks that sits next to it, both in a containing folder that is what is installed where the user installs it. So FOLDER: OurAppFolder > OurApp.app >FOLDER: OurStacks >> Some library stacks We construct a full path to each library stack in "OurStacks" in a variable called tLibrary and when we execute if there is a file tLibrary then ? start using tLibrary end if for the 1st library, we get a script error on the start using statement. The test for existence does return true. start: can't find object If you go to Apple (menu) > System Preferences (menu item) > Security & Privacy (panel) > Privacy (tab) > Full Disk Access and grant "OurApp.app" access, then subsequent launches work flawlessly. This is clearly a Catalina entitlements/permissions issue. We have distilled a test stack and have seen the error occur multiple times. The problem is we have not found a recipe that reproduces the error 100% reliably. I have seen discussions that suggest Apple has provided NO entitlement you can code sign your app with to allow full disk access. They see individual folder access (like Documents, Desktop, etc.) and Full Disk Access (which subsumes all individual folder access) as being only grantable by the user. QUESTIONS: 1) Any one else run into any situations where Catalina is failing to detect and ask for ANY given entitlement? 2) Any one else run into failures in detecting and asking for disk access entitlements? 3) If you have this problem, do you you tell customers to grant the app full disk access before running it? If so, how do you phrase that in a way that makes them comfortable and works? 4) Does anyone know of an entitlement for macOS Catalina that allows full disk access? Or even access to say the Applications folder? P.S. If we can produce a recipe that is reliable, we will file a bug report on this. At the very least, LC may want to update "start using" to return an error code so you don't have to trap it with a try...end try block. From rdimola at evergreeninfo.net Mon Jun 29 15:56:54 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 29 Jun 2020 15:56:54 -0400 Subject: Browser Widget iOS Local Html Files In-Reply-To: <0820A03A-8C3F-4FA5-954D-16CDBF4E5F5D@rogers.com> References: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> <0820A03A-8C3F-4FA5-954D-16CDBF4E5F5D@rogers.com> Message-ID: <005201d64e4f$73ea34c0$5bbe9e40$@net> LC 9.6.0 I can't get a local html file to load in iOS browser widget. This is the first time I'm not using the mobile browser control. I'm now using the Browser Widget. I copy the files into the documents folder. I'm using this format: (set the URL of widget "Browser1" to "file://"&PathToDocumentsFolder/MyPage.html?IDs=315,316,317") This works on Android, Mac OSX 10.14.6 IDE and Win 10 IDE but not on iOS I tried this: put url ("file:"&PathToDocumentsFolder/MyPage.html into tTemp set the htmlText of widget "Browser1" to tTemp This loads the page as expected but I can't pass the required parameters. I tried 1,2,3 and 4 slashes after the "file:" with no luck. I'm stuck and under the gun(as usual) so any help would be appreciated. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Mon Jun 29 16:14:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Jun 2020 13:14:21 -0700 Subject: OAuth2 on Win10: not returning to my app Message-ID: I've been working with the Oauth2 lib included with v9 (superhandy, team, thanks!), and I've run into a snag: When I call it, the browser widgets opens and goes to the authentication provider (in this case Office 365), and authentication seems to work well. However, at that point I'd expect the browser widget's window to close and "it" would contain the approved auth scope info. Instead what I'm seeing is the browser widget window remains open, and it redirects into my Office 365 account. I can close the window manually with the "Cancel" button, but then "it" in my calling script contains "Cancel", no auth info. Have any of you successfully used LC's OAuth2 lib to log into MS Office 365 or other MS product that uses OAuth? If so, what did you use for the redirect URL? Or is there something else I should be considering? TIA - -- 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 tore.nilsen at me.com Mon Jun 29 16:39:21 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 29 Jun 2020 22:39:21 +0200 Subject: Browser Widget iOS Local Html Files In-Reply-To: <005201d64e4f$73ea34c0$5bbe9e40$@net> References: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> <0820A03A-8C3F-4FA5-954D-16CDBF4E5F5D@rogers.com> <005201d64e4f$73ea34c0$5bbe9e40$@net> Message-ID: <1B32BB74-B7B4-4533-A2B4-4C87DA920111@me.com> Have you tried to set the url of the widget to tTemp. This actually loads the page in the widget as if it was any browser. Tore > 29. jun. 2020 kl. 21:56 skrev Ralph DiMola via use-livecode : > > LC 9.6.0 > > I can't get a local html file to load in iOS browser widget. This is the first time I'm not using the mobile browser control. I'm now using the Browser Widget. I copy the files into the documents folder. > I'm using this format: (set the URL of widget "Browser1" to "file://"&PathToDocumentsFolder/MyPage.html?IDs=315,316,317") > > This works on Android, Mac OSX 10.14.6 IDE and Win 10 IDE but not on iOS > > I tried this: > > put url ("file:"&PathToDocumentsFolder/MyPage.html into tTemp > set the htmlText of widget "Browser1" to tTemp > > This loads the page as expected but I can't pass the required parameters. > > I tried 1,2,3 and 4 slashes after the "file:" with no luck. > > I'm stuck and under the gun(as usual) so any help would be appreciated. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jun 29 16:52:27 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 29 Jun 2020 16:52:27 -0400 Subject: Browser Widget iOS Local Html Files In-Reply-To: <1B32BB74-B7B4-4533-A2B4-4C87DA920111@me.com> References: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> <0820A03A-8C3F-4FA5-954D-16CDBF4E5F5D@rogers.com> <005201d64e4f$73ea34c0$5bbe9e40$@net> <1B32BB74-B7B4-4533-A2B4-4C87DA920111@me.com> Message-ID: <005601d64e57$358a84c0$a09f8e40$@net> But how would I pass any parameters? Like MyPage.html?IDs=315,316,317" 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 Tore Nilsen via use-livecode Sent: Monday, June 29, 2020 4:39 PM To: How to use LiveCode Cc: Tore Nilsen Subject: Re: Browser Widget iOS Local Html Files Have you tried to set the url of the widget to tTemp. This actually loads the page in the widget as if it was any browser. Tore > 29. jun. 2020 kl. 21:56 skrev Ralph DiMola via use-livecode : > > LC 9.6.0 > > I can't get a local html file to load in iOS browser widget. This is the first time I'm not using the mobile browser control. I'm now using the Browser Widget. I copy the files into the documents folder. > I'm using this format: (set the URL of widget "Browser1" to > "file://"&PathToDocumentsFolder/MyPage.html?IDs=315,316,317") > > This works on Android, Mac OSX 10.14.6 IDE and Win 10 IDE but not on > iOS > > I tried this: > > put url ("file:"&PathToDocumentsFolder/MyPage.html into tTemp set the > htmlText of widget "Browser1" to tTemp > > This loads the page as expected but I can't pass the required parameters. > > I tried 1,2,3 and 4 slashes after the "file:" with no luck. > > I'm stuck and under the gun(as usual) so any help would be appreciated. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Mon Jun 29 16:57:05 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 29 Jun 2020 22:57:05 +0200 Subject: Browser Widget iOS Local Html Files In-Reply-To: <005601d64e57$358a84c0$a09f8e40$@net> References: <06CFADBD-278E-40AE-B645-7EB590FE99AA@gmail.com> <347bfa3e-74b5-303c-ee02-bd3644245342@fourthworld.com> <0820A03A-8C3F-4FA5-954D-16CDBF4E5F5D@rogers.com> <005201d64e4f$73ea34c0$5bbe9e40$@net> <1B32BB74-B7B4-4533-A2B4-4C87DA920111@me.com> <005601d64e57$358a84c0$a09f8e40$@net> Message-ID: <08032C43-63BD-4FC9-BD35-46488B39524C@me.com> Sorry for asking you to do something you had already tried. I see now that you indeed tried setting the url of the widget. I just presumed that it worked the same way in iOS as in Win and MacOS. I do not develop for mobile so I have never had to deal with the way Android and iOS handles these things. Tore > 29. jun. 2020 kl. 22:52 skrev Ralph DiMola via use-livecode : > > But how would I pass any parameters? Like MyPage.html?IDs=315,316,317" > > 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 Tore Nilsen via use-livecode > Sent: Monday, June 29, 2020 4:39 PM > To: How to use LiveCode > Cc: Tore Nilsen > Subject: Re: Browser Widget iOS Local Html Files > > Have you tried to set the url of the widget to tTemp. This actually loads > the page in the widget as if it was any browser. > > Tore > >> 29. jun. 2020 kl. 21:56 skrev Ralph DiMola via use-livecode > : >> >> LC 9.6.0 >> >> I can't get a local html file to load in iOS browser widget. This is the > first time I'm not using the mobile browser control. I'm now using the > Browser Widget. I copy the files into the documents folder. >> I'm using this format: (set the URL of widget "Browser1" to >> "file://"&PathToDocumentsFolder/MyPage.html?IDs=315,316,317") >> >> This works on Android, Mac OSX 10.14.6 IDE and Win 10 IDE but not on >> iOS >> >> I tried this: >> >> put url ("file:"&PathToDocumentsFolder/MyPage.html into tTemp set the >> htmlText of widget "Browser1" to tTemp >> >> This loads the page as expected but I can't pass the required parameters. >> >> I tried 1,2,3 and 4 slashes after the "file:" with no luck. >> >> I'm stuck and under the gun(as usual) so any help would be appreciated. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Mon Jun 29 17:22:34 2020 From: hlowe at me.com (HENRY LOWE) Date: Mon, 29 Jun 2020 14:22:34 -0700 Subject: Test Message-ID: This is a test. Please ignore. Henry From bobsneidar at iotecdigital.com Mon Jun 29 17:42:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Jun 2020 21:42:03 +0000 Subject: Sockets (again) Message-ID: Hi all. I?m trying to get sockets working. The host is working, but I am not getting the message to trigger. Here?s the basic code: on mouseUp put "test" into tPayLoad open socket to "localhost:8085" write tPayload to socket "localhost:8085" end mouseUp -- socket handlers on acceptConnections accept connections on port 8085 with message "ConnectionMade" end acceptConnections on ConnectionMade pIPAddress read from socket pIPAddress with message "dataReceived" end ConnectionMade on dataReceived pSocket put pSocket ConnectionMade gets called, but dataReceived does not. Bob S From dochawk at gmail.com Mon Jun 29 17:47:01 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 29 Jun 2020 14:47:01 -0700 Subject: Sockets (again) In-Reply-To: References: Message-ID: <4291B80A-21B8-40A0-B003-2D6961E959C3@gmail.com> I have a pair at http://dochawkbk.com/lcImages/ of master and slave stacks to talk to one another. They're meant to be compiled. They're probably 5.x stacks . . . I haven?t looked at them for a while. From rdimola at evergreeninfo.net Mon Jun 29 17:58:10 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 29 Jun 2020 17:58:10 -0400 Subject: Sockets (again) In-Reply-To: References: Message-ID: <005f01d64e60$63ceea20$2b6cbe60$@net> Bob, I think you are doing the write too soon. On the open socket command add "with message "MyConnectionAccepted" Do the write in the MyConnectionAccepted handler. 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 Bob Sneidar via use-livecode Sent: Monday, June 29, 2020 5:42 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Sockets (again) Hi all. I?m trying to get sockets working. The host is working, but I am not getting the message to trigger. Here?s the basic code: on mouseUp put "test" into tPayLoad open socket to "localhost:8085" write tPayload to socket "localhost:8085" end mouseUp -- socket handlers on acceptConnections accept connections on port 8085 with message "ConnectionMade" end acceptConnections on ConnectionMade pIPAddress read from socket pIPAddress with message "dataReceived" end ConnectionMade on dataReceived pSocket put pSocket ConnectionMade gets called, but dataReceived does not. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Jun 29 18:05:43 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 29 Jun 2020 15:05:43 -0700 Subject: Test In-Reply-To: References: Message-ID: <8F244777-0F3A-4CEC-862E-F9276577811C@gmail.com> Henry hollered, >This is a test. Please ignore Kids have been saying that every time they get a C- for generations . . . From rdimola at evergreeninfo.net Mon Jun 29 18:16:22 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 29 Jun 2020 18:16:22 -0400 Subject: iOS Browser Widget and javascriptHandlers Update In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <0fddc1d1-f1dd-9be7-969a-4939ce8ba053@hyperactivesw.com> Message-ID: <006001d64e62$eea04250$cbe0c6f0$@net> Just a warning. I fixed this by deleting and recreating the Browser Widget. The Widget was created in v9.5.1 and apparently was not compatible with v9.6.0. I changed the code to delete all browser widgets and recreate them. I wasted a couple of days debugging and then creating a small test program. The test program worked and then the preverbal light bulb came on and I deleted/recreated widget in full app... Voil?, everything worked. I don't know how we can prevent things like this is the future? Maybe widgets should have some sort of version code to warn you of this. beware LC 9.6 I create I browser widget. I add a JavaScript Handler using (set the javascriptHandlers). Load webpage on an https server. The callbacks to LC work OK in Win 10 IDE and on Android deployment. On iOS 13 testers report the JavaScript call backs don't work first time but on subsequent loads of the page it works OK. This is the initial problem. So I fired up my test device to see what's going on. This is where it get weird. My test device is an iPad Mini running iOS 12.4.7 and JavaScript Handler call back to LC never works. I put some JavaScript "alert"s in the code for debugging. The alerts never show up but does show on Android and in the IDE. The alerts also show up in Safari and Chrome on the same 12.4.7 device just not in the browser widget. I verified that the remaining JavaScript code in the page is actually running just fine but no JavaScript Handler call backs or alerts are working. Could there a plist permission issue? I'm at a loss... Any ideas? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dan at clearvisiontech.com Mon Jun 29 19:47:53 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 29 Jun 2020 23:47:53 +0000 Subject: AR in LiveCode Browser? Message-ID: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or do I have to flip a switch somewhere? Thanks in advance! -Dan From brian at milby7.com Mon Jun 29 20:01:05 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 29 Jun 2020 20:01:05 -0400 Subject: iOS Browser Widget and javascriptHandlers Update In-Reply-To: <006001d64e62$eea04250$cbe0c6f0$@net> References: <006001d64e62$eea04250$cbe0c6f0$@net> Message-ID: <2BC5F6B9-DF4F-412A-8C73-561D86C11CC2@milby7.com> Did you file a bug report? I would not expect it to work like that. Sent from my iPhone > On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode wrote: > > ?Just a warning. I fixed this by deleting and recreating the Browser Widget. > The Widget was created in v9.5.1 and apparently was not compatible with > v9.6.0. I changed the code to delete all browser widgets and recreate them. > I wasted a couple of days debugging and then creating a small test program. > The test program worked and then the preverbal light bulb came on and I > deleted/recreated widget in full app... Voil?, everything worked. I don't > know how we can prevent things like this is the future? Maybe widgets should > have some sort of version code to warn you of this. > > beware > > LC 9.6 > > I create I browser widget. I add a JavaScript Handler using (set the > javascriptHandlers). Load webpage on an https server. The callbacks to LC > work OK in Win 10 IDE and on Android deployment. On iOS 13 testers report > the JavaScript call backs don't work first time but on subsequent loads of > the page it works OK. This is the initial problem. So I fired up my test > device to see what's going on. This is where it get weird. > > My test device is an iPad Mini running iOS 12.4.7 and JavaScript Handler > call back to LC never works. I put some JavaScript "alert"s in the code for > debugging. The alerts never show up but does show on Android and in the IDE. > The alerts also show up in Safari and Chrome on the same 12.4.7 device just > not in the browser widget. I verified that the remaining JavaScript code in > the page is actually running just fine but no JavaScript Handler call backs > or alerts are working. > > Could there a plist permission issue? I'm at a loss... Any ideas? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jun 29 21:06:22 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 29 Jun 2020 21:06:22 -0400 Subject: iOS Browser Widget and javascriptHandlers Update In-Reply-To: <2BC5F6B9-DF4F-412A-8C73-561D86C11CC2@milby7.com> References: <006001d64e62$eea04250$cbe0c6f0$@net> <2BC5F6B9-DF4F-412A-8C73-561D86C11CC2@milby7.com> Message-ID: <006401d64e7a$ae8114c0$0b833e40$@net> Will do. 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 Brian Milby via use-livecode Sent: Monday, June 29, 2020 8:01 PM To: How to use LiveCode Cc: Brian Milby Subject: Re: iOS Browser Widget and javascriptHandlers Update Did you file a bug report? I would not expect it to work like that. Sent from my iPhone > On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode wrote: > > ?Just a warning. I fixed this by deleting and recreating the Browser Widget. > The Widget was created in v9.5.1 and apparently was not compatible > with v9.6.0. I changed the code to delete all browser widgets and recreate them. > I wasted a couple of days debugging and then creating a small test program. > The test program worked and then the preverbal light bulb came on and > I deleted/recreated widget in full app... Voil?, everything worked. I > don't know how we can prevent things like this is the future? Maybe > widgets should have some sort of version code to warn you of this. > > beware > > LC 9.6 > > I create I browser widget. I add a JavaScript Handler using (set the > javascriptHandlers). Load webpage on an https server. The callbacks to > LC work OK in Win 10 IDE and on Android deployment. On iOS 13 testers > report the JavaScript call backs don't work first time but on > subsequent loads of the page it works OK. This is the initial problem. > So I fired up my test device to see what's going on. This is where it get weird. > > My test device is an iPad Mini running iOS 12.4.7 and JavaScript > Handler call back to LC never works. I put some JavaScript "alert"s in > the code for debugging. The alerts never show up but does show on Android and in the IDE. > The alerts also show up in Safari and Chrome on the same 12.4.7 device > just not in the browser widget. I verified that the remaining > JavaScript code in the page is actually running just fine but no > JavaScript Handler call backs or alerts are working. > > Could there a plist permission issue? I'm at a loss... Any ideas? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jun 29 21:16:37 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 29 Jun 2020 21:16:37 -0400 Subject: AR in LiveCode Browser? In-Reply-To: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> Message-ID: <006501d64e7c$1d020070$57060150$@net> The LiveCode browser uses Chromium. Chrome does not support AR usdz files. This seems to be an Apple iOS 12+ only format. When looking for LC Browser compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the time it works in the LC browser widget. There's no obstacle stopping it from being implemented in Chrome(therefore Android) but I guess there's some licensing issues(money). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Monday, June 29, 2020 7:48 PM To: How to use LiveCode Cc: Dan Friedman Subject: AR in LiveCode Browser? I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or do I have to flip a switch somewhere? Thanks in advance! -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Tue Jun 30 04:02:48 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 30 Jun 2020 11:02:48 +0300 Subject: Mora Catalina permissions woes.... In-Reply-To: <9fa2361e-d67d-c759-efd9-d8807528a512@researchware.com> References: <9fa2361e-d67d-c759-efd9-d8807528a512@researchware.com> Message-ID: Hello Paul, I was thinking that a way to make things simpler, which might solve these permissions woes is to not have the separate libraries folder sitting outside the app bundle, but instead add the whole folder in the Copy Files section of the standalone, and then in your code access this folder by: local tLibsFolder put specialFolderPath("resources") & slash & "OurStacks" into tLibsFolder start using stack tLibsFolder & slash & myLib1.livecode start using stack tLibsFolder & slash & myLib2.livecode ... This has several advantages: - The app file and the OurStacks folder will never be separated (e.g. by the App Translocation security thing) - The code for detecting and using the library stacks will become simpler and cleaner - And the most important - you will probably overcome these permissions problems, since all you have to do now to distribute your app will be what LC does. i.e. sign the .app, create a dmg and sign, notarize and staple the dmg. No installers are needed. Kind regards, Panos -- On Mon, 29 Jun 2020 at 22:34, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > List Folks: A head up of a Catalina issue: > > If your code signed Standalone is trying to access stacks that are > OUTSIDE the app bundle under Catalina, sometimes Catalina will not > properly detect your apps need for access. You will not get an "App > wants access to blah blah: Allow or Deny" dialogs and you app will throw > a script error (if you have assumed successful access and not coded for > errors) > > In our case, we have the App (bundle) and a folder of stacks that sits > next to it, both in a containing folder that is what is installed where > the user installs it. So > > FOLDER: OurAppFolder > > OurApp.app > >FOLDER: OurStacks > >> Some library stacks > > We construct a full path to each library stack in "OurStacks" in a > variable called tLibrary and when we execute > if there is a file tLibrary then > start using tLibrary > end if > for the 1st library, we get a script error on the start using statement. > The test for existence does return true. > > start: can't find object > > If you go to Apple (menu) > System Preferences (menu item) > Security & > Privacy (panel) > Privacy (tab) > Full Disk Access and grant > "OurApp.app" access, then subsequent launches work flawlessly. > > This is clearly a Catalina entitlements/permissions issue. > > We have distilled a test stack and have seen the error occur multiple > times. The problem is we have not found a recipe that reproduces the > error 100% reliably. > > I have seen discussions that suggest Apple has provided NO entitlement > you can code sign your app with to allow full disk access. They see > individual folder access (like Documents, Desktop, etc.) and Full Disk > Access (which subsumes all individual folder access) as being only > grantable by the user. > > QUESTIONS: > > 1) Any one else run into any situations where Catalina is failing to > detect and ask for ANY given entitlement? > > 2) Any one else run into failures in detecting and asking for disk > access entitlements? > > 3) If you have this problem, do you you tell customers to grant the app > full disk access before running it? If so, how do you phrase that in a > way that makes them comfortable and works? > > 4) Does anyone know of an entitlement for macOS Catalina that allows > full disk access? Or even access to say the Applications folder? > > > P.S. If we can produce a recipe that is reliable, we will file a bug > report on this. At the very least, LC may want to update "start using" > to return an error code so you don't have to trap it with a try...end > try block. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue Jun 30 05:07:49 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 30 Jun 2020 11:07:49 +0200 Subject: AR in LiveCode Browser? In-Reply-To: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> Message-ID: <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> Hi Dan, > Am 30.06.2020 um 01:47 schrieb Dan Friedman via use-livecode : > > I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! if I open that url in Safari, the .USDZ file gets downloaded and not displayed in Safari. However I can open (and interact with) the file with QuickLook or even Preview. We are talking about Desktop, aren't we? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Tue Jun 30 05:18:09 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 30 Jun 2020 12:18:09 +0300 Subject: Ansi-Pantsy Message-ID: Why does fontLanguage return ANSI for English language fonts instead of romething like 'Roman'? There is a fundamental mismatch between 'ANSI' and Unicode. Richmond. From richmondmathewson at gmail.com Tue Jun 30 05:22:16 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 30 Jun 2020 12:22:16 +0300 Subject: AR in LiveCode Browser? In-Reply-To: <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> Message-ID: <1f4980ad-f54e-ac11-1f50-c80160a5bf44@gmail.com> It would have been helpful for the uninitiated like myself if you had explained that 'AR' menat 'Augmented Reality' and that you were referring to USDZ files. https://developer.apple.com/augmented-reality/quick-look/ As Klaus stated; I can view that thing in Preview, but NOT in Waterfox (Firefox side-job), so expecting that to be displayed in the LC browser is probably expecting a bit much. Richmond. On 30.06.20 12:07, Klaus major-k via use-livecode wrote: > Hi Dan, > >> Am 30.06.2020 um 01:47 schrieb Dan Friedman via use-livecode : >> >> I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! > if I open that url in Safari, the .USDZ file gets downloaded and not displayed in Safari. > However I can open (and interact with) the file with QuickLook or even Preview. > > We are talking about Desktop, aren't we? > > > 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 mkoob at rogers.com Tue Jun 30 07:38:28 2020 From: mkoob at rogers.com (KOOB) Date: Tue, 30 Jun 2020 07:38:28 -0400 Subject: AR in LiveCode Browser? In-Reply-To: <006501d64e7c$1d020070$57060150$@net> References: <006501d64e7c$1d020070$57060150$@net> Message-ID: Hi Ralph Thanks for the info. > ?The LiveCode browser uses Chromium. > When looking for LC Browser > compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the > time it works in the LC browser widget. That should be in the documentation. I looked at the dictionary for Browser Widget and it didn't mention the browser engine it was using. I just assumed it was native to the platform it was being used on. Martin Sent from my iPad > On Jun 29, 2020, at 9:16 PM, Ralph DiMola via use-livecode wrote: > > ?The LiveCode browser uses Chromium. Chrome does not support AR usdz files. > This seems to be an Apple iOS 12+ only format. When looking for LC Browser > compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the > time it works in the LC browser widget. There's no obstacle stopping it from > being implemented in Chrome(therefore Android) but I guess there's some > licensing issues(money). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Dan Friedman via use-livecode > Sent: Monday, June 29, 2020 7:48 PM > To: How to use LiveCode > Cc: Dan Friedman > Subject: AR in LiveCode Browser? > > I am trying to display and use an AR object in a webpage in a LiveCode > browser. It don't work! Feels like the LC browser (native or widget) > doesn't have access to the native AR features. For example, if I open this > URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open > it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or > do I have to flip a switch somewhere? > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Jun 30 07:56:09 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 30 Jun 2020 12:56:09 +0100 Subject: AR in LiveCode Browser? In-Reply-To: References: <006501d64e7c$1d020070$57060150$@net> Message-ID: <5c3c853e688f524de169d9ff7ab6922c@livecode.com> On 2020-06-30 12:38, KOOB via use-livecode wrote: > That should be in the documentation. I looked at the dictionary for > Browser Widget and it didn't mention the browser engine it was using. > I just assumed it was native to the platform it was being used on. It is on Mac, Android and iOS... Windows and Linux use CEF (which is derived from Chromium - which Chrome is also derived from, albeit separately). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Tue Jun 30 08:17:13 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 30 Jun 2020 08:17:13 -0400 Subject: Ansi-Pantsy In-Reply-To: References: Message-ID: <14cf2bf8-980a-8473-4a06-2a76d9c6edc6@researchware.com> On 6/30/2020 5:18 AM, Richmond via use-livecode wrote: > Why does fontLanguage return ANSI for English language fonts instead > of romething like 'Roman'? > > There is a fundamental mismatch between 'ANSI' and Unicode. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I asked a similar question back on June 5th under the subject "Unicode and languages" and Mark Waddingham provided the following answer (essentially the fontLanguages function no longer applies) ---------------------- Unicode doesn't deal in languages but 'scripts' e.g. English and French are both written in the Latin script, whereas Ukrainian can be written in either the Latin or Cyrillic script. LiveCode gives you access to the unicode properties of all codepoints (as held by ICU) via the 'codepointProperty(codepoint, property)' function. e.g. codepointProperty("A", "Script") => "Latin" ???? codepointProperty(numToCodepoint(0x03B1), "Script") => "Greek" This might at least help to cut out trying to spellcheck things which are definitely not the languages you do have dictionaries for. ---------------------- From mkoob at rogers.com Tue Jun 30 09:35:19 2020 From: mkoob at rogers.com (Martin Koob) Date: Tue, 30 Jun 2020 09:35:19 -0400 Subject: AR in LiveCode Browser? In-Reply-To: <5c3c853e688f524de169d9ff7ab6922c@livecode.com> References: <006501d64e7c$1d020070$57060150$@net> <5c3c853e688f524de169d9ff7ab6922c@livecode.com> Message-ID: <0456B65D-DDC8-452B-8434-7799A649B997@rogers.com> Thanks Mark I have submitted a bug report for a documentation enhancement. https://quality.livecode.com/show_bug.cgi?id=22811 Martin > On Jun 30, 2020, at 7:56 AM, Mark Waddingham via use-livecode wrote: > > It is on Mac, Android and iOS... Windows and Linux use CEF (which is derived from Chromium - which Chrome is also derived from, albeit separately). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Jun 30 10:46:51 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jun 2020 14:46:51 +0000 Subject: AR in LiveCode Browser? In-Reply-To: <006501d64e7c$1d020070$57060150$@net> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <006501d64e7c$1d020070$57060150$@net> Message-ID: Ralph, I tried the link in the Google App (which I assume uses Chrome) on my iPhone. It worked as expected, with total interaction with the AR (Augmented Reality) object. But, it fails in a LiveCode browser (native or widget). -Dan ?On 6/29/20, 6:16 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: The LiveCode browser uses Chromium. Chrome does not support AR usdz files. This seems to be an Apple iOS 12+ only format. When looking for LC Browser compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the time it works in the LC browser widget. There's no obstacle stopping it from being implemented in Chrome(therefore Android) but I guess there's some licensing issues(money). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Monday, June 29, 2020 7:48 PM To: How to use LiveCode Cc: Dan Friedman Subject: AR in LiveCode Browser? I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or do I have to flip a switch somewhere? 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Jun 30 10:46:54 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jun 2020 14:46:54 +0000 Subject: AR in LiveCode Browser? In-Reply-To: <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> Message-ID: <36B2365E-F8A2-4857-8839-B202151770AA@clearvisiontech.com> Klaus, No, mobile. If I open the link (https://nexen.ehpec.com/usdz.html) in Safari on my iPhone, I get total interaction with the AR (Augmented Reality) object. If I open the same URL in a LiveCode browser (native or widget) it doesn't open the object at all. -Dan ?On 6/30/20, 2:08 AM, "use-livecode on behalf of Klaus major-k via use-livecode" wrote: Hi Dan, > Am 30.06.2020 um 01:47 schrieb Dan Friedman via use-livecode : > > I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! if I open that url in Safari, the .USDZ file gets downloaded and not displayed in Safari. However I can open (and interact with) the file with QuickLook or even Preview. We are talking about Desktop, aren't we? 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 rdimola at evergreeninfo.net Tue Jun 30 10:54:41 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 30 Jun 2020 10:54:41 -0400 Subject: iOS Browser Widget and javascriptHandlers Update In-Reply-To: <2BC5F6B9-DF4F-412A-8C73-561D86C11CC2@milby7.com> References: <006001d64e62$eea04250$cbe0c6f0$@net> <2BC5F6B9-DF4F-412A-8C73-561D86C11CC2@milby7.com> Message-ID: <003201d64eee$654bae90$2fe30bb0$@net> Filed QCC 22812 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 Brian Milby via use-livecode Sent: Monday, June 29, 2020 8:01 PM To: How to use LiveCode Cc: Brian Milby Subject: Re: iOS Browser Widget and javascriptHandlers Update Did you file a bug report? I would not expect it to work like that. Sent from my iPhone > On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode wrote: > > ?Just a warning. I fixed this by deleting and recreating the Browser Widget. > The Widget was created in v9.5.1 and apparently was not compatible > with v9.6.0. I changed the code to delete all browser widgets and recreate them. > I wasted a couple of days debugging and then creating a small test program. > The test program worked and then the preverbal light bulb came on and > I deleted/recreated widget in full app... Voil?, everything worked. I > don't know how we can prevent things like this is the future? Maybe > widgets should have some sort of version code to warn you of this. > > beware > > LC 9.6 > > I create I browser widget. I add a JavaScript Handler using (set the > javascriptHandlers). Load webpage on an https server. The callbacks to > LC work OK in Win 10 IDE and on Android deployment. On iOS 13 testers > report the JavaScript call backs don't work first time but on > subsequent loads of the page it works OK. This is the initial problem. > So I fired up my test device to see what's going on. This is where it get weird. > > My test device is an iPad Mini running iOS 12.4.7 and JavaScript > Handler call back to LC never works. I put some JavaScript "alert"s in > the code for debugging. The alerts never show up but does show on Android and in the IDE. > The alerts also show up in Safari and Chrome on the same 12.4.7 device > just not in the browser widget. I verified that the remaining > JavaScript code in the page is actually running just fine but no > JavaScript Handler call backs or alerts are working. > > Could there a plist permission issue? I'm at a loss... Any ideas? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Jun 30 11:02:28 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 30 Jun 2020 11:02:28 -0400 Subject: AR in LiveCode Browser? In-Reply-To: References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <006501d64e7c$1d020070$57060150$@net> Message-ID: <003601d64eef$7c2247e0$7466d7a0$@net> It looks like I was wrong about what engine is used for the browser widget(see Mark's comment) I commented after I tried it on my Android phone with Chrome. All I got was a request for a download of the usdz file. Talked before I fully investigated (ask Margaret about that). I thought that the browser would directly open the AR. I'm a little fuzzy on how to open and view these AR's. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: Dan Friedman [mailto:dan at clearvisiontech.com] Sent: Tuesday, June 30, 2020 10:47 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: AR in LiveCode Browser? Ralph, I tried the link in the Google App (which I assume uses Chrome) on my iPhone. It worked as expected, with total interaction with the AR (Augmented Reality) object. But, it fails in a LiveCode browser (native or widget). -Dan ?On 6/29/20, 6:16 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: The LiveCode browser uses Chromium. Chrome does not support AR usdz files. This seems to be an Apple iOS 12+ only format. When looking for LC Browser compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the time it works in the LC browser widget. There's no obstacle stopping it from being implemented in Chrome(therefore Android) but I guess there's some licensing issues(money). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Monday, June 29, 2020 7:48 PM To: How to use LiveCode Cc: Dan Friedman Subject: AR in LiveCode Browser? I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or do I have to flip a switch somewhere? 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Jun 30 11:05:28 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jun 2020 15:05:28 +0000 Subject: AR in LiveCode Browser? In-Reply-To: <003601d64eef$7c2247e0$7466d7a0$@net> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <006501d64e7c$1d020070$57060150$@net> , <003601d64eef$7c2247e0$7466d7a0$@net> Message-ID: Ralph, On my old Moto it didn?t work. However, one of the guys in my weekly poker game has a Note 10. I opened that url on his Note 10 last night and it did the whole AR thing correctly. -Dan ________________________________ From: Ralph DiMola Sent: Tuesday, June 30, 2020 8:00 AM To: Dan Friedman; 'How to use LiveCode' Subject: RE: AR in LiveCode Browser? It looks like I was wrong about what engine is used for the browser widget(see Mark's comment) I commented after I tried it on my Android phone with Chrome. All I got was a request for a download of the usdz file. Talked before I fully investigated (ask Margaret about that). I thought that the browser would directly open the AR. I'm a little fuzzy on how to open and view these AR's. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: Dan Friedman [mailto:dan at clearvisiontech.com] Sent: Tuesday, June 30, 2020 10:47 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: AR in LiveCode Browser? Ralph, I tried the link in the Google App (which I assume uses Chrome) on my iPhone. It worked as expected, with total interaction with the AR (Augmented Reality) object. But, it fails in a LiveCode browser (native or widget). -Dan ?On 6/29/20, 6:16 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: The LiveCode browser uses Chromium. Chrome does not support AR usdz files. This seems to be an Apple iOS 12+ only format. When looking for LC Browser compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the time it works in the LC browser widget. There's no obstacle stopping it from being implemented in Chrome(therefore Android) but I guess there's some licensing issues(money). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Monday, June 29, 2020 7:48 PM To: How to use LiveCode Cc: Dan Friedman Subject: AR in LiveCode Browser? I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or do I have to flip a switch somewhere? 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Jun 30 11:24:20 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Jun 2020 15:24:20 +0000 Subject: No Replies (or anything) Message-ID: <3EB9A44F-4DC3-4927-817C-E1DB52E110EF@iotecdigital.com> Hi all. I?m not getting anything on the use list. Bob S From rdimola at evergreeninfo.net Tue Jun 30 11:30:17 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 30 Jun 2020 11:30:17 -0400 Subject: AR in LiveCode Browser? In-Reply-To: References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <006501d64e7c$1d020070$57060150$@net> , <003601d64eef$7c2247e0$7466d7a0$@net> Message-ID: <003f01d64ef3$5ebfb5d0$1c3f2170$@net> Just checked an my LG v20 is not on the supported list. I?m on Android 7 and have held off going to 8 because of a couple of v8 bugs on the LG v20. A this point I might just bite the Android 8 bullet to get AR ability. The v20 is not on the supported list but v8 should run AR. I also hang on to the LG V20 because it has both an SD card and removable battery. I do a lot of backwoods hiking and having a spare battery is as comforting as my having my compass. Thanks for the push to upgrade. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Dan Friedman [mailto:dan at clearvisiontech.com] Sent: Tuesday, June 30, 2020 11:05 AM To: rdimola at evergreeninfo.net; 'How to use LiveCode' Subject: Re: AR in LiveCode Browser? Ralph, On my old Moto it didn?t work. However, one of the guys in my weekly poker game has a Note 10. I opened that url on his Note 10 last night and it did the whole AR thing correctly. -Dan _____ From: Ralph DiMola Sent: Tuesday, June 30, 2020 8:00 AM To: Dan Friedman; 'How to use LiveCode' Subject: RE: AR in LiveCode Browser? It looks like I was wrong about what engine is used for the browser widget(see Mark's comment) I commented after I tried it on my Android phone with Chrome. All I got was a request for a download of the usdz file. Talked before I fully investigated (ask Margaret about that). I thought that the browser would directly open the AR. I'm a little fuzzy on how to open and view these AR's. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: Dan Friedman [mailto:dan at clearvisiontech.com] Sent: Tuesday, June 30, 2020 10:47 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: AR in LiveCode Browser? Ralph, I tried the link in the Google App (which I assume uses Chrome) on my iPhone. It worked as expected, with total interaction with the AR (Augmented Reality) object. But, it fails in a LiveCode browser (native or widget). -Dan ?On 6/29/20, 6:16 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" > wrote: The LiveCode browser uses Chromium. Chrome does not support AR usdz files. This seems to be an Apple iOS 12+ only format. When looking for LC Browser compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the time it works in the LC browser widget. There's no obstacle stopping it from being implemented in Chrome(therefore Android) but I guess there's some licensing issues(money). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Monday, June 29, 2020 7:48 PM To: How to use LiveCode Cc: Dan Friedman Subject: AR in LiveCode Browser? I am trying to display and use an AR object in a webpage in a LiveCode browser. It don't work! Feels like the LC browser (native or widget) doesn't have access to the native AR features. For example, if I open this URL https://nexen.ehpec.com/usdz.html in Safari, it works great! If I open it in a LC browser, it doesn't launch AR. Is the a limitation of LC? Or do I have to flip a switch somewhere? 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Tue Jun 30 11:35:17 2020 From: stephen at barncard.com (Stephen Barncard) Date: Tue, 30 Jun 2020 08:35:17 -0700 Subject: No Replies (or anything) In-Reply-To: <3EB9A44F-4DC3-4927-817C-E1DB52E110EF@iotecdigital.com> References: <3EB9A44F-4DC3-4927-817C-E1DB52E110EF@iotecdigital.com> Message-ID: TESTING FOR BOB 1234 On Tue, Jun 30, 2020 at 08:25 Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all. > > I?m not getting anything on the use list. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From richmondmathewson at gmail.com Tue Jun 30 12:17:06 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 30 Jun 2020 19:17:06 +0300 Subject: No Replies (or anything) In-Reply-To: <3EB9A44F-4DC3-4927-817C-E1DB52E110EF@iotecdigital.com> References: <3EB9A44F-4DC3-4927-817C-E1DB52E110EF@iotecdigital.com> Message-ID: <92feebd9-aabf-3d9a-d50b-49502e9b61c6@gmail.com> Ever so slightly 'offensive' message from Richmond. Are you getting this? Best. On 30.06.20 18:24, Bob Sneidar via use-livecode wrote: > Hi all. > > I?m not getting anything on the use list. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Jun 30 12:43:51 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 30 Jun 2020 17:43:51 +0100 Subject: AR in LiveCode Browser? In-Reply-To: <36B2365E-F8A2-4857-8839-B202151770AA@clearvisiontech.com> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> <36B2365E-F8A2-4857-8839-B202151770AA@clearvisiontech.com> Message-ID: <38f11f043151579430b7f5717ab19643@livecode.com> On 2020-06-30 15:46, Dan Friedman via use-livecode wrote: > Klaus, > > No, mobile. If I open the link (https://nexen.ehpec.com/usdz.html) in > Safari on my iPhone, I get total interaction with the AR (Augmented > Reality) object. If I open the same URL in a LiveCode browser (native > or widget) it doesn't open the object at all. It seems that WKWebView (which is the embeddable browser framework on iOS, and the only one*) does not support AR files - https://stackoverflow.com/questions/60685400/ar-images-not-working-inside-the-wkwebview. Warmest Regards, Mark. * On iOS there is only allowed to be one browser framework - the one Apple provides. Chrome and Firefox (and all other 'alternative' browsers) are just 'familiar' UI wrappers around WKWebView. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dan at clearvisiontech.com Tue Jun 30 13:09:37 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jun 2020 17:09:37 +0000 Subject: AR in LiveCode Browser? In-Reply-To: <38f11f043151579430b7f5717ab19643@livecode.com> References: <2DDEDE97-9DA9-4F4B-A503-4F158FB613DB@clearvisiontech.com> <9CF9B6A2-F456-4656-A2DD-088DCAA47296@major-k.de> <36B2365E-F8A2-4857-8839-B202151770AA@clearvisiontech.com> <38f11f043151579430b7f5717ab19643@livecode.com> Message-ID: <91C84060-6EC1-4010-8EB6-39E269F8F1F9@clearvisiontech.com> Ikea's app does this. Many other apps also provide an in-app AR expierence. How are they doing it? And how can I do this in my LC app? -Dan ?On 6/30/20, 9:44 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: On 2020-06-30 15:46, Dan Friedman via use-livecode wrote: > Klaus, > > No, mobile. If I open the link (https://nexen.ehpec.com/usdz.html) in > Safari on my iPhone, I get total interaction with the AR (Augmented > Reality) object. If I open the same URL in a LiveCode browser (native > or widget) it doesn't open the object at all. It seems that WKWebView (which is the embeddable browser framework on iOS, and the only one*) does not support AR files - https://stackoverflow.com/questions/60685400/ar-images-not-working-inside-the-wkwebview. Warmest Regards, Mark. * On iOS there is only allowed to be one browser framework - the one Apple provides. Chrome and Firefox (and all other 'alternative' browsers) are just 'familiar' UI wrappers around WKWebView. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Tue Jun 30 16:06:56 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 30 Jun 2020 16:06:56 -0400 Subject: AR in LiveCode Browser? In-Reply-To: <91C84060-6EC1-4010-8EB6-39E269F8F1F9@clearvisiontech.com> References: <91C84060-6EC1-4010-8EB6-39E269F8F1F9@clearvisiontech.com> Message-ID: <0744499A-5276-400D-B155-C89472316DBE@milby7.com> AR QuickLook is probably what is needed on iOS. Introduced at WWDC 2018. I would imagine that it could be done with a widget. Not sure for Android. Sent from my iPhone > On Jun 30, 2020, at 1:10 PM, Dan Friedman via use-livecode wrote: > > ?Ikea's app does this. Many other apps also provide an in-app AR expierence. How are they doing it? And how can I do this in my LC app? > > -Dan From monte at appisle.net Tue Jun 30 18:18:10 2020 From: monte at appisle.net (Monte Goulding) Date: Wed, 1 Jul 2020 08:18:10 +1000 Subject: OAuth2 on Win10: not returning to my app In-Reply-To: References: Message-ID: It does sound like an issue with the redirect uri. Perhaps a configuration issue in your app on the endpoint? Some endpoints will use the redirect uri from the request, some will ensure it matches perfectly with your settings for your app on their portal, some will just use the redirect in the portal settings. Whatever is happening, there is no HTTP request to localhost on your specified port because if there was the dialog would close by itself. > On 30 Jun 2020, at 6:14 am, Richard Gaskin via use-livecode wrote: > > I've been working with the Oauth2 lib included with v9 (superhandy, team, thanks!), and I've run into a snag: > > When I call it, the browser widgets opens and goes to the authentication provider (in this case Office 365), and authentication seems to work well. > > However, at that point I'd expect the browser widget's window to close and "it" would contain the approved auth scope info. > > Instead what I'm seeing is the browser widget window remains open, and it redirects into my Office 365 account. I can close the window manually with the "Cancel" button, but then "it" in my calling script contains "Cancel", no auth info. > > Have any of you successfully used LC's OAuth2 lib to log into MS Office 365 or other MS product that uses OAuth? > > If so, what did you use for the redirect URL? Or is there something else I should be considering? > > TIA - > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Tue Jun 30 18:39:50 2020 From: david.bovill at gmail.com (David Bovill) Date: Tue, 30 Jun 2020 23:39:50 +0100 Subject: OAuth2 on Win10: not returning to my app In-Reply-To: References: Message-ID: May be related but I?m having an issue with an old script returning cancel with oauth2 lib today - can?t debug will check in morning On 30 Jun 2020, 23:19 +0100, Monte Goulding via use-livecode , wrote: > It does sound like an issue with the redirect uri. > > Perhaps a configuration issue in your app on the endpoint? Some endpoints will use the redirect uri from the request, some will ensure it matches perfectly with your settings for your app on their portal, some will just use the redirect in the portal settings. > > Whatever is happening, there is no HTTP request to localhost on your specified port because if there was the dialog would close by itself. > > > On 30 Jun 2020, at 6:14 am, Richard Gaskin via use-livecode wrote: > > > > I've been working with the Oauth2 lib included with v9 (superhandy, team, thanks!), and I've run into a snag: > > > > When I call it, the browser widgets opens and goes to the authentication provider (in this case Office 365), and authentication seems to work well. > > > > However, at that point I'd expect the browser widget's window to close and "it" would contain the approved auth scope info. > > > > Instead what I'm seeing is the browser widget window remains open, and it redirects into my Office 365 account. I can close the window manually with the "Cancel" button, but then "it" in my calling script contains "Cancel", no auth info. > > > > Have any of you successfully used LC's OAuth2 lib to log into MS Office 365 or other MS product that uses OAuth? > > > > If so, what did you use for the redirect URL? Or is there something else I should be considering? > > > > TIA - > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Tue Jun 30 21:40:56 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 1 Jul 2020 02:40:56 +0100 Subject: Animation Engine: speed tips In-Reply-To: <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> Message-ID: Hi David, I had a quick look at this (for slightly selfish reasons - I will be doing some simple animation soon, so this piqued my interest to look at it sooner :-) [ all comments on performance or timing here are on an aging (2011) Macbook Pro, LC 9.6.0 ] So, there's good news, and there's bad news :-) 1. Bad news. It is slow (surprisingly, disappointingly slow) to move graphic objects in LC. Moving small simple objects (unfilled circle graphics <20 pixels across) over an uncomplicated background. Each move takes between 1 and 2.6 msecs. (Yes, that's for one object !!) [ Puts on 'grumpy old man' hat = that's about the same time as it took on my old Atari ST - 34 years ago!! Where's Moore's Law when I need it :-). ] 2. Good news. Although disappointing performance, it is (probably) good enough for your described example. Around 30 simple, small objects moving, 20 fps ~= 700ms within a second; it should just be doable. 3. Bad News. You're on the edge !!? The timings above were for moving objects in a simple, tight loop. (see sample code below my sig.)? You have a little bit of spare CPU left over to handle overhead, object management, new co-ord calculation, etc., but not very much. Animation Engine. It's a powerful library - has lots of good stuff to do fading, morphing, collision detection, input constraint, color changes, animated scrolls (bounce, overshoot, ...), and then it has two methods of just *moving* LC controls. The 'classic' version requires the developer to set up a timer/loop handler, and use the various aeMovexxx handlers; because of the timer handling it's tricky and needs care from the developer. The other version is only for straight line moves (aeMoveTo); this is much simpler to use, can handle multiple shapes moving in synch and does it very efficiently. (The older equivalent was aeMoveLinear, which is deprecated). If all your moving is (or can be cast into) using this version, you might have no problems. Note Malte describes aeMoveTo as 'frame-perfect' - all the moves done by aeMoveTo happen perfectly aligned by the (single) frame timer, so moves can be precisely coordindated to start and/or finish at exactly the same time. If it can't be, then you might think about adding new functionality to AE to provide a similar capability , using the same single timer that aeMoveTo uses. My needs are slightly different:- 1. linear and "hop" moves only (*) 2. need to string together multiple moves within a 'frame-perfect' setting btw - this 'stringing together' is exactly what you would need for hand-drawn curve following; you'd form a points-list from the hand-drawing, then construct a series of linear moves along each edge. I decided the easiest way to achieve what I need was a simple purpose-specific library, that has just these features. It's simple to use, understand and debug - currently < 200 lines, and likely to finish up around 250 lines by the time I'm done adding features. (*) What's a "hop" move? Think of a child's board game (Ludo, S&Ladders, ...) When you move a piece, you don't (if you're playing with a child) usually just pick it up and move it (say) 5 squares, instead you go "...1...2...3...4...5", while touching the piece in or near each square in turn. That's a hop move (or a series of hop-moves. :-) Anyway - I have that working now, so with luck I'll get a chance to work on it this week and get it tidied up, and release a first version by the weekend, so if you (or anyone) is interested they can try it out. Alex. Simple benchmark: I finished up with a pretty trivial example bit of code: >??? put the loc of grc "g1" into tmp >??? repeat 100 times >?????? add 1 to item 1 of tmp >?????? set the loc of grc "g1" to tmp >?????? wait 0 with messages >??? end repeat Notes: 0. Graphic "g1" is a simple, small circle. 1. if the graphic wanders off screen (out of window) the time taken drops to 0. 2. If you remove the "add 1 to item 1 of tmp" (i.e. the graphic remains in the same place), then again the time drops to effectively 0. So with this simple code, I find that (on my aging Macbook Pro), those 100 moves take between 125 and 275 ms (i.e. just about 1 to 2.5 ms per shape to move). And that variation is easily matched against the complexity of the surroundings the piece is moving through - if it moves over (or under) many other graphic objects, it takes clearly longer. Good luck. On 28/06/2020 01:09, David Bovill via use-livecode wrote: > I made a quick test - creating and animating small graphic circles along a complex curve with many points. It works fine with one or two animated spheres but I?d like to be able to animate >30 and it slows to a crawl after 4 or 5. I tried setting the layer mode appropriately for all the objects - but I?m doing this on a new MacBook Pro - and it does not make a difference. > > Does anyone have an example stack with multiple animated objects that I can compare / test for speed? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 30 21:52:56 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Jun 2020 20:52:56 -0500 Subject: Animation Engine: speed tips In-Reply-To: References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> Message-ID: <1730813b4c0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Did you use acceleratedRendering? Set it to true and set the layermode of each moving object to dynamic. I'd be curious to see if there's a difference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 30, 2020 8:43:25 PM Alex Tweedly via use-livecode wrote: > Hi David, > > I had a quick look at this (for slightly selfish reasons - I will be > doing some simple animation soon, so this piqued my interest to look at > it sooner :-) > > [ all comments on performance or timing here are on an aging (2011) > Macbook Pro, LC 9.6.0 ] > > So, there's good news, and there's bad news :-) > > 1. Bad news. > > It is slow (surprisingly, disappointingly slow) to move graphic objects > in LC. Moving small simple objects (unfilled circle graphics <20 pixels > across) over an uncomplicated background. Each move takes between 1 and > 2.6 msecs. (Yes, that's for one object !!) > > [ Puts on 'grumpy old man' hat = that's about the same time as it took > on my old Atari ST - 34 years ago!! Where's Moore's Law when I need it > :-). ] > > 2. Good news. > > Although disappointing performance, it is (probably) good enough for > your described example. Around 30 simple, small objects moving, 20 fps > ~= 700ms within a second; it should just be doable. > > 3. Bad News. > > You're on the edge !! The timings above were for moving objects in a > simple, tight loop. (see sample code below my sig.) You have a little > bit of spare CPU left over to handle overhead, object management, new > co-ord calculation, etc., but not very much. > > Animation Engine. > > It's a powerful library - has lots of good stuff to do fading, morphing, > collision detection, input constraint, color changes, animated scrolls > (bounce, overshoot, ...), and then it has two methods of just *moving* > LC controls. > > The 'classic' version requires the developer to set up a timer/loop > handler, and use the various aeMovexxx handlers; because of the timer > handling it's tricky and needs care from the developer. > > The other version is only for straight line moves (aeMoveTo); this is > much simpler to use, can handle multiple shapes moving in synch and does > it very efficiently. (The older equivalent was aeMoveLinear, which is > deprecated). If all your moving is (or can be cast into) using this > version, you might have no problems. Note Malte describes aeMoveTo as > 'frame-perfect' - all the moves done by aeMoveTo happen perfectly > aligned by the (single) frame timer, so moves can be precisely > coordindated to start and/or finish at exactly the same time. > > If it can't be, then you might think about adding new functionality to > AE to provide a similar capability , using the same single timer that > aeMoveTo uses. > > My needs are slightly different:- > 1. linear and "hop" moves only (*) > 2. need to string together multiple moves within a 'frame-perfect' setting > > btw - this 'stringing together' is exactly what you would need for > hand-drawn curve following; you'd form a points-list from the > hand-drawing, then construct a series of linear moves along each edge. > > I decided the easiest way to achieve what I need was a simple > purpose-specific library, that has just these features. It's simple to > use, understand and debug - currently < 200 lines, and likely to finish > up around 250 lines by the time I'm done adding features. > > (*) What's a "hop" move? > Think of a child's board game (Ludo, S&Ladders, ...) When you move a > piece, you don't (if you're playing with a child) usually just pick it > up and move it (say) 5 squares, instead you go "...1...2...3...4...5", > while touching the piece in or near each square in turn. That's a hop > move (or a series of hop-moves. :-) > > Anyway - I have that working now, so with luck I'll get a chance to work > on it this week and get it tidied up, and release a first version by the > weekend, so if you (or anyone) is interested they can try it out. > > Alex. > > Simple benchmark: > > I finished up with a pretty trivial example bit of code: > > > > put the loc of grc "g1" into tmp > > repeat 100 times > > add 1 to item 1 of tmp > > set the loc of grc "g1" to tmp > > wait 0 with messages > > end repeat > > Notes: > > 0. Graphic "g1" is a simple, small circle. > > 1. if the graphic wanders off screen (out of window) the time taken > drops to 0. > > 2. If you remove the "add 1 to item 1 of tmp" (i.e. the graphic remains > in the same place), then again the time drops to effectively 0. > > So with this simple code, I find that (on my aging Macbook Pro), those > 100 moves take between 125 and 275 ms (i.e. just about 1 to 2.5 ms per > shape to move). And that variation is easily matched against the > complexity of the surroundings the piece is moving through - if it moves > over (or under) many other graphic objects, it takes clearly longer. > > Good luck. > > On 28/06/2020 01:09, David Bovill via use-livecode wrote: > >> I made a quick test - creating and animating small graphic circles along a >> complex curve with many points. It works fine with one or two animated >> spheres but I?d like to be able to animate >30 and it slows to a crawl >> after 4 or 5. I tried setting the layer mode appropriately for all the >> objects - but I?m doing this on a new MacBook Pro - and it does not make a >> difference. >> >> Does anyone have an example stack with multiple animated objects that I can >> compare / test for speed? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode